/*
Theme Name: BetaHomes
Description: Giao diện tiếng Việt dành cho BetaHomes, giới thiệu dịch vụ kiến trúc, thi công và nội thất.
Version: 2.2.3
Author: BetaHomes
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: betahomes
*/

:root {
	--night: #171613;
	--night-deep: #11100e;
	--ink: #24211b;
	--text: #544d43;
	--muted-dark: #c7beb1;
	--paper: #f7f3ec;
	--sand: #eee7db;
	--cream: #fcf9f2;
	--gold: #e0c298;
	--brass: #755830;
	--line: #d7cec0;
	--line-dark: #ffffff30;
	--font-body: "Be Vietnam Pro", Arial, sans-serif;
	--font-display: "Playfair Display", Georgia, serif;
	--gutter: clamp(22px, 5.25vw, 85px);
	--gap: clamp(16px, 2vw, 30px);
	--space: clamp(60px, 7.6vw, 116px);
	--header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 27px); }
body {
	margin: 0;
	background: #1c1a17;
	color: var(--cream);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video { display: block; height: auto; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #986b29; outline-offset: 5px; }
.section--dark :focus-visible, .site-header :focus-visible, .lead :focus-visible, .site-footer :focus-visible,
.contact-section :focus-visible { outline-color: #e5c68b; }

.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: var(--cream); }

h1, h2, h3, h4 {
	margin: 0;
	color: inherit;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 5.9vw, 5.4rem); letter-spacing: -.041em; }
h2 { font-size: clamp(2.24rem, 4.45vw, 4.35rem); letter-spacing: -.038em; }
h3 { font-size: clamp(1.35rem, 2.05vw, 2.08rem); letter-spacing: -.02em; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
.eyebrow {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 19px;
	color: var(--brass);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.5;
	text-transform: uppercase;
}
.eyebrow span { display: block; width: 24px; height: 1px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: var(--gap);
	margin-bottom: clamp(24px, 3.5vw, 48px);
}
.section-heading > div { min-width: 0; }
.section-heading > p { width: min(100%, 320px); margin: 0 0 3px; color: var(--text); font-size: .95rem; }
.section--dark .section-heading > p { color: var(--muted-dark); }
.section-lead { max-width: 520px; margin-block: 23px 26px; color: var(--text); }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 51px;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 3px;
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.arrow-diagonal {
	position: relative;
	display: inline-block;
	flex: none;
	width: 8px;
	height: 8px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	vertical-align: .12em;
}
.arrow-diagonal::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 10px;
	height: 1px;
	background: currentColor;
	transform: rotate(-45deg);
	transform-origin: left center;
	content: "";
}
.button--gold { background: var(--gold); color: var(--night-deep); }
.button--gold:hover { background: #efd7b5; }
.button--dark { background: var(--night); color: var(--cream); }
.button--dark:hover { background: #393329; }
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	width: fit-content;
	max-width: 100%;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: var(--brass);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}
.text-link:hover { color: var(--ink); }
.section--dark .text-link, .contact-section .text-link { color: var(--gold); }
.section--dark .text-link:hover, .contact-section .text-link:hover { color: var(--cream); }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	top: 10px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 10px 15px;
	clip: auto;
	clip-path: none;
	background: var(--cream);
	color: var(--ink);
}

.site-header {
	--nav-text: #fffdf9;
	--nav-border: #f4f4f432;
	--nav-panel-background: linear-gradient(175deg, #73706cf8, #50514efb);
	position: sticky;
	top: 0;
	z-index: 50;
	padding-block: 8px;
	color: var(--cream);
}
.site-header--over-video { margin-bottom: calc(-1 * var(--header-height) - 16px); }
.site-header a, .site-header button { -webkit-tap-highlight-color: #e0c2983d; }
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
	align-items: center;
	gap: var(--gap);
	width: min(100% - 2 * clamp(11px, 1.6vw, 24px), 1400px);
	min-height: var(--header-height);
	padding-inline: clamp(11px, 2.05vw, 30px);
	border: 1px solid var(--nav-border);
	border-radius: 15px;
	background: #252421f2;
	box-shadow: 0 5px 23px #0004;
}
.site-header--over-video .site-header__inner {
	background: linear-gradient(105deg, #342f2aa6, #211f1cc0 50%, #1f1e1dc4);
	backdrop-filter: blur(20px) saturate(.9);
}
.brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	width: fit-content;
	max-width: 100%;
	text-decoration: none;
}
.brand img { display: block; width: auto; height: auto; object-fit: contain; }
.brand--original img { width: 108px; }
.site-header .brand--original img { width: auto; height: min(63px, var(--header-height) - 9px); }
.brand--custom img { max-height: 54px; max-width: min(185px, 100%); }

.site-navigation ul { margin: 0; padding: 0; list-style: none; }
.site-navigation .menu { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(13px, 2.1vw, 31px); }
.site-navigation li { position: relative; }
.site-navigation .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
.site-navigation a, .nav-branch {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 45px;
	padding: 8px 7px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--nav-text);
	font-size: .86rem;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	text-decoration: none;
}
.site-navigation .menu-item-has-children > a { padding-right: 4px; }
.nav-branch--icon { justify-content: center; min-width: 30px; padding-inline: 7px; }
.site-navigation .menu > li > a:hover,
.site-navigation .menu > li > .nav-branch:hover,
.site-navigation .menu > .current-menu-item > a,
.site-navigation .menu > li > .nav-branch[aria-expanded="true"] { background: #ffffff17; }
.site-navigation :focus-visible { outline-color: var(--nav-text); outline-offset: -2px; }
.nav-chevron {
	flex: none;
	width: 7px;
	height: 7px;
	margin: -4px 2px 0 1px;
	border-right: 1.4px solid currentColor;
	border-bottom: 1.4px solid currentColor;
	opacity: .8;
	transform: rotate(45deg);
	transition: transform .18s ease, margin .18s ease;
}
.nav-branch[aria-expanded="true"] .nav-chevron { margin-top: 3px; transform: rotate(225deg); }

.site-navigation .sub-menu {
	position: absolute;
	z-index: 2;
	top: calc(100% + 20px);
	left: 50%;
	display: none;
	width: max-content;
	min-width: min(267px, 100vw - 32px);
	max-width: min(320px, 100vw - 32px);
	padding: 9px;
	transform: translateX(calc(-50% + var(--menu-shift, 0px)));
	border: 1px solid var(--nav-border);
	border-radius: 15px;
	background: var(--nav-panel-background);
	backdrop-filter: blur(15px);
	box-shadow: 0 18px 48px #0007;
}
.site-navigation .sub-menu::before {
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 21px;
	content: "";
}
.site-navigation .sub-menu .sub-menu {
	top: 0;
	left: calc(100% + 4px);
	transform: translateX(var(--menu-shift, 0px));
}
.site-navigation .sub-menu .sub-menu::before {
	inset: 0 100% 0 auto;
	width: 5px;
	height: auto;
}
.site-navigation .is-submenu-open > .sub-menu,
.site-navigation:not(.has-submenu-controls) li:hover > .sub-menu,
.site-navigation:not(.has-submenu-controls) li:focus-within > .sub-menu { display: block; }
.site-navigation .sub-menu > li > a {
	display: flex;
	width: 100%;
	gap: 11px;
	min-height: 43px;
	padding: 9px 12px;
	font-size: .84rem;
	overflow-wrap: anywhere;
}
.site-navigation .sub-menu > li:has(> .nav-branch--icon) > a { min-width: 0; width: calc(100% - 33px); }
.site-navigation .sub-menu > li > a:hover,
.site-navigation .sub-menu > li > a:focus-visible,
.site-navigation .sub-menu .nav-branch--icon:hover { background: #24232136; }
.nav-icon { flex: 0 0 19px; width: 19px; height: 19px; color: #f4f4f4; }
.site-navigation [data-section-menu] > .sub-menu > li:first-child {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #f4f4f426;
}
.button--header {
	justify-self: end;
	min-height: 41px;
	padding: 8px 13px;
	border-color: #d7bc916f;
	color: var(--gold);
	font-size: .79rem;
}
.site-header .button--header { border-radius: 23px; }
.button--header:hover { border-color: var(--gold); background: var(--gold); color: var(--night-deep); }
.menu-toggle {
	display: none;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line-dark);
	border-radius: 3px;
	background: transparent;
	color: var(--cream);
}
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
	width: 17px;
	height: 1px;
	background: currentColor;
}
.menu-toggle__icon { position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { position: absolute; left: 0; content: ""; }
.menu-toggle__icon::before { top: -5px; }
.menu-toggle__icon::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }

.insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(35px, 8vw, 122px);
}

.insight-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(20px, 2.4vw, 32px); border-top: 1px solid #ac967a; background: #f9f5ed; }
.insight-card h3 { font-size: clamp(1.26rem, 1.85vw, 1.8rem); }
.insight-card h3 a { text-decoration: none; }
.insight-card h3 a:hover { color: var(--brass); }
.insight-card > .text-link { margin-top: auto; }
.insight-card > p:last-child { margin-bottom: 0; }
.article-card__photo { display: block; width: 100%; margin-bottom: 15px; }
.article-card__photo img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }

.contact-section { position: relative; background: #221d17; color: var(--cream); }
.contact-grid { align-items: start; }
.contact-copy { padding-top: clamp(0px, 3vw, 45px); }
.contact-copy > p:not(.eyebrow) { max-width: 440px; margin-block: 20px 29px; color: var(--muted-dark); }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.contact-phone { color: var(--gold); font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.3; text-decoration: none; white-space: nowrap; }
.contact-phone:hover { color: var(--cream); }
.contact-panel { min-width: 0; padding: clamp(22px, 3.7vw, 49px); background: var(--cream); color: var(--ink); }
.contact-panel h3 { margin-bottom: 21px; }
.contact-form { display: flex; flex-direction: column; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-form label { display: block; margin-bottom: 5px; font-size: .83rem; font-weight: 600; }
.contact-form label span { color: var(--brass); }
.contact-form input:not([type="hidden"]), .contact-form select, .contact-form textarea, .site-search input, .comment-form input:not([type="submit"]), .comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #bdad98;
	border-radius: 3px;
	background: #fffdfa;
	color: var(--ink);
}
.contact-form input, .contact-form select, .contact-form textarea { margin-bottom: 14px; }
.contact-form textarea { resize: vertical; }
.contact-form textarea::placeholder, .site-search input::placeholder { color: #776b5e; }
.contact-form .button { align-self: flex-start; }
.contact-form .button:disabled { opacity: .62; cursor: wait; }
.contact-form__note { margin: 12px 0 0; color: var(--text); font-size: .72rem; }
.contact-status { padding: 10px 12px; border: 1px solid #b77a64; background: #fff0e9; color: #6c2d21; font-size: .86rem; }
.contact-status--success { border-color: #7f9c70; background: #ecf5e5; color: #264b22; }

.site-footer { padding-top: 59px; background: var(--night-deep); color: var(--muted-dark); font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .55fr); gap: clamp(25px, 6vw, 84px); }
.footer-company > p { max-width: 248px; margin: 13px 0; }
.footer-company > a:not(.brand), .footer-links a { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: #f2ecdf; text-decoration: none; }
.footer-company .footer-phone { color: var(--gold); font-size: 1.05rem; }
.footer-company a:hover, .footer-links a:hover { color: var(--gold); }
.site-footer h2 { margin-bottom: 15px; color: var(--cream); font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; }
.footer-addresses { font-style: normal; }
.footer-addresses div { margin-bottom: 8px; }
.footer-addresses strong { color: #ede4d4; font-weight: 600; }
.footer-addresses strong::after { margin-right: 2px; content: ":"; }
.footer-links a { margin-block: 5px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-block: 18px; border-top: 1px solid var(--line-dark); font-size: .77rem; }
.site-footer__base a { text-underline-offset: 3px; }

.interior-page { min-height: 50vh; }
.interior-page__heading { margin-bottom: 34px; }
.interior-page__heading h1 { margin-top: 18px; overflow-wrap: anywhere; }
.interior-page__heading h1:first-child { margin-top: 0; }
.interior-page__heading time, .project-terms, .archive-description { display: block; margin-top: 13px; color: var(--text); }
.content-wrap { width: min(100%, 780px); margin-inline: auto; }
.wrap.content-wrap { width: min(100% - 2 * var(--gutter), 780px); }
.content-wrap > h1 { margin-bottom: 20px; }
.article-hero { width: min(100%, 1080px); margin: 0 auto 34px; }
.article-hero img { width: 100%; }
.entry-content { color: var(--text); overflow-wrap: anywhere; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-block: 1.2em .45em; color: var(--ink); }
.entry-content h2 { font-size: clamp(1.65rem, 3.1vw, 2.65rem); }
.entry-content figure, .entry-content blockquote { margin-block: 1.5rem; }
.entry-content iframe { max-width: 100%; }
.entry-content blockquote { padding-left: 18px; border-left: 2px solid #9b794e; }
.entry-content a { color: var(--brass); }
.entry-content pre { overflow: auto; }
.entry-content table { max-width: 100%; border-collapse: collapse; }
.entry-content table td, .entry-content table th { padding: 6px 10px; border: 1px solid var(--line); }
.entry-content .alignleft { float: left; margin: 0 16px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 16px; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { display: block; clear: both; content: ""; }
.article-cta, .comments-area, .navigation.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pagination .page-numbers { padding: 4px 8px; }
.pagination .current { border-bottom: 1px solid var(--brass); color: var(--brass); }
.site-search { display: flex; align-items: stretch; gap: 10px; max-width: 470px; margin-block: 17px 21px; }
.site-search label { flex: 1; min-width: 0; }
.site-search input { height: 100%; min-height: 46px; }
.site-search button { min-height: 46px; }
.comments-area h2 { margin-bottom: 17px; font-size: 2rem; }
.comment-list { padding-left: 20px; }
.comment-list li { margin-bottom: 12px; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form label { display: block; font-weight: 600; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .submit { padding: 9px 15px; border: 0; border-radius: 3px; background: var(--night); color: var(--cream); cursor: pointer; }

@media (max-width: 1000px) {
	:root { --header-height: 68px; }
	.site-header__inner { grid-template-columns: auto auto auto; justify-content: space-between; gap: 14px; }
	.site-navigation .menu { gap: 18px; }
	.site-navigation a, .nav-branch { font-size: .8rem; }
	.contact-grid { gap: clamp(24px, 5vw, 55px); }
}
@media (max-width: 800px) {
	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 9px;
		padding-block: 6px;
	}
	.site-header .brand--original img { height: min(51px, var(--header-height) - 12px); }
	.site-header .brand--custom img { max-height: 50px; max-width: min(156px, 100%); }
	.button--header { grid-row: 1; grid-column: 2; gap: 9px; padding-inline: 10px; font-size: .75rem; }
	.menu-toggle { grid-row: 1; grid-column: 3; }
	.site-navigation { grid-column: 1 / -1; width: 100%; }
	.site-navigation .menu { gap: 0 20px; }
	.site-navigation .menu-item-has-children { width: 100%; }
	.site-navigation .sub-menu, .site-navigation .sub-menu .sub-menu {
		position: static;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		margin-bottom: 6px;
		padding: 4px;
		transform: none;
		border-color: var(--nav-border);
		border-radius: 9px;
		background: #24232144;
		backdrop-filter: none;
		box-shadow: none;
	}
	.site-navigation .sub-menu::before { display: none; }
	.site-navigation:not(.has-submenu-controls) { max-height: 36vh; overflow-y: auto; }
	.site-navigation:not(.has-submenu-controls) .sub-menu { display: block; }
	.js .menu-toggle { display: grid; }
	.js .site-navigation {
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		display: none;
		width: min(100%, 350px);
		max-height: calc(100dvh - var(--header-height) - 78px);
		padding: 7px 13px 9px;
		overflow: auto;
		overscroll-behavior: contain;
		border: 1px solid var(--nav-border);
		border-radius: 14px;
		background: var(--nav-panel-background);
		backdrop-filter: blur(15px);
		box-shadow: 0 12px 34px #0006;
	}
	.js .site-navigation.is-open, .js .site-navigation .menu { display: block; }
	.js .site-navigation .menu > li + li { border-top: 1px solid #f4f4f427; }
	.js .site-navigation .menu > li > a, .js .site-navigation .nav-branch {
		min-height: 44px;
		padding: 9px 7px;
		font-size: .89rem;
	}
	.js .site-navigation .menu > li[data-section-menu] > .nav-branch {
		width: 100%;
		justify-content: space-between;
		padding-right: 10px;
	}
	.js .site-navigation li:has(> .nav-branch--icon) > a { flex: 1 1 0; min-width: 0; width: auto; }
	.js .site-navigation .nav-branch--icon { min-width: 43px; }
	.site-navigation .sub-menu > li > a { min-height: 42px; padding: 8px 10px; }
	.section-heading { align-items: start; }
	.section-heading > p { max-width: 240px; font-size: .86rem; }
	.insights-grid { gap: 12px; }
	.footer-grid { gap: 22px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 620px) {
	:root { --header-height: 63px; }
	.contact-grid { grid-template-columns: 1fr; }
	.section-heading { flex-direction: column; gap: 10px; }
	.section-heading > p { width: auto; max-width: 100%; }
	.eyebrow { margin-bottom: 13px; }
	.insights-grid { grid-template-columns: 1fr; gap: 16px; }
	.contact-copy { padding-top: 0; }
	.contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); }
	.footer-company { grid-column: 1 / -1; }
	.site-footer { padding-top: 44px; }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 360px) {
	:root { --gutter: 16px; }
	.button--header { padding-inline: 8px; }
	.button--header .arrow-diagonal { display: none; }
	.menu-toggle { width: 37px; height: 37px; }
	.contact-form__row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Trang chủ */
.showcase { display: flow-root; overflow: clip; background: #1c1a17; color: var(--cream); }
.showcase :is(h1, h2, h3, .contact-phone) { font-family: var(--font-body); }
.showcase h2 { font-size: clamp(1.6rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; text-transform: uppercase; }
.showcase h3 { font-weight: 500; }
.showcase .section-heading > p { color: var(--muted-dark); }
.showcase .section--paper { color: var(--ink); }
.showcase .section--sand { background: #1c1a17; color: var(--cream); }
.showcase .insight-card { border-color: #e9c69853; background: #2a241e; color: var(--cream); }
.showcase .insight-card p { color: #e2d6c7; }
.showcase .insight-card .text-link { color: var(--gold); }
.motion-scene { isolation: isolate; position: relative; width: 100%; height: 100%; background: #1b1916; }
.motion-scene__picture, .motion-scene__picture img, .motion-scene__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.motion-scene__picture img, .motion-scene__video { object-fit: cover; object-position: center; }
.motion-scene__video { opacity: 0; transition: opacity .4s ease; }
.motion-scene.has-frame .motion-scene__video { opacity: 1; }
html:not(.js) .motion-scene--native .motion-scene__video { opacity: 1; }
.video-toggle {
	z-index: 4;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #fff8;
	border-radius: 50%;
	background: #120f0e8c;
	color: #fff;
}
.motion-scene__toggle { position: absolute; top: 14px; right: 14px; }
.video-toggle:hover { border-color: var(--gold); background: var(--gold); color: var(--night-deep); }
.video-symbol {
	display: block;
	width: 0;
	height: 0;
	margin-left: 2px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid currentColor;
}
.video-toggle.is-playing .video-symbol {
	width: 9px;
	height: 10px;
	margin: 0;
	border: 0;
	border-inline: 3px solid currentColor;
}
.lead, .closing {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #141311;
	color: var(--cream);
}
.lead > .motion-scene, .closing > .motion-scene { position: absolute; inset: 0; isolation: auto; }
.lead__shade, .closing__shade { position: absolute; inset: 0; pointer-events: none; }
.lead__shade {
	background: linear-gradient(0deg, #1c1a17 0%, #161412df 10%, #15131125 48%, #1513114d 100%),
		linear-gradient(90deg, #100f0d98, transparent 70%);
}
.lead__inner {
	position: relative;
	display: grid;
	min-height: max(602px, 100svh);
	align-items: end;
	padding-block: calc(var(--header-height) + 34px) clamp(71px, 10vh, 100px);
	pointer-events: none;
}
.lead__copy {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: clamp(22px, 5vw, 72px);
	width: 100%;
	padding-right: 93px;
}
.lead__intro { min-width: 0; }
.lead h1 {
	max-width: 810px;
	font-size: clamp(2.1rem, 4.05vw, 4.1rem);
	font-weight: 500;
	letter-spacing: -.025em;
	line-height: 1.1;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.lead h1::first-line { color: var(--gold); }
.lead__copy p { max-width: 495px; margin: 16px 0 0; color: #eee6d9; font-size: clamp(.88rem, 1.15vw, 1rem); }
.lead__actions { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: auto; }
.lead__actions .button, .closing .button { border-radius: 30px; padding-inline: 24px; }
.lead__jump { color: var(--cream); font-size: .79rem; font-weight: 500; text-decoration: none; }
.lead__jump span { margin-left: 5px; }
.lead__jump:hover { color: var(--gold); }
.lead .motion-scene__toggle, .closing .motion-scene__toggle {
	top: auto;
	right: auto;
	bottom: 22px;
	left: max(var(--gutter), calc((100% - 1280px) / 2));
}
.closing .motion-scene__toggle { left: clamp(16px, 3vw, 40px); }

.overview { padding-block: clamp(47px, 6.5vw, 92px) 0; background: #1c1a17; }
.overview__grid {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
	grid-template-rows: auto auto;
	align-items: center;
	gap: clamp(30px, 5vw, 75px);
}
.overview__copy { z-index: 1; padding-block: 10px; }
.overview .section-lead { color: var(--muted-dark); }
.overview__photo { align-self: end; margin: -20px -8px -30px 0; opacity: .95; }
.overview__photo img { width: 100%; aspect-ratio: 1.37; object-fit: contain; object-position: bottom center; }
.overview-figures {
	z-index: 1;
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: clamp(10px, 1.25vw, 17px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.overview-figures li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	min-height: 119px;
	padding: clamp(14px, 1.65vw, 23px);
	border: 1px solid #f2dfb723;
	border-radius: 14px;
	background: #292520;
}
.overview-figures strong { color: #f4ebdc; font-size: clamp(1.12rem, 2.05vw, 1.92rem); font-weight: 500; line-height: 1.25; }
.overview-figures span { color: #ccc2b4; font-size: .84rem; }

.fields { background: #1c1a17; }
.fields__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.7vw, 26px); }
.field-card { min-width: 0; }
.field-card__media { overflow: hidden; aspect-ratio: 1.02; border: 1px solid #f1d8b325; border-radius: 15px; }
.field-card__copy { padding: clamp(15px, 1.55vw, 22px) 2px 0; }
.field-card p { margin-top: 7px; color: var(--muted-dark); font-size: .88rem; }
.field-card h3 { font-size: clamp(1rem, 1.38vw, 1.37rem); text-transform: uppercase; letter-spacing: .015em; }

.project-showcase { background: #161512; }
.project-showcase .wrap { min-width: 0; }
.project-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--gap)) / 2);
	gap: var(--gap);
	padding-bottom: 13px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	scrollbar-width: thin;
	scrollbar-color: #ad956e #302a22;
}
.sample-project { min-width: 0; scroll-snap-align: start; }
.sample-project__media {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border: 1px solid #f0d7ab28;
	border-radius: 15px;
	background: #29241e;
}
.sample-project__media .motion-scene { position: absolute; inset: 0; isolation: auto; }
.sample-project__category {
	position: absolute;
	top: 12px;
	left: 12px;
	max-width: 78%;
	padding: 6px 10px;
	border: 1px solid #ffffff35;
	border-radius: 20px;
	background: #201b16cc;
	color: #f5ebd9;
	font-size: .72rem;
	line-height: 1.35;
}
.sample-project__copy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 15px 5px; }
.sample-project h3 { font-size: clamp(1rem, 1.65vw, 1.5rem); }
.sample-project__preview {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	color: var(--gold);
	font-size: .75rem;
	text-decoration: none;
}
.sample-project__preview:hover { text-decoration: underline; text-underline-offset: 4px; }
.carousel-buttons { display: flex; flex: none; gap: 8px; }
.carousel-buttons button {
	display: grid;
	place-items: center;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 1px solid #fff5;
	border-radius: 50%;
	background: #38302853;
	color: var(--cream);
	font-size: 1.23rem;
}
.carousel-buttons button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.carousel-buttons button:disabled { opacity: .4; cursor: default; }
.published-projects { margin-bottom: clamp(45px, 6vw, 96px); }
.project-preview {
	width: min(94vw, 1000px);
	max-height: 92dvh;
	padding: clamp(12px, 2vw, 20px);
	border: 1px solid #f0d09559;
	border-radius: 16px;
	background: #201d19;
	color: var(--cream);
}
.project-preview::backdrop { background: #100d0ce5; }
.project-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.showcase .project-preview__head h2 { font-size: clamp(1rem, 2vw, 1.55rem); text-transform: none; }
.project-preview__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e4c18a70;
	border-radius: 50%;
	background: transparent;
	color: var(--cream);
	font-size: 1.5rem;
	line-height: 1;
}
.project-preview__image img { width: 100%; max-height: 72dvh; object-fit: contain; }

.workflow { background: #1c1a17; }
.workflow .section-heading { justify-content: center; text-align: center; }
.workflow .eyebrow { justify-content: center; }
.workflow-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.workflow-tabs button {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 9px;
	min-height: 52px;
	padding: 9px 11px;
	border: 1px solid #f4e2c52b;
	border-radius: 9px;
	background: #25221e;
	color: var(--cream);
	font-size: .77rem;
	line-height: 1.3;
	text-align: left;
}
.workflow-tabs button:hover, .workflow-tabs button[aria-selected="true"] { border-color: #ddb579af; background: #3b3024; }
.workflow-tabs__number { color: var(--gold); font-size: .74rem; font-weight: 600; }
.workflow-panel {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: end;
	justify-content: end;
	min-height: clamp(360px, 42vw, 580px);
	padding: clamp(15px, 2.15vw, 29px);
	overflow: hidden;
	border: 1px solid #f0d7ab38;
	border-radius: 17px;
	background: #25221e;
}
.workflow-panel + .workflow-panel:not([hidden]) { margin-top: 14px; }
.workflow-tabs:not([hidden]) + .workflow-panels .workflow-panel { margin-top: 0; }
.workflow-panel img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workflow-panel__copy {
	width: min(100%, 440px);
	padding: clamp(18px, 2.6vw, 32px);
	border: 1px solid #ffffff38;
	border-radius: 13px;
	background: #1c1915ed;
}
.workflow-panel p { margin-top: 10px; color: #ddd2c2; }

.services-showcase { background: #181613; }
.services-showcase__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 21px); }
.service-tile {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	min-height: clamp(300px, 35vw, 500px);
	overflow: hidden;
	border: 1px solid #f0d4a330;
	border-radius: 15px;
	background: #24211c;
	color: var(--cream);
}
.service-tile--wide { grid-column: 1 / -1; min-height: clamp(320px, 42vw, 540px); }
.service-tile__image { position: absolute; z-index: -2; inset: 0; }
.service-tile__image img { width: 100%; height: 100%; object-fit: cover; }
.service-tile::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #130f0def, #130f0d88 46%, transparent 87%); content: ""; }
.service-tile__copy { width: min(100%, 583px); padding: clamp(18px, 2.65vw, 37px); }
.service-tile h3 { font-size: clamp(1.1rem, 1.9vw, 1.8rem); text-transform: uppercase; }
.service-tile p { margin-block: 9px 13px; color: #f1e6d7; font-size: .84rem; line-height: 1.6; }
.service-tile .text-link { color: var(--gold); }
.service-tile .text-link:hover { color: white; }
.service-tile :focus-visible { outline-color: var(--gold); }

.contact-showcase { background: #1c1a17; }
.consultation { padding-block: clamp(50px, 6.5vw, 96px) clamp(29px, 4vw, 54px); }
.consultation__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.consultation__steps li { padding: clamp(16px, 2.3vw, 27px); border: 1px solid #f0dfc42a; border-radius: 13px; background: #29241f; }
.consultation__steps strong, .consultation__steps span { display: block; }
.consultation__steps strong { margin-bottom: 6px; color: var(--gold); font-size: clamp(.98rem, 1.6vw, 1.5rem); font-weight: 500; }
.consultation__steps span { color: var(--muted-dark); font-size: .86rem; }
.contact-showcase__scene {
	isolation: isolate;
	position: relative;
	padding: clamp(19px, 4.4vw, 63px);
	overflow: hidden;
	border: 1px solid #efdcbe39;
	border-radius: 17px;
}
.contact-showcase__scene > img, .contact-showcase__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-showcase__scene > img { z-index: -2; object-fit: cover; object-position: 50% 57%; }
.contact-showcase__shade { z-index: -1; background: linear-gradient(90deg, #130f0edb, #130f0e79 67%, #130f0e68); }
.contact-showcase .contact-copy > p:not(.eyebrow) { color: #ebe2d6; }
.contact-showcase .contact-panel { border: 1px solid #e8d4b052; border-radius: 14px; background: #24201ce8; color: var(--cream); }
.contact-showcase .contact-form :is(input, select, textarea):not([type="submit"]) { border-color: #f4e0bc56; background: #171513e6; color: #fffbf2; }
.contact-showcase .contact-form textarea::placeholder, .contact-showcase .contact-form__note { color: #cbc0af; }
.contact-showcase .contact-form .button { border-radius: 25px; background: var(--gold); color: var(--night-deep); }
.contact-showcase .contact-form .button:hover { background: #efd7b5; }

.closing { margin-block: var(--space); border: 1px solid #e7d0a641; border-radius: 17px; }
.closing__shade { background: linear-gradient(0deg, #0e0c09e0, #0e0c0950 54%, #0e0c091a); }
.closing__copy { position: relative; display: grid; min-height: clamp(370px, 45vw, 650px); justify-items: center; align-content: end; gap: 21px; padding: 40px 17px 80px; text-align: center; pointer-events: none; }
.closing__copy a { pointer-events: auto; }

.contact-dock {
	position: fixed;
	z-index: 49;
	right: 16px;
	bottom: max(18px, env(safe-area-inset-bottom));
	display: grid;
	gap: 6px;
}
.contact-dock__link {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 4px 10px 4px 5px;
	border: 1px solid #f0dfc385;
	border-radius: 23px;
	background: #211d18;
	box-shadow: 0 3px 15px #0004;
	color: #fff;
	font-size: .71rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
.contact-dock__link:hover, .contact-dock__link:focus-visible { border-color: #ffe0ac; background: #3a3026; }
.contact-dock__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #2b67bd;
	color: white;
}
.contact-dock__icon svg { width: 18px; height: 18px; }
.contact-dock__link--messenger .contact-dock__icon { background: #6b36bd; }
.contact-dock__link--call .contact-dock__icon { background: #e3bd82; color: #241c13; }
.contact-dock__z { display: grid; place-items: center; width: 16px; height: 15px; border: 1px solid currentColor; border-radius: 4px 4px 4px 2px; font-family: Arial, sans-serif; font-size: .67rem; }

@media (max-width: 1000px) {
	.workflow-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.has-contact-dock { padding-bottom: calc(63px + env(safe-area-inset-bottom)); }
	html:has(body.has-contact-dock) { scroll-padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.contact-dock {
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		gap: 0;
		padding: 3px 4px calc(3px + env(safe-area-inset-bottom));
		border-top: 1px solid #e0c29860;
		background: #171412;
	}
	.contact-dock__link {
		flex: 1;
		justify-content: center;
		gap: 5px;
		min-height: 50px;
		padding: 4px 2px;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		font-size: .71rem;
	}
	.contact-dock__link + .contact-dock__link { border-left: 1px solid #e0c29845; }
	.contact-dock__icon { width: 27px; height: 27px; }
	.contact-dock__icon svg { width: 16px; height: 16px; }
	.lead__inner { min-height: max(550px, calc(100svh - 57px)); padding-block: calc(var(--header-height) + 32px) 80px; }
	.lead__shade { background: linear-gradient(0deg, #1b1815f6, #14120f87 51%, #100e0b29); }
	.lead__copy { flex-direction: column; align-items: flex-start; gap: 18px; padding-right: 0; }
	.lead h1 { font-size: clamp(1.5rem, 7.6vw, 3.4rem); }
	.lead__copy p { margin-top: 12px; }
	.lead__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
	.lead .motion-scene__toggle, .closing .motion-scene__toggle { bottom: 19px; }
	.overview__grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 13px; }
	.overview__photo { margin: -8px 0 -13px; }
	.overview__photo img { margin-inline: auto; max-width: 540px; aspect-ratio: 1.5; }
	.overview-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.overview-figures li { min-height: 115px; }
	.overview-figures span { font-size: .76rem; }
	.fields__grid { grid-template-columns: 1fr; gap: 25px; }
	.field-card__media { aspect-ratio: 1.45; }
	.project-track { grid-auto-columns: min(86%, 490px); gap: 12px; }
	.sample-project__media { aspect-ratio: 1.13; }
	.sample-project__copy { align-items: start; }
	.project-showcase .section-heading { flex-direction: row; align-items: end; }
	.carousel-buttons button { width: 38px; height: 38px; }
	.workflow-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.workflow-tabs button { min-height: 46px; }
	.workflow-panel { display: block; padding: 0; min-height: 0; }
	.workflow-panel img { position: static; aspect-ratio: 1.4; height: auto; }
	.workflow-panel__copy { width: 100%; border: 0; border-radius: 0; }
	.services-showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.consultation__steps { grid-template-columns: 1fr; gap: 11px; }
	.contact-showcase__shade { background: linear-gradient(0deg, #1b1715d6, #19161397); }
	.closing { margin-bottom: 55px; }
	.closing__copy { padding-bottom: 77px; }
}
@media (max-width: 460px) {
	.services-showcase__grid { grid-template-columns: 1fr; }
	.service-tile, .service-tile--wide { min-height: 315px; }
	.lead__actions .button { gap: 10px; min-height: 47px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html:not(.js) .motion-scene--native .motion-scene__video { opacity: 0; }
}

/* Cap nhat V2.2.3: Phong nen dong bo trang chu, full-width sat vien & font tieng Viet chuan Be Vietnam Pro */
.interior-page {
	min-height: 60vh;
	padding-block: clamp(24px, 3.4vw, 44px) clamp(52px, 6.5vw, 88px);
	background: #1c1a17;
	color: var(--cream);
}
.interior-page > .wrap {
	width: min(100% - 2 * clamp(11px, 1.6vw, 24px), 1400px);
	margin-inline: auto;
}
.interior-page .content-wrap,
.interior-page .wrap.content-wrap,
.interior-page .article-hero {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
}
.interior-page :is(h1, h2, h3, h4) {
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--cream);
	letter-spacing: -.018em;
}
.interior-page__heading {
	margin-bottom: clamp(20px, 2.8vw, 32px);
}
.interior-page__heading h1 {
	font-size: clamp(1.7rem, 3.2vw, 2.95rem);
	line-height: 1.22;
	margin-top: 14px;
	margin-bottom: 0;
}
.interior-page__heading h1:first-child {
	margin-top: 0;
}
.interior-page__heading .project-terms,
.interior-page__heading .archive-description {
	color: var(--muted-dark);
}
.interior-page .article-hero {
	margin: 0 auto 28px;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #f0d7ab28;
}
.interior-page .entry-content {
	color: #e2d8c9;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.72;
}
.interior-page .entry-content h2 {
	font-size: clamp(1.4rem, 2.4vw, 2.05rem);
	line-height: 1.26;
}
.interior-page .entry-content h3 {
	font-size: clamp(1.1rem, 1.6vw, 1.38rem);
	line-height: 1.35;
}
.interior-page .entry-content a {
	color: var(--gold);
}
.interior-page .entry-content a:hover {
	color: var(--cream);
}
.interior-page .entry-content blockquote {
	border-left: 2px solid var(--gold);
	color: #ede4d4;
}
.interior-page .entry-content table td,
.interior-page .entry-content table th {
	border-color: #f0d7ab2e;
}
.interior-page .insight-card {
	border-color: #e9c69853;
	border-radius: 14px;
	background: #2a241e;
	color: var(--cream);
}
.interior-page .insight-card h3 a:hover {
	color: var(--gold);
}
.interior-page .insight-card p,
.interior-page .article-card__excerpt {
	color: #dfd4c5;
}
.interior-page .insight-card .text-link {
	color: var(--gold);
}
.interior-page .insight-card .text-link:hover {
	color: var(--cream);
}
.interior-page .article-card__photo {
	overflow: hidden;
	border-radius: 10px;
}
.interior-page .article-cta .button--dark {
	background: var(--gold);
	color: var(--night-deep);
	border-radius: 30px;
	padding-inline: 24px;
}
.interior-page .article-cta .button--dark:hover {
	background: #efd7b5;
}
.interior-page .site-search input {
	border: 1px solid #f4e0bc56;
	border-radius: 8px;
	background: #171513e6;
	color: #fffbf2;
	padding-inline: 14px;
}
.interior-page .site-search button {
	border-radius: 8px;
	background: var(--gold);
	color: var(--night-deep);
}
.interior-page .pagination .current {
	border-bottom-color: var(--gold);
	color: var(--gold);
}
@media (max-width: 620px) {
	.interior-page {
		padding-block: 18px 48px;
	}
	.interior-page > .wrap {
		width: calc(100% - 20px);
	}
}
