/**
 * Design AKAY - Main Stylesheet
 */

:root {
	/* Sáng tạo & Năng động — Cam nổi / Xám đậm */
	/* 60% — nền trắng, sạch, nổi bật nội dung */
	--color-surface: #ffffff;
	--color-white: #ffffff;
	--color-elevated: #ffffff;

	/* 30% — section xen kẽ, card, panel */
	--color-bg: #ffffff;
	--color-bg-sage: #f5f5f5;
	--color-bg-warm: #fff8f3;
	--color-topbar: #333333;
	--color-border: #e0e0e0;

	/* Xám đậm — footer, hero, nền tối */
	--color-primary: #e67e22;
	--color-primary-dark: #333333;

	/* Cam — CTA, link, điểm nhấn năng lượng */
	--color-accent: #e67e22;
	--color-accent-dark: #d35400;

	/* Cam sáng — hover, icon, nhãn phụ */
	--color-gold: #e67e22;
	--color-gold-dark: #d35400;

	/* Text — tương phản trên nền sáng */
	--color-dark: #333333;
	--color-heading: #333333;
	--color-navy: #444444;
	--color-text: #444444;
	--color-muted: #777777;
	--color-subtext: #555555;
	--color-link: #d35400;
	--color-on-accent: #ffffff;

	--font-main: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-brand: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
	--container-width: 1540px;
	--container-padding: clamp(24px, 4vw, 60px);
	--header-height: 92px;
	--section-spacing: clamp(72px, 7vw, 108px);
	--header-topbar-bg: #333333;
	--header-topbar-text: #ffffff;
	--header-main-bg: #ffffff;
	--header-nav-text: #333333;
	--header-border: #e0e0e0;
	--color-section-tint: rgba(228, 232, 255, 0.32);
	--color-brand-navy: #162849;
	--radius: 8px;
	--shadow: 0 8px 32px rgba(51, 51, 51, 0.12);
	--transition: 0.25s ease;
	color-scheme: light;
}

html[data-theme="dark"] {
	color-scheme: dark;
	/* Nền tối đồng bộ — card sáng hơn nền một bậc để nội dung nổi */
	--color-surface: #0f1216;
	--color-white: #1c2128;
	--color-elevated: #242a33;
	--color-bg: #0f1216;
	--color-bg-sage: #171b21;
	--color-bg-warm: #1a1612;
	--color-topbar: #08090b;
	--color-border: #3d4656;
	--color-primary: #e67e22;
	--color-primary-dark: #f2f4f7;
	--color-accent: #f29a3f;
	--color-accent-dark: #ffb168;
	--color-gold: #f29a3f;
	--color-gold-dark: #ffb168;
	--color-dark: #f4f6f8;
	--color-heading: #f7f8fa;
	--color-navy: #dde2e8;
	--color-text: #e6e9ef;
	--color-muted: #aeb6c2;
	--color-subtext: #c8ced7;
	--color-link: #ffb168;
	--color-on-accent: #ffffff;
	--header-topbar-bg: #08090b;
	--header-topbar-text: #f2f4f7;
	--header-main-bg: #14181e;
	--header-nav-text: #f2f4f7;
	--header-border: #3d4656;
	--color-section-tint: color-mix(in srgb, var(--color-accent) 7%, var(--color-bg));
	--color-brand-navy: #243556;
	--shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-text);
	background: var(--color-surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

input,
textarea,
select {
	background: var(--color-white);
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

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

a { color: var(--color-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold); }

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

.container--fluid {
	max-width: none;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

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

/* ===== TOP BAR ===== */
.top-bar {
	background: var(--header-topbar-bg);
	color: var(--header-topbar-text);
	font-size: 13px;
	border-bottom: 1px solid var(--header-border);
}

.top-contact-sep {
	display: inline-block;
	width: 1px;
	height: 14px;
	background: #555555;
	margin: 0 18px;
	vertical-align: middle;
}

.top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	gap: 20px;
	flex-wrap: wrap;
}

.top-bar a { color: var(--header-topbar-text); }
.top-bar a:hover { color: var(--color-accent); }

.top-bar .lang-switcher a {
	color: rgba(255, 255, 255, 0.75);
}

.top-bar .lang-switcher .active a,
.top-bar .lang-switcher a:hover {
	color: var(--color-accent);
}

.top-bar-left {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.top-contact-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.top-contact-item--copy {
	border: none;
	background: transparent;
	color: var(--header-topbar-text);
	font-family: inherit;
	font-size: inherit;
	padding: 0;
	cursor: pointer;
	transition: color var(--transition), opacity var(--transition);
}

.top-contact-item--copy:hover,
.top-contact-item--copy:focus-visible {
	color: var(--color-accent);
	outline: none;
}

.top-contact-item__feedback {
	display: none;
	margin-left: 2px;
	font-size: 11px;
	font-weight: 600;
	color: #7dcea0;
	letter-spacing: 0.2px;
}

.top-contact-item--copy.is-copied .top-contact-item__feedback {
	display: inline;
	animation: top-contact-copy-pop 0.35s ease;
}

.top-contact-item--copy.is-copied .top-contact-item__text {
	color: var(--color-accent);
}

@keyframes top-contact-copy-pop {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.topbar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--header-topbar-text);
	flex-shrink: 0;
}

.top-bar-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.topbar-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 22px;
	align-items: center;
}

.topbar-menu a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--header-topbar-text);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.topbar-menu a:hover { color: var(--color-accent-dark); }

.lang-switcher {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 14px;
	align-items: center;
}

.lang-switcher a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: none;
	border-radius: 0;
	font-size: 12px;
	font-weight: 600;
	color: #777777;
	background: transparent;
}

.lang-switcher .lang-flag {
	display: block;
	width: 20px;
	height: 14px;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.lang-switcher .lang-code {
	letter-spacing: 0.2px;
}

.lang-switcher .active a {
	color: var(--color-accent-dark);
}

.lang-switcher a:hover {
	color: var(--color-accent-dark);
}

.site-branding {
	line-height: 1.15;
	min-width: 0;
	flex-shrink: 0;
	margin-left: -10px;
}

.site-branding .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.site-branding .custom-logo {
	max-height: 56px;
	width: auto;
}

.site-tagline {
	margin: 3px 0 0;
	font-size: 11px;
	color: #666666;
	font-weight: 500;
	letter-spacing: 0.4px;
}

.site-title {
	font-family: var(--font-brand);
	font-size: 30px;
	font-weight: 400;
	color: var(--color-accent-dark);
	letter-spacing: -0.3px;
	transition: font-size 0.35s ease;
}

/* ===== SITE HEADER ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--header-main-bg);
	transition: box-shadow 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
	transform: translateY(0);
}

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

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.site-header.is-hidden {
	transform: translateY(calc(-100% - 8px));
	box-shadow: none;
	pointer-events: none;
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

/* ===== MAIN HEADER ===== */
.main-header {
	background: var(--header-main-bg);
	border-bottom: 1px solid var(--header-border);
	position: relative;
	z-index: 2;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled .main-header {
	border-bottom-color: rgba(0, 0, 0, 0.06);
	box-shadow: none;
}

.main-header-inner {
	display: flex;
	align-items: center;
	min-height: var(--header-height);
	gap: 32px;
}

.site-tagline {
	font-family: var(--font-brand);
	font-size: 30px;
	font-weight: 400;
	color: var(--color-accent-dark);
	letter-spacing: -0.3px;
	transition: font-size 0.35s ease;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	transition: background var(--transition);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	background: var(--color-bg-sage);
	outline: none;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.mobile-nav-panel-head,
.mobile-nav-quicklinks,
.mobile-nav-backdrop {
	display: none;
}

.menu-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--header-nav-text);
	transition: var(--transition);
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

#primary-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

#primary-menu > li { position: relative; }

#primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 22px;
	font-weight: 700;
	font-size: 14px;
	color: var(--header-nav-text);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	white-space: nowrap;
	position: relative;
	border-radius: 10px;
	transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a {
	color: var(--color-accent-dark);
	background: rgba(232, 93, 4, 0.07);
}

.menu-arrow::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: 2px;
	opacity: 0.85;
}

.header-utilities {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
	flex-shrink: 0;
}

.header-util-sep {
	display: inline-block;
	width: 1px;
	height: 24px;
	background: var(--header-border);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--header-border);
	border-radius: 10px;
	background: transparent;
	color: var(--header-nav-text);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
	background: rgba(230, 126, 34, 0.08);
}

.theme-toggle__icon {
	display: none;
	line-height: 0;
}

html[data-theme="light"] .theme-toggle__icon--moon,
html:not([data-theme]) .theme-toggle__icon--moon {
	display: inline-flex;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
	display: inline-flex;
}

html[data-theme="dark"] .site-header.is-scrolled .main-header {
	background: rgba(20, 24, 30, 0.94);
	backdrop-filter: blur(12px);
}

html[data-theme="dark"] .article-aside-card,
html[data-theme="dark"] .article-related,
html[data-theme="dark"] .article-related-card,
html[data-theme="dark"] .home-dual-col,
html[data-theme="dark"] .showcase-tab,
html[data-theme="dark"] .btn-outline-dark {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-heading);
}

html[data-theme="dark"] .showcase-tab:hover,
html[data-theme="dark"] .showcase-tab.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

/* Dark mode — products list & cards (elevated dark) */
html[data-theme="dark"] .home-products-section,
html[data-theme="dark"] .home-catalog-section,
html[data-theme="dark"] .products-catalog-section {
	background: var(--color-bg);
	color: var(--color-text);
}

html[data-theme="dark"] .home-products-list__title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-heading__title {
	color: var(--color-heading);
}

html[data-theme="dark"] .home-products-list__tab {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-heading);
}

html[data-theme="dark"] .home-products-list__tab:hover {
	background: color-mix(in srgb, var(--color-elevated) 70%, #fff 8%);
	border-color: var(--color-accent);
	color: #fff;
}

html[data-theme="dark"] .home-products-list__tab.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card,
html[data-theme="dark"] .product-catalog-card,
html[data-theme="dark"] .product-single__related-grid .product-catalog-card {
	background: var(--color-elevated);
	border-color: var(--color-border);
	box-shadow: var(--shadow);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card:hover,
html[data-theme="dark"] .product-catalog-card:hover {
	border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border));
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
	transform: translateY(-2px);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card__body,
html[data-theme="dark"] .product-catalog-card__body,
html[data-theme="dark"] .product-single__related-grid .product-catalog-card__body {
	background: var(--color-elevated);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card__title,
html[data-theme="dark"] .product-catalog-card__title,
html[data-theme="dark"] .product-single__related-grid .product-catalog-card__title,
html[data-theme="dark"] .product-single__related-grid .product-catalog-card__title > span {
	color: var(--color-link);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card__title-icon,
html[data-theme="dark"] .product-catalog-card__title-icon {
	color: var(--color-link);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card__cat,
html[data-theme="dark"] .product-catalog-card__cat,
html[data-theme="dark"] .product-single__related-grid .product-catalog-card__cat {
	color: var(--color-muted);
}

html[data-theme="dark"] .home-products-list__grid .product-catalog-card__placeholder,
html[data-theme="dark"] .product-catalog-card__placeholder {
	background: var(--color-bg-sage);
}

html[data-theme="dark"] .home-products-list__more-btn,
html[data-theme="dark"] .btn-outline-dark {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-heading);
}

html[data-theme="dark"] .home-products-list__more-btn:hover,
html[data-theme="dark"] .btn-outline-dark:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

html[data-theme="dark"] .home-products-list__grid.is-empty-filter::after {
	color: var(--color-muted);
}

/* Dark mode — readable text across key surfaces */
html[data-theme="dark"] .section-desc,
html[data-theme="dark"] .showcase-card-cat,
html[data-theme="dark"] .article-single__body,
html[data-theme="dark"] .entry-content {
	color: var(--color-text);
}

html[data-theme="dark"] .post-card-title,
html[data-theme="dark"] .post-card-title a,
html[data-theme="dark"] .showcase-card-title,
html[data-theme="dark"] .showcase-card-title a,
html[data-theme="dark"] .article-single__title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
	color: var(--color-heading);
}

html[data-theme="dark"] .post-card,
html[data-theme="dark"] .showcase-card {
	background: var(--color-elevated);
	border-color: var(--color-border);
}

html[data-theme="dark"] .showcase-card-body,
html[data-theme="dark"] .post-card-body {
	background: var(--color-elevated);
	color: var(--color-text);
}

/* Dark mode — đồng bộ bề mặt cứng / nội dung dài */
html[data-theme="dark"] .article-single,
html[data-theme="dark"] .service-group-page,
html[data-theme="dark"] .service-group-materials,
html[data-theme="dark"] .site-main,
html[data-theme="dark"] .page-section,
html[data-theme="dark"] .content-area {
	background: var(--color-bg);
	color: var(--color-text);
}

html[data-theme="dark"] .service-group-lead-card {
	background: var(--color-elevated);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
	border: 1px solid var(--color-border);
}

html[data-theme="dark"] .service-group-lead-card__title {
	color: var(--color-heading);
}

html[data-theme="dark"] .service-group-lead-card__text,
html[data-theme="dark"] .service-group-intro__text,
html[data-theme="dark"] .service-projects-desc,
html[data-theme="dark"] .home-intro-text p,
html[data-theme="dark"] .home-intro-note,
html[data-theme="dark"] .profile-journey-card__quote p {
	color: var(--color-subtext);
}

html[data-theme="dark"] .service-group-services__item,
html[data-theme="dark"] .service-group-page .service-item,
html[data-theme="dark"] .service-accordion-item,
html[data-theme="dark"] .service-project-card,
html[data-theme="dark"] .article-aside-card,
html[data-theme="dark"] .widget,
html[data-theme="dark"] .sidebar .widget,
html[data-theme="dark"] .home-intro-services-item,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .profile-journey-card {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-text);
}

html[data-theme="dark"] .service-group-services__item a,
html[data-theme="dark"] .service-group-page .service-item a,
html[data-theme="dark"] .service-project-title a,
html[data-theme="dark"] .home-intro-services-name,
html[data-theme="dark"] .home-intro-title,
html[data-theme="dark"] .service-projects-title,
html[data-theme="dark"] .service-group-materials__title,
html[data-theme="dark"] .service-accordion-title {
	color: var(--color-heading);
}

html[data-theme="dark"] .service-group-services__item:hover,
html[data-theme="dark"] .service-group-page .service-item:hover {
	background: var(--color-accent);
}

html[data-theme="dark"] .service-group-services__item:hover a,
html[data-theme="dark"] .service-group-page .service-item:hover a {
	color: var(--color-on-accent);
}

html[data-theme="dark"] .article-single__body.entry-content,
html[data-theme="dark"] .article-single__body.entry-content > p:first-of-type,
html[data-theme="dark"] .single-project-content,
html[data-theme="dark"] .single-project-content p,
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li {
	color: var(--color-text);
}

html[data-theme="dark"] .article-single__body.entry-content h2,
html[data-theme="dark"] .article-single__body.entry-content h3,
html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3 {
	color: var(--color-heading);
	border-color: var(--color-border);
}

html[data-theme="dark"] .main-nav a,
html[data-theme="dark"] .site-header .menu a {
	color: var(--header-nav-text);
}

html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .site-header .menu a:hover {
	color: var(--color-accent);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
	background: var(--color-elevated);
	color: var(--color-heading);
	border-color: var(--color-border);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
	color: var(--color-muted);
}

html[data-theme="dark"] .service-mega-panel-inner,
html[data-theme="dark"] .mega-dropdown,
html[data-theme="dark"] .search-panel,
html[data-theme="dark"] .mobile-drawer,
html[data-theme="dark"] .mobile-service-drawer {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-text);
}

html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .article-breadcrumb,
html[data-theme="dark"] .related-meta,
html[data-theme="dark"] .post-meta,
html[data-theme="dark"] .service-project-excerpt,
html[data-theme="dark"] .home-intro-services-desc {
	color: var(--color-muted);
}

html[data-theme="dark"] .cta-banner,
html[data-theme="dark"] .site-footer {
	border-color: var(--color-border);
}

html[data-theme="dark"] ::selection {
	background: color-mix(in srgb, var(--color-accent) 55%, transparent);
	color: #fff;
}

/* Dark mode — blog / bài viết */
html[data-theme="dark"] .article-single,
html[data-theme="dark"] .single-post .site-main,
html[data-theme="dark"] .blog .site-main,
html[data-theme="dark"] .archive .site-main,
html[data-theme="dark"] .category .site-main {
	background: var(--color-bg);
	color: var(--color-text);
}

html[data-theme="dark"] .article-share__btn,
html[data-theme="dark"] .article-aside-card,
html[data-theme="dark"] .article-aside-card--products,
html[data-theme="dark"] .toc-box,
html[data-theme="dark"] .article-related-card,
html[data-theme="dark"] .sidebar--blog .widget,
html[data-theme="dark"] .sidebar .widget {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-text);
}

html[data-theme="dark"] .article-related {
	background: var(--color-bg-sage);
	border-color: var(--color-border);
}

html[data-theme="dark"] .article-aside-card__title,
html[data-theme="dark"] .article-related__title,
html[data-theme="dark"] .article-aside-item__link,
html[data-theme="dark"] .article-aside-product__title,
html[data-theme="dark"] .article-related-card__title a,
html[data-theme="dark"] .sidebar--blog .widget-title,
html[data-theme="dark"] .sidebar--blog a,
html[data-theme="dark"] .widget-list a {
	color: var(--color-heading);
}

html[data-theme="dark"] .toc-list a,
html[data-theme="dark"] .article-related-card__excerpt,
html[data-theme="dark"] .sidebar--blog .widget-list,
html[data-theme="dark"] .article-aside-product__cat {
	color: var(--color-subtext);
}

html[data-theme="dark"] .article-aside-item,
html[data-theme="dark"] .article-aside-product,
html[data-theme="dark"] .article-facts {
	border-color: var(--color-border);
}

html[data-theme="dark"] .sidebar--blog a:hover,
html[data-theme="dark"] .widget-list a:hover,
html[data-theme="dark"] .article-aside-item__link:hover,
html[data-theme="dark"] .article-aside-product__title:hover {
	color: var(--color-accent);
}

/* ===== SERVICE MEGA MENU (3 columns) ===== */
.has-service-mega {
	position: static;
}

.has-service-mega > .mega-dropdown {
	display: none !important;
}

.service-mega-panel {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 100%;
	width: min(820px, calc(100vw - 32px));
	z-index: 200;
	padding-top: 6px;
}

.has-service-mega:hover > .service-mega-panel,
.has-service-mega.is-open > .service-mega-panel,
.has-service-mega:focus-within > .service-mega-panel {
	display: block;
}

.service-mega-panel-inner {
	display: grid;
	grid-template-columns: minmax(240px, 0.95fr) minmax(300px, 1.15fr);
	background: var(--color-elevated);
	box-shadow: 0 14px 48px rgba(51, 51, 51, 0.16);
	border: 1px solid var(--color-border);
	border-radius: 14px;
	overflow: hidden;
	animation: headerMegaIn 0.32s ease;
}

@keyframes headerMegaIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.service-mega-media {
	min-height: 320px;
	overflow: hidden;
	background: var(--color-bg);
}

.service-mega-media img,
.service-mega-placeholder {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	display: block;
}

.service-mega-links {
	padding: 28px 30px 24px;
	border-left: 1px solid var(--color-border);
}

.service-mega-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-heading);
	line-height: 1.3;
}

.service-mega-title a {
	color: inherit;
	text-decoration: none;
}

.service-mega-title a:hover {
	color: var(--color-gold);
}

.service-mega-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.service-mega-list li {
	margin: 0;
}

.service-mega-list a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 0;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	text-transform: none;
	letter-spacing: 0;
}

.service-mega-list a:hover {
	color: var(--color-gold);
	background: transparent;
}

.service-mega-chevron {
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.2;
	flex-shrink: 0;
	font-weight: 400;
}

.service-mega-media--ad-left .service-mega-placeholder {
	background: linear-gradient(145deg, #333333 0%, #d35400 45%, #e67e22 100%);
}

.service-mega-media--ad-right .service-mega-placeholder {
	background: linear-gradient(145deg, #f5f5f5 0%, #e0e0e0 45%, #cccccc 100%);
}

.service-mega-media--bd-left .service-mega-placeholder {
	background: linear-gradient(145deg, #fff8f3 0%, #f5f5f5 50%, #e0e0e0 100%);
}

.service-mega-media--bd-right .service-mega-placeholder {
	background: linear-gradient(145deg, #d35400 0%, #333333 50%, #4a4a4a 100%);
}

/* Mega dropdown (products) */
.mega-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 100;
}

.has-mega-menu:hover > .mega-dropdown,
.has-mega-menu.is-open > .mega-dropdown {
	display: block;
	animation: headerMegaIn 0.28s ease;
}

.mega-dropdown li a {
	display: block;
	padding: 10px 20px;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mega-dropdown li a:hover {
	background: var(--color-bg-sage);
	color: var(--color-accent);
	padding-left: 24px;
}

/* Search */
.header-search { position: relative; }

.search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	color: var(--header-nav-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.search-toggle:hover { color: var(--color-accent-dark); }

.header-search-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: min(420px, calc(100vw - 32px));
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	z-index: 220;
	overflow: hidden;
}

.header-search-panel[hidden] { display: none; }

.search-form {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-bottom: 1px solid var(--color-border);
}

.search-field {
	flex: 1;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
	min-width: 0;
}

.search-field:focus {
	outline: 2px solid var(--color-accent);
	outline-offset: 1px;
	border-color: var(--color-accent);
}

.search-submit {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border: none;
	border-radius: var(--radius);
	padding: 10px 16px;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	white-space: nowrap;
}

.search-submit:hover { background: var(--color-accent-dark); }

.header-search-live {
	padding: 8px 10px 10px;
	max-height: 380px;
	overflow-y: auto;
}

.header-search-live__status {
	margin: 0;
	padding: 12px 8px;
	font-size: 13px;
	color: var(--color-text-muted);
}

.header-search-live__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-search-live__item + .header-search-live__item {
	border-top: 1px solid var(--color-border);
}

.header-search-live__link {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 8px;
	color: var(--color-text);
	text-decoration: none;
	border-radius: calc(var(--radius) - 2px);
	transition: background 0.15s ease;
}

.header-search-live__link:hover,
.header-search-live__link:focus-visible {
	background: var(--color-bg-sage);
	color: var(--color-accent-dark);
}

.header-search-live__thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 42px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.header-search-live__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.header-search-live__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.header-search-live__type {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-accent);
}

.header-search-live__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.header-search-live__excerpt {
	font-size: 12px;
	color: var(--color-text-muted);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.header-search-live__all {
	display: block;
	margin-top: 6px;
	padding: 10px 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	text-align: center;
	border-top: 1px solid var(--color-border);
}

.header-search-live__all:hover { color: var(--color-accent-dark); }

/* Search results page */
.search-page .site-main { padding-top: 0; }

.search-page-hero {
	background: linear-gradient(135deg, var(--color-dark) 0%, #2a2a2a 100%);
	color: #fff;
	padding: 48px 0 40px;
}

.search-page-hero__title {
	margin: 0 0 20px;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.search-page-form {
	display: flex;
	gap: 10px;
	max-width: 720px;
}

.search-page-form__field {
	flex: 1;
	border: none;
	border-radius: var(--radius);
	padding: 14px 16px;
	font-family: inherit;
	font-size: 16px;
	min-width: 0;
}

.search-page-form__submit {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border: none;
	border-radius: var(--radius);
	padding: 14px 24px;
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.search-page-form__submit:hover { background: var(--color-accent-dark); }

.search-page-hero__meta {
	margin: 14px 0 0;
	font-size: 15px;
	opacity: 0.85;
}

.search-page-body {
	padding: 32px 0 60px;
}

.search-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.search-filter-tab {
	display: inline-flex;
	padding: 8px 16px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
	background: var(--color-elevated);
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.search-filter-tab:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.search-filter-tab.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-on-accent);
}

.search-results-count {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--color-text-muted);
}

.search-results-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.search-result-card {
	display: flex;
	flex-direction: column;
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.search-result-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--color-bg-sage);
	overflow: hidden;
}

.search-result-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.search-result-card:hover .search-result-card__media img {
	transform: scale(1.04);
}

.search-result-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-bg-sage), var(--color-border));
}

.search-result-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	flex: 1;
}

.search-result-card__type {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-accent);
}

.search-result-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

.search-result-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.search-result-card__title a:hover { color: var(--color-accent); }

.search-result-card__excerpt {
	margin: 0;
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.5;
	flex: 1;
}

.search-result-card__link {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	margin-top: auto;
}

.search-result-card__link:hover { color: var(--color-accent-dark); }

.search-empty {
	text-align: center;
	padding: 48px 20px;
	background: var(--color-bg-sage);
	border-radius: var(--radius);
}

.search-empty p {
	margin: 0 0 20px;
	font-size: 16px;
	color: var(--color-text-muted);
}

.search-empty-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.search-empty-links a {
	display: inline-flex;
	padding: 10px 18px;
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
}

.search-empty-links a:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.header-search-panel {
		right: -8px;
		width: min(360px, calc(100vw - 24px));
	}

	.search-page-form {
		flex-direction: column;
	}

	.search-results-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== CONTENT LAYOUT ===== */
.site-main { padding: 40px 0 60px; }

.home .site-main,
.front-page .site-main { padding: 0; }

.content-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	align-items: start;
}

.content-area { min-width: 0; }

/* ===== SIDEBAR ===== */
.sidebar .widget {
	background: var(--color-bg);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 24px;
}

.widget-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-heading);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-primary);
}

.sidebar-service-list,
.sidebar-product-list,
.related-posts-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-service-list li + li { margin-top: 8px; }

.sidebar-product-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
}

.sidebar-product-item:last-child { border-bottom: none; }

.product-thumb img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius);
}

.product-title { font-size: 14px; font-weight: 500; color: var(--color-text); }

.related-post-item { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.related-post-item:last-child { border-bottom: none; }
.related-meta { display: block; font-size: 12px; color: var(--color-muted); margin-top: 4px; }

/* ===== SINGLE ARTICLE (hybrid DIWE case-study + sidebar) ===== */
.article-single {
	padding: clamp(28px, 4vw, 48px) 0 0;
	background: var(--color-surface);
}

.article-single__container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
	gap: clamp(24px, 3vw, 36px);
	align-items: start;
}

.article-single__main {
	min-width: 0;
	max-width: none;
}

.article-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--color-muted);
}

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

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

.article-breadcrumb__sep {
	opacity: 0.55;
}

.article-breadcrumb__current {
	color: var(--color-heading);
	max-width: 100%;
}

.article-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
}

.article-share__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-heading);
	margin-right: 4px;
}

.article-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-elevated);
	color: var(--color-heading);
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.article-share__btn:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.article-single__header {
	margin-bottom: 22px;
}

.article-single__cat {
	margin: 0 0 12px;
	font-family: var(--font-main);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.article-single__cat a {
	color: var(--color-accent);
	text-decoration: none;
}

.article-single__title {
	margin: 0 0 18px;
	font-family: var(--font-main);
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-heading);
	letter-spacing: -0.015em;
	max-width: 18em;
}

/* DIWE-style facts: Khách hàng / Hạng mục / Thời gian */
.article-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 24px;
	margin: 0;
	padding: 20px 0 4px;
	border-top: 1px solid var(--color-border);
}

.article-facts__item {
	min-width: 0;
}

.article-facts__item dt {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.article-facts__item dd {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
}

.article-single__thumb,
.single-featured-media {
	margin: 20px 0 32px;
	border-radius: 0;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.article-single__thumb--duo,
.single-featured-media--duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: transparent;
	overflow: visible;
}

.article-single__thumb--duo .article-single__thumb-img,
.single-featured-media--duo .single-featured-media__img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	height: 100%;
}

.article-single__thumb-img,
.single-featured-media__img,
.entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

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

	.article-single__thumb--duo,
	.single-featured-media--duo {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

.article-single__body.entry-content {
	font-family: var(--font-main);
	font-size: clamp(16.5px, 1.15vw, 18px);
	line-height: 1.75;
	color: var(--color-text);
	max-width: 42em;
}

.article-single__body.entry-content > p:first-of-type {
	font-size: clamp(18px, 1.35vw, 20px);
	line-height: 1.65;
	font-weight: 500;
	color: var(--color-heading);
	margin-bottom: 1.35em;
}

.article-single__body.entry-content h2 {
	margin: 2em 0 0.7em;
	padding-bottom: 0;
	font-family: var(--font-main);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--color-heading);
	border-bottom: 0;
}

.article-single__body.entry-content h3 {
	margin: 1.55em 0 0.5em;
	font-family: var(--font-main);
	font-size: clamp(18px, 1.7vw, 22px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.005em;
	color: var(--color-heading);
}

.article-single__body.entry-content p {
	margin: 0 0 1.2em;
}

.article-single__body.entry-content ul,
.article-single__body.entry-content ol {
	margin: 0 0 1.25em;
	padding-left: 1.25em;
}

.article-single__body.entry-content li {
	margin-bottom: 0.45em;
	line-height: 1.7;
}

.article-single__body.entry-content strong {
	font-weight: 700;
	color: var(--color-heading);
}

.article-single__body.entry-content a {
	color: var(--color-accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-single__body.entry-content img {
	display: block;
	width: 100%;
	height: auto;
	margin: 1.4em 0;
	border-radius: 0;
}

/* Mockup gallery under content */
.article-gallery {
	margin: 36px 0 8px;
}

.article-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.article-gallery__item {
	margin: 0;
	background: var(--color-bg-sage);
	overflow: hidden;
}

.article-gallery__item--wide {
	grid-column: 1 / -1;
}

.article-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-gallery__item:hover img {
	transform: scale(1.04);
}

/* ===== DIWE-like scroll reveals ===== */
.akay-reveal {
	opacity: 0;
	will-change: opacity, transform;
	transition:
		opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.akay-reveal--fade-up {
	transform: translate3d(0, 2.75rem, 0);
}

.akay-reveal--zoom {
	transform: translate3d(0, 1.75rem, 0);
	overflow: hidden;
}

.akay-reveal--zoom > img,
.akay-reveal--zoom img {
	transform: scale(1.14);
	transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.akay-reveal.is-inview {
	opacity: 1;
	transform: none;
}

.akay-reveal--zoom.is-inview > img,
.akay-reveal--zoom.is-inview img {
	transform: scale(1);
}

.article-single__thumb {
	position: relative;
}

.article-single__thumb--parallax {
	overflow: hidden;
}

.article-single__thumb--parallax .article-single__thumb-img {
	will-change: transform;
	transform: scale(1.06);
	transition: none;
}

.article-single__body.entry-content .akay-reveal--zoom,
.article-single__body.entry-content figure.akay-reveal {
	overflow: hidden;
}

.article-related-card__media {
	overflow: hidden;
}

.article-related-card__media img {
	transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-related-card:hover .article-related-card__media img {
	transform: scale(1.07);
}

.article-related-card.akay-reveal.is-inview {
	transition-duration: 0.7s;
}

@media (prefers-reduced-motion: reduce) {
	.akay-reveal,
	.akay-reveal--fade-up,
	.akay-reveal--zoom,
	.akay-reveal--zoom > img,
	.akay-reveal--zoom img,
	.article-single__thumb--parallax .article-single__thumb-img,
	.article-related-card__media img,
	.article-gallery__item img {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Aside featured posts — sticky khi đọc bài */
.article-single__aside {
	align-self: start;
	max-height: calc(100vh - var(--header-height) - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

@media (min-width: 993px) {
	.article-single__aside {
		position: sticky;
		top: calc(var(--header-height) + 16px);
	}
}

@media (max-width: 992px) {
	.article-single__aside {
		position: static;
		max-height: none;
		overflow: visible;
		order: 2;
	}
}

body.admin-bar .article-single__aside {
	top: calc(var(--header-height) + 16px + 32px);
	max-height: calc(100vh - var(--header-height) - 24px - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .article-single__aside {
		top: calc(var(--header-height) + 16px + 46px);
		max-height: calc(100vh - var(--header-height) - 24px - 46px);
	}
}

.article-aside-card {
	background: var(--color-bg-sage);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 18px 16px 10px;
}

.article-aside-card__title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 800;
	color: var(--color-heading);
}

.article-aside-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.article-aside-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--color-border);
}

.article-aside-item:first-child {
	border-top: none;
	padding-top: 0;
}

.article-aside-item__media {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.article-aside-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.article-aside-item__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-bg-sage), var(--color-border));
}

.article-aside-item__cat {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.article-aside-item__link {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-heading);
	text-decoration: none;
}

.article-aside-item__link:hover {
	color: var(--color-accent);
}

.article-aside-card + .article-aside-card {
	margin-top: 18px;
}

.article-aside-card--products {
	background: var(--color-elevated);
	padding-bottom: 8px;
}

.article-aside-product-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.article-aside-product {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid var(--color-border);
}

.article-aside-product:first-child {
	border-top: none;
	padding-top: 0;
}

.article-aside-product__thumb {
	display: block;
	width: 88px;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.article-aside-product__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-aside-product__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.article-aside-product__cat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--color-muted);
}

.article-aside-product__cat-icon {
	display: inline-flex;
	color: var(--color-muted);
}

.article-aside-product__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-heading);
	text-decoration: none;
}

.article-aside-product__title:hover {
	color: var(--color-accent);
}

/* Related posts */
.article-related {
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(36px, 4vw, 56px) 0;
	background: var(--color-bg-sage);
	border-top: 1px solid var(--color-border);
}

.article-related__header {
	margin-bottom: 24px;
}

.article-related__title {
	margin: 0;
	font-family: var(--font-main);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--color-heading);
}

.article-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.article-related-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-related-card:hover {
	border-color: color-mix(in srgb, var(--color-accent) 30%, var(--color-border));
	box-shadow: var(--shadow);
}

.article-related-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.article-related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.article-related-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-bg-sage), var(--color-border));
}

.article-related-card__body {
	padding: 14px 16px 16px;
}

.article-related-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 12px;
	color: var(--color-muted);
}

.article-related-card__title {
	margin: 0 0 8px;
	font-family: var(--font-main);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.005em;
}

.article-related-card__title a {
	color: var(--color-heading);
	text-decoration: none;
}

.article-related-card__title a:hover {
	color: var(--color-accent);
}

.article-related-card__date {
	font-size: 12px;
	color: var(--color-muted);
}

.article-related-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-subtext);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 992px) {
	.article-single__container {
		grid-template-columns: 1fr;
	}

	.article-single__main {
		max-width: none;
	}

	.article-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.article-gallery__item--wide {
		grid-column: auto;
	}

	.article-related__grid {
		grid-template-columns: 1fr;
	}

	.article-breadcrumb__current {
		display: none;
	}
}

.entry-header { margin-bottom: 24px; }

.entry-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-heading);
	margin: 0 0 12px;
	line-height: 1.3;
}

.entry-meta {
	font-size: 14px;
	color: var(--color-muted);
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.entry-thumbnail {
	margin: 8px 0 28px;
	border-radius: 0;
	overflow: hidden;
}

.single-project-page {
	padding-bottom: 0;
}

body.single-project .site-main {
	padding-top: 0;
}

.project-hero {
	position: relative;
	min-height: clamp(420px, 58vw, 620px);
	display: flex;
	align-items: flex-end;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 clamp(28px, 4vw, 48px);
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	background: #1f242a;
}

.project-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.02);
}

.project-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 24, 28, 0.18) 0%, rgba(20, 24, 28, 0.35) 42%, rgba(20, 24, 28, 0.72) 100%);
	pointer-events: none;
}

.project-hero__container {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-bottom: clamp(20px, 3vw, 36px);
}

.project-hero__card {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
	gap: clamp(20px, 3vw, 36px);
	align-items: stretch;
	padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 36px);
	background: color-mix(in srgb, #2a3138 92%, var(--color-accent) 8%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(2px);
}

.project-hero__main {
	position: relative;
	padding-right: clamp(12px, 2vw, 28px);
}

.project-hero__main::after {
	content: '';
	position: absolute;
	top: 8%;
	right: 0;
	width: 1px;
	height: 84%;
	background: rgba(255, 255, 255, 0.22);
}

.project-hero__title {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 800;
	line-height: 1.25;
	color: var(--color-gold);
	letter-spacing: -0.01em;
}

.project-hero__desc {
	margin: 0;
	max-width: 56ch;
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.92);
}

.project-hero__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
	align-content: center;
}

.project-hero__meta-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.project-hero__meta-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #fff;
}

.project-hero__meta-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.project-hero__meta-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.project-hero__meta-value {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	word-break: break-word;
}

.single-project-body {
	padding-top: 8px;
}

.single-project-inline-media {
	margin: 0 0 28px;
}

.single-project-body.content-with-sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 36px;
}

/* Project sidebar — related services + products */
.sidebar--project .widget {
	background: transparent;
	border-radius: 0;
	padding: 0 0 28px;
	margin-bottom: 8px;
	box-shadow: none;
}

.sidebar--project .widget-title {
	margin: 0 0 16px;
	padding: 12px 0 0;
	border-top: 3px solid var(--color-accent);
	border-bottom: none;
	font-size: 18px;
	font-weight: 800;
	color: var(--color-heading);
}

.project-service-list,
.project-product-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.project-service-list li + li {
	margin-top: 10px;
}

.project-service-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e4e7ec;
	border-radius: 6px;
	background: var(--color-elevated);
	color: var(--color-heading);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-service-link:hover {
	border-color: color-mix(in srgb, var(--color-accent) 45%, #e4e7ec);
	color: var(--color-accent-dark);
}

.project-service-link.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

.project-service-link__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.project-service-link__chevron {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1;
	opacity: 0.65;
}

.project-product-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
}

.project-product-item:last-child {
	border-bottom: none;
}

.project-product-item__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	background: #f1f3f5;
}

.project-product-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-product-item__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 2px;
}

.project-product-item__cat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--color-muted);
}

.project-product-item__cat-icon {
	display: inline-flex;
	color: var(--color-accent);
}

.project-product-item__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-heading);
	text-decoration: none;
}

.project-product-item__title:hover {
	color: var(--color-accent);
}

/* Sticky sidebar while reading project / service / blog pages */
@media (min-width: 993px) {
	.sidebar--project,
	.sidebar--service,
	.content-with-sidebar > .sidebar {
		position: sticky;
		top: calc(var(--header-height) + 16px);
		align-self: start;
		max-height: calc(100vh - var(--header-height) - 24px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}

	body.admin-bar .sidebar--project,
	body.admin-bar .sidebar--service,
	body.admin-bar .content-with-sidebar > .sidebar {
		top: calc(var(--header-height) + 16px + 32px);
		max-height: calc(100vh - var(--header-height) - 24px - 32px);
	}
}

@media (max-width: 992px) {
	.single-project-body.content-with-sidebar {
		grid-template-columns: 1fr;
	}
}

.single-project-header .entry-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.25;
	color: var(--color-heading);
}

.single-project-excerpt {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--color-subtext);
}

.article-facts--project {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 8px;
}

@media (min-width: 768px) {
	.article-facts--project {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.project-related {
	margin-top: 0;
}

@media (max-width: 900px) {
	.project-hero {
		min-height: 520px;
	}

	.project-hero__card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.project-hero__main {
		padding-right: 0;
		padding-bottom: 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.project-hero__main::after {
		display: none;
	}
}

@media (max-width: 576px) {
	.project-hero {
		min-height: 560px;
	}

	.project-hero__meta {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.project-hero__card {
		padding: 18px 16px;
	}
}

.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 {
	color: var(--color-heading);
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li { margin-bottom: 6px; }

/* Project meta box */
.project-meta-box {
	background: var(--color-bg);
	border-left: 4px solid var(--color-primary);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin-bottom: 28px;
}

.project-meta-title {
	font-size: 18px;
	margin: 0 0 16px;
	color: var(--color-heading);
}

.project-meta-list { margin: 0; }

.project-meta-row {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 8px;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
}

.project-meta-row:last-child { border-bottom: none; }

.project-meta-row dt {
	font-weight: 600;
	color: var(--color-muted);
	margin: 0;
}

.project-meta-row dd { margin: 0; }

/* Table of Contents */
.toc-box {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin-bottom: 28px;
	overflow: hidden;
}

.toc-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 14px 20px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--color-heading);
}

.toc-toggle-icon::after {
	content: '−';
	font-size: 20px;
	line-height: 1;
}

.toc-box.is-collapsed .toc-toggle-icon::after { content: '+'; }

.toc-list {
	margin: 0;
	padding: 0 20px 16px 36px;
	list-style: decimal;
	transition: max-height var(--transition);
}

.toc-box.is-collapsed .toc-list { display: none; }

.toc-list a { color: var(--color-text); font-size: 14px; }
.toc-list a:hover { color: var(--color-primary); }

/* Hide leftover Easy TOC / Rank Math TOC copied from the old site. */
#ez-toc-container,
.ez-toc-v2_0_82_2,
.ez-toc-list,
.ez-toc-title-container,
.ez-toc-title,
ul.ez-toc-list,
.wp-block-rank-math-toc-block {
	display: none !important;
}

.toc-level-3 { margin-left: 16px; }
.toc-level-4 { margin-left: 32px; }
.toc-level-5 { margin-left: 48px; }

/* Comments */
.comments-area { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-border); }

.comments-title { font-size: 20px; margin-bottom: 20px; }

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

.comment-form p { margin-bottom: 16px; }

.comment-form label { display: block; font-weight: 500; margin-bottom: 4px; }

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

.comment-form .submit {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border: none;
	border-radius: var(--radius);
	padding: 12px 28px;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
}

/* ===== POST GRID ===== */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 32px;
}

.post-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow var(--transition);
}

.post-card:hover { box-shadow: var(--shadow); }

.post-card-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.post-card-body { padding: 16px; }

.post-card-title { font-size: 16px; margin: 0 0 8px; }
.post-card-title a { color: var(--color-heading); }
.post-card-meta { font-size: 13px; color: var(--color-muted); margin-bottom: 8px; }
.post-card-excerpt { font-size: 14px; color: var(--color-subtext); }

.product-price { font-size: 14px; color: var(--color-gold); font-weight: 600; padding: 0 16px 16px; }
.product-price .contact-price { color: var(--color-subtext); font-weight: 500; }

.product-placeholder,
.post-card-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	background: var(--color-bg-sage);
}

.post-card--demo .post-card-title a {
	pointer-events: auto;
}

.demo-card-grid .post-card--demo {
	border-style: dashed;
	border-color: var(--color-border);
}

/* ===== HOME MARQUEE (Dự án / Sản phẩm) ===== */
.home-marquee-stack {
	padding: clamp(36px, 4vw, 52px) 0 clamp(40px, 4.5vw, 56px);
	background: var(--color-bg);
}

.home-marquee-stack .home-section {
	padding: 0;
	background: transparent;
}

.home-marquee-stack .home-section--projects {
	margin-bottom: clamp(8px, 1.5vw, 16px);
}

.home-marquee-stack .home-section--marquee .container {
	margin-bottom: 12px;
}

.home-marquee-stack .section-heading {
	margin-bottom: 14px;
}

.home-marquee-stack .section-heading .section-title {
	margin-bottom: 4px;
	font-size: clamp(22px, 2.2vw, 28px);
}

.home-marquee-stack .section-link {
	font-size: 13px;
}

.home-marquee-stack .home-marquee {
	padding: 0 0 2px;
}

.home-marquee-stack .home-marquee__title {
	margin-top: 6px;
	font-size: 13px;
}

.home-marquee-stack .home-marquee__meta,
.home-marquee-stack .home-marquee__price {
	margin-top: 2px;
	font-size: 11px;
}

@media (min-width: 992px) {
	.home-marquee-stack .home-marquee__item {
		flex: 0 0 252px;
		width: 252px;
	}

	.home-marquee-stack .home-marquee__img {
		aspect-ratio: 4 / 2.75;
	}
}

.home-section--marquee {
	overflow: hidden;
}

.home-section--marquee .container {
	margin-bottom: 28px;
}

.home-marquee {
	overflow: hidden;
	width: 100%;
	padding: 4px 0 8px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.home-marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: home-marquee-ltr 42s linear infinite;
}

.home-marquee:hover .home-marquee__track,
.home-marquee.is-dragging .home-marquee__track,
.home-marquee.is-user-controlled .home-marquee__track {
	animation-play-state: paused;
}

.home-marquee.is-dragging {
	cursor: grabbing;
}

.home-marquee.is-dragging .home-marquee__link {
	pointer-events: none;
}

.home-marquee.is-user-controlled .home-marquee__track {
	animation: none;
	transform: translate3d(var(--marquee-offset, -50%), 0, 0);
}

.home-marquee__group {
	display: flex;
	align-items: stretch;
	gap: 20px;
	flex-shrink: 0;
	padding-right: 20px;
}

.home-marquee__item {
	flex: 0 0 280px;
	width: 280px;
}

.home-marquee__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.home-marquee__media {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-elevated);
	box-shadow: 0 4px 20px rgba(51, 51, 51, 0.1);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.home-marquee__item:hover .home-marquee__media {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(211, 84, 0, 0.2);
	border-color: rgba(230, 126, 34, 0.45);
}

.home-marquee__item--demo .home-marquee__media {
	border-style: dashed;
}

.home-marquee__img {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.home-marquee__img--demo {
	object-fit: contain;
	background: var(--color-bg-sage);
}

.home-marquee__title {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-heading);
}

.home-marquee__meta,
.home-marquee__price {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--color-muted);
}

.home-marquee__price {
	color: var(--color-accent);
	font-weight: 600;
}

@keyframes home-marquee-ltr {
	from { transform: translateX(-50%); }
	to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.home-marquee {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.home-marquee__track {
		animation: none;
	}

	.home-marquee__group:last-child {
		display: none;
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.home-marquee__item {
		flex: 0 0 220px;
		width: 220px;
	}

	.home-marquee__track {
		animation-duration: 34s;
	}
}

/* ===== HOME SHOWCASE (Bento projects + Product carousel) ===== */
.home-showcase-stack {
	padding: clamp(36px, 4vw, 52px) 0 clamp(40px, 4.5vw, 56px);
	background: var(--color-bg);
}

.home-showcase-stack .home-section {
	padding: 0;
	background: transparent;
}

.home-showcase-stack .home-bento-section {
	margin-bottom: clamp(28px, 3.5vw, 44px);
}

.home-showcase-stack .section-heading {
	margin-bottom: clamp(14px, 2vw, 20px);
}

.home-showcase-stack .section-heading .section-title {
	margin-bottom: 4px;
	font-family: var(--font-main);
	font-weight: 700;
	font-size: clamp(22px, 2.2vw, 30px);
}

.home-showcase-stack .section-link {
	font-size: 13px;
}

.container--bento {
	max-width: min(1440px, 100%);
	padding-left: clamp(12px, 2vw, 24px);
	padding-right: clamp(12px, 2vw, 24px);
}

.home-bento-empty {
	margin: 0;
	padding: 24px;
	text-align: center;
	color: var(--color-muted);
}

.home-bento {
	display: grid;
	gap: clamp(10px, 1.2vw, 14px);
	grid-template-columns: 1fr;
}

.home-bento__item {
	position: relative;
	min-width: 0;
	min-height: 280px;
	border-radius: 6px;
	overflow: hidden;
	background: #1a1a1a;
}

.home-bento__link {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
	text-decoration: none;
	color: #ffffff;
}

.home-bento__link:hover,
.home-bento__link:focus-visible {
	color: #ffffff;
}

.home-bento__media {
	position: absolute;
	inset: 0;
}

.home-bento__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-bento__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(17, 17, 17, 0.9) 0%,
		rgba(17, 17, 17, 0.45) 38%,
		rgba(17, 17, 17, 0.12) 68%,
		rgba(17, 17, 17, 0.02) 100%
	);
	pointer-events: none;
}

.home-bento__link:hover .home-bento__overlay,
.home-bento__link:focus-visible .home-bento__overlay {
	background: linear-gradient(
		to top,
		rgba(17, 17, 17, 0.94) 0%,
		rgba(17, 17, 17, 0.52) 42%,
		rgba(17, 17, 17, 0.16) 72%,
		rgba(17, 17, 17, 0.04) 100%
	);
}

.home-bento__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: clamp(16px, 2vw, 24px);
}

.home-bento__style {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-main);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 237, 220, 0.9);
}

.home-bento__title {
	display: block;
	font-family: var(--font-main);
	font-size: clamp(17px, 1.7vw, 22px);
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.home-bento__item--wide .home-bento__title {
	font-size: clamp(20px, 2vw, 26px);
}

.home-bento__cta {
	display: inline-flex;
	align-items: center;
	margin-top: 12px;
	padding: 8px 16px;
	font-family: var(--font-main);
	font-size: 12px;
	font-weight: 600;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.35);
	backdrop-filter: blur(4px);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-bento__link:hover .home-bento__img,
.home-bento__link:focus-visible .home-bento__img {
	transform: scale(1.05);
}

.home-bento__link:hover .home-bento__cta,
.home-bento__link:focus-visible .home-bento__cta {
	opacity: 1;
	transform: translateY(0);
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-on-accent);
}

@media (hover: none) {
	.home-bento__cta {
		opacity: 1;
		transform: none;
		font-size: 11px;
		padding: 6px 12px;
		background: rgba(17, 17, 17, 0.5);
	}

	.home-product-card__hover-cta {
		opacity: 1;
		transform: translateX(-50%);
		font-size: 11px;
		padding: 6px 12px;
	}
}

@media (min-width: 768px) {
	.home-bento--six {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(320px, 38vw);
	}

	.home-bento--six .home-bento__item {
		min-height: 0;
	}

	.home-bento--six .home-bento__item:nth-child(3),
	.home-bento--six .home-bento__item:nth-child(4) {
		grid-column: 1 / -1;
		min-height: 360px;
	}
}

@media (min-width: 992px) {
	.home-bento--six {
		/* Equal row heights — larger overall image block */
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: minmax(380px, 1fr) minmax(380px, 1fr);
		min-height: clamp(760px, 68vw, 880px);
		align-items: stretch;
	}

	/* [1][2][====4====]
	   [====3====][5][6] */
	.home-bento--six .home-bento__item:nth-child(1) {
		grid-column: 1 / 2;
		grid-row: 1;
	}

	.home-bento--six .home-bento__item:nth-child(2) {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	.home-bento--six .home-bento__item:nth-child(3) {
		grid-column: 1 / 3;
		grid-row: 2;
	}

	.home-bento--six .home-bento__item:nth-child(4) {
		grid-column: 3 / 5;
		grid-row: 1;
	}

	.home-bento--six .home-bento__item:nth-child(5) {
		grid-column: 3 / 4;
		grid-row: 2;
	}

	.home-bento--six .home-bento__item:nth-child(6) {
		grid-column: 4 / 5;
		grid-row: 2;
	}

	.home-bento--six .home-bento__item:nth-child(n + 7) {
		display: none;
	}

	.home-bento--six .home-bento__item,
	.home-bento--six .home-bento__item--wide {
		min-height: 0;
		height: 100%;
	}
}

/* Products carousel */
.home-products-carousel {
	position: relative;
	padding: 0 clamp(12px, 2vw, 24px);
}

.home-products-carousel__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 0 8px;
}

.home-products-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.home-products-carousel__track {
	display: flex;
	gap: clamp(12px, 1.5vw, 18px);
	padding: 0 clamp(4px, 1vw, 12px);
}

.home-product-card {
	flex: 0 0 calc(50% - 8px);
	scroll-snap-align: start;
	background: #f7f6f4;
	border-radius: 6px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-product-card:hover {
	box-shadow: 0 12px 32px rgba(51, 51, 51, 0.12);
	transform: translateY(-3px);
}

.home-product-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.home-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eceae6;
}

.home-product-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.home-product-card__img--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.home-product-card--demo .home-product-card__img--primary {
	object-fit: cover;
}

.home-product-card:hover .home-product-card__img--primary {
	transform: scale(1.06);
}

.home-product-card:hover .home-product-card__img--hover {
	opacity: 1;
	transform: scale(1.03);
}

.home-product-card__hover-cta {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 2;
	transform: translateX(-50%) translateY(10px);
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: rgba(230, 126, 34, 0.94);
	border-radius: 999px;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	white-space: nowrap;
}

.home-product-card:hover .home-product-card__hover-cta {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (hover: none) {
	.home-product-card__hover-cta {
		opacity: 1;
		transform: translateX(-50%);
		font-size: 11px;
		padding: 6px 12px;
	}
}

.home-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 14px 16px;
}

.home-product-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-heading);
}

.home-product-card__material {
	font-size: 12px;
	color: var(--color-muted);
}

.home-product-card__price {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-accent);
}

.home-products-carousel__nav {
	position: absolute;
	top: 38%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--color-heading);
	box-shadow: 0 4px 16px rgba(51, 51, 51, 0.1);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-products-carousel__nav:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.home-products-carousel__nav--prev {
	left: 4px;
}

.home-products-carousel__nav--next {
	right: 4px;
}

@media (min-width: 768px) {
	.home-product-card {
		flex: 0 0 calc(33.333% - 12px);
	}
}

@media (min-width: 992px) {
	.home-product-card {
		flex: 0 0 calc(25% - 14px);
	}

	.home-products-carousel__nav {
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 575px) {
	.home-products-carousel__nav {
		display: none;
	}
}

.product-placeholder--demo,
.post-card-placeholder--demo,
.showcase-card-placeholder--demo,
.service-project-placeholder--demo {
	object-fit: contain;
	background: var(--color-bg-sage);
}

/* ===== HERO / HOME ===== */
.hero-section {
	position: relative;
	background: linear-gradient(135deg, #333333 0%, #d35400 50%, #e67e22 100%);
	background-size: cover;
	background-position: center;
	color: #ffffff;
	padding: 100px 0 90px;
	text-align: center;
	overflow: hidden;
}

.hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero-video-bg iframe,
.hero-video-bg video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
	object-fit: cover;
}

.hero-section--home:not(.hero-section--has-video) {
	padding: 120px 0 100px;
	align-items: center;
}

.hero-section--home {
	min-height: min(78vh, 860px);
	display: flex;
	align-items: stretch;
}

.hero-section--cinematic {
	min-height: min(78vh, 860px);
	padding: 0;
}

.hero-section--cinematic.hero-section--has-video {
	align-items: center;
	padding: clamp(72px, 10vw, 120px) 0;
}

.hero-section--cinematic.hero-section--has-video .hero-inner {
	position: relative;
	z-index: 2;
}

.hero-section--cinematic.hero-section--has-video .hero-overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-section--cinematic.hero-section--has-video .hero-video-bg iframe,
.hero-section--cinematic.hero-section--has-video .hero-video-bg video {
	width: 100%;
	height: 100%;
	transform: none;
	top: 0;
	left: 0;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(51, 51, 51, 0.82) 0%, rgba(211, 84, 0, 0.65) 100%);
	z-index: 1;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #f5b041;
	margin: 0 0 12px;
}

.hero-title { font-size: 42px; margin: 0 0 16px; line-height: 1.2; color: #ffffff; }
.hero-subtitle {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 auto 28px;
	max-width: 720px;
	line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

.hero-hotline { font-size: 16px; }
.hero-hotline a { color: var(--color-white); font-weight: 700; font-size: 20px; }

.hero-section--page { padding: 70px 0 60px; text-align: left; }
.hero-section--page .hero-inner { text-align: left; }
.hero-section--page .hero-actions { justify-content: flex-start; }
.hero-section--compact { padding: 56px 0 48px; }

.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 15px;
	transition: var(--transition);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-primary { background: var(--color-accent); color: var(--color-on-accent); border: 2px solid var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: var(--color-on-accent); }

.btn-accent { background: var(--color-accent); color: var(--color-on-accent); border: 2px solid var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-on-accent); }

.btn-outline-dark {
	background: transparent;
	color: var(--color-gold);
	border: 2px solid var(--color-gold);
}
.btn-outline-dark:hover { background: var(--color-gold); color: var(--color-on-accent); }

.btn-outline { background: transparent; color: var(--color-white); border: 2px solid var(--color-white); }
.btn-outline:hover { background: var(--color-elevated); color: var(--color-heading); }

.btn-outline-light { background: transparent; color: var(--color-white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: var(--color-elevated); color: var(--color-heading); }

.btn-outline-accent {
	background: transparent;
	color: var(--color-accent);
	border: 2px solid var(--color-accent);
}

.btn-outline-accent:hover {
	background: var(--color-accent);
	color: var(--color-on-accent);
}

.home-section { padding: var(--section-spacing) 0; }
.home-section:nth-child(even) { background: var(--color-bg-sage); }

.page-section { padding: var(--section-spacing) 0; }

.section-heading { margin-bottom: 36px; }
.section-heading .section-title { margin-bottom: 10px; }
.section-desc { color: var(--color-subtext); margin: 0 0 10px; max-width: 760px; }
.section-link { font-weight: 600; font-size: 14px; }

/* Service grid */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px;
}

.service-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-card-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.service-card-body { padding: 18px; }

.service-card-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-accent-dark);
	background: rgba(230, 126, 34, 0.12);
	padding: 4px 8px;
	border-radius: 3px;
	margin-bottom: 8px;
}

.service-card-title { font-size: 17px; margin: 0 0 8px; }
.service-card-title a { color: var(--color-heading); }
.service-card-excerpt { font-size: 14px; color: var(--color-subtext); margin: 0 0 12px; }
.service-card-link { font-size: 14px; font-weight: 600; }

/* Process flow */
.process-section { padding: var(--section-spacing) 0; background: var(--color-bg); }

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

.process-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px 20px;
	position: relative;
}

.process-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--color-accent);
	color: var(--color-white);
	border-radius: 50%;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 14px;
}

.process-title { font-size: 18px; margin: 0 0 8px; color: var(--color-heading); }
.process-desc { font-size: 14px; color: var(--color-subtext); margin: 0; line-height: 1.65; }

/* Video grid */
.video-section { padding: 64px 0; }

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.video-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.video-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	background: #000;
}

.video-embed iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border: 0;
}

/* CTA banner — fixed dark gradient so dark theme tokens don't wash it out */
.cta-section {
	background: linear-gradient(135deg, #2f3135 0%, #d35400 100%);
	color: #ffffff;
	padding: 48px 0;
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.cta-title {
	font-size: 28px;
	margin: 0 0 8px;
	color: #ffffff;
}

.cta-desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

html[data-theme="dark"] .cta-section {
	background: linear-gradient(135deg, #1a1f27 0%, #c45f12 100%);
	color: #ffffff;
}

html[data-theme="dark"] .cta-section .cta-title,
html[data-theme="dark"] .cta-section h2 {
	color: #ffffff;
}

html[data-theme="dark"] .cta-section .cta-desc {
	color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] .cta-section .btn-outline-light {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .cta-section .btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: #ffffff;
}

.related-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-border); }

.home-sections { padding: 60px 0; }
.section-title { font-size: 28px; margin-bottom: 8px; color: var(--color-heading); }

/* ===== LOGIN ===== */
.login-page {
	display: flex;
	justify-content: center;
	padding: 60px 0;
}

.login-box {
	width: 100%;
	max-width: 420px;
	background: var(--color-bg);
	border-radius: var(--radius);
	padding: 40px;
	box-shadow: var(--shadow);
}

.login-title { text-align: center; margin: 0 0 28px; font-size: 24px; }

.login-box label { display: block; font-weight: 500; margin-bottom: 4px; font-size: 14px; }

.login-box input[type="text"],
.login-box input[type="password"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin-bottom: 16px;
	font-family: inherit;
}

.login-box .login-remember { margin-bottom: 16px; font-size: 14px; }

.login-box input[type="submit"] {
	width: 100%;
	background: var(--color-accent);
	color: var(--color-on-accent);
	border: none;
	border-radius: var(--radius);
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.login-lost-password { text-align: center; margin-top: 16px; font-size: 14px; }

/* ===== FOOTER ===== */
.site-footer {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.78);
	--color-subtext: rgba(255, 255, 255, 0.72);
	--color-muted: rgba(255, 255, 255, 0.5);
	--color-gold: #e67e22;
	--color-gold-dark: #f39c12;
}

/* Top 4-pillar nav bar */
.footer-pillars {
	background: #222222;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-pillars-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-pillar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 12px;
	color: var(--color-gold);
	text-decoration: none;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.2s ease, color 0.2s ease;
	min-height: 56px;
}

.footer-pillar:last-child { border-right: none; }

.footer-pillar:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #f5b041;
}

.footer-pillar-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: inherit;
	opacity: 0.95;
}

.footer-pillar-icon svg {
	width: 22px;
	height: 22px;
}

.footer-pillar-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: left;
}

/* Logo + contact + social row */
.footer-brandbar {
	padding: 22px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brandbar-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 28px;
}

.footer-brand-logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.footer-brand-logo .custom-logo {
	max-height: 96px;
	width: auto;
}

.footer-logo-text {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--color-white);
	line-height: 1.05;
}

.footer-logo-text:hover { color: var(--color-white); }

.footer-logo-mark,
.footer-logo-name {
	display: inline;
	font-family: var(--font-brand);
	font-weight: 700;
	font-size: 34px;
	letter-spacing: -0.5px;
}

.footer-logo-mark { color: var(--color-gold); }

.footer-logo-name { color: var(--color-white); }

.footer-logo-text small {
	margin-top: 4px;
	font-family: var(--font-main);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 1.6px;
	color: var(--color-muted);
}

.footer-brand-contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	justify-self: center;
	width: min(100%, 520px);
}

.footer-contact-block {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.footer-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--color-gold);
	color: #ffffff;
	flex-shrink: 0;
}

.footer-contact-icon svg {
	width: 15px;
	height: 15px;
}

.footer-contact-lines {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.footer-contact-lines a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	word-break: break-word;
}

.footer-contact-lines a:hover { color: #f5b041; }

.footer-contact-lines em {
	font-style: normal;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	margin-left: 2px;
}

.footer-brand-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	flex-wrap: wrap;
}

.btn-footer-profile {
	display: inline-flex;
	align-items: center;
	background: var(--color-gold);
	color: #ffffff;
	padding: 9px 18px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn-footer-profile:hover {
	background: #f39c12;
	color: #ffffff;
	transform: none;
}

.footer-social-icons {
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--color-gold);
	transition: color 0.2s ease, background 0.2s ease;
}

.footer-social-icons a:hover {
	color: #f5b041;
	background: rgba(230, 126, 34, 0.12);
	transform: none;
}

/* Three-column content */
.footer-main {
	padding: 32px 0 36px;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px 40px;
	align-items: start;
}

.footer-company-name {
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

.footer-col-title {
	position: relative;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 16px;
	padding: 0 0 10px;
	border-bottom: none;
	display: block;
	min-width: 0;
	line-height: 1.3;
}

.footer-col-title::after {
	content: '';
	display: block;
	width: 36px;
	height: 2px;
	margin-top: 10px;
	background: var(--color-gold);
	border-radius: 2px;
}

.footer-desc {
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 14px;
	color: var(--color-subtext);
	max-width: 42ch;
}

.footer-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.55;
	display: grid;
	gap: 8px;
}

.footer-info-list li {
	margin: 0;
}

.footer-info-list strong {
	display: inline;
	color: #ffffff;
	font-weight: 600;
	margin-right: 4px;
}

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

.footer-menu li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
}

.footer-menu li::before {
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	margin-top: 6px;
	background: var(--color-gold);
	border-radius: 1px;
	opacity: 0.85;
	flex-shrink: 0;
}

.footer-menu a {
	color: var(--color-subtext);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-menu a:hover { color: var(--color-gold); }

/* Copyright bar */
.footer-bottom {
	background: #121212;
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
	margin: 0;
	text-align: center;
	font-size: 12px;
	color: var(--color-muted);
	line-height: 1.5;
}

.footer-copyright a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.footer-copyright a:hover { color: var(--color-gold); }

/* ===== PAGINATION ===== */
.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	font-size: 14px;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border-color: var(--color-accent);
}

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 60px 0; }
.error-404 .page-title { font-size: 32px; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.content-with-sidebar {
		grid-template-columns: 1fr;
	}

	.footer-pillars-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-pillars .footer-pillars-inner.container {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	.footer-pillar {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 10px;
		padding: 18px 12px;
		min-height: 96px;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.footer-pillar:nth-child(2n) {
		border-right: none;
	}

	.footer-pillar:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.footer-pillar:nth-child(n+3) {
		border-bottom: none;
	}

	.footer-pillar-label {
		text-align: center;
		font-size: 12px;
		line-height: 1.35;
	}

	.footer-brandbar-inner {
		grid-template-columns: 1fr;
		justify-items: start;
		gap: 18px;
	}

	.footer-brand-logo { grid-column: auto; }

	.footer-brand-contacts {
		justify-self: stretch;
		width: 100%;
	}

	.footer-brand-actions {
		grid-column: auto;
		justify-content: flex-start;
		width: 100%;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 28px;
	}

	.footer-about { grid-column: 1 / -1; }

	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	/* Compact top bar — contact only */
	.top-bar {
		font-size: 12px;
	}

	.top-bar-inner {
		justify-content: center;
		min-height: 34px;
		padding: 4px 0;
		gap: 8px;
	}

	.top-bar-right {
		display: none;
	}

	.top-bar-left {
		justify-content: center;
		gap: 0;
	}

	.top-contact-sep {
		margin: 0 12px;
		height: 12px;
	}

	.top-contact-item__text {
		font-size: 12px;
	}

	/* Single-row sticky header */
	.main-header {
		position: relative;
		top: auto;
		z-index: 2;
	}

	.main-header-inner {
		flex-wrap: nowrap;
		position: relative;
		min-height: 56px;
		gap: 10px;
		padding-top: 4px;
		padding-bottom: 4px;
		padding-left: max(12px, calc(var(--container-padding) - 8px));
	}

	.site-branding {
		min-width: 0;
		flex: 0 1 auto;
		margin-left: -4px;
	}

	.site-branding .custom-logo {
		max-height: 44px;
	}

	.site-title {
		font-size: 22px;
		line-height: 1.1;
	}

	.site-tagline {
		display: none;
	}

	.header-actions {
		gap: 2px;
	}

	.header-utilities {
		order: unset;
		width: auto;
		padding-bottom: 0;
		gap: 2px;
	}

	.header-util-sep {
		display: none;
	}

	.lang-switcher {
		gap: 6px;
	}

	.lang-switcher .lang-code {
		display: none;
	}

	.lang-switcher .lang-flag {
		width: 22px;
		height: 15px;
	}

	.lang-switcher a {
		padding: 6px;
		border-radius: 8px;
	}

	.lang-switcher .active a {
		background: rgba(232, 93, 4, 0.1);
	}

	.search-toggle,
	.menu-toggle,
	.theme-toggle {
		width: 40px;
		height: 40px;
		padding: 8px;
		border-radius: 10px;
	}

	.menu-toggle {
		display: flex;
		margin-left: 0;
	}

	.header-search-panel {
		right: 0;
		top: calc(100% + 6px);
		width: min(360px, calc(100vw - 24px));
	}

	/* Slide-in mobile menu */
	.mobile-nav-backdrop {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: calc(var(--mobile-nav-offset) + env(safe-area-inset-bottom, 0px));
		background: rgba(20, 20, 20, 0.45);
		z-index: 10040;
		opacity: 0;
		transition: opacity 0.28s ease;
		pointer-events: none;
	}

	.mobile-nav-backdrop:not([hidden]) {
		opacity: 1;
		pointer-events: auto;
	}

	.main-navigation {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		bottom: calc(var(--mobile-nav-offset) + env(safe-area-inset-bottom, 0px));
		width: min(88vw, 320px);
		max-width: 320px;
		background: var(--color-elevated);
		z-index: 10050;
		transform: translateX(100%);
		transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
		box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}

	.main-navigation.is-open {
		transform: translateX(0);
	}

	.mobile-nav-panel-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px 12px;
		border-bottom: 1px solid var(--color-border);
		position: sticky;
		top: 0;
		background: var(--color-elevated);
		z-index: 2;
	}

	.mobile-nav-panel-title {
		margin: 0;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: var(--color-muted);
	}

	.mobile-nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border: none;
		border-radius: 10px;
		background: var(--color-bg-sage);
		color: var(--color-text);
		cursor: pointer;
	}

	.mobile-nav-close:hover,
	.mobile-nav-close:focus-visible {
		background: rgba(232, 93, 4, 0.12);
		color: var(--color-accent);
		outline: none;
	}

	.mobile-nav-quicklinks {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 14px 16px;
		border-bottom: 1px solid var(--color-border);
	}

	.mobile-nav-quicklink {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 44px;
		padding: 12px 10px;
		border: 1px solid var(--color-accent);
		border-radius: 10px;
		font-size: 12px;
		font-weight: 700;
		color: #fff;
		text-decoration: none;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		background: var(--color-accent);
		box-sizing: border-box;
	}

	.mobile-nav-quicklink:hover,
	.mobile-nav-quicklink:focus-visible {
		background: var(--color-accent-dark);
		border-color: var(--color-accent-dark);
		color: #fff;
		outline: none;
	}

	.mobile-nav-quicklink svg {
		flex-shrink: 0;
		stroke: currentColor;
	}

	#primary-menu {
		flex-direction: column;
		padding: 8px 0 20px;
		align-items: stretch;
		gap: 0;
	}

	#primary-menu > li > a {
		padding: 14px 20px;
		font-size: 13px;
		border-bottom: 1px solid var(--color-border);
		justify-content: space-between;
	}

	#primary-menu > li:last-child > a {
		border-bottom: none;
	}

	.mega-dropdown {
		position: static;
		box-shadow: none;
		border: none;
		padding-left: 0;
		display: none;
		background: var(--color-bg-sage);
	}

	.has-mega-menu.is-open > .mega-dropdown { display: block; }
	.has-mega-menu.is-open > .mega-dropdown--columns { display: grid; grid-template-columns: 1fr; }

	/* Mobile: only .is-open controls submenu (avoid hover/focus double-tap). */
	.has-service-mega:hover > .service-mega-panel,
	.has-service-mega:focus-within > .service-mega-panel,
	.has-mega-menu:hover > .mega-dropdown,
	.has-mega-menu:focus-within > .mega-dropdown {
		display: none;
	}

	.has-service-mega.is-open > .service-mega-panel {
		display: block;
	}

	.has-mega-menu.is-open > .mega-dropdown {
		display: block;
	}

	.has-mega-menu.is-open > .mega-dropdown--columns {
		display: grid;
		grid-template-columns: 1fr;
	}

	.service-mega-panel {
		position: static;
		transform: none;
		width: 100%;
		padding: 0;
	}

	.service-mega-panel-inner {
		grid-template-columns: 1fr;
		box-shadow: none;
		border: none;
		border-top: 1px solid var(--color-border);
	}

	.service-mega-media {
		display: none;
	}

	.service-mega-links {
		border: none;
		padding: 8px 12px 12px 20px;
	}

	body.is-mobile-nav-open {
		overflow: hidden;
	}

	.top-contact-item--email .top-contact-item__text {
		max-width: 120px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.project-meta-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.footer-pillars-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-pillars .footer-pillars-inner.container {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	.footer-pillar {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 10px;
		padding: 18px 12px;
		min-height: 96px;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.footer-pillar:nth-child(2n) {
		border-right: none;
	}

	.footer-pillar:nth-child(-n+2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.footer-pillar:nth-child(n+3) {
		border-bottom: none;
	}

	.footer-pillar-label {
		text-align: center;
		font-size: 12px;
		line-height: 1.35;
	}

	@media (max-width: 767px) {
		.footer-brandbar-inner { grid-template-columns: 1fr; }

		.footer-brand-contacts { grid-template-columns: 1fr; }

		.footer-grid { grid-template-columns: 1fr; }
	}

	.hero-title { font-size: 28px; }

	.hero-section--page .hero-actions { justify-content: center; }
	.hero-section--page .hero-inner { text-align: center; }

	.process-grid { grid-template-columns: 1fr; }

	.cta-inner { flex-direction: column; text-align: center; }
	.cta-actions { justify-content: center; }
}

/* iPad / tablet footer — fill width, no empty side gaps */
@media (min-width: 768px) and (max-width: 1100px) {
	.footer-brandbar-inner {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 16px 24px;
	}

	.footer-brand-contacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-self: stretch;
		width: 100%;
		max-width: none;
	}

	.footer-brand-actions {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		gap: 16px;
		flex-wrap: wrap;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 32px;
	}

	.footer-about {
		grid-column: 1 / -1;
	}

	.footer-desc {
		max-width: none;
	}
}

@media (min-width: 993px) and (max-width: 1100px) {
	.footer-brandbar-inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 16px 20px;
	}

	.footer-brand-contacts {
		justify-self: stretch;
		width: 100%;
		max-width: none;
	}

	.footer-brand-actions {
		grid-column: auto;
		justify-content: flex-end;
		width: auto;
		flex-shrink: 0;
	}
}

/* Mega menu — multi-column */
.has-mega-menu { position: relative; }

.mega-dropdown--columns {
	min-width: 520px;
	max-width: 720px;
	padding: 12px 0;
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
}

.has-mega-menu:hover > .mega-dropdown--columns,
.has-mega-menu.is-open > .mega-dropdown--columns {
	display: grid;
}

.mega-dropdown--columns li a {
	padding: 8px 20px;
	font-size: 13px;
}

.btn-topbar-profile {
	display: inline-flex;
	align-items: center;
	background: var(--color-gold) !important;
	color: var(--color-white) !important;
	padding: 7px 16px !important;
	border-radius: 6px;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 0.4px;
	white-space: nowrap;
	text-transform: uppercase;
}

.btn-topbar-profile:hover {
	background: var(--color-gold-dark) !important;
	color: var(--color-white) !important;
}

/* Archive filter tabs */
.archive-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.archive-filter-tab {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	transition: all 0.2s;
}

.archive-filter-tab:hover,
.archive-filter-tab.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

.project-cat-label,
.product-cat-label {
	display: block;
	font-size: 12px;
	color: var(--color-muted);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.project-card-client {
	font-size: 13px;
	color: var(--color-muted);
	margin: 4px 0 0;
}

.archive-demo-notice {
	font-size: 13px;
	color: var(--color-muted);
	background: var(--color-bg);
	border: 1px dashed var(--color-border);
	border-radius: var(--radius);
	padding: 10px 14px;
	margin: 0 0 24px;
}

.project-grid--archive {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}

.project-grid--animated .post-card {
	opacity: 0;
	transform: translateY(18px);
	animation: project-card-in 0.55s ease forwards;
	animation-delay: var(--card-delay, 0s);
}

@keyframes project-card-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.post-card--project .post-card-thumb {
	display: block;
	overflow: hidden;
	position: relative;
}

.post-card--project .post-card-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(51, 51, 51, 0.35) 100%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.post-card--project:hover .post-card-thumb::after {
	opacity: 1;
}

.post-card--project .post-card-thumb img,
.post-card.project-card .post-card-thumb img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post-card--project:hover,
.post-card.project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(51, 51, 51, 0.12);
}

.post-card--project:hover .post-card-thumb img,
.post-card.project-card:hover .post-card-thumb img {
	transform: scale(1.06);
}

.post-card--project,
.post-card.project-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
	.project-grid--animated .post-card {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.service-projects-grid--animated .service-project-card {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.post-card--project:hover .post-card-thumb img,
	.post-card.project-card:hover .post-card-thumb img {
		transform: none;
	}
}

/* About page */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
}

.about-info-card {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
}

.about-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-info-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 14px;
}

.about-info-list li:last-child { border-bottom: none; }

.about-service-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.about-service-link {
	display: block;
	padding: 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.about-service-link:hover {
	border-color: var(--color-primary);
	box-shadow: var(--shadow);
}

.about-service-link h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: var(--color-heading);
}

.about-service-link p {
	margin: 0;
	font-size: 14px;
	color: var(--color-muted);
}

/* Contact page */
.contact-page-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

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

.contact-info-list li {
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 15px;
}

.contact-info-list a {
	color: var(--color-primary);
	text-decoration: none;
}

.contact-form .form-row {
	margin-bottom: 16px;
}

.contact-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 6px;
	font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 15px;
}

.contact-notice {
	padding: 12px 16px;
	border-radius: var(--radius);
	margin-bottom: 20px;
}

.contact-notice--success { background: #e8f5e9; color: #2e7d32; }
.contact-notice--error { background: #ffebee; color: #c62828; }
.contact-notice--warning { background: #fff3e0; color: #e65100; }

.required { color: var(--color-primary); }

/* Product shop — grouped by category */
.product-category-section {
	margin-bottom: 48px;
}

.product-grid--5col {
	grid-template-columns: repeat(5, 1fr);
}

.woocommerce-wrap .product-category-section:last-child {
	margin-bottom: 0;
}

@media (max-width: 1200px) {
	.product-grid--5col { grid-template-columns: repeat(4, 1fr); }
	.about-service-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
	.about-grid,
	.contact-page-grid { grid-template-columns: 1fr; }
	.product-grid--5col { grid-template-columns: repeat(3, 1fr); }
	.mega-dropdown--columns {
		min-width: 100%;
		max-width: 100%;
		grid-template-columns: 1fr;
	}
}

.section-heading--center { text-align: center; }
.section-heading--center .section-desc { margin-left: auto; margin-right: auto; }

.section-heading .section-title {
	position: relative;
	padding-bottom: 12px;
}

.section-heading .section-title::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 10px;
	background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
	border-radius: 2px;
}

.section-heading--center .section-title::after {
	margin-left: auto;
	margin-right: auto;
}

.section-heading .section-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-weight: 600;
	color: var(--color-accent-dark);
}

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

.home-catalog-section {
	background: var(--color-bg);
	padding: var(--section-spacing) 0;
}

.home-catalog-section .products-catalog-section {
	padding-top: 0;
}

.home-products-list__header {
	text-align: center;
	margin-bottom: clamp(24px, 3vw, 36px);
}

.home-products-list__title {
	margin: 0;
	font-family: var(--font-main);
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-heading);
}

.home-products-list__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

.home-products-list__tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.home-products-list__tabs::-webkit-scrollbar {
	display: none;
}

.home-products-list__tab {
	flex: 0 0 auto;
	appearance: none;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-elevated);
	padding: 10px 16px;
	font-family: var(--font-main);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-heading);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.home-products-list__tab:hover,
.home-products-list__tab.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-on-accent, #ffffff);
}

.home-products-list__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.home-products-list__grid .product-catalog-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: none;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.home-products-list__grid .product-catalog-card:hover {
	border-color: color-mix(in srgb, var(--color-accent) 40%, var(--color-border));
	box-shadow: var(--shadow);
}

.home-products-list__grid .product-catalog-card__media img,
.home-products-list__grid .product-catalog-card__img,
.home-products-list__grid .product-catalog-card__placeholder {
	aspect-ratio: 1 / 1;
}

.home-products-list__grid .product-catalog-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	background: var(--color-elevated);
	padding: 14px 14px 16px;
}

.home-products-list__grid .product-catalog-card__title {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-accent);
}

.home-products-list__grid .product-catalog-card__title-icon {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--color-accent);
}

.home-products-list__grid .product-catalog-card__cat {
	display: block;
	padding-left: 22px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-muted);
}

.home-products-list__grid .product-catalog-card.is-more-hidden {
	display: none !important;
}

.home-products-list__more {
	display: flex;
	justify-content: center;
	margin-top: clamp(24px, 3vw, 36px);
}

.home-products-list__more[hidden] {
	display: none !important;
}

.home-products-list__more-btn {
	min-width: 160px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	cursor: pointer;
}

@media (min-width: 768px) {
	.home-products-list__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (min-width: 992px) {
	.home-products-list__layout {
		grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
		gap: 28px;
	}

	.home-products-list__tabs {
		flex-direction: column;
		overflow: visible;
		position: sticky;
		top: 96px;
		gap: 6px;
	}

	.home-products-list__tab {
		width: 100%;
		text-align: left;
		white-space: normal;
		border-radius: 8px;
		padding: 12px 14px;
	}
}

.home-products-list__grid.is-empty-filter::after {
	content: attr(data-empty-label);
	display: block;
	grid-column: 1 / -1;
	padding: 28px 16px;
	text-align: center;
	color: var(--color-muted);
	font-size: 14px;
}

.home-products-list__grid.is-empty-filter:not([data-empty-label])::after {
	content: "Chưa có sản phẩm trong nhóm này.";
}

.home-news-section .post-grid {
	grid-template-columns: repeat(3, minmax(280px, 1fr));
}

.hero-hotline-sep { opacity: 0.5; margin: 0 8px; }

/* ===== HOME INTRO ===== */
.home-intro-section {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 5vw, 56px) 0;
	background-color: var(--color-section-tint);
}

.home-intro-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../images/home-intro/bg-pattern.svg');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.9;
	pointer-events: none;
}

.home-intro-section .container {
	position: relative;
	z-index: 1;
}

.home-intro-section + .home-bento-section {
	padding-top: clamp(28px, 3vw, 40px);
}

/* ===== HOMEPAGE — tighter vertical rhythm ===== */
.page-home {
	--section-spacing: clamp(44px, 4.5vw, 60px);
}

.page-home .site-main > section:not(.hero-section) {
	padding-bottom: clamp(32px, 3.5vw, 48px);
}

.page-home .site-main > section + section:not(.hero-section) {
	padding-top: clamp(24px, 2.8vw, 36px);
}

.page-home .section-heading {
	margin-bottom: clamp(18px, 2.2vw, 26px);
}

.page-home .home-intro-section {
	padding-bottom: clamp(16px, 2vw, 24px);
}

.page-home .home-intro-section + .home-bento-section {
	padding-top: clamp(12px, 1.5vw, 20px);
}

.page-home .home-shorts-section {
	padding-bottom: clamp(32px, 3.5vw, 48px);
}

.page-home .profile-banner-section {
	padding: 0;
}

.page-home .home-press-section {
	padding: clamp(40px, 4.5vw, 56px) 0;
}

.page-home .home-press__top {
	margin-bottom: clamp(20px, 2.5vw, 32px);
}

.page-home .home-products-list__header {
	margin-bottom: clamp(18px, 2.2vw, 26px);
}

.page-home .project-showcase-header {
	margin-bottom: clamp(16px, 2vw, 20px);
}

.home-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: center;
}

.home-intro-content {
	min-width: 0;
}

.home-intro-media {
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-intro-visual {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	background: transparent;
	box-shadow: none;
	padding: 0;
	overflow: visible;
}

.home-intro-visual__stage {
	position: relative;
	width: 100%;
}

.home-intro-visual__main {
	display: block;
	width: 100%;
	height: auto;
}

.home-intro-visual__float {
	position: absolute;
	height: auto;
	filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.12));
	animation: homeIntroFloat 4.6s ease-in-out infinite;
	will-change: transform;
}

.home-intro-visual__float--1 {
	top: 0;
	left: 0;
	width: 36%;
	animation-delay: 0s;
}

.home-intro-visual__float--2 {
	top: 8%;
	right: 0;
	width: 26%;
	animation-delay: 0.75s;
}

.home-intro-visual__float--3 {
	left: 50%;
	bottom: 2%;
	width: min(52%, 240px);
	transform: translateX(-50%);
	animation: homeIntroFloatCenter 4.6s ease-in-out infinite;
	animation-delay: 1.4s;
}

@keyframes homeIntroFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -10px, 0);
	}
}

@keyframes homeIntroFloatCenter {
	0%,
	100% {
		transform: translate3d(-50%, 0, 0);
	}

	50% {
		transform: translate3d(-50%, -10px, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-intro-visual__float {
		animation: none;
	}

	.home-intro-visual__float--3 {
		transform: translateX(-50%);
	}
}

.home-intro-image {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 4/3;
	object-fit: cover;
}

.home-intro-image--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
	color: var(--color-white);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 2px;
}

.home-intro-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color-accent);
	margin: 0 0 8px;
}

.home-intro-title {
	font-size: 28px;
	color: var(--color-heading);
	margin: 0 0 16px;
	line-height: 1.3;
}

.home-intro-title span {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: var(--color-subtext);
	margin-top: 6px;
}

.home-intro-text p { color: var(--color-subtext); line-height: 1.8; margin: 0 0 14px; }

.home-intro-services {
	margin: 22px 0 18px;
}

.home-intro-services-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--color-heading);
}

.home-intro-services-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.home-intro-services-item {
	margin: 0;
}

.home-intro-services-link {
	display: block;
	padding: 12px 14px;
	border-left: 3px solid var(--color-accent, #e67e22);
	background: var(--color-bg-sage, #f5f5f5);
	text-decoration: none;
	border-radius: 0 8px 8px 0;
	transition: background 0.2s ease;
}

.home-intro-services-link:hover {
	background: var(--color-bg-sage);
}

.home-intro-services-name {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-heading);
}

.home-intro-services-desc {
	display: block;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-subtext, #666);
}

.home-intro-note {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-subtext, #666);
}

/* ===== SERVICE PILLARS ===== */
.pillars-section {
	padding: var(--section-spacing) 0;
	background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-surface) 100%);
}

.pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.pillar-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px 28px;
	transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
	border-top: 4px solid var(--color-primary);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.pillar-card-hitarea {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
}

.pillar-card-hitarea:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

.pillar-card::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.pillar-card--design { border-top-color: var(--color-accent); }
.pillar-card--ad { border-top-color: var(--color-primary); }
.pillar-card--build { border-top-color: var(--color-gold); }

.pillar-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.pillar-card-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	position: relative;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
	clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
	box-shadow: 0 4px 16px rgba(211, 84, 0, 0.25);
}

.pillar-card--design .pillar-card-icon::after { content: '✦'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #ffffff; }
.pillar-card--ad .pillar-card-icon::after { content: '◆'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #ffffff; }
.pillar-card--build .pillar-card-icon::after { content: '■'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #ffffff; }

.pillar-card-title { font-size: 20px; margin: 0 0 10px; color: var(--color-heading); }
.pillar-card-desc { font-size: 14px; color: var(--color-subtext); margin: 0 0 12px; font-weight: 500; }
.pillar-card-body { font-size: 14px; color: var(--color-text); margin: 0 0 16px; line-height: 1.7; }

.pillar-steps {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	font-size: 13px;
}

.pillar-steps li {
	padding: 6px 0 6px 20px;
	position: relative;
	color: var(--color-muted);
	border-bottom: 1px dashed var(--color-border);
}

.pillar-steps li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--color-accent);
	font-weight: 700;
}

.pillar-card-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	font-size: 14px;
	color: var(--color-accent);
	position: relative;
	z-index: 1;
	transition: color var(--transition), transform var(--transition);
}

.pillar-card:hover .pillar-card-link {
	color: var(--color-accent-dark);
	transform: translateX(3px);
}

/* ===== PROJECT SHOWCASE ===== */
.project-showcase-section { padding: var(--section-spacing) 0; }
.project-showcase-section:nth-child(even) { background: var(--color-bg-sage); }

.showcase-card--demo {
	border-style: dashed;
}

.project-showcase-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.section-title--split { font-size: 26px; text-transform: uppercase; letter-spacing: 0.5px; }

.showcase-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 0;
	border-bottom: none;
}

.showcase-tab {
	background: none;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 8px 16px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--color-muted);
	cursor: pointer;
	transition: all var(--transition);
}

.showcase-tab:hover,
.showcase-tab.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

.showcase-tab.is-empty {
	display: none;
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.showcase-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 8px;
		margin-right: calc(var(--container-padding) * -1);
		margin-left: calc(var(--container-padding) * -1);
		padding-right: var(--container-padding);
		padding-left: var(--container-padding);
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.showcase-tabs::-webkit-scrollbar {
		display: none;
	}

	.showcase-tab {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
	}
}

.showcase-scroll {
	overflow-x: visible;
	padding-bottom: 0;
}

.showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	min-width: 0;
}

.showcase-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow var(--transition);
	min-width: 0;
}

.showcase-card:hover { box-shadow: var(--shadow); }

.showcase-card.is-hidden {
	display: none;
}

.showcase-card-thumb img,
.showcase-card-placeholder {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
}

.showcase-card-placeholder { background: var(--color-bg); }

.showcase-card-body { padding: 14px 16px; }

.showcase-card-cat {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: var(--color-accent);
	font-weight: 600;
	margin-bottom: 6px;
}

.showcase-card-title { font-size: 14px; margin: 0; line-height: 1.4; }
.showcase-card-title a { color: var(--color-heading); }

.showcase-empty {
	color: var(--color-subtext);
	font-style: italic;
	font-size: 15px;
}

/* ===== DUAL COLUMNS ===== */
.home-dual-section { padding: var(--section-spacing) 0; background: var(--color-surface); }

.home-dual-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.home-dual-grid--triple {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.home-dual-col {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: 0 4px 20px rgba(51, 51, 51, 0.06);
}

.dual-col-title { font-size: 22px; margin: 0 0 4px; color: var(--color-heading); }
.dual-col-desc { font-size: 14px; color: var(--color-subtext); margin: 0 0 20px; }

.dual-list { list-style: none; margin: 0; padding: 0; }

.dual-list-item { border-bottom: 1px solid var(--color-border); }

.dual-list-link {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	align-items: center;
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

.dual-list-link:hover { color: var(--color-primary); }

.dual-list-thumb {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg);
}

.dual-list-thumb img { width: 100%; height: 100%; object-fit: cover; }

.dual-list-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.dual-list-text strong { font-size: 14px; line-height: 1.4; color: var(--color-heading); }
.dual-list-text time { font-size: 12px; color: var(--color-muted); }

.dual-col-more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--color-primary); }

/* ===== PROFILE BANNER ===== */
.profile-banner-section {
	position: relative;
	padding: 0;
	color: #ffffff;
	overflow: hidden;
	background-color: #253237;
}

.profile-banner-section__media,
.profile-banner-section__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.profile-banner-section__media {
	background-image: var(--profile-banner-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1);
	transition: transform 8s ease;
	will-change: transform;
}

.profile-banner-section:hover .profile-banner-section__media,
.profile-banner-section:focus-within .profile-banner-section__media {
	transform: scale(1.07);
}

.profile-banner-section__overlay {
	background: rgba(0, 0, 0, 0.49);
	transition: background 0.45s ease;
}

.profile-banner-section:hover .profile-banner-section__overlay,
.profile-banner-section:focus-within .profile-banner-section__overlay {
	background: rgba(0, 0, 0, 0.42);
}

@media (prefers-reduced-motion: no-preference) {
	.profile-banner-section__media {
		animation: profileBannerKenBurns 22s ease-in-out infinite alternate;
	}

	.profile-banner-section:hover .profile-banner-section__media,
	.profile-banner-section:focus-within .profile-banner-section__media {
		animation-play-state: paused;
		transform: scale(1.07);
	}
}

@keyframes profileBannerKenBurns {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.06);
	}
}

.profile-banner-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 40px);
	flex-wrap: wrap;
	min-height: clamp(240px, 28vw, 300px);
	padding: clamp(56px, 8vw, 88px) 16px;
	opacity: 0;
	transform: translate3d(0, 42px, 0);
	transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-banner-section.is-in-view .profile-banner-inner {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.profile-banner-content > *,
.profile-banner-btn {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-banner-section.is-in-view .profile-banner-label {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.12s;
}

.profile-banner-section.is-in-view .profile-banner-title {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.22s;
}

.profile-banner-section.is-in-view .profile-banner-desc {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.32s;
}

.profile-banner-section.is-in-view .profile-banner-btn {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.42s;
}

.profile-banner-section.is-in-view .profile-banner-btn:hover,
.profile-banner-section.is-in-view .profile-banner-btn:focus-visible {
	transform: translate3d(0, -3px, 0) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
	.profile-banner-inner,
	.profile-banner-content > *,
	.profile-banner-btn {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.profile-banner-content {
	flex: 1 1 320px;
	min-width: 0;
	max-width: 640px;
}

.profile-banner-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #f5b041;
	margin: 0 0 10px;
}

.profile-banner-title {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	line-height: 1.25;
}

.profile-banner-title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.25s ease;
}

.profile-banner-title a:hover,
.profile-banner-title a:focus-visible {
	color: #f5b041;
	outline: none;
}

.profile-banner-desc {
	margin: 0;
	max-width: 560px;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.65;
	font-size: 15px;
}

.profile-banner-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 14px 40px;
	border-radius: 999px;
	background: var(--color-elevated);
	color: var(--color-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.4px;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.profile-banner-btn:hover,
.profile-banner-btn:focus-visible {
	background: var(--color-bg-warm);
	color: var(--color-accent-dark, #d35400);
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
	outline: none;
}

@media (max-width: 768px) {
	.profile-banner-inner {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.profile-banner-btn {
		align-self: flex-start;
	}
}

@media (max-width: 540px) {
	.profile-banner-inner {
		align-items: center;
		text-align: center;
	}

	.profile-banner-content {
		max-width: none;
	}

	.profile-banner-desc {
		margin-inline: auto;
	}

	.profile-banner-btn {
		align-self: center;
		width: 100%;
		max-width: 280px;
	}
}

/* ===== VIDEO SHORTS ===== */
.video-grid--shorts {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 12px;
	-webkit-overflow-scrolling: touch;
}

.video-grid--shorts .video-card {
	flex: 0 0 200px;
	min-width: 200px;
}

.video-grid--shorts .video-embed { padding-bottom: 177.78%; }

/* ===== HOME YOUTUBE SHORTS ===== */
.home-shorts-section {
	padding: clamp(48px, 5vw, 72px) 0;
	background:
		linear-gradient(180deg, rgba(245, 245, 245, 0.65) 0%, rgba(255, 255, 255, 0) 100%),
		repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(0, 0, 0, 0.03) 24px),
		repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(0, 0, 0, 0.03) 24px),
		var(--color-bg);
}

.home-shorts-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.home-shorts-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.home-shorts-header__logo {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	border: 2px solid currentColor;
	transform: rotate(12deg);
}

.home-shorts-header__logo--blue {
	color: #2f6fed;
}

.home-shorts-header__logo--orange {
	color: var(--color-accent);
	margin-left: -10px;
}

.home-shorts-header__title {
	margin: 0;
	font-family: var(--font-main);
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	color: var(--color-heading);
}

.home-shorts-header__channel {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
}

.home-shorts-header__channel:hover {
	color: var(--color-accent-dark);
}

.home-shorts-carousel {
	position: relative;
	padding: 0 clamp(8px, 1.5vw, 20px);
}

.home-shorts-scroll {
	--shorts-visible: 2.35;
	--shorts-gap: clamp(16px, 2vw, 28px);
	--shorts-card: min(
		240px,
		calc((100cqw - (var(--shorts-visible) - 1) * var(--shorts-gap)) / var(--shorts-visible))
	);
	overflow-x: auto;
	overflow-y: hidden;
	padding: 22px 0 14px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	touch-action: pan-x;
	container-type: inline-size;
	perspective: 1300px;
	perspective-origin: 50% 40%;
	-webkit-mask-image: none;
	mask-image: none;
}

.home-shorts-scroll.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

.home-shorts-scroll.is-dragging .home-shorts-card__media {
	pointer-events: none;
}

.home-shorts-scroll::-webkit-scrollbar {
	display: none;
}

.home-shorts-track {
	display: flex;
	align-items: flex-start;
	gap: var(--shorts-gap);
	width: max-content;
	padding-inline: calc((100cqw - var(--shorts-card)) / 2);
	transform-style: preserve-3d;
}

.home-shorts-card {
	--shorts-offset: 0;
	--shorts-scale: 0.82;
	--shorts-depth: -48;
	flex: 0 0 var(--shorts-card);
	width: var(--shorts-card);
	scroll-snap-align: center;
	position: relative;
	z-index: 1;
	transform-style: preserve-3d;
}

.home-shorts-card.is-active {
	z-index: 5;
}

.home-shorts-card__caption {
	min-height: calc(1.45em * 2 + 10px + 1.4em);
	margin-top: 28px;
	padding-top: 4px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-shorts-card.is-active .home-shorts-card__caption {
	opacity: 1;
	visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
	.home-shorts-card__media {
		transition: none !important;
		transform: none !important;
	}

	.home-shorts-card:not(.is-active) .home-shorts-card__thumb {
		filter: none;
	}

	.home-shorts-card__caption {
		opacity: 1;
		visibility: visible;
	}
}

.home-shorts-card__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #1a1a1a;
	cursor: pointer;
	aspect-ratio: 9 / 16;
	box-shadow: 0 8px 20px rgba(51, 51, 51, 0.1);
	transform-origin: center center;
	transform:
		translateZ(calc(var(--shorts-depth) * 1px))
		rotateY(calc(var(--shorts-offset) * -30deg))
		scale(var(--shorts-scale));
	transition:
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.55s ease;
	will-change: transform;
}

.home-shorts-card.is-active .home-shorts-card__media {
	box-shadow: 0 16px 36px rgba(51, 51, 51, 0.18);
}

.home-shorts-card__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 1;
	transform: none;
	filter: grayscale(1);
	transition: transform 0.35s ease, filter 0.45s ease;
}

.home-shorts-card.is-active .home-shorts-card__thumb {
	filter: grayscale(0);
}

.home-shorts-card__play {
	position: absolute;
	inset: auto;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	background: transparent !important;
	color: #fff;
	pointer-events: none;
	z-index: 2;
}

.home-shorts-card__play svg {
	width: 52px;
	height: 52px;
	padding: 14px;
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.55);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
	transition: transform 0.25s ease, background 0.25s ease;
}

.home-shorts-card__media:hover .home-shorts-card__thumb,
.home-shorts-card__media:focus-visible .home-shorts-card__thumb {
	transform: scale(1.03);
}

.home-shorts-card__media:hover .home-shorts-card__play svg,
.home-shorts-card__media:focus-visible .home-shorts-card__play svg {
	transform: scale(1.06);
	background: rgba(230, 126, 34, 0.92);
}

.home-shorts-card__title {
	margin: 0 0 6px;
	font-family: var(--font-main);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-heading);
	text-align: center;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.home-shorts-card__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--color-muted);
}

.home-shorts-nav {
	position: absolute;
	top: clamp(140px, 22vw, 210px);
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(51, 51, 51, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--color-heading);
	box-shadow: 0 4px 16px rgba(51, 51, 51, 0.1);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.home-shorts-nav:hover:not(:disabled) {
	border-color: var(--color-accent);
	color: var(--color-accent);
	background: var(--color-elevated);
}

.home-shorts-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Arrows sit between center + side peeks (dsgn-style). */
.home-shorts-nav--prev {
	left: calc(50% - clamp(148px, 20vw, 210px));
}

.home-shorts-nav--next {
	right: calc(50% - clamp(148px, 20vw, 210px));
}

.home-shorts-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.home-shorts-modal[hidden] {
	display: none;
}

.home-shorts-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.78);
}

.home-shorts-modal__dialog {
	position: relative;
	width: min(420px, 100%);
	z-index: 1;
}

.home-shorts-modal__close {
	position: absolute;
	top: -42px;
	right: 0;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.home-shorts-modal__player {
	position: relative;
	width: 100%;
	padding-bottom: 177.78%;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.home-shorts-modal__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.home-shorts-modal__external {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.home-shorts-modal__external:hover {
	color: var(--color-accent);
}

body.home-shorts-modal-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	.home-shorts-scroll {
		--shorts-visible: 3;
		--shorts-card: min(
			250px,
			calc((100cqw - (var(--shorts-visible) - 1) * var(--shorts-gap)) / var(--shorts-visible))
		);
	}

	.home-shorts-nav {
		width: 46px;
		height: 46px;
		top: clamp(170px, 16vw, 230px);
	}
}

@media (min-width: 992px) {
	.home-shorts-scroll {
		--shorts-visible: 3.15;
		--shorts-gap: clamp(20px, 2.5vw, 36px);
	}
}

@media (max-width: 575px) {
	.home-shorts-nav {
		width: 36px;
		height: 36px;
		top: clamp(120px, 42vw, 170px);
	}

	.home-shorts-nav--prev {
		left: 8px;
	}

	.home-shorts-nav--next {
		right: 8px;
	}
}

/* ===== PRODUCTS HOME ===== */
.home-products-section { background: var(--color-bg); }

.home-products-section .post-grid,
.home-products-section .wc-product-grid {
	grid-template-columns: repeat(5, 1fr);
}

.home-news-section {
	padding: 0;
	background: transparent;
}

/* ===== FLOATING CONTACT (compact toggle) ===== */
.floating-contact {
	--fc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--fc-duration: 0.38s;
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.floating-contact__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transform: translateY(12px) scale(0.92);
	transform-origin: bottom center;
	transition:
		max-height var(--fc-duration) var(--fc-ease),
		opacity 0.28s ease,
		transform var(--fc-duration) var(--fc-ease);
}

.floating-contact.is-open .floating-contact__actions {
	max-height: 200px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.float-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #111;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	opacity: 0;
	transform: translateY(14px) scale(0.78);
	transition:
		transform 0.34s var(--fc-ease),
		opacity 0.28s ease,
		box-shadow 0.2s ease;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.floating-contact.is-open .float-btn {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.floating-contact.is-open .float-btn--contact {
	transition-delay: 0.02s;
}

.floating-contact.is-open .float-btn--zalo {
	transition-delay: 0.08s;
}

.floating-contact.is-open .float-btn--phone {
	transition-delay: 0.14s;
}

.floating-contact:not(.is-open) .float-btn {
	transition-delay: 0s;
}

.float-btn:hover {
	transform: scale(1.06);
	color: #111;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.floating-contact.is-open .float-btn:hover {
	transform: translateY(0) scale(1.06);
}

.float-btn--phone {
	background: var(--color-accent);
	color: #111;
}

.float-btn--zalo {
	background: #0068ff;
	color: #fff;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
}

.float-btn--zalo:hover {
	color: #fff;
}

.float-btn--contact {
	background: var(--color-accent);
	color: #111;
}

.floating-contact__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-accent);
	color: #111;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(230, 126, 34, 0.35);
	transition: transform 0.28s var(--fc-ease), background 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact__toggle:hover {
	transform: scale(1.05);
}

.floating-contact.is-open .floating-contact__toggle {
	transform: rotate(90deg);
}

.floating-contact.is-open .floating-contact__toggle:hover {
	transform: rotate(90deg) scale(1.05);
}

.floating-contact__toggle:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

.floating-contact__toggle::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid color-mix(in srgb, var(--color-accent) 45%, transparent);
	opacity: 0.55;
	animation: floatingContactPulse 2.2s ease-out infinite;
	pointer-events: none;
}

.floating-contact.is-open .floating-contact__toggle::after {
	display: none;
}

.floating-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	position: absolute;
	inset: 0;
	margin: auto;
	transition: opacity 0.2s ease, transform 0.28s var(--fc-ease);
}

.floating-contact__icon--chat {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

.floating-contact__icon--close {
	opacity: 0;
	transform: scale(0.6) rotate(-45deg);
}

.floating-contact.is-open .floating-contact__icon--chat {
	opacity: 0;
	transform: scale(0.6) rotate(45deg);
}

.floating-contact.is-open .floating-contact__icon--close {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

@keyframes floatingContactPulse {
	0% {
		transform: scale(0.92);
		opacity: 0.55;
	}
	70% {
		transform: scale(1.18);
		opacity: 0;
	}
	100% {
		transform: scale(1.18);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.floating-contact__actions,
	.float-btn,
	.floating-contact__toggle,
	.floating-contact__icon {
		transition: none !important;
		animation: none !important;
	}

	.floating-contact__toggle::after {
		animation: none;
	}
}

html[data-theme="dark"] .floating-contact__toggle,
html[data-theme="dark"] .float-btn--phone,
html[data-theme="dark"] .float-btn--contact {
	color: #111;
}

/* ===== MOBILE BOTTOM NAV — liquid pill ===== */
.mobile-bottom-nav {
	display: none;
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	:root {
		--mobile-nav-bar-height: 72px;
		--mobile-nav-bottom-gap: 12px;
		--mobile-nav-height: calc(var(--mobile-nav-bar-height) + var(--mobile-nav-bottom-gap) + 6px);
		--mobile-nav-offset: var(--mobile-nav-height);
		--mobile-nav-shell-bg: var(--color-primary-dark);
		--mobile-nav-icon-idle: rgba(255, 255, 255, 0.72);
		--mobile-nav-icon-active: var(--color-on-accent);
		--mobile-nav-label-idle: rgba(255, 255, 255, 0.62);
		--mobile-nav-label-active: var(--color-primary);
		--mobile-nav-liquid-bg: var(--color-primary);
	}

	body.has-mobile-bottom-nav {
		padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px));
	}

	.site-header {
		transition: none;
		will-change: auto;
		transform: none;
	}

	.site-header.is-hidden {
		transform: none;
		pointer-events: auto;
		box-shadow: none;
	}

	.site-header.is-scrolled {
		background: var(--header-main-bg);
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.site-header.is-scrolled .main-header {
		box-shadow: none;
	}

	.main-header {
		transition: none;
	}

	.mobile-bottom-nav {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10055;
		padding: 0 12px calc(var(--mobile-nav-bottom-gap) + env(safe-area-inset-bottom, 0px));
		pointer-events: none;
	}

	.mobile-bottom-nav__bar {
		position: relative;
		width: min(480px, 100%);
		height: var(--mobile-nav-bar-height);
		margin: 0 auto;
		background: var(--mobile-nav-shell-bg);
		border-radius: 16px;
		box-shadow: 0 12px 28px rgba(51, 51, 51, 0.28);
		pointer-events: auto;
		overflow: visible;
		--liquid-x: 50%;
	}

	body.is-mobile-catalog-open .mobile-bottom-nav,
	body.is-mobile-nav-open .mobile-bottom-nav,
	body.is-mobile-service-open .mobile-bottom-nav {
		z-index: 10060;
	}

	.mobile-bottom-nav__liquid {
		position: absolute;
		top: 0;
		left: var(--liquid-x);
		width: 56px;
		height: 56px;
		transform: translateX(-50%);
		pointer-events: none;
		transition: left 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
		z-index: 1;
	}

	.mobile-bottom-nav__liquid-circle {
		position: absolute;
		top: var(--liquid-y, 33px);
		left: 50%;
		transform: translate(-50%, -50%);
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: var(--mobile-nav-liquid-bg);
		box-shadow: 0 8px 20px rgba(230, 126, 34, 0.38);
		transition: top 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
	}

	.mobile-bottom-nav__list {
		position: relative;
		z-index: 2;
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: stretch;
		list-style: none;
		margin: 0;
		padding: 0;
		height: 100%;
	}

	.mobile-nav-item {
		position: relative;
		display: flex;
		min-width: 0;
	}

	.mobile-nav-item__btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		width: 100%;
		min-width: 0;
		height: 100%;
		padding: 8px 2px 10px;
		border: none;
		border-radius: 0;
		background: transparent;
		color: var(--mobile-nav-icon-idle);
		text-decoration: none;
		font-family: inherit;
		cursor: pointer;
		overflow: visible;
		-webkit-tap-highlight-color: transparent;
		transition: color 0.25s ease;
	}

	.mobile-nav-item__btn:hover,
	.mobile-nav-item__btn:focus-visible,
	.mobile-nav-item__btn:active {
		color: rgba(255, 255, 255, 0.92);
		background: transparent;
		outline: none;
	}

	.mobile-nav-item__btn:hover .mobile-nav-label,
	.mobile-nav-item__btn:focus-visible .mobile-nav-label {
		color: rgba(255, 255, 255, 0.88);
	}

	button.mobile-nav-item__btn {
		appearance: none;
		-webkit-appearance: none;
	}

	.mobile-nav-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		flex-shrink: 0;
		transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), color 0.25s ease;
	}

	.mobile-nav-icon svg {
		display: block;
		width: 22px;
		height: 22px;
	}

	.mobile-nav-label {
		position: relative;
		display: block;
		max-width: 100%;
		font-size: 9px;
		font-weight: 500;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		color: var(--mobile-nav-label-idle);
		opacity: 1;
		pointer-events: none;
		transition: color 0.25s ease, font-weight 0.25s ease;
	}

	.mobile-nav-item.is-active .mobile-nav-icon,
	.mobile-nav-item.is-drawer-open .mobile-nav-icon,
	.mobile-nav-item:has(.is-drawer-open) .mobile-nav-icon {
		transform: translateY(-24px);
		color: var(--mobile-nav-icon-active);
	}

	.mobile-nav-item.is-active .mobile-nav-icon svg[fill="none"],
	.mobile-nav-item.is-drawer-open .mobile-nav-icon svg[fill="none"],
	.mobile-nav-item:has(.is-drawer-open) .mobile-nav-icon svg[fill="none"] {
		stroke: currentColor;
	}

	.mobile-nav-item.is-active .mobile-nav-label,
	.mobile-nav-item.is-drawer-open .mobile-nav-label,
	.mobile-nav-item:has(.is-drawer-open) .mobile-nav-label {
		color: var(--mobile-nav-label-active);
		font-weight: 700;
	}

	.floating-contact {
		right: 12px;
		bottom: calc(var(--mobile-nav-height) + 10px + env(safe-area-inset-bottom, 0px));
	}

	.floating-contact__toggle {
		width: 48px;
		height: 48px;
	}

	.float-btn {
		width: 42px;
		height: 42px;
	}

	.float-btn--zalo {
		width: 42px;
		height: 42px;
	}
}

/* ===== MOBILE CATALOG DRAWER ===== */
.mobile-catalog-drawer {
	--drawer-duration: 0.42s;
	--drawer-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--drawer-ease-in: cubic-bezier(0.4, 0, 0.2, 1);
	position: fixed;
	inset: 0;
	z-index: 10050;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0s linear var(--drawer-duration);
}

.mobile-catalog-drawer.is-open,
.mobile-catalog-drawer.is-closing {
	visibility: visible;
	transition-delay: 0s;
}

.mobile-catalog-drawer.is-open {
	pointer-events: auto;
}

body.is-mobile-catalog-open,
body.is-mobile-service-open {
	overflow: hidden;
}

.mobile-service-drawer .mobile-catalog-drawer__panel {
	display: flex;
	flex-direction: column;
}

.mobile-service-drawer__section {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	flex: 1;
}

.mobile-service-drawer__section[hidden] {
	display: none !important;
}

.mobile-service-drawer__landing .mobile-catalog-drawer__link {
	background: var(--color-elevated);
	border: none;
	box-shadow: var(--shadow);
}

.mobile-service-drawer__landing .mobile-catalog-drawer__link:hover,
.mobile-service-drawer__landing .mobile-catalog-drawer__link:focus-visible {
	background: var(--color-elevated);
	box-shadow: var(--shadow);
	transform: none;
}

.mobile-catalog-drawer__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: calc(var(--mobile-nav-offset, 72px) + env(safe-area-inset-bottom, 0px));
	background: rgba(17, 17, 17, 0.48);
	opacity: 0;
	transition: opacity var(--drawer-duration) var(--drawer-ease-in);
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
}

.mobile-catalog-drawer.is-open .mobile-catalog-drawer__backdrop {
	opacity: 1;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	transition: opacity var(--drawer-duration) var(--drawer-ease-out),
		backdrop-filter var(--drawer-duration) var(--drawer-ease-out),
		-webkit-backdrop-filter var(--drawer-duration) var(--drawer-ease-out);
}

.mobile-catalog-drawer.is-closing .mobile-catalog-drawer__backdrop {
	opacity: 0;
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
	transition: opacity 0.36s var(--drawer-ease-in),
		backdrop-filter 0.36s var(--drawer-ease-in),
		-webkit-backdrop-filter 0.36s var(--drawer-ease-in);
}

.mobile-catalog-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: calc(var(--mobile-nav-offset, 58px) + env(safe-area-inset-bottom, 0px));
	width: 100%;
	max-width: 100%;
	background: #f2f4f7;
	box-shadow: -8px 0 32px rgba(15, 40, 64, 0.14);
	transform: translate3d(100%, 0, 0);
	transition: transform var(--drawer-duration) var(--drawer-ease-in);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	will-change: transform;
	backface-visibility: hidden;
}

.mobile-catalog-drawer.is-open .mobile-catalog-drawer__panel {
	transform: translate3d(0, 0, 0);
	transition: transform var(--drawer-duration) var(--drawer-ease-out);
}

.mobile-catalog-drawer.is-closing .mobile-catalog-drawer__panel {
	transform: translate3d(100%, 0, 0);
	transition: transform 0.4s var(--drawer-ease-in);
}

.mobile-catalog-drawer__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 12px;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-elevated);
	flex-shrink: 0;
}

.mobile-catalog-drawer__brand {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mobile-catalog-drawer__brand .custom-logo-link img,
.mobile-catalog-drawer__brand img {
	max-height: 40px;
	width: auto;
}

.mobile-catalog-drawer__logo-text {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-heading);
	line-height: 1.2;
}

.mobile-catalog-drawer__tagline {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-subtext);
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.mobile-catalog-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--color-heading);
	cursor: pointer;
	opacity: 0.85;
	transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.mobile-catalog-drawer__close:hover,
.mobile-catalog-drawer__close:focus-visible {
	background: var(--color-bg);
	color: var(--color-accent);
	opacity: 1;
	outline: none;
}

.mobile-catalog-drawer__nav {
	flex: 1;
	overflow-y: auto;
	padding: 12px 14px 8px;
	-webkit-overflow-scrolling: touch;
}

.mobile-catalog-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mobile-catalog-drawer__item {
	opacity: 0;
	transform: translate3d(18px, 0, 0);
	transition:
		opacity 0.28s var(--drawer-ease-in),
		transform 0.28s var(--drawer-ease-in);
	transition-delay: 0s;
}

.mobile-catalog-drawer.is-open .mobile-catalog-drawer__item {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 0.38s var(--drawer-ease-out),
		transform 0.38s var(--drawer-ease-out);
	transition-delay: var(--item-delay, 0.05s);
}

.mobile-catalog-drawer.is-closing .mobile-catalog-drawer__item {
	opacity: 0;
	transform: translate3d(14px, 0, 0);
	transition:
		opacity 0.22s var(--drawer-ease-in),
		transform 0.22s var(--drawer-ease-in);
	transition-delay: calc(0.04s * (6 - var(--item-index, 0)));
}

.mobile-catalog-drawer__contact {
	flex-shrink: 0;
	margin: 4px 14px calc(12px + env(safe-area-inset-bottom, 0px));
	padding: 16px;
	border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
	border-radius: 10px;
	background: var(--color-bg-sage);
	opacity: 0;
	transform: translate3d(12px, 8px, 0);
	transition:
		opacity 0.28s var(--drawer-ease-in),
		transform 0.28s var(--drawer-ease-in);
}

.mobile-catalog-drawer.is-open .mobile-catalog-drawer__contact {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 0.4s var(--drawer-ease-out) 0.28s,
		transform 0.4s var(--drawer-ease-out) 0.28s;
}

.mobile-catalog-drawer.is-closing .mobile-catalog-drawer__contact {
	opacity: 0;
	transform: translate3d(10px, 6px, 0);
	transition:
		opacity 0.2s var(--drawer-ease-in),
		transform 0.2s var(--drawer-ease-in);
}

.mobile-catalog-drawer__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px;
	background: var(--color-elevated);
	border: none;
	border-radius: 8px;
	box-shadow: var(--shadow);
	color: var(--color-heading);
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	transition: none;
}

.mobile-catalog-drawer__link:hover,
.mobile-catalog-drawer__link:focus-visible {
	color: var(--color-heading);
	box-shadow: 0 1px 4px rgba(15, 40, 64, 0.07);
	transform: none;
	outline: none;
}

.mobile-catalog-drawer__link-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 0;
	background: transparent;
	color: var(--color-subtext);
	flex-shrink: 0;
}

.mobile-catalog-drawer__link-label {
	flex: 1;
	min-width: 0;
	line-height: 1.4;
	color: inherit;
}

.mobile-catalog-drawer__link-arrow {
	color: var(--color-muted);
	flex-shrink: 0;
	opacity: 0.85;
}

.mobile-catalog-drawer__contact-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 800;
	color: var(--color-heading);
	letter-spacing: 0.02em;
}

.mobile-catalog-drawer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.55;
}

.mobile-catalog-drawer__contact-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
}

.mobile-catalog-drawer__contact-icon {
	display: inline-flex;
	color: var(--color-accent);
	margin-top: 1px;
	flex-shrink: 0;
}

.mobile-catalog-drawer__contact-list a {
	color: var(--color-heading);
	text-decoration: none;
	font-weight: 700;
}

.mobile-catalog-drawer__contact-list a:hover {
	color: var(--color-accent);
}

.mobile-catalog-drawer__contact-sep {
	color: var(--color-muted);
	font-weight: 500;
}

.mobile-catalog-drawer__contact-list li > span:not(.mobile-catalog-drawer__contact-icon):not(.mobile-catalog-drawer__contact-sep) {
	color: var(--color-text);
	font-weight: 600;
}

.mobile-catalog-drawer__contact-sep {
	color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
	.mobile-catalog-drawer,
	.mobile-catalog-drawer__panel,
	.mobile-catalog-drawer__backdrop,
	.mobile-catalog-drawer__item,
	.mobile-catalog-drawer__contact {
		transition: none !important;
	}

	.mobile-catalog-drawer__item,
	.mobile-catalog-drawer__contact {
		opacity: 1;
		transform: none;
	}

	.mobile-catalog-drawer:not(.is-open):not(.is-closing) .mobile-catalog-drawer__item,
	.mobile-catalog-drawer:not(.is-open):not(.is-closing) .mobile-catalog-drawer__contact {
		opacity: 0;
	}
}

@media (max-width: 1200px) {
	.home-products-section .post-grid,
	.home-products-section .wc-product-grid { grid-template-columns: repeat(4, 1fr); }
	.pillars-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
	.home-intro-grid,
	.home-dual-grid,
	.home-dual-grid--triple { grid-template-columns: 1fr; }
	.home-products-section .post-grid,
	.home-products-section .wc-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.home-products-section .post-grid,
	.home-products-section .wc-product-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-section--home { min-height: 420px; padding: 80px 0; }
	.showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.service-projects-grid { grid-template-columns: 1fr; }
	.service-entry-title { font-size: 24px; }
}

@media (max-width: 767px) {
	.project-showcase-section .showcase-scroll {
		overflow-x: visible;
		padding-bottom: 0;
	}

	.project-showcase-section .showcase-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		min-width: 0;
	}

	.project-showcase-section .showcase-card {
		min-width: 0;
		width: 100%;
	}
}

/* ===== SERVICE PAGE ===== */
.single-service .site-main { padding-top: 32px; }

.service-page-layout { margin-bottom: 48px; }

.service-entry-header { margin-bottom: 28px; }

.service-entry-title {
	font-size: 30px;
	font-weight: 700;
	color: var(--color-gold);
	line-height: 1.25;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.service-lead {
	font-size: 17px;
	line-height: 1.75;
	color: var(--color-text);
	margin: 0;
}

.service-entry-content h2 {
	font-size: 22px;
	color: var(--color-accent);
	margin: 32px 0 16px;
	text-transform: uppercase;
}

.service-entry-content h3 {
	font-size: 20px;
	color: var(--color-heading);
	margin: 28px 0 14px;
}

.service-entry-content h4 {
	font-size: 17px;
	color: var(--color-heading);
	margin: 20px 0 10px;
}

.service-entry-content p,
.service-entry-content li {
	font-size: 16px;
	line-height: 1.8;
}

.service-entry-content ul,
.service-entry-content ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

/* Material accordion */
.service-accordion {
	margin: 20px 0 32px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-elevated);
}

.service-accordion-lead {
	margin: 0;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--color-muted);
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-border);
}

.service-accordion-item + .service-accordion-item {
	border-top: 1px solid var(--color-border);
}

.service-accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 18px;
	border: none;
	background: var(--color-elevated);
	color: var(--color-heading);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
}

.service-accordion-trigger:hover,
.service-accordion-item.is-open .service-accordion-trigger {
	background: rgba(230, 126, 34, 0.08);
	color: var(--color-accent);
}

.service-accordion-icon::after {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-bg);
	color: var(--color-primary);
	font-size: 18px;
	font-weight: 700;
}

.service-accordion-item.is-open .service-accordion-icon::after {
	content: '−';
}

.service-accordion-panel {
	display: none;
	padding: 0 18px 18px;
}

.service-accordion-item.is-open .service-accordion-panel {
	display: block;
}

.service-accordion-body p:last-child,
.service-accordion-body ul:last-child {
	margin-bottom: 0;
}

/* Service projects grid */
.service-projects-section {
	padding: 48px 0 56px;
	background: var(--color-bg-sage);
}

.service-projects-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-heading);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 32px;
}

.service-group-projects .service-projects-title,
.service-projects-section .service-projects-title {
	color: var(--color-gold);
}

.service-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.service-projects-grid--animated .service-project-card {
	opacity: 0;
	transform: translateY(16px);
	animation: project-card-in 0.55s ease forwards;
	animation-delay: var(--card-delay, 0s);
}

.service-project-card--demo {
	border: 1px dashed var(--color-border);
}

.service-project-card {
	background: var(--color-elevated);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
}

.service-project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.service-project-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-border);
	position: relative;
}

.service-project-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(51, 51, 51, 0.3) 100%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.service-project-card:hover .service-project-thumb::after {
	opacity: 1;
}

.service-project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.service-project-card:hover .service-project-thumb img {
	transform: scale(1.04);
}

.service-project-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: linear-gradient(135deg, #fff8f3, #f5f5f5);
}

.service-project-body { padding: 18px; }

.service-project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.service-project-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--color-accent);
	text-transform: uppercase;
}

.service-project-tag::before {
	content: '';
	width: 12px;
	height: 10px;
	background: currentColor;
	opacity: 0.25;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 7h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-project-title {
	font-size: 17px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.service-project-title a {
	color: var(--color-heading);
	text-decoration: none;
}

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

.service-project-excerpt {
	font-size: 14px;
	color: var(--color-subtext);
	margin: 0;
	line-height: 1.6;
}

.service-projects-more {
	text-align: center;
	margin-top: 32px;
}

.service-projects-empty {
	text-align: center;
	color: var(--color-subtext);
	font-size: 15px;
	line-height: 1.65;
}

/* Service sidebar */
.sidebar--service .widget-title {
	margin: 0 0 14px;
}

.service-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.service-related-list li + li {
	margin-top: 8px;
}

.service-related-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--color-text);
	transition: background 0.15s ease, color 0.15s ease;
}

.service-related-link:hover {
	background: var(--color-bg-sage);
	color: var(--color-accent);
}

.service-related-thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.service-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.service-related-label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.widget-service-cta {
	background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
	color: #fff;
	border-radius: var(--radius);
	padding: 20px !important;
}

.widget-service-cta .widget-title {
	color: #fff;
	border-color: rgba(232, 93, 4, 0.55);
}

.service-cta-text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.service-cta-btn {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	margin-bottom: 10px;
}

.service-cta-contact {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
}

.service-cta-contact:hover {
	color: #fff;
}

/* Service demo gallery */
.service-demo-gallery {
	margin: 0 0 32px;
}

.service-demo-gallery__hero {
	margin: 0 0 12px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-sage);
	position: relative;
}

.service-demo-gallery__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.service-demo-gallery__hero figcaption,
.service-demo-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.service-demo-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.service-demo-gallery__item {
	margin: 0;
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	background: var(--color-bg-sage);
	position: relative;
}

.service-demo-gallery__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.service-demo-gallery__item:hover img {
	transform: scale(1.04);
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.service-demo-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
}

.sidebar--service .sidebar-search-form {
	display: flex;
	gap: 8px;
}

.sidebar--service .sidebar-search-form .search-field {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: inherit;
}

.sidebar--service .sidebar-search-form .search-submit {
	padding: 10px 16px;
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	font-weight: 600;
	cursor: pointer;
}

.sidebar-quick-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-quick-links li {
	padding: 10px 0;
	border-bottom: 1px dashed var(--color-border);
}

.sidebar-quick-links li:last-child { border-bottom: none; }

.sidebar-quick-links a {
	color: var(--color-text);
	font-size: 14px;
	text-decoration: none;
}

.sidebar-quick-links a:hover { color: var(--color-accent); }

.widget-login .login-username,
.widget-login .login-password {
	margin-bottom: 12px;
}

.widget-login label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--color-text);
}

.widget-login input[type="text"],
.widget-login input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: inherit;
}

.widget-login .login-submit {
	width: 100%;
	padding: 11px;
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius);
	font-weight: 700;
	cursor: pointer;
	margin-top: 8px;
}

.widget-login .login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	margin: 8px 0;
}

.widget-login-lost {
	margin: 12px 0 0;
	font-size: 13px;
	text-align: center;
}

.widget-login-lost a { color: var(--color-muted); }

/* ===== SERVICE GROUP LANDING (Thi công quảng cáo / xây dựng) ===== */
.tax-dich_vu_nhom .site-main {
	padding: 0;
}

.service-group-page {
	padding: 0;
	background: var(--color-elevated);
	color: var(--color-text);
}

.service-group-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(280px, 42vw, 420px);
	width: 100vw;
	max-width: 100vw;
	margin: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	background: #1f242a;
	text-align: center;
}

.service-group-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.03);
}

.service-group-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(18, 22, 26, 0.42) 0%, rgba(18, 22, 26, 0.55) 48%, rgba(18, 22, 26, 0.72) 100%);
	pointer-events: none;
}

.service-group-hero__inner {
	position: relative;
	z-index: 1;
	width: min(920px, calc(100% - 40px));
	padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}

.service-group-hero__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4.5vw, 48px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.service-group-hero__subtitle {
	margin: 0;
	font-size: clamp(15px, 1.7vw, 18px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.service-group-body {
	position: relative;
	z-index: 2;
	padding-top: 0;
	padding-bottom: 8px;
}

.service-group-lead-card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
	align-items: stretch;
	gap: 0;
	margin-top: clamp(-56px, -7vw, -40px);
	margin-bottom: clamp(36px, 5vw, 52px);
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(20, 24, 28, 0.12);
}

.service-group-lead-card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 3.5vw, 40px) clamp(22px, 3vw, 36px);
}

.service-group-lead-card__title {
	margin: 0 0 14px;
	font-size: clamp(20px, 2.3vw, 26px);
	font-weight: 800;
	line-height: 1.35;
	color: var(--color-heading);
}

.service-group-lead-card__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--color-subtext);
}

.service-group-lead-card__media {
	margin: 0;
	min-height: 100%;
	background: #e9edf1;
}

.service-group-lead-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.service-group-intro {
	text-align: center;
	margin-bottom: 40px;
}

.service-group-intro__title,
.service-group-page .page-title {
	font-size: clamp(24px, 3vw, 32px);
	color: var(--color-accent);
	margin: 0 0 16px;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1.35;
}

.service-group-intro__text {
	font-size: 16px;
	color: var(--color-subtext);
	max-width: 820px;
	margin: 0 auto;
	line-height: 1.75;
}

@media (max-width: 900px) {
	.service-group-lead-card {
		grid-template-columns: 1fr;
		margin-top: -36px;
	}

	.service-group-lead-card__media {
		order: -1;
		max-height: 240px;
	}

	.service-group-lead-card__media img {
		min-height: 220px;
		max-height: 240px;
	}
}

@media (max-width: 640px) {
	.service-group-hero {
		min-height: 240px;
	}

	.service-group-hero__inner {
		padding: 40px 0 72px;
	}

	.service-group-lead-card {
		border-radius: 8px;
	}
}

.service-group-services {
	margin-bottom: 48px;
}

.service-group-services__grid,
.service-group-page .services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}

.service-group-services__item,
.service-group-page .service-item {
	background: var(--color-bg);
	border-left: 4px solid var(--color-accent);
	padding: 15px 18px;
	border-radius: 0 var(--radius) var(--radius) 0;
	transition: background var(--transition), transform var(--transition);
}

.service-group-services__item a,
.service-group-page .service-item a {
	color: var(--color-heading);
	text-decoration: none;
	font-weight: 700;
	display: block;
	line-height: 1.45;
}

.service-group-services__item:hover,
.service-group-page .service-item:hover {
	background: var(--color-accent);
	transform: translateY(-2px);
}

.service-group-services__item:hover a,
.service-group-page .service-item:hover a {
	color: var(--color-on-accent);
}

.service-group-materials {
	margin-bottom: 48px;
	background: var(--color-bg-sage);
	padding: 30px;
	border-radius: var(--radius);
}

.service-group-materials__title {
	font-size: clamp(20px, 2.4vw, 24px);
	color: var(--color-heading);
	margin: 0 0 20px;
	font-weight: 700;
}

.service-group-accordion {
	margin: 0;
}

.service-group-projects {
	padding-top: 8px;
	padding-bottom: 56px;
	background: transparent;
}

.service-projects-header {
	text-align: center;
	margin: 0 0 28px;
}

.service-group-projects .service-projects-title {
	display: inline-block;
	width: auto;
	max-width: 100%;
	text-align: center;
	color: var(--color-gold);
	border-bottom: 2px solid var(--color-accent);
	padding-bottom: 10px;
	margin: 0 0 14px;
}

.service-projects-desc {
	margin: 0 auto;
	max-width: 720px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-subtext);
}

.service-group-projects .service-projects-tabs {
	justify-content: center;
	margin-bottom: 28px;
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.service-group-projects .service-projects-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		gap: 8px;
		margin-right: calc(var(--container-padding) * -1);
		margin-left: calc(var(--container-padding) * -1);
		padding-right: var(--container-padding);
		padding-left: var(--container-padding);
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		justify-content: flex-start;
	}

	.service-group-projects .service-projects-tabs::-webkit-scrollbar {
		display: none;
	}

	.service-group-projects .service-projects-tabs .showcase-tab {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: start;
	}
}

.service-project-card.is-hidden {
	display: none;
}

.service-group-projects .service-project-tag {
	color: var(--color-accent);
}

.service-group-projects .service-project-title a:hover {
	color: var(--color-accent);
}

.service-group-projects .service-project-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 992px) {
	.service-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.service-group-materials {
		padding: 22px 18px;
	}
}

@media (max-width: 576px) {
	.service-group-services__grid,
	.service-group-page .services-grid {
		grid-template-columns: 1fr;
	}

	.service-projects-grid { grid-template-columns: 1fr; }
}

/* ===== NEWS / BLOG — WIRED-inspired editorial layout ===== */
.news-page {
	padding: 0;
	background: var(--color-surface);
}

.news-page.site-main,
.news-page--wired {
	padding: 0;
}

/* Masthead */
.news-masthead {
	background: var(--color-brand-navy);
	color: var(--color-on-accent);
	padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
	border-bottom: 3px solid var(--color-accent);
}

.news-masthead__inner {
	max-width: 920px;
}

.news-masthead__brand {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-on-accent) 65%, transparent);
}

.news-masthead__title {
	margin: 0 0 14px;
	font-family: var(--font-main);
	font-size: clamp(30px, 4.2vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-on-accent);
	letter-spacing: -0.015em;
}

.news-masthead__desc {
	margin: 0;
	max-width: 38em;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.65;
	color: color-mix(in srgb, var(--color-on-accent) 78%, transparent);
}

/* Section labels (WIRED "Today's Picks" style) */
.news-section-label {
	margin: 0 0 clamp(24px, 3vw, 32px);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--color-heading);
	font-family: var(--font-main);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-heading);
	text-transform: none;
	letter-spacing: -0.01em;
}

/* Today's picks */
.news-picks {
	padding: clamp(40px, 5vw, 64px) 0;
	background: var(--color-bg-sage);
	border-bottom: 1px solid var(--color-border);
}

.news-picks__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
}

.news-picks__stack {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--color-border);
}

/* Lead + compact pick cards */
.news-pick--lead {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.news-pick__media {
	display: block;
	overflow: hidden;
	border-radius: 2px;
	background: var(--color-elevated);
	aspect-ratio: 16 / 9;
}

.news-pick__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.news-pick--lead:hover .news-pick__img {
	transform: scale(1.03);
}

.news-pick__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.news-pick__eyebrow--sm {
	font-size: 10px;
	margin-bottom: 4px;
}

.news-pick__title {
	margin: 0 0 12px;
	font-family: var(--font-main);
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.news-pick__title a {
	color: var(--color-heading);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

.news-pick__excerpt {
	margin: 0 0 14px;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-subtext);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-pick__byline {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-muted);
}

.news-pick__byline--sm {
	font-size: 12px;
}

.news-pick--compact {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--color-border);
	align-items: start;
}

.news-pick__thumb {
	display: block;
	overflow: hidden;
	border-radius: 2px;
	background: var(--color-elevated);
	aspect-ratio: 4 / 3;
}

.news-pick__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.news-pick--compact:hover .news-pick__thumb-img {
	transform: scale(1.05);
}

.news-pick__compact-title {
	margin: 0 0 6px;
	font-family: var(--font-main);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.news-pick__compact-title a {
	color: var(--color-heading);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

/* Main + rail layout */
.news-layout {
	padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 6vw, 80px);
}

.news-layout__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}

.news-layout__rail {
	align-self: start;
	min-width: 0;
}

.news-layout__main {
	min-width: 0;
}

/* Sidebar rail */
.news-rail {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

@media (min-width: 1101px) {
	.news-layout__rail {
		position: sticky;
		top: calc(var(--header-height) + 20px);
		max-height: calc(100vh - var(--header-height) - 40px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}
}

body.admin-bar .news-layout__rail {
	top: calc(var(--header-height) + 20px + 32px);
	max-height: calc(100vh - var(--header-height) - 40px - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .news-layout__rail {
		top: calc(var(--header-height) + 20px + 46px);
		max-height: calc(100vh - var(--header-height) - 40px - 46px);
	}
}

.news-rail__block {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--color-border);
}

.news-rail__block:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.news-rail__block--projects.widget {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
}

.news-rail__block--projects .widget-title {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-heading);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-accent);
}

.news-rail__block--projects .dual-list-item:last-child {
	border-bottom: none;
}

.news-rail__block--projects .dual-list-link:hover .dual-list-text strong {
	color: var(--color-accent);
}

.news-rail__title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-heading);
}

.news-rail-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.news-rail-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.news-rail-item__thumb {
	display: block;
	overflow: hidden;
	border-radius: 2px;
	background: var(--color-bg-sage);
	aspect-ratio: 4 / 3;
}

.news-rail-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-rail-item__link {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--color-heading);
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-rail-item__link:hover {
	color: var(--color-accent);
}

.news-rail-item__date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--color-muted);
}

.news-rail-item--text {
	display: block;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--color-border);
}

.news-rail-item--text:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.news-rail-item__cat {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.news-rail-item--product {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border);
}

.news-rail-item--product:last-child {
	border-bottom: 0;
}

/* Legacy hero (kept for category views) */
.news-hero {
	background: var(--color-brand-navy);
	color: var(--color-on-accent);
	padding: clamp(48px, 7vw, 88px) 0;
}

.news-hero__grid {
	max-width: 720px;
}

.news-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-on-accent) 72%, transparent);
}

.news-hero__rule {
	display: block;
	width: 2px;
	height: 56px;
	margin: 0 0 18px;
	background: linear-gradient(180deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 15%, transparent));
}

.news-hero__title {
	margin: 0 0 16px;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-on-accent);
	text-transform: none;
	letter-spacing: -0.01em;
}

.news-hero__desc {
	margin: 0;
	max-width: 34em;
	font-size: 16px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-on-accent) 78%, transparent);
	font-weight: 500;
}

.news-body {
	padding: clamp(48px, 6vw, 80px) 0;
}

.news-body__header {
	max-width: 720px;
	margin: 0 0 32px;
}

.news-body__eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.news-body__title {
	margin: 0;
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-heading);
}

.news-content-wrapper {
	display: block;
}

.news-main {
	width: 100%;
	min-width: 0;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}

.news-grid--wired {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-grid--home {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	padding-top: 4px;
	border-top: 1px solid var(--color-border);
}

.news-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 2px;
	background: var(--color-bg-sage);
	margin-top: 14px;
}

.news-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

.news-card__img--demo {
	object-fit: cover;
}

.news-card:hover .news-card__img {
	transform: scale(1.04);
}

.news-card__body {
	padding: 14px 0 0;
}

.news-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.news-card__cat {
	color: var(--color-accent);
}

.news-card__title {
	margin: 0 0 10px;
	font-family: var(--font-main);
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.005em;
}

.news-card__title a {
	color: var(--color-heading);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

.news-card__excerpt {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--color-subtext);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-heading);
	text-decoration: none;
	transition: color 0.2s ease, gap 0.2s ease;
}

.news-card__more:hover {
	color: var(--color-accent);
	gap: 10px;
}

.news-empty {
	text-align: center;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.7;
	padding: 24px 0;
}

.news-pagination {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.sidebar--blog .widget {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 22px;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
}

.sidebar--blog .widget-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-heading);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-accent, #e67e22);
}

.sidebar--blog .widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar--blog .widget-list li {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--color-border);
	font-size: 14px;
	line-height: 1.5;
}

.sidebar--blog .widget-list li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sidebar--blog .widget-list a {
	color: var(--color-heading);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sidebar--blog .widget-list a:hover {
	color: var(--color-accent, #e67e22);
}

.sidebar--blog .widget-list span {
	display: block;
	font-size: 12px;
	color: var(--color-muted);
	margin-top: 5px;
	font-weight: 400;
}

/* Homepage press + articles */
.home-news-section {
	padding: 0;
	background: transparent;
}

.home-press-section {
	background: #162849;
	color: #ffffff;
	padding: clamp(56px, 7vw, 96px) 0;
}

.home-press__top {
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.home-press__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.home-press__rule {
	display: block;
	width: 2px;
	height: 56px;
	margin: 0 0 18px;
	background: linear-gradient(180deg, var(--color-accent, #e67e22), rgba(230, 126, 34, 0.15));
}

.home-press__title {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	text-shadow: none;
	-webkit-font-smoothing: antialiased;
}

.home-press__desc {
	margin: 0;
	max-width: 34em;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.home-press__articles-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.home-press__articles-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
}

.home-press__articles-link {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent, #e67e22);
	text-decoration: none;
}

.home-press__articles-link:hover {
	color: #ffffff;
}

/* Horizontal peek carousel (Nhật ký hành trình — ngang) */
.home-press-carousel {
	--hp-gap: 1.15rem;
	position: relative;
	min-width: 0;
	padding: 0 44px 36px;
}

.home-press-viewport {
	position: relative;
	overflow: hidden;
	height: clamp(470px, 54vw, 540px);
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.home-press-track {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	height: 100%;
	gap: var(--hp-gap);
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.home-press-slide {
	flex: 0 0 auto;
	flex-shrink: 0;
	height: 100%;
	box-sizing: border-box;
	opacity: 0.32;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.home-press-slide.is-near {
	opacity: 0.55;
}

.home-press-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.home-press-slide.is-active .news-card__more,
.home-press-slide.is-active .news-card__title a,
.home-press-slide.is-active .news-card__media {
	position: relative;
	z-index: 3;
	pointer-events: auto;
	cursor: pointer;
}

.home-press-slide__inner {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	transform: scale(0.96);
	transform-origin: center center;
	transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
	overflow: hidden;
}

.home-press-slide.is-active .home-press-slide__inner {
	transform: scale(1);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.home-press-slide .news-card {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	height: 100%;
	min-height: 0;
	border-top: none;
	padding-top: 0;
}

.home-press-slide .news-card__media {
	position: relative;
	display: block;
	width: 100%;
	min-height: 0;
	height: 100%;
	aspect-ratio: unset;
	max-height: none;
	border-radius: 8px;
	overflow: hidden;
	margin-top: 0;
}

.home-press-slide .news-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-press-slide .news-card__body {
	padding: 12px 2px 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
}

.home-press-slide .news-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	text-shadow: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.home-press-slide .news-card__cat {
	color: #e67e22;
	flex-shrink: 0;
}

.home-press-slide .news-card__meta > span[aria-hidden="true"] {
	color: rgba(255, 255, 255, 0.35);
	font-weight: 400;
	letter-spacing: 0;
}

.home-press-slide .news-card__meta time {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.home-press-slide .news-card__title {
	margin: 0 0 6px;
	font-size: clamp(15px, 1.45vw, 18px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	color: #ffffff;
	/* Avoid -webkit-box on the heading itself — causes ghosted white text in Chrome. */
	display: block;
	overflow: hidden;
}

.home-press-slide .news-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #ffffff !important;
	text-shadow: none !important;
	-webkit-text-stroke: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: geometricPrecision;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.home-press-slide .news-card__excerpt {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.5;
	opacity: 1;
	visibility: visible;
	max-height: none;
}

.home-press-slide .news-card__more {
	margin-top: 0;
	align-self: flex-start;
}

.home-press-nav {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-top: -19px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #445;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-press-nav--prev {
	left: 0;
}

.home-press-nav--next {
	right: 0;
}

.home-press-nav:hover {
	background: var(--color-accent, #e67e22);
	border-color: var(--color-accent, #e67e22);
	color: #fff;
}

.home-press-dots {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	z-index: 3;
}

.home-press-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.home-press-dot.is-active {
	background: var(--color-accent, #e67e22);
	transform: scale(1.35);
}

@media (max-width: 720px) {
	.home-press-carousel {
		padding: 0 32px 30px;
	}

	.home-press-viewport {
		height: min(72vh, 460px);
		height: min(72dvh, 460px);
	}

	.home-press-slide__inner {
		padding: 10px;
	}

	.home-press-slide .news-card__body {
		padding: 10px 2px 0;
	}

	.home-press-slide .news-card__title {
		font-size: 15px;
		line-height: 1.35;
		-webkit-line-clamp: 2;
	}

	.home-press-slide .news-card__excerpt {
		font-size: 12.5px;
		line-height: 1.45;
		-webkit-line-clamp: 2;
		margin: 0 0 8px;
	}

	.home-press-nav {
		width: 34px;
		height: 34px;
		margin-top: -17px;
	}
}

.home-press-section .news-card__title a {
	color: #ffffff;
	text-shadow: none;
}

.home-press-section .news-card__title a:hover {
	color: var(--color-accent, #e67e22);
}

.home-press-section .news-card__meta {
	color: rgba(255, 255, 255, 0.55);
	text-shadow: none;
}

.home-press-section .news-card__cat {
	color: #e67e22;
}

.home-press-section .news-card__excerpt {
	color: rgba(255, 255, 255, 0.7);
}

.home-press-section .news-card__more {
	color: rgba(255, 255, 255, 0.9);
}

.home-press-section .news-card__more:hover {
	color: var(--color-accent, #e67e22);
}

.home-press-section .news-card__media {
	background: rgba(255, 255, 255, 0.08);
}

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

	.news-picks__grid {
		grid-template-columns: 1fr;
	}

	.news-layout__inner {
		grid-template-columns: 1fr;
	}

	.news-layout__rail {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.news-rail {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 24px;
	}
}

@media (max-width: 992px) {
	.news-grid,
	.news-grid--home,
	.news-grid--wired {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.news-page {
		padding: 0;
	}

	.news-masthead,
	.news-hero,
	.home-press-section {
		padding-left: 0;
		padding-right: 0;
	}

	.news-picks,
	.news-layout,
	.news-body {
		padding-top: 40px;
		padding-bottom: 48px;
	}
}

/* ===== PROFILE COMPANY PAGE ===== */
.profile-company-page {
	background: var(--color-surface);
}

.profile-company-page.site-main,
.profile-company-page {
	padding: 0;
}

.profile-section-title {
	font-size: clamp(22px, 2.8vw, 30px);
	font-weight: 700;
	color: var(--color-gold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
	margin: 0 0 18px;
	line-height: 1.35;
}

/* Hero */
.profile-hero-section {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
	background-color: var(--color-section-tint);
	border-bottom: 1px solid var(--color-border);
}

.profile-hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../images/home-intro/bg-pattern.svg');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.9;
	pointer-events: none;
}

.profile-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
	gap: clamp(28px, 4vw, 40px);
	align-items: center;
}

.profile-hero-title {
	font-size: clamp(30px, 3.8vw, 42px);
	font-weight: 700;
	color: var(--color-gold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 22px;
	line-height: 1.2;
}

.profile-hero-intro {
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.85;
}

.profile-hero-intro p {
	margin: 0 0 14px;
}

.profile-hero-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 0;
}

.profile-hero-visual .home-intro-visual {
	max-width: min(100%, 560px);
	margin: 0 auto;
}

/* Trust grid */
.profile-trust-section {
	padding: 64px 0;
	background: var(--color-surface);
}

.profile-trust-title {
	margin-bottom: 36px;
}

.profile-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}

.profile-trust-col {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.profile-trust-brand {
	text-align: center;
	padding: 18px 12px;
}

.profile-trust-logo {
	display: inline-block;
	width: 56px;
	height: 56px;
	border: 3px solid var(--color-accent);
	border-radius: 8px;
	margin-bottom: 10px;
	position: relative;
}

.profile-trust-logo::before,
.profile-trust-logo::after {
	content: '';
	position: absolute;
	background: var(--color-primary-dark);
}

.profile-trust-logo::before {
	width: 18px;
	height: 18px;
	left: 8px;
	top: 8px;
}

.profile-trust-logo::after {
	width: 18px;
	height: 18px;
	right: 8px;
	bottom: 8px;
	background: var(--color-accent);
}

.profile-trust-brand-name {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--color-heading);
}

.profile-trust-media {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-elevated);
}

.profile-trust-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.profile-trust-media--team img {
	aspect-ratio: 16/11;
}

.profile-trust-stat {
	text-align: center;
	padding: 8px 0;
}

.profile-trust-stat__number {
	display: block;
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 700;
	color: var(--color-heading);
	line-height: 1;
	margin-bottom: 6px;
}

.profile-trust-stat__label {
	font-size: 15px;
	color: var(--color-subtext);
}

.profile-trust-quote {
	margin: 0;
	padding: 18px 16px;
	position: relative;
}

.profile-trust-quote__mark {
	display: block;
	font-size: 48px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.15);
	font-family: Georgia, serif;
	margin-bottom: -8px;
}

.profile-trust-quote p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	font-style: italic;
	color: var(--color-gold);
}

/* Projects masonry */
.profile-projects-section {
	padding: 64px 0 80px;
	background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg-sage) 100%);
}

.profile-projects-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 36px;
}

.profile-projects-desc {
	margin: 0;
	color: var(--color-subtext);
	font-size: 15px;
	line-height: 1.75;
}

.profile-projects-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.profile-projects-grid__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-elevated);
	transition: transform var(--transition), box-shadow var(--transition);
}

.profile-projects-grid__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.profile-projects-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===== PROFILE JOURNEY (NHẬT KÝ HÀNH TRÌNH) — dsgn.vn vertical peek ===== */
.profile-journey-section {
	--pj-gap: 1.15rem;
	padding: clamp(56px, 7vw, 96px) 0;
	background: var(--color-surface);
	color: var(--color-text);
}

.profile-journey-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.profile-journey-intro {
	position: sticky;
	top: 112px;
	padding-top: 8px;
}

.profile-journey-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-accent, #e67e22);
}

.profile-journey-title {
	margin: 0 0 18px;
	color: var(--color-heading);
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.25;
	text-align: left;
	text-transform: none;
	letter-spacing: -0.01em;
	font-weight: 700;
}

.profile-journey-desc {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--color-subtext);
	max-width: 36em;
}

.profile-journey-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 0;
	border-radius: 4px;
	background: var(--color-accent, #e67e22);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter 0.2s ease;
}

.profile-journey-cta:hover {
	filter: brightness(1.05);
	color: #ffffff;
}

.profile-journey-carousel {
	position: relative;
	min-width: 0;
	padding: 0 28px;
}

.profile-journey-viewport {
	position: relative;
	overflow: hidden;
	height: clamp(420px, 62vh, 640px);
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}

.profile-journey-track {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: var(--pj-gap);
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profile-journey-card {
	flex: 0 0 auto;
	flex-shrink: 0;
	width: 100%;
	box-sizing: border-box;
	opacity: 0.28;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.profile-journey-card.is-near {
	opacity: 0.42;
}

.profile-journey-card.is-active {
	opacity: 1;
	pointer-events: auto;
}

.profile-journey-card__inner {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: clamp(22px, 3vw, 40px);
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	overflow: hidden;
	transform: scale(0.97);
	transform-origin: center center;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-journey-card.is-active .profile-journey-card__inner {
	transform: scale(1);
	box-shadow: 0 16px 36px rgba(17, 17, 17, 0.1);
}

.profile-journey-card__mark {
	position: absolute;
	top: 16px;
	right: 20px;
	width: clamp(44px, 5.5vw, 68px);
	height: clamp(44px, 5.5vw, 68px);
	color: var(--color-accent, #e67e22);
	opacity: 0.85;
	pointer-events: none;
}

.profile-journey-card__quote {
	margin: 0;
	padding: 0 48px 0 0;
	border: 0;
	position: relative;
	z-index: 1;
}

.profile-journey-card__quote p {
	margin: 0;
	font-size: clamp(15px, 1.3vw, 17px);
	line-height: 1.75;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-line-clamp: 8;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.profile-journey-card__bottom {
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
	z-index: 1;
}

.profile-journey-card__author {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.profile-journey-card__avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #ddd;
}

.profile-journey-card__avatar--empty {
	display: inline-block;
	background: linear-gradient(135deg, #ececec, #d0d0d0);
}

.profile-journey-card__meta {
	min-width: 0;
}

.profile-journey-card__name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-heading);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.profile-journey-card__location {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--color-muted);
}

.profile-journey-nav {
	position: absolute;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: var(--color-elevated);
	color: var(--color-muted);
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.profile-journey-nav--prev {
	top: 10px;
}

.profile-journey-nav--next {
	bottom: 10px;
	top: auto;
}

.profile-journey-nav:hover {
	background: var(--color-accent, #e67e22);
	border-color: var(--color-accent, #e67e22);
	color: #ffffff;
}

.profile-journey-dots {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
}

.profile-journey-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.28);
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.profile-journey-dot.is-active {
	background: var(--color-accent, #e67e22);
	transform: scale(1.35);
}

@media (max-width: 1024px) {
	.profile-hero-grid {
		grid-template-columns: 1fr;
	}

	.profile-hero-visual {
		max-width: 520px;
		margin: 0 auto;
	}

	.profile-trust-grid {
		grid-template-columns: 1fr 1fr;
	}

	.profile-trust-col--center {
		grid-column: 1 / -1;
	}

	.profile-projects-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.profile-journey-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.profile-journey-intro {
		position: static;
		text-align: center;
		max-width: 640px;
		margin: 0 auto;
	}

	.profile-journey-title {
		text-align: center;
	}

	.profile-journey-desc {
		margin-left: auto;
		margin-right: auto;
	}

	.profile-journey-carousel {
		padding: 0 40px 36px;
	}

	.profile-journey-viewport {
		height: clamp(360px, 58vh, 480px);
		min-height: 0;
		aspect-ratio: auto;
		max-height: none;
		touch-action: none;
	}

	.profile-journey-track {
		flex-direction: row;
		height: 100%;
		width: 100%;
	}

	.profile-journey-card {
		height: 100%;
	}

	.profile-journey-card__quote {
		padding-right: 36px;
	}

	.profile-journey-card__quote p {
		-webkit-line-clamp: 7;
	}

	.profile-journey-card__mark {
		width: 44px;
		height: 44px;
		top: 14px;
		right: 14px;
	}

	.profile-journey-card__avatar {
		width: 52px;
		height: 52px;
	}

	.profile-journey-nav {
		top: 50%;
		bottom: auto;
		margin-left: 0;
		transform: translateY(-50%);
	}

	.profile-journey-nav--prev {
		left: 0;
		top: 50%;
	}

	.profile-journey-nav--next {
		left: auto;
		right: 0;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
	}

	.profile-journey-nav--prev svg {
		transform: rotate(-90deg);
	}

	.profile-journey-nav--next svg {
		transform: rotate(-90deg);
	}

	.profile-journey-dots {
		display: flex;
		flex-direction: row;
		right: auto;
		left: 50%;
		top: auto;
		bottom: 0;
		transform: translateX(-50%);
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.profile-hero-section,
	.profile-trust-section,
	.profile-projects-section,
	.profile-journey-section {
		padding-left: 0;
		padding-right: 0;
	}

	.profile-hero-section { padding-top: 36px; padding-bottom: 48px; }
	.profile-trust-section { padding-top: 44px; padding-bottom: 44px; }
	.profile-projects-section { padding-bottom: 56px; }
	.profile-journey-section { padding-top: 48px; padding-bottom: 56px; }

	.profile-float-card {
		max-width: 180px;
		padding: 10px 12px;
	}

	.profile-float-card__label { font-size: 11px; }

	.profile-trust-grid {
		grid-template-columns: 1fr;
	}

	.profile-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.profile-projects-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== CAREERS / TUYỂN DỤNG PAGE ===== */
.page-template-page-tuyen-dung .site-main,
.page-template-page-profile-company .site-main,
.page-template-page-gioi-thieu .site-main,
.page-template-page-lien-he .site-main {
	padding: 0;
}

.careers-page {
	padding: 0;
	background: var(--color-bg-sage);
	color: var(--color-text);
}

.careers-section-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-accent, #e67e22);
}

.careers-section-eyebrow--on-dark {
	color: rgba(255, 255, 255, 0.7);
}

.careers-section-title {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 850;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--color-heading);
}

.careers-section-desc {
	margin: 12px 0 0;
	max-width: 40em;
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-subtext);
}

.careers-section-head {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.careers-section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}

.careers-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 4px;
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.careers-btn--sm { padding: 10px 16px; font-size: 12px; }
.careers-btn--lg { padding: 14px 26px; font-size: 14px; }

.careers-btn--accent {
	background: var(--color-accent, #e67e22);
	color: #ffffff;
}
.careers-btn--accent:hover { filter: brightness(1.06); color: #ffffff; }

.careers-btn--navy {
	background: #162849;
	color: #ffffff;
}
.careers-btn--navy:hover { background: #1f355c; color: #ffffff; }

.careers-btn--light {
	background: var(--color-elevated);
	color: var(--color-heading);
}
.careers-btn--light:hover { background: var(--color-accent, #e67e22); color: #ffffff; }

.careers-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #ffffff;
}
.careers-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; }

.careers-btn--ghost-dark {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-heading);
}
.careers-btn--ghost-dark:hover {
	border-color: var(--color-accent, #e67e22);
	color: var(--color-accent, #e67e22);
}

/* Split hero */
.careers-hero__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: min(88vh, 760px);
}

.careers-hero__panel {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	overflow: hidden;
	color: #ffffff;
}

.careers-hero__media {
	position: absolute;
	inset: 0;
}

.careers-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.02);
	transition: transform 0.8s ease;
}

.careers-hero__panel:hover .careers-hero__media img {
	transform: scale(1.06);
}

.careers-hero__panel--build .careers-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22,40,73,0.25) 0%, rgba(22,40,73,0.88) 78%);
}

.careers-hero__panel--ads .careers-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(230,126,34,0.15) 0%, rgba(26,18,10,0.82) 78%);
}

.careers-hero__content {
	position: relative;
	z-index: 1;
	padding: clamp(28px, 4vw, 48px);
	max-width: 34rem;
}

.careers-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.85;
}

.careers-hero__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.careers-hero__desc {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.86);
}

.careers-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.careers-hero__bar {
	background: #162849;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.careers-hero__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
}

.careers-hero__bar-text {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.82);
}

.careers-hero__bar-link {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent, #e67e22);
	text-decoration: none;
}

.careers-hero__bar-link:hover { color: #ffffff; }

/* Strengths */
.careers-strengths {
	padding: clamp(56px, 7vw, 88px) 0;
	background: var(--color-surface);
}

.careers-strengths__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.careers-strength-card {
	padding: 28px 24px;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: var(--color-elevated);
}

.careers-strength-card__mark {
	display: block;
	width: 36px;
	height: 4px;
	margin-bottom: 18px;
	background: var(--color-accent, #e67e22);
}

.careers-strength-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 850;
	line-height: 1.25;
	color: var(--color-heading);
}

.careers-strength-card__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-subtext);
}

/* Tabs */
.careers-tabs {
	display: inline-flex;
	gap: 6px;
	padding: 4px;
	background: color-mix(in srgb, var(--color-heading) 6%, transparent);
	border-radius: 999px;
}

.careers-tabs__btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--color-heading);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.careers-tabs__btn.is-active {
	background: var(--color-brand-navy);
	color: #ffffff;
}

.careers-tabs__btn:hover:not(.is-active) {
	background: color-mix(in srgb, var(--color-heading) 8%, transparent);
}

/* Projects grid */
.careers-projects {
	padding: clamp(56px, 7vw, 88px) 0;
	background: var(--color-bg-sage);
}

.careers-projects__panel[hidden] { display: none !important; }
.careers-positions__panel[hidden] { display: none !important; }

.careers-projects__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: minmax(180px, 22vw);
	gap: 12px;
}

.careers-project-card {
	grid-column: span 4;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #dfe3ea;
	min-height: 180px;
}

.careers-project-card--wide {
	grid-column: span 6;
}

.careers-project-card__link {
	display: block;
	height: 100%;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.careers-project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

.careers-project-card:hover img {
	transform: scale(1.05);
}

.careers-project-card__overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 18px 16px;
	background: linear-gradient(180deg, transparent, rgba(22,40,73,0.88));
}

.careers-project-card__title {
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.3;
}

.careers-projects__footer {
	margin-top: 28px;
	text-align: center;
}

.careers-empty {
	margin: 0;
	padding: 28px;
	text-align: center;
	color: var(--color-muted);
	background: var(--color-elevated);
	border-radius: 10px;
	border: 1px dashed var(--color-border);
}

/* Positions */
.careers-positions {
	padding: clamp(56px, 7vw, 88px) 0;
	background: var(--color-surface);
}

.careers-job-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.careers-job {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 22px;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: var(--color-elevated);
}

.careers-job__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 850;
	color: var(--color-heading);
}

.careers-job__meta {
	margin: 0 0 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-muted);
}

.careers-job__summary {
	margin: 0;
	max-width: 46em;
	font-size: 14px;
	line-height: 1.65;
	color: var(--color-subtext);
}

/* Process */
.careers-process {
	padding: clamp(56px, 7vw, 88px) 0;
	background: #162849;
	color: #ffffff;
}

.careers-process .careers-section-title {
	color: #ffffff;
}

.careers-process__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.careers-process__item {
	padding: 22px 18px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 10px;
	background: rgba(255,255,255,0.04);
}

.careers-process__num {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--color-accent, #e67e22);
}

.careers-process__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 850;
	color: #ffffff;
}

.careers-process__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255,255,255,0.72);
}

/* CTA */
.careers-cta {
	padding: clamp(48px, 6vw, 72px) 0;
	background: linear-gradient(135deg, #101c33 0%, #162849 55%, #1f355c 100%);
	color: #ffffff;
}

.careers-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.careers-cta__title {
	margin: 0 0 10px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 900;
	line-height: 1.15;
	color: #ffffff;
}

.careers-cta__desc {
	margin: 0;
	max-width: 38em;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255,255,255,0.78);
}

@media (max-width: 1024px) {
	.careers-hero__split { grid-template-columns: 1fr; min-height: 0; }
	.careers-strengths__grid { grid-template-columns: 1fr; }
	.careers-process__grid { grid-template-columns: 1fr 1fr; }
	.careers-project-card,
	.careers-project-card--wide { grid-column: span 6; }
}

@media (max-width: 640px) {
	.careers-process__grid { grid-template-columns: 1fr; }
	.careers-projects__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.careers-project-card,
	.careers-project-card--wide { grid-column: span 1; }
	.careers-hero__panel { min-height: 460px; }
}


/* ===== ABOUT PAGE (GIỚI THIỆU) ===== */
.about-page.site-main,
.about-page {
	padding: 0;
	background: var(--color-surface);
}

.about-section-title {
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	color: var(--color-heading);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 28px;
}

.about-section-title--center {
	text-align: center;
}

.about-section-title--gold {
	color: var(--color-gold);
}

/* Hero banner */
.about-hero {
	position: relative;
	min-height: 280px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.about-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(51, 51, 51, 0.82), rgba(51, 51, 51, 0.65));
}

.about-hero__inner {
	position: relative;
	z-index: 1;
	padding: 72px 0;
	text-align: center;
}

.about-hero__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Intro */
.about-intro-section {
	padding: 64px 0;
	background: var(--color-bg);
}

.about-intro-grid {
	display: grid;
	grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
	gap: 40px;
	align-items: start;
}

.about-video-wrap {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow);
	aspect-ratio: 16 / 10;
	background: #000;
}

.about-video-wrap iframe,
.about-video-wrap img {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
}

.about-video-wrap.about-video-wrap--poster {
	aspect-ratio: auto;
	background: var(--color-surface);
}

.about-video-wrap--poster img {
	height: auto;
	object-fit: contain;
}

.about-intro-title {
	font-size: clamp(24px, 3vw, 30px);
	color: var(--color-gold);
	margin: 0 0 18px;
	text-transform: uppercase;
}

.about-intro-text {
	color: var(--color-text);
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 20px;
}

.about-intro-subtitle {
	font-size: 17px;
	margin: 0 0 12px;
	color: var(--color-heading);
}

.about-intro-list {
	margin: 0 0 18px;
	padding-left: 20px;
	color: var(--color-text);
	line-height: 1.75;
}

.about-intro-foot {
	margin: 0;
	color: var(--color-subtext);
	font-size: 15px;
	line-height: 1.7;
}

/* Values */
.about-values {
	padding: 64px 0;
	background: linear-gradient(135deg, #333333 0%, #d35400 55%, #e67e22 100%);
	position: relative;
	overflow: hidden;
	color: #ffffff;
}

.about-values::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.08;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><rect width="80" height="80" fill="none" stroke="white" stroke-width="1"/></svg>');
	pointer-events: none;
}

.about-values-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr);
	gap: 40px;
	align-items: center;
}

.about-values-heading {
	font-size: 20px;
	color: #f5b041;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.about-values-block {
	margin-bottom: 28px;
}

.about-values-block p {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.75;
	font-size: 15px;
}

.about-mission-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.about-mission-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 1.65;
}

.about-mission-list li::before {
	content: '✦';
	position: absolute;
	left: 0;
	color: #f5b041;
}

.about-values-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.about-values-logo__mark {
	font-size: clamp(120px, 18vw, 200px);
	font-weight: 700;
	line-height: 1;
	color: var(--color-accent);
	font-family: var(--font-brand);
	text-shadow: 0 8px 32px rgba(230, 126, 34, 0.3);
}

.about-values-logo__text {
	margin-top: 12px;
	font-size: 18px;
	font-weight: 600;
	color: #f5b041;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Why choose us */
.about-why {
	padding: 64px 0;
	background: var(--color-surface);
}

.about-why-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.about-why-card {
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.about-why-card__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	margin-bottom: 18px;
	position: relative;
}

.about-why-card__icon::after {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
}

.about-why-card__icon--blue { background: #2f6fed; }
.about-why-card__icon--blue::after { content: '👥'; }
.about-why-card__icon--green { background: #2e9e5b; }
.about-why-card__icon--green::after { content: '💡'; }
.about-why-card__icon--orange { background: #e07a2f; }
.about-why-card__icon--orange::after { content: '🏭'; }

.about-why-card__title {
	font-size: 18px;
	margin: 0 0 12px;
	color: var(--color-heading);
}

.about-why-card__desc {
	margin: 0;
	font-size: 14px;
	color: var(--color-subtext);
	line-height: 1.7;
}

/* Team */
.about-team {
	padding: 64px 0;
	background: var(--color-bg);
}

.about-team-subtitle {
	text-align: center;
	margin: -16px 0 36px;
	color: var(--color-subtext);
	font-size: 15px;
}

.about-team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.about-team-card {
	text-align: center;
}

.about-team-card__frame {
	position: relative;
	margin: 0 auto 16px;
	max-width: 220px;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: linear-gradient(145deg, #1e6f8f 0%, #2a9d8f 100%);
	padding: 12px;
}

.about-team-card__frame::before {
	content: '';
	position: absolute;
	inset: 10px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	pointer-events: none;
}

.about-team-card__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.about-team-card__name {
	margin: 0 0 6px;
	font-size: 17px;
	color: var(--color-heading);
}

.about-team-card__role {
	margin: 0;
	font-size: 14px;
	color: var(--color-subtext);
}

/* Company gallery mosaic */
.about-gallery {
	padding: 64px 0;
	background: var(--color-surface);
}

.about-gallery-subtitle {
	text-align: center;
	margin: -16px 0 32px;
	color: var(--color-subtext);
}

.about-gallery-mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: minmax(140px, 1fr) minmax(140px, 1fr) auto;
	gap: 12px;
}

.about-gallery-mosaic__item {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	transition: transform var(--transition), box-shadow var(--transition);
}

.about-gallery-mosaic__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.about-gallery-mosaic__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-gallery-mosaic__item--wide {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	min-height: 280px;
}

.about-gallery-mosaic__item--tall {
	grid-column: 3;
	grid-row: 1 / 3;
}

.about-gallery-mosaic__item--stack-a {
	grid-column: 4;
	grid-row: 1;
}

.about-gallery-mosaic__item--stack-b {
	grid-column: 4;
	grid-row: 2;
}

.about-gallery-mosaic__item--b1 { grid-column: 1; grid-row: 3; aspect-ratio: 4/3; }
.about-gallery-mosaic__item--b2 { grid-column: 2; grid-row: 3; aspect-ratio: 4/3; }
.about-gallery-mosaic__item--b3 { grid-column: 3; grid-row: 3; aspect-ratio: 4/3; }
.about-gallery-mosaic__item--b4 { grid-column: 4; grid-row: 3; aspect-ratio: 4/3; }

/* Partners */
.about-partners {
	padding: 64px 0 80px;
	background: var(--color-bg);
}

.about-partners-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	align-items: center;
}

.about-partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 88px;
	padding: 14px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-elevated);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.about-partner-logo:hover {
	border-color: color-mix(in srgb, var(--color-accent) 35%, var(--color-border));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.about-partner-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.about-partner-logo img {
	display: block;
	max-width: 100%;
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.about-partner-logo span {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	color: var(--color-heading);
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
	.about-intro-grid,
	.about-values-grid {
		grid-template-columns: 1fr;
	}

	.about-why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* iPad / tablet: team 2×2 */
	.about-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.about-team-card__frame {
		max-width: 240px;
	}

	.about-partners-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.about-gallery-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.about-gallery-mosaic__item--wide,
	.about-gallery-mosaic__item--tall,
	.about-gallery-mosaic__item--stack-a,
	.about-gallery-mosaic__item--stack-b,
	.about-gallery-mosaic__item--b1,
	.about-gallery-mosaic__item--b2,
	.about-gallery-mosaic__item--b3,
	.about-gallery-mosaic__item--b4 {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 4 / 3;
		min-height: 0;
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.about-hero__inner {
		padding: 48px 0;
	}

	.about-intro-section,
	.about-values,
	.about-why,
	.about-team,
	.about-gallery,
	.about-partners {
		padding: 48px 0;
	}

	.about-why-grid,
	.about-partners-grid,
	.about-gallery-mosaic {
		grid-template-columns: 1fr;
	}

	/* Team 2×2 — iPad / tablet touch (incl. landscape) */
	.about-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.about-team-card__frame {
		max-width: 100%;
		padding: 8px;
	}

	.about-team-card__name {
		font-size: 14px;
	}

	.about-team-card__role {
		font-size: 12px;
	}
}

/* ===== CONTACT PAGE ===== */
.contact-page {
	--contact-surface: var(--color-bg-sage);
	--contact-card: var(--color-elevated);
	--contact-heading: var(--color-heading);
	--contact-text: var(--color-text);
	--contact-muted: var(--color-muted);
	--contact-line: var(--color-border);
	--contact-accent: var(--color-accent);
	--contact-accent-dark: var(--color-accent-dark);
}

/* Hero + cards wrapper */
.contact-intro {
	position: relative;
	background: var(--color-surface);
}

.contact-hero {
	position: relative;
	min-height: 340px;
	background-size: cover;
	background-position: center top;
	background-color: #8a7a50;
}

.contact-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.38);
}

.contact-hero__inner {
	position: relative;
	z-index: 1;
	padding: 80px 0 160px;
	text-align: center;
}

.contact-hero__title {
	margin: 0;
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #ffffff;
	text-transform: uppercase;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.contact-offices {
	position: relative;
	z-index: 2;
	margin-top: -130px;
	padding-bottom: 48px;
	background: transparent;
}

.contact-offices__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	max-width: 960px;
	margin: 0 auto;
}

.contact-office-card {
	background: var(--contact-card);
	border-radius: 2px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	padding: 44px 36px 40px;
	text-align: center;
}

.contact-office-card__icon {
	width: 90px;
	height: 90px;
	margin: 0 auto 22px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-office-card__icon::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--contact-accent);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.contact-office-card__icon::after {
	content: '';
	position: absolute;
	inset: 4px;
	background: var(--color-surface);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.contact-office-card__icon svg {
	position: relative;
	z-index: 1;
	width: 42px;
	height: 42px;
}

.contact-office-card__title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: var(--contact-heading);
	line-height: 1.45;
}

.contact-office-card__address {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--contact-text);
}

.contact-office-card__email {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.5;
}

.contact-office-card__email a {
	color: var(--contact-heading);
	text-decoration: none;
	font-weight: 500;
}

.contact-office-card__email a:hover {
	color: var(--contact-accent);
}

.contact-office-card__phone {
	display: inline-block;
	min-width: 190px;
	padding: 11px 28px;
	background: var(--contact-accent);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.contact-office-card__phone:hover {
	background: #e0a52e;
	color: #ffffff;
}

.contact-form-section {
	background: var(--contact-surface);
	padding: 16px 0 72px;
}

.contact-form-section__inner {
	max-width: 720px;
}

.contact-form-section__title {
	margin: 0 0 40px;
	text-align: center;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--contact-heading);
	text-transform: uppercase;
}

.contact-form--styled .contact-form__row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 8px;
}

.contact-form--styled .contact-form__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--contact-line);
	padding-bottom: 8px;
}

.contact-form--styled .contact-form__field--textarea {
	align-items: flex-start;
}

.contact-form--styled .contact-form__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--contact-muted);
}

.contact-form--styled .contact-form__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.contact-form--styled input,
.contact-form--styled textarea {
	flex: 1;
	width: 100%;
	border: none;
	background: transparent;
	padding: 8px 0;
	font-family: inherit;
	font-size: 15px;
	color: var(--contact-heading);
	outline: none;
	box-shadow: none;
}

.contact-form--styled input::placeholder,
.contact-form--styled textarea::placeholder {
	color: var(--contact-muted);
}

.contact-form--styled textarea {
	resize: vertical;
	min-height: 80px;
}

.contact-form--styled .contact-form__actions {
	text-align: center;
	margin-top: 12px;
}

.contact-form--styled .contact-form__submit {
	display: inline-block;
	min-width: 200px;
	padding: 14px 40px;
	border: none;
	border-radius: 2px;
	background: var(--contact-accent-dark);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form--styled .contact-form__submit:hover {
	background: #e07018;
	transform: translateY(-1px);
}

.contact-page .contact-notice {
	border-radius: 4px;
	margin-bottom: 24px;
}

.contact-maps {
	background: var(--color-bg-sage);
	padding: 0 0 64px;
}

.contact-maps__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.contact-map {
	overflow: hidden;
	border-radius: 2px;
	box-shadow: var(--shadow);
	background: var(--color-elevated);
}

.contact-map__info {
	padding: 16px 20px;
	border-bottom: 1px solid var(--color-border);
}

.contact-map__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--contact-heading);
	line-height: 1.4;
}

.contact-map__address {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--contact-text);
}

.contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

@media (max-width: 992px) {
	.contact-offices__grid,
	.contact-maps__grid {
		grid-template-columns: 1fr;
	}

	.contact-offices__grid {
		max-width: 480px;
		margin: 0 auto;
	}

	.contact-hero__inner {
		padding: 64px 0 140px;
	}

	.contact-offices {
		margin-top: -110px;
	}
}

@media (max-width: 1024px), (max-width: 1366px) and (hover: none) and (pointer: coarse) {
	.contact-form--styled .contact-form__row--2col {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-office-card {
		padding: 32px 24px;
	}

	.contact-map__frame iframe {
		height: 320px;
	}
}

/* ——— Product single (catalog detail) ——— */
.product-single {
	padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 96px);
	background:
		radial-gradient(ellipse 80% 40% at 10% 0%, color-mix(in srgb, var(--color-accent) 8%, transparent), transparent 55%),
		linear-gradient(180deg, var(--color-bg-sage) 0%, var(--color-surface) 28%);
}

.product-single__container {
	max-width: 1100px;
}

.product-single__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0 0 28px;
	font-size: 13px;
	color: var(--color-muted);
}

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

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

.product-single__breadcrumb-sep {
	opacity: 0.5;
}

.product-single__breadcrumb-current {
	color: var(--color-heading);
	font-weight: 500;
}

.product-single__header {
	margin-bottom: 28px;
}

.product-single__cat {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product-single__cat a {
	color: var(--color-accent);
	text-decoration: none;
}

.product-single__title {
	margin: 0 0 14px;
	font-family: var(--font-main);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--color-heading);
}

.product-single__intro {
	margin: 0;
	max-width: 52rem;
	font-size: 17px;
	line-height: 1.7;
	color: var(--color-subtext);
}

.product-single__hero {
	margin: 0 0 32px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-bg-sage);
	box-shadow: 0 12px 40px rgba(51, 51, 51, 0.08);
}

.product-single__hero-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.product-single__desc-label {
	display: flex;
	margin: 0 0 20px;
	border-bottom: 1px solid var(--color-border);
}

.product-single__desc-label span {
	display: inline-block;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-on-accent);
	background: var(--color-accent);
	border-radius: 6px 6px 0 0;
}

.product-single__body.entry-content {
	font-size: 17px;
	line-height: 1.8;
	color: #2a2a2a;
	margin-bottom: 48px;
}

.product-single__body.entry-content .product-single__lead,
.product-single__body.entry-content > p:first-of-type {
	font-size: 18px;
	line-height: 1.75;
}

.product-single__body.entry-content h2 {
	margin: 1.8em 0 0.65em;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 800;
	line-height: 1.3;
	color: var(--color-heading);
}

.product-single__body.entry-content ul {
	margin: 0.6em 0 1.2em;
	padding-left: 1.25em;
}

.product-single__body.entry-content li {
	margin-bottom: 0.45em;
}

.product-single__section-title {
	margin: 0 0 20px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	color: var(--color-heading);
}

.product-single__gallery {
	margin: 0 0 56px;
}

.product-single__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.product-single__gallery-item {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--color-bg-sage);
}

.product-single__gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.product-single__gallery-item:hover img {
	transform: scale(1.04);
}

.product-single__related {
	margin: 0 0 56px;
}

.product-single__related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	align-items: stretch;
}

.product-single__related-grid .product-catalog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--color-elevated);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
}

.product-single__related-grid .product-catalog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.product-single__related-grid .product-catalog-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-bg-sage);
	flex-shrink: 0;
}

.product-single__related-grid .product-catalog-card__media img,
.product-single__related-grid .product-catalog-card__img,
.product-single__related-grid .product-catalog-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.product-single__related-grid .product-catalog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	padding: 12px 14px 16px;
	min-height: 88px;
}

.product-single__related-grid .product-catalog-card__title {
	margin: 0;
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	min-height: 2.8em;
	color: var(--color-accent);
}

.product-single__related-grid .product-catalog-card__title > span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-single__related-grid .product-catalog-card__title-icon {
	flex-shrink: 0;
	margin-top: 2px;
}

.product-single__related-grid .product-catalog-card__cat {
	margin: 0;
	padding-left: 20px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--color-muted);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-single__related-grid .product-catalog-card:hover .product-catalog-card__title,
.product-single__related-grid .product-catalog-card__link:focus-visible .product-catalog-card__title {
	color: var(--color-accent-dark);
}

.product-single__cta {
	margin: 0;
	padding: 36px 28px;
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(51, 51, 51, 0.96), rgba(68, 68, 68, 0.92)),
		var(--color-primary-dark);
	color: #fff;
}

.product-single__cta-title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 800;
	color: #fff;
}

.product-single__cta-text {
	margin: 0 0 22px;
	max-width: 40rem;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}

.product-single__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.product-single__cta .btn-outline-accent {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
	background: transparent;
}

.product-single__cta .btn-outline-accent:hover {
	background: var(--color-elevated);
	color: var(--color-heading);
	border-color: #fff;
}

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

	.product-single__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.product-single__gallery-grid {
		grid-template-columns: 1fr;
	}

	.product-single__related-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.product-single__cta {
		padding: 28px 20px;
	}

	.product-single__cta-actions {
		flex-direction: column;
	}

	.product-single__cta-actions .btn {
		width: 100%;
		text-align: center;
	}
}


/* ===== DARK MODE — blog sidebar / tin tức ===== */
.article-single__body.entry-content blockquote {
	font-family: var(--font-main);
}

/* ===== Typography — tin tức / bài viết (tiếng Việt) ===== */
.news-page,
.news-page .news-rail,
.article-single,
.article-single__aside {
	font-family: var(--font-main);
}

.news-rail__title,
.news-rail-item__link,
.dual-list-text strong,
.article-aside-card__title,
.article-aside-item__link {
	font-family: var(--font-main);
}

html[data-theme="dark"] .news-page {
	background: var(--color-bg);
}

html[data-theme="dark"] .news-masthead {
	background: var(--color-topbar);
	border-bottom-color: var(--color-accent);
}

html[data-theme="dark"] .news-picks {
	background: var(--color-bg-sage);
}

html[data-theme="dark"] .news-section-label {
	border-bottom-color: var(--color-heading);
	color: var(--color-heading);
}

html[data-theme="dark"] .news-rail__block,
html[data-theme="dark"] .news-pick--compact,
html[data-theme="dark"] .news-rail-item--text,
html[data-theme="dark"] .news-rail-item--product {
	border-color: var(--color-border);
}

html[data-theme="dark"] .news-card {
	border-top-color: var(--color-border);
}

html[data-theme="dark"] .article-single__aside .article-aside-card,
html[data-theme="dark"] .article-single__aside .article-aside-card--products {
	background: #1b2129 !important;
	border: 1px solid #445062 !important;
	color: #e8ecf2 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .article-single__aside .article-aside-card__title,
html[data-theme="dark"] .article-single__aside .article-aside-item__link,
html[data-theme="dark"] .article-single__aside .article-aside-product__title {
	color: #f7f8fa !important;
}

html[data-theme="dark"] .article-single__aside .article-aside-item__cat,
html[data-theme="dark"] .article-single__aside .article-aside-product__title:hover,
html[data-theme="dark"] .article-single__aside .article-aside-item__link:hover {
	color: var(--color-accent) !important;
}

html[data-theme="dark"] .article-single__aside .article-aside-product__cat,
html[data-theme="dark"] .article-single__aside .article-aside-product__cat-icon {
	color: #b4bcc8 !important;
}

html[data-theme="dark"] .article-single__aside .article-aside-item,
html[data-theme="dark"] .article-single__aside .article-aside-product {
	border-color: #445062 !important;
}

html[data-theme="dark"] .article-single__aside .article-aside-item__media,
html[data-theme="dark"] .article-single__aside .article-aside-product__thumb,
html[data-theme="dark"] .article-single__aside .article-aside-item__placeholder {
	background: #151a21 !important;
}

html[data-theme="dark"] .sidebar--blog .widget {
	background: #1b2129 !important;
	border-color: #445062 !important;
	color: #e8ecf2 !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .sidebar--blog .widget-title,
html[data-theme="dark"] .sidebar--blog .widget-list a {
	color: #f7f8fa !important;
}

html[data-theme="dark"] .sidebar--blog .widget-list span,
html[data-theme="dark"] .sidebar--blog .widget-list li {
	color: #b4bcc8;
	border-color: #445062 !important;
}

/* ===== Mobile catalog drawer — chỉ rõ hơn (light + dark) ===== */
html[data-theme="dark"] .mobile-catalog-drawer__panel {
	background: var(--color-bg);
}

html[data-theme="dark"] .mobile-catalog-drawer__header {
	background: var(--color-elevated);
	border-color: var(--color-border);
}

html[data-theme="dark"] .mobile-catalog-drawer__tagline {
	color: var(--color-subtext);
}

html[data-theme="dark"] .mobile-catalog-drawer__close {
	color: var(--color-heading);
}

html[data-theme="dark"] .mobile-catalog-drawer__link,
html[data-theme="dark"] .mobile-service-drawer__landing .mobile-catalog-drawer__link {
	background: var(--color-elevated);
	color: var(--color-heading);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .mobile-catalog-drawer__link-icon {
	color: var(--color-subtext);
}

html[data-theme="dark"] .mobile-catalog-drawer__link-arrow {
	color: var(--color-muted);
}

html[data-theme="dark"] .mobile-catalog-drawer__contact {
	background: var(--color-elevated);
	border-color: var(--color-border);
}

html[data-theme="dark"] .mobile-catalog-drawer__contact-title,
html[data-theme="dark"] .mobile-catalog-drawer__contact-list a {
	color: var(--color-heading);
}

html[data-theme="dark"] .mobile-catalog-drawer__contact-list,
html[data-theme="dark"] .mobile-catalog-drawer__contact-list li > span:not(.mobile-catalog-drawer__contact-icon):not(.mobile-catalog-drawer__contact-sep) {
	color: var(--color-text);
}

html[data-theme="dark"] .mobile-bottom-nav__bar {
	--mobile-nav-shell-bg: #242a33;
	--mobile-nav-label-idle: rgba(255, 255, 255, 0.68);
	--mobile-nav-label-active: var(--color-accent);
	--mobile-nav-liquid-bg: var(--color-accent);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .mobile-bottom-nav__liquid-circle {
	background: var(--mobile-nav-liquid-bg);
	box-shadow: 0 8px 22px rgba(242, 154, 63, 0.35);
}

html[data-theme="dark"] .mobile-nav-item.is-active .mobile-nav-icon,
html[data-theme="dark"] .mobile-nav-item.is-drawer-open .mobile-nav-icon,
html[data-theme="dark"] .mobile-nav-item:has(.is-drawer-open) .mobile-nav-icon {
	color: var(--color-on-accent);
}

/* ===== DARK MODE — đồng bộ toàn site ===== */
html[data-theme="dark"] .home-intro-section::before,
html[data-theme="dark"] .profile-hero-section::before {
	opacity: 0.35;
}

html[data-theme="dark"] .profile-journey-dot {
	background: color-mix(in srgb, var(--color-heading) 28%, transparent);
}

html[data-theme="dark"] .profile-journey-dot.is-active {
	background: var(--color-accent);
}

html[data-theme="dark"] .profile-journey-card__avatar--empty {
	background: linear-gradient(135deg, var(--color-border), var(--color-bg-sage));
}

html[data-theme="dark"] .home-shorts-nav {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-heading);
}

html[data-theme="dark"] .home-shorts-nav:hover:not(:disabled) {
	background: var(--color-surface);
	border-color: var(--color-accent);
	color: var(--color-accent);
}

html[data-theme="dark"] .search-page-body,
html[data-theme="dark"] .search-page-hero {
	background: var(--color-bg);
	color: var(--color-text);
}

html[data-theme="dark"] .search-page-form__field {
	background: var(--color-elevated);
	border-color: var(--color-border);
	color: var(--color-heading);
}

html[data-theme="dark"] .page-template-page-lien-he .site-main,
html[data-theme="dark"] .contact-page {
	background: var(--color-bg);
	color: var(--color-text);
}

html[data-theme="dark"] .careers-process,
html[data-theme="dark"] .careers-cta,
html[data-theme="dark"] .news-hero,
html[data-theme="dark"] .about-values {
	color: #ffffff;
}

html[data-theme="dark"] body {
	background: var(--color-bg);
	color: var(--color-text);
}
