/*
 * Vista Theme — Pricing page (/bao-gia/).
 * Enqueued only on that page; loaded after hub.css so these rules win.
 */

/* --------------------------------------------------------------------------
   01. Hero banner
   -------------------------------------------------------------------------- */
.pricing-page .interior-hero {
	min-height: 0;
	padding-bottom: 44px;
}

/* Cột chữ rộng hơn để H1 "Báo giá chụp ảnh / khách sạn, resort & villa." gọn 2 dòng
   (chỉ áp dụng từ 901px — dưới mốc này interior-hero đã là 1 cột). */
@media (min-width: 901px) {
	.pricing-page .interior-hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.pricing-page .interior-copy h1 {
	font-size: clamp(30px, 3.9vw, 50px);
}

/* Ảnh banner giữ tỉ lệ 3:2 (gần với ảnh gốc) thay vì bị crop gần vuông. */
.pricing-page .interior-visual {
	height: auto;
	aspect-ratio: 3 / 2;
}

.pricing-page .interior-visual img {
	height: 100%;
}

/* Dải giá 3 cột ngay dưới hero */
.pricing-price-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 12px;
}

.pricing-price-chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-grow: 1;
}

.pricing-price-chips li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 18px 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: 0 8px 22px rgba(19, 34, 28, 0.05);
}

.pricing-price-chips span {
	color: var(--muted-strong);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pricing-price-chips strong {
	color: var(--green-deep);
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
}

.pricing-price-chips em {
	color: var(--gold-text);
	font-size: 12.5px;
	font-style: normal;
}

.pricing-strip-link {
	flex-shrink: 0;
	color: var(--gold-text);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pricing-strip-link:hover {
	color: var(--green-deep);
}

/* On-page jump navigation */
.pricing-jump-bar {
	background: var(--paper);
}

.pricing-jump-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

/* Desktop: giữ thanh điều hướng dưới header để không mất khi cuộn trang dài. */
@media (min-width: 1000px) {
	.pricing-jump-bar {
		position: sticky;
		top: 84px;
		z-index: 20;
	}
}

.pricing-jump-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pricing-jump-links a {
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--white);
	color: var(--green-deep);
	font-size: 13px;
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pricing-jump-links a:hover {
	border-color: var(--gold);
	background: var(--cream);
	color: var(--gold-text);
}

.pricing-jump-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	background: var(--green-deep);
	color: var(--white);
	font-size: 13.5px;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

.pricing-jump-cta:hover {
	background: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   02. Page rhythm + editable intro copy
   -------------------------------------------------------------------------- */
/* H1 (58.9px) và H2 mặc định (57.6px) gần bằng nhau → hạ thang H2 để rõ phân cấp
   và bớt "nặng" cho một trang dạng bảng giá nhiều mục. */
.pricing-page .section-heading h2,
.pricing-page .home-faq-header h2,
.pricing-page .quote-info h2 {
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 1.16;
}

.pricing-page .home-faq-list {
	align-items: start;
}

.pricing-intro {
	max-width: 680px;
	padding-top: 36px;
	padding-bottom: 36px;
}

.pricing-intro p {
	margin: 0 0 18px;
	color: var(--muted-strong);
	font-size: 15.5px;
	line-height: 1.85;
}

.pricing-intro h2 {
	margin: 32px 0 16px;
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 1.3;
	color: var(--green-deep);
}

.pricing-intro a {
	color: var(--gold-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pricing-table-section,
.pricing-packages-section,
.pricing-included-section,
.pricing-factors-section,
.pricing-process-section,
.pricing-links-section {
	padding-top: 88px;
	padding-bottom: 88px;
}

/* Hairline separators keep the rhythm readable across a long page. */
.pricing-table-section,
.pricing-packages-section,
.pricing-factors-section,
.pricing-process-section {
	border-bottom: 1px solid var(--border);
}

/* Anchor targets must clear the sticky header. */
.pricing-page section[id] {
	scroll-margin-top: 104px;
}

/* Desktop có thêm thanh điều hướng dính nên cần chừa nhiều khoảng hơn. */
@media (min-width: 1000px) {
	.pricing-page section[id] {
		scroll-margin-top: 160px;
	}
}

.pricing-table-section .section-heading,
.pricing-packages-section .section-heading,
.pricing-included-section .section-heading,
.pricing-factors-section .section-heading,
.pricing-process-section .section-heading,
.pricing-links-section .section-heading {
	margin-bottom: 44px;
}

/* --------------------------------------------------------------------------
   02. Reference price table
   -------------------------------------------------------------------------- */
.pricing-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: 0 10px 30px rgba(19, 34, 28, 0.05);
	-webkit-overflow-scrolling: touch;
}

.pricing-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.pricing-table thead th {
	padding: 16px 20px;
	background: var(--cream);
	color: var(--muted-strong);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: left;
	white-space: nowrap;
}

.pricing-table tbody th,
.pricing-table tbody td {
	padding: 18px 20px;
	border-top: 1px solid var(--border);
	color: var(--muted-strong);
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
}

.pricing-table tbody th {
	color: var(--green-deep);
	font-size: 15.5px;
	font-weight: 600;
	white-space: nowrap;
}

.pricing-table tbody tr:hover {
	background: rgba(244, 243, 236, 0.55);
}

.pricing-table .pricing-amount {
	color: var(--gold-text);
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	white-space: nowrap;
}

/* Cột giá được tô nhẹ để mắt bám vào con số. */
.pricing-table thead th:last-child {
	background: rgba(200, 167, 122, 0.12);
}

.pricing-table tbody td.pricing-amount {
	background: rgba(200, 167, 122, 0.08);
}

.pricing-notes {
	display: grid;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.pricing-notes li {
	position: relative;
	padding-left: 20px;
	color: var(--muted-strong);
	font-size: 13.5px;
	line-height: 1.7;
}

.pricing-notes li::before {
	position: absolute;
	left: 0;
	color: var(--gold-text);
	content: "✦";
	font-size: 11px;
}

/* --------------------------------------------------------------------------
   03. Packages
   -------------------------------------------------------------------------- */
.pricing-packages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--cream);
}

.pricing-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
	padding: 32px 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: 0 10px 30px rgba(19, 34, 28, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 44px rgba(19, 34, 28, 0.1);
	border-color: var(--gold);
}

.pricing-card-featured {
	border-color: var(--gold);
	box-shadow: 0 18px 44px rgba(19, 34, 28, 0.12);
}

.pricing-badge {
	position: absolute;
	top: -13px;
	left: 28px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--green-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pricing-kicker {
	margin: 0;
	color: var(--gold-text);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pricing-card h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
	color: var(--green-deep);
}

.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   04. What is included + add-ons
   -------------------------------------------------------------------------- */
.pricing-included-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 28px;
	align-items: start;
}

.pricing-check-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pricing-check-list li {
	position: relative;
	padding-left: 30px;
	color: var(--green-deep);
	font-size: 15.5px;
	line-height: 1.7;
}

.pricing-check-list li::before {
	position: absolute;
	left: 0;
	top: 2px;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	border-radius: 50%;
	background: rgba(200, 167, 122, 0.22);
	color: var(--gold-text);
	content: "✓";
	font-size: 11px;
	font-weight: 700;
}

.pricing-addon-card {
	padding: 28px 26px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--cream);
}

.pricing-addon-card h3 {
	margin: 0 0 8px;
	font-size: 22px;
	color: var(--green-deep);
}

.pricing-addon-desc {
	margin: 0 0 18px;
	color: var(--muted-strong);
	font-size: 14px;
	line-height: 1.7;
}

.pricing-addon-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pricing-addon-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px dashed rgba(24, 36, 30, 0.12);
	color: var(--green-deep);
	font-size: 14.5px;
}

.pricing-addon-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.pricing-addon-list strong {
	color: var(--gold-text);
	font-family: var(--serif);
	font-size: 16px;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   05. Cost drivers
   -------------------------------------------------------------------------- */
.pricing-factors {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.pricing-factor-card {
	padding: 28px 26px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
	box-shadow: 0 8px 24px rgba(19, 34, 28, 0.04);
}

.pricing-factor-num {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--gold-heading);
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.pricing-factor-card h3 {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.35;
	color: var(--green-deep);
}

.pricing-factor-card p {
	margin: 0;
	color: var(--muted-strong);
	font-size: 14.5px;
	line-height: 1.75;
}

/* --------------------------------------------------------------------------
   06. Process steps
   -------------------------------------------------------------------------- */
.pricing-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pricing-step {
	padding: 26px 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
}

.pricing-step-num {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--gold-text);
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.pricing-step h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.4;
	color: var(--green-deep);
}

.pricing-step p {
	margin: 0;
	color: var(--muted-strong);
	font-size: 14px;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   07. Internal link groups
   -------------------------------------------------------------------------- */
.pricing-link-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.pricing-link-group {
	padding: 24px 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--white);
}

.pricing-link-group h3 {
	margin: 0 0 16px;
	color: var(--muted-strong);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pricing-link-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.pricing-link-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid rgba(24, 36, 30, 0.05);
	border-radius: var(--radius-sm);
	background: var(--paper);
	color: var(--green-deep);
	font-size: 13.5px;
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pricing-link-grid a:hover {
	border-color: var(--gold);
	background: var(--cream);
	color: var(--gold-text);
}

.pricing-link-grid a span[aria-hidden="true"] {
	color: var(--muted-light);
	font-size: 12px;
}


.pricing-price strong {
	font-family: var(--serif);
	font-size: 32px;
	font-weight: 700;
	color: var(--green-deep);
	line-height: 1.1;
}

.pricing-price span {
	color: var(--muted-strong);
	font-size: 13px;
}

.pricing-for {
	margin: 0;
	color: var(--muted-strong);
	font-size: 14px;
	line-height: 1.7;
}

.pricing-feature-list {
	display: grid;
	gap: 9px;
	margin: 4px 0 8px;
	padding: 0;
	list-style: none;
	flex-grow: 1;
}

.pricing-feature-list li {
	position: relative;
	padding-left: 22px;
	color: var(--green-deep);
	font-size: 14.5px;
	line-height: 1.6;
}

.pricing-feature-list li::before {
	position: absolute;
	left: 0;
	top: 0;
	color: var(--gold-text);
	content: "✓";
	font-weight: 700;
}

.pricing-card .button {
	margin-top: auto;
}

/* --------------------------------------------------------------------------
   08. Utilities + responsive
   -------------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1100px) {
	.pricing-factors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1000px) {
	.pricing-packages,
	.pricing-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pricing-jump-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.pricing-jump-cta {
		justify-content: center;
	}
}

/* Tablet: cho bảng cuộn ngang thay vì bóp chữ. */
@media (min-width: 721px) and (max-width: 1040px) {
	.pricing-table {
		min-width: 680px;
	}
}

@media (max-width: 900px) {
	.pricing-included-grid,
	.pricing-link-groups {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	/* Bảng giá chuyển thành các card có nhãn trên điện thoại. */
	.pricing-table thead {
		position: absolute;
		left: -9999px;
	}

	.pricing-table,
	.pricing-table tbody,
	.pricing-table tr,
	.pricing-table th,
	.pricing-table td {
		display: block;
		width: 100%;
	}

	.pricing-table tbody tr {
		margin-bottom: 14px;
		padding: 18px 20px;
		border: 1px solid var(--border);
		border-radius: var(--radius-md);
		background: var(--white);
	}

	.pricing-table tbody tr:last-child {
		margin-bottom: 0;
	}

	.pricing-table tbody th,
	.pricing-table tbody td {
		display: flex;
		justify-content: space-between;
		gap: 14px;
		padding: 7px 0;
		border-top: 0;
		font-size: 14.5px;
	}

	.pricing-table tbody th {
		padding-top: 0;
		font-size: 17px;
		white-space: normal;
	}

	.pricing-table tbody td::before {
		flex-shrink: 0;
		color: var(--muted-strong);
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		content: attr(data-label);
	}

	.pricing-table tbody th::before {
		content: none;
	}

	.pricing-table .pricing-amount {
		font-size: 18px;
	}
}

/* Tap target ≥ 44px cho cả tablet (tới 960px). */
@media (max-width: 960px) {
	.pricing-jump-links a,
	.pricing-jump-cta,
	.pricing-strip-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

@media (max-width: 640px) {
	.pricing-table-section,
	.pricing-packages-section,
	.pricing-included-section,
	.pricing-factors-section,
	.pricing-process-section,
	.pricing-links-section {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.pricing-strip-link {
		white-space: normal;
	}

	/* Dải điều hướng cuộn ngang 1 hàng thay vì xuống 3 hàng chip. */
	.pricing-jump-nav {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.pricing-jump-links {
		width: 100%;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.pricing-jump-links::-webkit-scrollbar {
		display: none;
	}

	.pricing-jump-links a {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.pricing-packages,
	.pricing-factors,
	.pricing-steps {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.pricing-packages {
		padding: 18px;
	}

	.pricing-price-strip {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.pricing-price-chips {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pricing-price-chips li {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 16px;
	}

	.pricing-price-chips span {
		font-size: 11.5px;
		letter-spacing: 0.06em;
	}

	.pricing-price-chips strong {
		font-size: 20px;
	}

	.pricing-price-chips em {
		display: none;
	}

	.pricing-card {
		padding: 26px 22px;
	}

	.pricing-price strong {
		font-size: 28px;
	}

	.pricing-kicker,
	.pricing-link-group h3,
	.pricing-table thead th {
		font-size: 12px;
	}

	.pricing-notes li,
	.pricing-step p,
	.pricing-for,
	.pricing-factor-card p {
		font-size: 14px;
	}

	.pricing-addon-card,
	.pricing-factor-card,
	.pricing-step,
	.pricing-link-group {
		padding: 22px 20px;
	}

	/* Touch targets */
	.pricing-link-grid a,
	.pricing-card .button {
		min-height: 44px;
	}

	.pricing-link-grid {
		grid-template-columns: 1fr;
	}
}

