/* ==========================================================================
   Rèm Cửa Văn Tùng Pro — Theme Stylesheet
   Bảng màu thương hiệu: Rừng xanh đậm #174f42 · Đất nung #aa4a20 · Kem ấm #f6f3ed
   ========================================================================== */

:root {
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--brand: #174f42;
	--brand-dark: #103b31;
	--brand-soft: #e7efe9;
	--accent: #aa4a20;
	--accent-hover: #8f3c18;
	--ink: #1d352d;
	--muted: #55645e;
	--cream: #f6f3ed;
	--cream-deep: #ede7dc;
	--line: #dfe5dd;
	--white: #ffffff;
	--focus: #bf651f;
	--zalo: #0761bb;
	--radius: 14px;
	--radius-sm: 8px;
	--max: 1200px;
	--shadow-sm: 0 2px 10px rgba(16, 59, 49, 0.06);
	--shadow-md: 0 12px 28px rgba(16, 59, 49, 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Phòng vệ: ẩn thẻ ảnh thật sự rỗng (tránh ảnh hưởng LiteSpeed Lazy Load) và ẩn bảng trống */
img[src=""]:not([data-src]):not([data-lazy-src]):not([data-lazyloaded]),
img:not([src]):not([data-src]):not([data-lazy-src]):not([data-lazyloaded]),
table:empty,
.rvt-empty-table {
	display: none !important;
}

a {
	color: var(--brand);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--brand-dark);
	color: var(--white);
	font-weight: 700;
	border-radius: var(--radius-sm);
	z-index: 9999;
	box-shadow: var(--shadow-md);
}

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 20px;
}

@media (min-width: 1500px) {
	:root {
		--max: 1260px;
	}
}

.rvt-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

/* ---------- Buttons ---------- */
.rvt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	background: var(--brand);
	color: var(--white);
	border: 1.5px solid var(--brand);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 650;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.rvt-btn:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: var(--white);
}

.rvt-btn.light {
	background: var(--white);
	border-color: var(--white);
	color: var(--brand);
}

.rvt-btn.light:hover {
	background: var(--cream);
	border-color: var(--cream);
	color: var(--brand-dark);
}

.rvt-btn.outline {
	background: transparent;
	color: var(--brand);
	border-color: var(--brand);
}

.rvt-btn.outline:hover {
	background: var(--brand);
	color: var(--white);
}

.rvt-btn[disabled] {
	opacity: 0.65;
	cursor: wait;
}

.eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.eyebrow-light {
	color: #f3d2bf;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
	color: var(--brand);
}

.text-link:hover {
	color: var(--accent);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* ---------- Topbar & Sticky Header ---------- */
.topbar {
	background: var(--brand-dark);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12.5px;
	padding: 7px 0;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.topbar-note,
.topbar-hours {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.topbar-hours {
	color: rgba(255, 255, 255, 0.8);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 22px rgba(16, 59, 49, 0.08);
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 72px;
}

.brand-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.brand-custom-logo img {
	max-height: 44px;
	width: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}

.brand-icon {
	color: var(--brand);
	display: inline-flex;
	align-items: center;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand-small {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--muted);
}

.brand-text strong {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ink);
}

/* Primary Nav (Desktop) */
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav .menu > li {
	position: relative;
}

.primary-nav .menu a {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.primary-nav .menu a:hover,
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current-menu-ancestor > a {
	color: var(--accent);
	background: var(--cream);
}

.primary-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
}

.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu {
	display: block;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 8px 12px;
}

/* Header Actions (Desktop) */
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.header-search {
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--cream);
	padding: 2px 6px 2px 14px;
	width: 195px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.header-search:focus-within {
	border-color: var(--brand);
	background: var(--white);
}

.header-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 13.5px;
	color: var(--ink);
	padding: 6px 0;
	outline: none;
}

.header-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--brand);
	cursor: pointer;
}

.header-phone {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-decoration: none;
	color: var(--ink);
	padding-left: 8px;
	border-left: 1px solid var(--line);
}

.header-caption {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.header-phone strong {
	font-size: 15px;
	font-weight: 800;
	color: var(--brand);
	white-space: nowrap;
}

.header-cta {
	min-height: 42px;
	padding: 9px 16px;
	background: var(--accent);
	border-color: var(--accent);
	font-size: 13.5px;
	white-space: nowrap;
}

.header-cta:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
}

/* Mobile Header Controls */
.mobile-controls {
	display: none;
	align-items: center;
	gap: 8px;
}

.mobile-icon-btn,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.mobile-call-btn {
	background: var(--cream);
	border-color: var(--cream-deep);
	color: var(--brand);
}

.menu-toggle {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.menu-toggle-icon-close,
.menu-toggle[aria-expanded="true"] .menu-toggle-icon-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon-close {
	display: inline-flex;
}

.mobile-search-panel,
.mobile-drawer {
	border-top: 1px solid var(--line);
	background: var(--white);
	padding: 14px 0 18px;
	box-shadow: var(--shadow-md);
}

.header-search-mobile {
	width: 100%;
	padding: 4px 8px 4px 16px;
}

.mobile-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav .menu a {
	display: block;
	padding: 12px 6px;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
	font-weight: 650;
	color: var(--ink);
	text-decoration: none;
}

.mobile-nav .menu .current-menu-item > a {
	color: var(--accent);
}

.mobile-drawer-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.mobile-drawer-actions .rvt-btn {
	font-size: 13.5px;
	padding: 10px 12px;
}

@media (max-width: 1120px) {
	.header-search {
		width: 160px;
	}
	.header-phone {
		display: none;
	}
}

@media (max-width: 960px) {
	.topbar-hours {
		display: none;
	}
	.topbar-inner {
		justify-content: center;
		text-align: center;
	}
	.header-main {
		min-height: 60px;
	}
	.brand-text strong {
		font-size: 16px;
	}
	.brand-mark-svg {
		width: 34px;
		height: 38px;
	}
	.primary-nav,
	.header-actions {
		display: none;
	}
	.mobile-controls {
		display: flex;
	}
}

@media (max-width: 480px) {
	.mobile-call-btn span {
		display: none;
	}
	.mobile-drawer-actions {
		grid-template-columns: 1fr;
	}
}

/* ---------- Sections & Hero ---------- */
.section {
	padding: 64px 0;
}

.soft-section {
	background: var(--cream);
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.section-heading h2 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}

.home-intro {
	padding: 28px 0 42px;
}

.hero {
	display: grid;
	grid-template-columns: 1.06fr 0.94fr;
	gap: 32px;
	align-items: center;
	padding: 40px;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
	color: var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow-md);
}

.hero-title {
	margin: 0 0 16px;
	font-family: var(--font-sans);
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.hero-title-main {
	display: block;
	font-size: clamp(30px, 4.2vw, 48px);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--white);
}

.hero-title-sub {
	display: block;
	margin-top: 6px;
	font-family: inherit;
	font-size: clamp(20px, 2.4vw, 29px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #f4d8c8;
}

.hero-description {
	margin: 0 0 24px;
	max-width: 52ch;
	font-size: 16.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
}

.hero-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white);
	font-weight: 650;
	font-size: 15px;
	text-decoration: none;
	padding: 8px 4px;
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
}

.hero-link:hover {
	color: #f4d8c8;
	border-bottom-color: #f4d8c8;
}

.hero-foot {
	margin: 26px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
	position: relative;
}

.hero-photo {
	border-radius: 14px;
	overflow: hidden;
	background: var(--brand-dark);
	aspect-ratio: 4 / 3;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-note {
	margin-top: -28px;
	margin-left: 18px;
	margin-right: 18px;
	position: relative;
	z-index: 2;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--cream);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.hero-note span {
	display: block;
	font-size: 10.5px;
	font-weight: 750;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.hero-note strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	margin-top: 2px;
}

.service-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}

.service-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.service-number {
	font-family: var(--font-sans);
	font-size: 20px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	padding-top: 2px;
}

.service-item strong {
	display: block;
	font-size: 15.5px;
	color: var(--ink);
}

.service-item p {
	margin: 3px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

@media (max-width: 960px) {
	.home-intro {
		padding: 16px 0 32px;
	}
	.hero {
		grid-template-columns: 1fr;
		padding: 26px 20px;
		gap: 24px;
		border-radius: 16px;
	}
	.service-strip {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

/* ---------- Curtain Category Grid ---------- */
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.category-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: #c4d0c2;
	color: inherit;
}

.category-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--cream);
}

.category-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.category-card:hover .category-image img {
	transform: scale(1.04);
}

.category-caption {
	padding: 14px 16px;
}

.category-caption h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 750;
	color: var(--ink);
}

.category-caption p {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

@media (max-width: 1024px) {
	.category-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.section {
		padding: 44px 0;
	}
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.category-caption {
		padding: 11px 12px;
	}
	.category-caption h3 {
		font-size: 15px;
	}
	.category-caption p {
		font-size: 12.5px;
	}
}

/* ---------- Room Spaces Grid ---------- */
.space-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.space-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.space-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	color: inherit;
}

.space-art {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--cream-deep);
}

.space-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.space-info {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
}

.space-num {
	font-family: var(--font-sans);
	font-size: 22px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
}

.space-info h3 {
	margin: 0;
	font-size: 18px;
	color: var(--ink);
}

.space-info p {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--muted);
}

@media (max-width: 960px) {
	.space-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* ---------- About & 4-Step Process ---------- */
.about-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.about-photo-frame {
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--cream);
	box-shadow: var(--shadow-md);
}

.about-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-label {
	margin: 12px 0 0;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.about-copy h2 {
	margin: 0 0 16px;
	font-family: var(--font-sans);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
}

.about-copy p {
	margin: 0 0 14px;
	color: var(--muted);
}

.about-copy .rvt-btn {
	margin-top: 8px;
}

@media (max-width: 960px) {
	.about-section {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.rvt-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.rvt-process-card {
	padding: 24px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.rvt-process-badge {
	display: inline-block;
	padding: 4px 10px;
	margin-bottom: 12px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 12px;
	font-weight: 750;
}

.rvt-process-card h3 {
	margin: 0 0 8px;
	font-size: 17.5px;
	color: var(--ink);
}

.rvt-process-description {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--muted);
}

@media (max-width: 1024px) {
	.rvt-process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.rvt-process-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ---------- Blog / Search Content Cards ---------- */
.content-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.content-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.card-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--cream);
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-editorial-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px 10px;
	background: var(--cream);
	border-bottom: 1px solid var(--line);
}

.card-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}

.card-kicker {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: 11.5px;
	font-weight: 700;
}

.card-meta-dot,
.card-read-time {
	font-size: 12px;
	color: var(--muted);
}

.card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px;
}

.card-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.38;
}

.card-title a {
	color: var(--ink);
	text-decoration: none;
}

.card-title a:hover {
	color: var(--accent);
}

.card-excerpt {
	margin: 0 0 16px;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--muted);
	flex: 1;
}

.card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.card-date {
	font-size: 12.5px;
	color: var(--muted);
}

@media (max-width: 960px) {
	.content-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.content-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
	display: grid;
	gap: 12px;
}

.faq-list details {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0 20px;
}

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 0;
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list .faq-plus,
.faq-list summary > span:last-child {
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	color: var(--brand);
	transition: transform 0.2s ease;
}

.faq-list details[open] .faq-plus,
.faq-list details[open] summary > span:last-child {
	transform: rotate(45deg);
	color: var(--accent);
}

.faq-list details p {
	margin: 0;
	padding: 0 0 18px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
}

/* ---------- CTA Panel ---------- */
.section-cta {
	padding: 36px 0 64px;
}

.cta-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 40px 44px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
	color: var(--white);
}

.cta-copy h2 {
	margin: 0 0 10px;
	font-family: var(--font-sans);
	font-size: clamp(24px, 3vw, 32px);
	color: var(--white);
}

.cta-copy p {
	margin: 0;
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.88);
}

.cta-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 20px;
	flex-shrink: 0;
}

.plain-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-weight: 700;
	font-size: 15.5px;
	text-decoration: none;
}

.plain-link:hover {
	color: #f4d8c8;
}

@media (max-width: 960px) {
	.cta-panel {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 22px;
	}
}

/* ---------- Inner Pages, Breadcrumbs, Headings ---------- */
.breadcrumbs {
	padding: 18px 0 6px;
	font-size: 13.5px;
	color: var(--muted);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: #9ba89f;
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--brand);
	text-decoration: underline;
}

.page-heading {
	padding-top: 10px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 30px;
}

.page-heading h1 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.22;
	color: var(--ink);
}

.page-subtitle {
	margin: 10px 0 0;
	max-width: 66ch;
	color: var(--muted);
	font-size: 16px;
}

.page-body {
	padding-bottom: 44px;
}

.prose {
	font-size: 16.5px;
	line-height: 1.82;
	color: var(--ink);
}

.prose h2,
.prose h3,
.prose h4 {
	font-family: var(--font-sans);
	color: var(--ink);
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	line-height: 1.3;
}

.prose p {
	margin-top: 0;
	margin-bottom: 1.15em;
}

.prose ul,
.prose ol {
	padding-left: 1.35em;
	margin-bottom: 1.25em;
}

/* ---------- Tables & Responsive Scroll Containers ---------- */
.table-scroll,
.rvt-table-wrap,
.rvt-edit-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 22px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
}

.prose table,
.pricing-table,
.rvt-edit-table {
	width: 100%;
	min-width: 540px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.55;
}

.prose table th,
.prose table td,
.pricing-table th,
.pricing-table td,
.rvt-edit-table th,
.rvt-edit-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.prose table thead th,
.pricing-table thead th,
.rvt-edit-table thead th {
	background: var(--brand);
	color: var(--white);
	font-weight: 650;
}

.prose table tbody tr:nth-child(even),
.pricing-table tbody tr:nth-child(even),
.rvt-edit-table tbody tr:nth-child(even) {
	background: var(--cream);
}

/* ---------- Contact Page & Quote Form (Sửa lỗi select bị rớt dòng) ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	align-items: start;
	margin-top: 16px;
}

.contact-info,
.quote-panel {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.contact-info {
	background: var(--cream);
}

.contact-info h2,
.quote-panel h2 {
	margin: 0 0 10px;
	font-family: var(--font-sans);
	font-size: 24px;
}

.contact-dl {
	margin: 20px 0 0;
	display: grid;
	gap: 14px;
}

.contact-dl dt {
	font-size: 11.5px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.contact-dl dd {
	margin: 3px 0 0;
	font-weight: 600;
	color: var(--ink);
}

.contact-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.quote-panel-note {
	margin: 0 0 20px;
	font-size: 14.5px;
	color: var(--muted);
}

.rvt-quote-form {
	position: relative;
}

.rvt-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.rvt-full {
	grid-column: 1 / -1;
}

.rvt-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 650;
	color: var(--ink);
}

.rvt-field .req {
	color: var(--accent);
}

.rvt-quote-form input[type="text"],
.rvt-quote-form input[type="tel"],
.rvt-quote-form input[type="email"],
.rvt-quote-form select,
.rvt-quote-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #c5d1c4;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rvt-quote-form textarea {
	min-height: 130px;
	resize: vertical;
}

.rvt-quote-form input:focus,
.rvt-quote-form select:focus,
.rvt-quote-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(23, 79, 66, 0.14);
}

/* Sửa triệt để lỗi mũi tên <select> xuống dòng trên màn hình lớn */
.rvt-select-wrap {
	position: relative;
}

.rvt-quote-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23174f42' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	cursor: pointer;
}

.rvt-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted);
	cursor: pointer;
}

.rvt-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--brand);
	flex-shrink: 0;
}

.rvt-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rvt-form-status {
	padding: 14px 16px;
	margin-bottom: 18px;
	border-radius: var(--radius-sm);
	font-size: 14.5px;
	font-weight: 600;
}

.rvt-form-status.is-success {
	background: #edf6e9;
	border: 1px solid #9dc599;
	color: #154e28;
}

.rvt-form-status.is-error {
	background: #fdf0ec;
	border: 1px solid #e2a593;
	color: #8f2d14;
}

@media (max-width: 960px) {
	.contact-layout,
	.rvt-form-grid {
		grid-template-columns: 1fr;
	}
	.contact-info,
	.quote-panel {
		padding: 20px;
	}
}

/* ---------- Compatibility Layer for Existing Database Content & Companion Plugin (.rvt-*) ---------- */
.rvt-kicker {
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}

.rvt-lead {
	font-size: 17.5px;
	line-height: 1.75;
	color: var(--ink);
}

.rvt-contact,
.rvt-note-box,
.rvt-toc {
	margin: 22px 0;
	padding: 20px 22px;
	border-radius: var(--radius-sm);
	background: var(--cream);
	border: 1px solid var(--line);
}

.rvt-contact {
	border-left: 4px solid var(--brand);
}

.rvt-note-box {
	border-left: 4px solid var(--accent);
}

.rvt-contact-title {
	margin: 0 0 8px;
	font-weight: 750;
	font-size: 17px;
	color: var(--brand);
}

.rvt-actions,
.rvt-bg-actions,
.rvt-hd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.rvt-button,
.rvt-bg-btn,
.rvt-hd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	background: var(--brand);
	color: var(--white);
	font-weight: 650;
	font-size: 14px;
	text-decoration: none;
	border: 1.5px solid var(--brand);
}

.rvt-button:hover,
.rvt-bg-btn:hover,
.rvt-hd-btn:hover {
	background: var(--brand-dark);
	color: var(--white);
}

.rvt-button-secondary,
.rvt-bg-btn--outline,
.rvt-hd-btn--outline {
	background: var(--white);
	color: var(--brand);
}

.rvt-button-secondary:hover,
.rvt-bg-btn--outline:hover,
.rvt-hd-btn--outline:hover {
	background: var(--brand);
	color: var(--white);
}

.rvt-photo,
.rvt-hd-photo {
	margin: 22px 0;
}

.rvt-photo img,
.rvt-hd-photo img {
	border-radius: var(--radius-sm);
}

.rvt-photo figcaption {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--muted);
}

.rvt-faq-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.rvt-faq-item h3 {
	margin: 0 0 8px;
	font-size: 17.5px;
}

.rvt-related {
	margin: 28px 0;
	padding: 20px 22px;
	background: var(--cream);
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
}

.rvt-bg-cols-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.rvt-bg-card,
.rvt-hd-card {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
}

.rvt-bg-card--cream {
	background: var(--cream);
}

@media (max-width: 768px) {
	.rvt-bg-cols-2 {
		grid-template-columns: 1fr;
	}
}

/* Lightbox trigger cursor on content & gallery photos */
[data-rvtp-lightbox-scope] figure img,
[data-rvtp-lightbox-scope] .wp-block-gallery img,
[data-rvtp-lightbox-scope] .gallery-item img {
	cursor: zoom-in;
}

/* ---------- Single Article, Pagination, Search, Comments, 404 ---------- */
.single-article {
	max-width: 860px;
}

.article-heading {
	padding-top: 8px;
	margin-bottom: 24px;
}

.article-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 14px;
	font-size: 13.5px;
	color: var(--muted);
}

.article-cat-pill {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand);
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
}

.article-heading h1 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(26px, 3.6vw, 38px);
	line-height: 1.24;
}

.article-cover {
	margin: 0 0 28px;
	border-radius: var(--radius);
	overflow: hidden;
}

.post-navigation {
	margin: 40px 0 28px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	background: var(--cream);
}

.post-navigation .nav-sub {
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
}

.post-navigation .nav-title {
	font-weight: 700;
	color: var(--ink);
}

@media (max-width: 640px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}
}

.pagination {
	margin-top: 36px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	font-weight: 650;
	color: var(--ink);
}

.page-numbers.current {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.search-page-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	max-width: 560px;
}

.search-page-form input[type="search"] {
	flex: 1 1 240px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #c5d1c4;
	border-radius: var(--radius-sm);
	font-size: 15px;
}

.empty-state {
	padding: 36px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--cream);
}

.filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.filter-pills a {
	display: inline-flex;
	padding: 8px 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 650;
	text-decoration: none;
}

.comments-area {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.comment-body {
	padding: 16px 18px;
	margin-bottom: 12px;
	background: var(--cream);
	border-radius: var(--radius-sm);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #c5d1c4;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--brand-dark);
	color: rgba(255, 255, 255, 0.88);
	padding-top: 52px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr 0.95fr 1.05fr;
	gap: 32px;
	padding-bottom: 40px;
}

.footer-brand-link {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 22px;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
	margin-bottom: 10px;
}

.footer-tagline {
	margin: 0 0 14px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.78);
}

.footer-detail {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
}

.footer-title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f4d8c8;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-size: 14.5px;
}

.footer-links a:hover {
	color: var(--white);
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding: 16px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

.footer-bottom p {
	margin: 0;
}

@media (max-width: 960px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}
	/* Chừa khoảng trống cho thanh quick-contact ghim ở đáy màn hình */
	.site-footer {
		padding-bottom: 76px;
	}
}

@media (max-width: 640px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ---------- Quick Contact Bar (Đã bỏ Chỉ đường mặc định, chống đè nội dung desktop) ---------- */
.quick-contact {
	position: fixed;
	z-index: 95;
}

/* Desktop: Cụm nút nổi gọn ở góc dưới bên phải (không che bảng giá hay thông tin liên hệ bên trái) */
@media (min-width: 961px) {
	.quick-contact {
		right: 20px;
		bottom: 20px;
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.quick-contact.no-desktop-dock {
		display: none;
	}

	.quick-contact .quick-item {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 46px;
		padding: 8px 16px;
		border-radius: 999px;
		background: var(--white);
		color: var(--brand);
		border: 1.5px solid var(--line);
		box-shadow: var(--shadow-md);
		text-decoration: none;
		font-size: 13.5px;
		transition: transform 0.15s ease, box-shadow 0.15s ease;
	}

	.quick-contact .quick-item:hover {
		transform: translateY(-2px);
	}

	.quick-contact .quick-zalo {
		color: var(--zalo);
		border-color: #c8ddf3;
	}

	.quick-contact .quick-phone {
		background: var(--brand);
		border-color: var(--brand);
		color: var(--white);
	}

	.quick-contact .quick-label {
		display: inline-flex;
		align-items: baseline;
		gap: 5px;
	}

	.quick-contact .quick-extra {
		display: none;
	}
}

/* Mobile: Thanh ghim đáy 2 nút rộng thoáng (hoặc 3 nút tùy chọn trong Customizer) */
@media (max-width: 960px) {
	.quick-contact {
		left: 0;
		right: 0;
		bottom: 0;
		display: grid;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(8px);
		border-top: 1px solid var(--line);
		box-shadow: 0 -6px 24px rgba(16, 59, 49, 0.1);
	}

	.quick-contact.is-two-cols {
		grid-template-columns: 1fr 1.15fr;
	}

	.quick-contact.is-three-cols {
		grid-template-columns: 1fr 1.2fr 1fr;
		gap: 6px;
		padding-left: 8px;
		padding-right: 8px;
	}

	.quick-contact .quick-item {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 46px;
		padding: 6px 10px;
		border-radius: 10px;
		text-decoration: none;
		font-size: 13.5px;
		line-height: 1.2;
	}

	.quick-contact .quick-label {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.quick-contact .quick-label strong {
		font-weight: 750;
	}

	.quick-contact .quick-sub {
		font-size: 11px;
		font-weight: 600;
		opacity: 0.92;
	}

	.quick-contact .quick-zalo {
		background: #eef5fd;
		color: var(--zalo);
		border: 1px solid #cce0f8;
	}

	.quick-contact .quick-phone {
		background: var(--brand);
		color: var(--white);
		border: 1px solid var(--brand);
	}

	.quick-contact .quick-extra {
		background: var(--cream);
		color: var(--ink);
		border: 1px solid var(--line);
		flex-direction: column;
		gap: 2px;
		font-size: 12px;
	}

	.quick-contact.is-three-cols .quick-zalo,
	.quick-contact.is-three-cols .quick-phone {
		gap: 5px;
		padding: 6px 8px;
		font-size: 12.5px;
	}
}

/* ---------- Lightbox Modal ---------- */
.rvtp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rvtp-lightbox[hidden] {
	display: none;
}

.rvtp-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 24, 20, 0.86);
}

.rvtp-lightbox-frame {
	position: relative;
	z-index: 2;
	max-width: min(940px, 94vw);
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rvtp-lightbox-figure {
	margin: 0;
	text-align: center;
}

.rvtp-lightbox-figure img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	margin: 0 auto;
}

.rvtp-lightbox-caption {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.rvtp-lightbox-close,
.rvtp-lightbox-nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(16, 59, 49, 0.85);
	color: var(--white);
	cursor: pointer;
}

.rvtp-lightbox-close {
	top: -14px;
	right: -14px;
}

.rvtp-lightbox-prev {
	left: 12px;
}

.rvtp-lightbox-next {
	right: 12px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
