/*
Theme Name: Xây Nhà Hà Nội Pro
Theme URI: https://xaynhahanoi.com.vn
Author: Xây Nhà Hà Nội
Author URI: https://xaynhahanoi.com.vn
Description: Giao diện WordPress chuyên nghiệp cho Công ty Xây Dựng & Sửa Nhà tại Hà Nội — Bố cục rõ ràng, lịch sự, quản trị 100% trong Admin.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: xaynhahanoi
*/

:root {
	--xnhn-topbar-bg: #0f2f52;
	--xnhn-primary: #123962;
	--xnhn-accent: #d96b16;
	--xnhn-accent-hover: #bf5b0e;
	--xnhn-nav-text: #1e293b;
	--xnhn-nav-hover: #d96b16;
	--xnhn-footer-bg: #16283b;
	--xnhn-footer-bottom: #0f1d2c;
	--xnhn-text: #22262c;
	--xnhn-muted: #5a6472;
	--xnhn-bg-light: #f5f7fa;
	--xnhn-border: #e3e7ed;
	--xnhn-container: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--xnhn-text);
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

/* =========================================================
   HEADER & DESKTOP MENU (Chuẩn 1 hàng, Dropdown mượt không lệch)
   ========================================================= */
.xnhn-site-header {
	position: relative;
	z-index: 999;
	background: #ffffff;
	border-bottom: 1px solid var(--xnhn-border);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.xnhn-site-header.is-sticky {
	position: sticky;
	top: 0;
}

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

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

/* Topbar */
.xnhn-topbar {
	background: var(--xnhn-topbar-bg);
	color: #ffffff;
	padding: 8px 0;
	font-size: 13.5px;
}

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

.xnhn-topbar-contacts {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.xnhn-topbar-contacts li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.94);
}

.xnhn-topbar-contacts li i {
	color: #f59e0b;
	font-size: 13px;
}

.xnhn-topbar-contacts li a:hover {
	color: #fbbf24;
}

.xnhn-topbar-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.xnhn-search-trigger {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	color: #ffffff;
	cursor: pointer;
	font-size: 13px;
	padding: 4px 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.xnhn-search-trigger:hover {
	background: var(--xnhn-accent);
	border-color: var(--xnhn-accent);
}

.xnhn-topbar-socials {
	display: flex;
	align-items: center;
	gap: 12px;
}

.xnhn-topbar-socials a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13.5px;
}

.xnhn-topbar-socials a:hover {
	color: #fbbf24;
}

/* Main Navigation Bar */
.xnhn-navbar {
	background: #ffffff;
}

.xnhn-navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
}

.xnhn-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 8px 0;
}

.xnhn-logo img {
	height: var(--xnhn-logo-height, 44px);
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.xnhn-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.xnhn-logo-brand {
	font-size: 19px;
	font-weight: 800;
	color: var(--xnhn-primary);
}

.xnhn-logo-tagline {
	font-size: 11px;
	font-weight: 600;
	color: var(--xnhn-accent);
	text-transform: uppercase;
}

/* Desktop Menu — Strictly 1 Row, Clean Dropdowns */
.xnhn-main-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
}

.xnhn-menu {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.xnhn-menu > li {
	position: relative;
	white-space: nowrap;
}

.xnhn-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 22px 11px;
	font-size: 15px;
	font-weight: 700;
	color: var(--xnhn-nav-text);
	line-height: 1.3;
	white-space: nowrap;
}

.xnhn-menu > li:hover > a,
.xnhn-menu > li.current-menu-item > a,
.xnhn-menu > li.current-menu-ancestor > a {
	color: var(--xnhn-nav-hover);
}

/* Pure CSS Chevron (không phụ thuộc icon font, không bao giờ lỗi ô vuông) */
.xnhn-menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg);
	margin-top: -2px;
	transition: transform 0.2s ease;
}

.xnhn-menu > li.menu-item-has-children:hover > a::after {
	transform: rotate(225deg);
	margin-top: 2px;
}

/* Dropdown Submenu Level 2 */
.xnhn-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 235px;
	background: #ffffff;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	border: 1px solid var(--xnhn-border);
	border-top: 3px solid var(--xnhn-accent);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 1000;
}

/* Prevent right-most dropdowns from overflowing screen */
.xnhn-menu > li:nth-last-child(-n+2) > .sub-menu {
	left: auto;
	right: 0;
}

/* Invisible hover bridge so cursor never drops hover state */
.xnhn-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

.xnhn-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.xnhn-menu .sub-menu li {
	position: relative;
	border-bottom: 1px solid #f1f4f8;
	white-space: normal;
}

.xnhn-menu .sub-menu li:last-child {
	border-bottom: none;
}

.xnhn-menu .sub-menu a {
	display: block;
	padding: 10px 16px;
	font-size: 14.5px;
	font-weight: 500;
	color: #22262c;
	line-height: 1.4;
}

.xnhn-menu .sub-menu a:hover,
.xnhn-menu .sub-menu li.current-menu-item > a {
	color: var(--xnhn-nav-hover);
	background: #f8fafc;
}

/* Level 3 Nested Submenu */
.xnhn-menu .sub-menu .sub-menu {
	top: -6px;
	left: 100%;
	border-radius: 6px;
}

/* Mobile Menu Button & Close Button */
.xnhn-mobile-toggle {
	display: none;
	background: #f8fafc;
	border: 1px solid var(--xnhn-border);
	border-radius: 4px;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--xnhn-primary);
	cursor: pointer;
	flex-shrink: 0;
}

.xnhn-mobile-close {
	display: none;
}

.xnhn-nav-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	z-index: 9999;
}

.xnhn-nav-backdrop.is-open {
	display: block;
}

/* Search Modal */
.xnhn-search-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 29, 44, 0.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.22s ease;
	padding: 20px;
}

.xnhn-search-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.xnhn-search-close {
	position: absolute;
	top: 28px;
	right: 32px;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 34px;
	cursor: pointer;
}

.xnhn-search-modal form {
	width: 100%;
	max-width: 640px;
	position: relative;
}

.xnhn-search-modal input[type="search"] {
	width: 100%;
	background: #ffffff;
	border: none;
	border-radius: 6px;
	color: #1e293b;
	font-size: 18px;
	padding: 16px 56px 16px 18px;
	outline: none;
}

.xnhn-search-modal button[type="submit"] {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--xnhn-accent);
	border: none;
	border-radius: 4px;
	width: 42px;
	height: 42px;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
}

/* =========================================================
   SECTION 1: HERO BANNER & THANH KẾT NỐI NỔI (Thanh thoát, liền mạch)
   ========================================================= */
.xnhn-hero-section {
	position: relative;
	background: #ffffff;
}

.xnhn-hero-slider {
	position: relative;
	overflow: hidden;
	height: max(470px, var(--xnhn-hero-height, 470px));
	background: #16283b;
}

.xnhn-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.65s ease, visibility 0.65s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 36px 24px 76px;
}

.xnhn-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.xnhn-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.01);
	transition: transform 5s ease;
}

.xnhn-slide.is-active .xnhn-slide-bg {
	transform: scale(1.05);
}

.xnhn-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 27, 46, 0.56) 0%, rgba(12, 27, 46, 0.68) 100%);
}

.xnhn-slide-content {
	position: relative;
	z-index: 3;
	max-width: 800px;
	color: #ffffff;
}

.xnhn-slide-badge {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 600;
	color: #fcd34d;
	margin-bottom: 12px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.xnhn-slide-title {
	font-size: clamp(25px, 3.2vw, 37px);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 14px;
	color: #ffffff;
	letter-spacing: -0.2px;
}

.xnhn-slide-subtitle {
	font-size: clamp(15px, 1.35vw, 17px);
	color: rgba(255, 255, 255, 0.9);
	margin: 0 auto 26px;
	max-width: 670px;
	line-height: 1.65;
	font-weight: 400;
}

.xnhn-slide-btns {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.xnhn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 6px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.xnhn-btn-primary {
	background: var(--xnhn-accent);
	color: #ffffff !important;
	box-shadow: 0 6px 16px rgba(217, 107, 22, 0.24);
}

.xnhn-btn-primary:hover {
	background: var(--xnhn-accent-hover);
	transform: translateY(-1px);
}

.xnhn-btn-outline-light {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.65);
}

.xnhn-btn-outline-light:hover {
	background: #ffffff;
	color: var(--xnhn-primary) !important;
	border-color: #ffffff;
}

.xnhn-slider-arrow {
	position: absolute;
	top: 46%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.xnhn-slider-arrow:hover {
	background: var(--xnhn-accent);
	border-color: var(--xnhn-accent);
}

.xnhn-slider-prev { left: 20px; }
.xnhn-slider-next { right: 20px; }

.xnhn-slider-dots {
	position: absolute;
	bottom: 62px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 8px;
}

.xnhn-slider-dot {
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.42);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.xnhn-slider-dot.is-active {
	width: 34px;
	background: var(--xnhn-accent);
}

/* Thanh cam kết nổi kết nối giữa Hero Banner và phần Giới thiệu */
.xnhn-hero-bridge {
	position: relative;
	z-index: 6;
	margin-top: -44px;
	background: #ffffff;
	border-radius: 10px;
	padding: 22px 28px;
	box-shadow: 0 14px 36px rgba(15, 35, 60, 0.08);
	border: 1px solid rgba(226, 232, 240, 0.85);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: center;
}

.xnhn-bridge-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 16px;
	border-right: 1px solid #edf2f7;
}

.xnhn-bridge-item:last-child {
	border-right: none;
	padding-right: 0;
}

.xnhn-bridge-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #f1f5fa;
	color: var(--xnhn-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease;
}

.xnhn-bridge-icon.is-accent {
	background: rgba(217, 107, 22, 0.12);
	color: var(--xnhn-accent);
}

.xnhn-bridge-call:hover .xnhn-bridge-icon.is-accent {
	background: var(--xnhn-accent);
	color: #ffffff;
}

.xnhn-bridge-item strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin-bottom: 2px;
}

.xnhn-bridge-item span {
	display: block;
	font-size: 13.5px;
	color: var(--xnhn-muted);
	line-height: 1.4;
}

.xnhn-bridge-item .xnhn-bridge-phone {
	color: var(--xnhn-accent);
	font-weight: 600;
}

/* =========================================================
   COMMON SECTION HEADINGS & TRANSITION LINKS (Thanh thoát)
   ========================================================= */
.xnhn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.1px;
	color: var(--xnhn-accent);
	margin-bottom: 8px;
}

.xnhn-eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--xnhn-accent);
	display: inline-block;
}

.xnhn-eyebrow.is-center::after {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--xnhn-accent);
	display: inline-block;
}

.xnhn-section-header {
	text-align: center;
	margin-bottom: 42px;
}

.xnhn-section-head-split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 38px;
	flex-wrap: wrap;
}

.xnhn-heading-primary,
.xnhn-heading-purple {
	color: var(--xnhn-primary);
	font-size: clamp(22px, 2.4vw, 27px);
	font-weight: 700;
	margin: 0;
	line-height: 1.32;
	letter-spacing: -0.2px;
}

.xnhn-heading-line {
	width: 52px;
	height: 2px;
	background: var(--xnhn-accent);
	margin: 12px auto 0;
}

.xnhn-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--xnhn-primary);
	padding-bottom: 3px;
	border-bottom: 1.5px solid rgba(18, 57, 98, 0.22);
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.xnhn-link-arrow i {
	font-size: 12px;
	color: var(--xnhn-accent);
	transition: transform 0.2s ease;
}

.xnhn-link-arrow:hover {
	color: var(--xnhn-accent);
	border-bottom-color: var(--xnhn-accent);
}

.xnhn-link-arrow:hover i {
	transform: translateX(4px);
}

.xnhn-link-muted {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--xnhn-muted);
}

.xnhn-link-muted:hover {
	color: var(--xnhn-primary);
}

/* =========================================================
   SECTION 2: GIỚI THIỆU VỀ CÔNG TY (Thoáng, cân đối 2 cột)
   ========================================================= */
.xnhn-about-section {
	padding: 68px 0 64px;
	background: #ffffff;
}

.xnhn-about-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 54px;
	align-items: center;
}

.xnhn-about-heading {
	color: var(--xnhn-primary);
	font-size: clamp(23px, 2.5vw, 29px);
	font-weight: 700;
	line-height: 1.32;
	margin: 0 0 18px;
	letter-spacing: -0.2px;
}

.xnhn-about-desc {
	font-size: 15.5px;
	color: #374151;
	line-height: 1.78;
}

.xnhn-about-desc p {
	margin: 0 0 14px;
}

.xnhn-about-highlight {
	font-size: 15.5px;
	font-weight: 600;
	color: var(--xnhn-primary);
	margin: 18px 0 14px;
	padding-left: 14px;
	border-left: 3px solid var(--xnhn-accent);
	line-height: 1.55;
}

.xnhn-about-checklist {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.xnhn-about-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 15px;
	color: #334155;
	line-height: 1.55;
}

.xnhn-about-checklist li i {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(217, 107, 22, 0.12);
	color: var(--xnhn-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	font-size: 10.5px;
	flex-shrink: 0;
}

.xnhn-about-actions {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.xnhn-about-visual {
	position: relative;
	padding: 0 14px 14px 0;
}

.xnhn-about-visual::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 88%;
	height: 88%;
	background: #eef3f9;
	border-radius: 10px;
	z-index: 0;
}

.xnhn-about-image-wrap {
	position: relative;
	z-index: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 16px 36px rgba(15, 35, 60, 0.1);
}

.xnhn-about-image-wrap img {
	width: 100%;
	height: 430px;
	object-fit: cover;
}

/* =========================================================
   SECTION 3: DỊCH VỤ CHÍNH (Nền chuyển êm không viền cắt ngang)
   ========================================================= */
.xnhn-services-section {
	padding: 68px 0 74px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 9%, #f4f7fb 91%, #ffffff 100%);
}

.xnhn-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.xnhn-service-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 6px 22px rgba(15, 35, 60, 0.045);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.xnhn-service-card:hover {
	transform: translateY(-5px);
	border-color: rgba(18, 57, 98, 0.18);
	box-shadow: 0 16px 34px rgba(15, 35, 60, 0.09);
}

.xnhn-service-thumb {
	position: relative;
	height: 215px;
	overflow: hidden;
	background: #e2e8f0;
}

.xnhn-service-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.xnhn-service-card:hover .xnhn-service-thumb img {
	transform: scale(1.06);
}

.xnhn-service-body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.xnhn-service-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin: 0 0 8px;
	line-height: 1.38;
	transition: color 0.2s ease;
}

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

.xnhn-service-desc {
	font-size: 14.5px;
	color: var(--xnhn-muted);
	margin: 0 0 16px;
	line-height: 1.6;
	flex: 1;
}

.xnhn-service-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--xnhn-primary);
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
	transition: color 0.2s ease;
}

.xnhn-service-more i {
	font-size: 11.5px;
	color: var(--xnhn-accent);
	transition: transform 0.2s ease;
}

.xnhn-service-card:hover .xnhn-service-more {
	color: var(--xnhn-accent);
}

.xnhn-service-card:hover .xnhn-service-more i {
	transform: translateX(4px);
}

/* =========================================================
   SECTION 4 & 5: QUY TRÌNH TIMELINE NỐI LIỀN & DẢI THÀNH TỰU
   ========================================================= */
.xnhn-process-stats-wrap {
	padding: 56px 0 68px;
	background: #ffffff;
}

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

/* Đường kẻ mảnh nối liền 4 bước quy trình */
.xnhn-process-timeline::before {
	content: "";
	position: absolute;
	top: 34px;
	left: 12.5%;
	right: 12.5%;
	height: 1px;
	background: #d8e2ee;
	z-index: 0;
}

.xnhn-process-step {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0 8px;
}

.xnhn-process-node {
	position: relative;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	margin: 0 auto 18px;
	background: #ffffff;
	border: 1.5px solid #d5e0ec;
	color: var(--xnhn-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	box-shadow: 0 6px 18px rgba(15, 35, 60, 0.06);
	transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.xnhn-process-num {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--xnhn-accent);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
}

.xnhn-process-step:hover .xnhn-process-node {
	background: var(--xnhn-primary);
	border-color: var(--xnhn-primary);
	color: #ffffff;
	transform: translateY(-3px);
}

.xnhn-process-title {
	font-size: 16.5px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin: 0 0 8px;
	line-height: 1.4;
}

.xnhn-process-desc {
	font-size: 14.5px;
	color: var(--xnhn-muted);
	margin: 0;
	line-height: 1.62;
}

/* Dải số liệu thành tựu gọn thoáng, nối trực tiếp dưới Quy trình */
.xnhn-stats-ribbon {
	margin-top: 58px;
	padding: 34px 38px;
	background: #f6f9fc;
	border: 1px solid #e5edf5;
	border-radius: 12px;
	display: grid;
	grid-template-columns: 0.85fr 1.65fr;
	gap: 32px;
	align-items: center;
}

.xnhn-stats-ribbon-intro h2 {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	color: var(--xnhn-primary);
	line-height: 1.38;
}

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

.xnhn-stat-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-left: 20px;
	border-left: 1px solid #dce5f0;
}

.xnhn-stat-item:first-child {
	padding-left: 0;
	border-left: none;
}

.xnhn-stat-icon {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: var(--xnhn-accent);
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.xnhn-stat-number {
	font-size: 28px;
	font-weight: 700;
	color: var(--xnhn-primary);
	line-height: 1.15;
	margin-bottom: 3px;
}

.xnhn-stat-label {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--xnhn-muted);
	line-height: 1.35;
}

/* =========================================================
   SECTION 6: ĐÁNH GIÁ CỦA KHÁCH HÀNG (Nhẹ nhàng, tự nhiên)
   ========================================================= */
.xnhn-testimonials-section {
	padding: 64px 0 46px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 22%, #f4f7fb 100%);
}

.xnhn-testimonials-sub {
	font-size: 15.5px;
	color: var(--xnhn-muted);
	margin: 8px auto 0;
	max-width: 600px;
}

.xnhn-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.xnhn-testimonial-card {
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 10px;
	padding: 26px;
	box-shadow: 0 6px 20px rgba(15, 35, 60, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}

.xnhn-testimonial-stars {
	color: #eab308;
	font-size: 12.5px;
	margin-bottom: 12px;
	display: flex;
	gap: 3px;
}

.xnhn-testimonial-quote {
	font-size: 15px;
	color: #334155;
	line-height: 1.68;
	margin: 0;
}

.xnhn-testimonial-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.xnhn-testimonial-avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.xnhn-testimonial-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin: 0 0 2px;
}

.xnhn-testimonial-role {
	font-size: 13px;
	color: var(--xnhn-muted);
	margin: 0;
}

/* =========================================================
   SECTION 7: KHỐI NHẬN BÁO GIÁ NỔI (Cầu nối Đánh giá & Bài viết)
   ========================================================= */
.xnhn-quote-section {
	padding: 18px 0;
	background: #ffffff;
}

.xnhn-quote-section.has-top-blend {
	background: linear-gradient(180deg, #f4f7fb 50%, #ffffff 50%);
}

.xnhn-quote-box {
	background: var(--xnhn-primary);
	border-radius: 12px;
	padding: 38px 40px;
	color: #ffffff;
	box-shadow: 0 18px 40px rgba(18, 57, 98, 0.14);
}

.xnhn-quote-head {
	text-align: center;
	margin-bottom: 24px;
}

.xnhn-quote-box h2 {
	margin: 0 0 6px;
	font-size: clamp(20px, 2.2vw, 24px);
	font-weight: 700;
	color: #ffffff;
}

.xnhn-quote-box p {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
}

.xnhn-lead-form-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.xnhn-lead-form-grid input,
.xnhn-lead-form-grid select {
	width: 100%;
	height: 45px;
	padding: 0 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #ffffff;
	color: #1e293b;
	font-size: 14px;
	font-family: inherit;
	outline: none;
}

.xnhn-lead-form-grid button {
	height: 45px;
	padding: 0 24px;
	border-radius: 6px;
	border: none;
	background: var(--xnhn-accent);
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.xnhn-lead-form-grid button:hover {
	background: var(--xnhn-accent-hover);
	transform: translateY(-1px);
}

.xnhn-form-msg {
	margin-top: 12px;
	text-align: center;
	font-weight: 600;
	font-size: 14.5px;
}

/* =========================================================
   SECTION 8: KINH NGHIỆM & BÀI VIẾT NỔI BẬT
   ========================================================= */
.xnhn-posts-section {
	padding: 58px 0 76px;
	background: #ffffff;
}

.xnhn-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.xnhn-post-card {
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(15, 35, 60, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.xnhn-post-card:hover {
	box-shadow: 0 14px 32px rgba(15, 35, 60, 0.085);
	transform: translateY(-4px);
}

.xnhn-post-thumb {
	height: 205px;
	overflow: hidden;
	background: #e2e8f0;
}

.xnhn-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.xnhn-post-card:hover .xnhn-post-thumb img {
	transform: scale(1.05);
}

.xnhn-post-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.xnhn-post-meta {
	font-size: 12.5px;
	color: #64748b;
	margin-bottom: 6px;
}

.xnhn-post-title {
	font-size: 17.5px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin: 0 0 8px;
	line-height: 1.42;
}

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

.xnhn-post-excerpt {
	font-size: 14.5px;
	color: var(--xnhn-muted);
	margin: 0 0 16px;
	line-height: 1.6;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.xnhn-post-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--xnhn-primary);
	margin-top: auto;
}

.xnhn-post-more i {
	font-size: 11px;
	color: var(--xnhn-accent);
	transition: transform 0.2s ease;
}

.xnhn-post-card:hover .xnhn-post-more {
	color: var(--xnhn-accent);
}

.xnhn-post-card:hover .xnhn-post-more i {
	transform: translateX(4px);
}

/* =========================================================
   INNER PAGES: BREADCRUMBS, SINGLE POST, TOC, SIDEBAR
   ========================================================= */
.xnhn-breadcrumbs-bar {
	background: var(--xnhn-bg-light);
	border-bottom: 1px solid var(--xnhn-border);
	padding: 11px 0;
	font-size: 14px;
	color: var(--xnhn-muted);
}

.xnhn-breadcrumbs-bar a {
	color: var(--xnhn-primary);
	font-weight: 500;
}

.xnhn-breadcrumbs-bar a:hover {
	color: var(--xnhn-accent);
}

.xnhn-main-layout {
	padding: 36px 0 60px;
}

.xnhn-content-sidebar-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 34px;
	align-items: start;
}

.xnhn-entry-title {
	font-size: clamp(23px, 2.8vw, 30px);
	font-weight: 800;
	color: var(--xnhn-primary);
	line-height: 1.32;
	margin: 0 0 12px;
}

.xnhn-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	font-size: 13.5px;
	color: var(--xnhn-muted);
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--xnhn-border);
}

.xnhn-entry-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.xnhn-featured-media {
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 22px;
	border: 1px solid var(--xnhn-border);
}

.xnhn-featured-media img {
	width: 100%;
	max-height: 430px;
	object-fit: cover;
}

/* Auto Table of Contents */
.xnhn-toc-box {
	background: #f8fafc;
	border: 1px solid #d5dde8;
	border-left: 4px solid var(--xnhn-primary);
	border-radius: 4px;
	padding: 14px 18px;
	margin: 0 0 24px;
}

.xnhn-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	color: var(--xnhn-primary);
}

.xnhn-toc-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.75;
}

.xnhn-toc-list li.toc-h3 {
	padding-left: 18px;
}

.xnhn-toc-list a {
	color: #1f2937;
}

.xnhn-toc-list a:hover {
	color: var(--xnhn-accent);
	text-decoration: underline;
}

/* Content Typography & Tables */
.xnhn-entry-content h2 {
	color: var(--xnhn-primary);
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--xnhn-border);
}

.xnhn-entry-content h3 {
	color: #1e293b;
	font-size: 18.5px;
	font-weight: 700;
	margin: 20px 0 10px;
}

.xnhn-entry-content p,
.xnhn-entry-content li {
	font-size: 16px;
	line-height: 1.75;
	color: var(--xnhn-text);
}

.xnhn-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 15px;
}

.xnhn-entry-content table th {
	background: var(--xnhn-primary);
	color: #ffffff;
	padding: 11px 14px;
	text-align: left;
	font-weight: 700;
}

.xnhn-entry-content table td {
	padding: 10px 14px;
	border: 1px solid var(--xnhn-border);
}

.xnhn-entry-content table tr:nth-child(even) td {
	background: #f8fafc;
}

.xnhn-entry-content blockquote {
	margin: 18px 0;
	padding: 14px 18px;
	background: #f8fafc;
	border-left: 4px solid var(--xnhn-accent);
}

.xnhn-post-cta-banner {
	margin: 30px 0;
	padding: 24px;
	border-radius: 6px;
	background: var(--xnhn-primary);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.xnhn-post-cta-banner h3 {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 19px;
}

.xnhn-post-cta-banner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14.5px;
}

.xnhn-share-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 22px 0;
	padding-top: 16px;
	border-top: 1px solid var(--xnhn-border);
	flex-wrap: wrap;
}

.xnhn-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 13px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff !important;
}

.xnhn-share-fb { background: #1877f2; }
.xnhn-share-tw { background: #1e293b; }

/* =========================================================
   SIDEBAR & WIDGETS (Gọn gàng, đồng bộ, sắc nét)
   ========================================================= */
.xnhn-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 86px;
}

.xnhn-widget {
	background: #ffffff;
	border: 1px solid #dfe5ec;
	border-radius: 6px;
	padding: 18px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
	overflow: hidden;
}

/* Tiêu đề các mục ở Sidebar (bao gồm cả Widget chuẩn & Block Widget) */
.xnhn-widget-title,
.xnhn-widget .wp-block-heading,
.xnhn-widget > h2,
.xnhn-widget .wp-block-group > h2 {
	font-size: 15px;
	font-weight: 700;
	color: var(--xnhn-primary);
	background: #f8fafc;
	margin: -18px -18px 16px -18px;
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	border-left: 4px solid var(--xnhn-accent);
	text-transform: uppercase;
	letter-spacing: 0.25px;
	line-height: 1.35;
}

/* Ô tìm kiếm chuẩn 1 dòng (.xnhn-search-form & .wp-block-search) */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.xnhn-search-form {
	margin: 0;
}

.xnhn-search-group,
.wp-block-search__inside-wrapper {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 42px;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	background: #ffffff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.xnhn-search-group:focus-within,
.wp-block-search__inside-wrapper:focus-within {
	border-color: var(--xnhn-primary);
	box-shadow: 0 0 0 3px rgba(18, 57, 98, 0.09);
}

.xnhn-search-input,
.wp-block-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px !important;
	padding: 0 13px !important;
	border: none !important;
	background: transparent !important;
	font-family: inherit;
	font-size: 14px;
	color: #1e293b;
	outline: none;
	box-shadow: none !important;
}

.xnhn-search-input::placeholder,
.wp-block-search .wp-block-search__input::placeholder {
	color: #94a3b8;
}

.xnhn-search-submit,
.wp-block-search .wp-block-search__button {
	flex-shrink: 0;
	height: 40px;
	min-width: 44px;
	padding: 0 14px;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: var(--xnhn-primary) !important;
	color: #ffffff !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.xnhn-search-submit:hover,
.wp-block-search .wp-block-search__button:hover {
	background: var(--xnhn-accent) !important;
}

.wp-block-search .wp-block-search__label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--xnhn-primary);
	margin-bottom: 8px;
}

/* Danh sách Dịch Vụ Trọng Điểm ở Sidebar */
.xnhn-service-links,
.xnhn-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.xnhn-service-links li,
.xnhn-widget-list li {
	border-bottom: 1px solid #eef2f6;
}

.xnhn-service-links li:last-child,
.xnhn-widget-list li:last-child {
	border-bottom: none;
}

.xnhn-service-links li a,
.xnhn-widget-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 8px;
	margin: 0 -4px;
	border-radius: 4px;
	font-size: 14.5px;
	font-weight: 500;
	color: #1e293b;
	transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.xnhn-service-links li a i {
	font-size: 11px;
	color: #94a3b8;
	transition: transform 0.18s ease, color 0.18s ease;
}

.xnhn-service-links li a:hover,
.xnhn-service-links li.is-current a,
.xnhn-widget-list li a:hover {
	background: #f8fafc;
	color: var(--xnhn-primary);
	font-weight: 600;
	padding-left: 12px;
}

.xnhn-service-links li a:hover i,
.xnhn-service-links li.is-current a i {
	color: var(--xnhn-accent);
	transform: translateX(2px);
}

/* Danh sách Bài Viết Mới (Kèm ảnh thu nhỏ & ngày đăng) */
.xnhn-mini-posts-list {
	display: flex;
	flex-direction: column;
}

.xnhn-mini-post {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 11px 0;
	border-bottom: 1px solid #eef2f6;
}

.xnhn-mini-post:first-child {
	padding-top: 0;
}

.xnhn-mini-post:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.xnhn-mini-post-thumb {
	width: 78px;
	height: 56px;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
}

.xnhn-mini-post-thumb img,
.xnhn-mini-post > a > img {
	width: 78px;
	height: 56px;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.xnhn-mini-post:hover .xnhn-mini-post-thumb img {
	transform: scale(1.05);
}

.xnhn-mini-post-info {
	flex: 1;
	min-width: 0;
}

.xnhn-mini-post h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.42;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.xnhn-mini-post h4 a {
	color: #1e293b;
}

.xnhn-mini-post h4 a:hover {
	color: var(--xnhn-accent);
}

.xnhn-mini-post-date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

/* Hộp Hotline & Zalo Tư Vấn ở Sidebar */
.xnhn-sidebar-hotline-card {
	background: var(--xnhn-primary);
	color: #ffffff;
	border-color: var(--xnhn-primary);
	text-align: center;
	padding: 22px 18px;
}

.xnhn-hotline-card-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 8px;
}

.xnhn-hotline-card-head i {
	font-size: 18px;
	color: #fbbf24;
}

.xnhn-sidebar-hotline-card h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
}

.xnhn-hotline-card-desc {
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.88);
}

.xnhn-sidebar-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--xnhn-accent);
	color: #ffffff !important;
	font-size: 18px;
	font-weight: 800;
	padding: 11px 16px;
	border-radius: 5px;
	margin-bottom: 10px;
	width: 100%;
	transition: background 0.2s ease;
}

.xnhn-sidebar-phone:hover {
	background: var(--xnhn-accent-hover);
}

.xnhn-sidebar-zalo {
	display: block;
	width: 100%;
	padding: 9px 14px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 600;
	transition: background 0.2s ease;
}

.xnhn-sidebar-zalo:hover {
	background: rgba(255, 255, 255, 0.22);
}

/* Form Nhận Báo Giá Nhanh ở Sidebar */
.xnhn-sidebar-form {
	display: grid;
	gap: 10px;
}

.xnhn-sidebar-input {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	font-family: inherit;
	font-size: 14px;
	color: #1e293b;
	background: #ffffff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.xnhn-sidebar-input:focus {
	border-color: var(--xnhn-primary);
	box-shadow: 0 0 0 3px rgba(18, 57, 98, 0.08);
}

.xnhn-sidebar-submit {
	width: 100%;
	height: 42px;
}

/* Định dạng đồng bộ cho mọi danh sách Widget mặc định của WordPress (Categories, Archives, Latest Posts...) */
.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) li {
	padding: 9px 0;
	border-bottom: 1px solid #eef2f6;
	font-size: 14.5px;
	line-height: 1.45;
	color: #475569;
}

.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) li:first-child {
	padding-top: 0;
}

.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) li a {
	color: #1e293b;
	font-weight: 500;
	transition: color 0.18s ease;
}

.xnhn-widget ul:not(.xnhn-service-links):not(.xnhn-widget-list) li a:hover {
	color: var(--xnhn-accent);
}

/* Pagination */
.xnhn-pagination {
	margin-top: 34px;
	display: flex;
	justify-content: center;
}

.xnhn-pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.xnhn-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: 4px;
	border: 1px solid var(--xnhn-border);
	font-weight: 600;
	color: var(--xnhn-primary);
}

.xnhn-pagination .page-numbers.current,
.xnhn-pagination .page-numbers:hover {
	background: var(--xnhn-primary);
	color: #ffffff;
	border-color: var(--xnhn-primary);
}

/* =========================================================
   FOOTER 4 CỘT (Nền tối lịch sự, dễ đọc)
   ========================================================= */
.xnhn-footer-main {
	background: var(--xnhn-footer-bg);
	color: #e2e8f0;
	padding: 60px 0 44px;
}

.xnhn-footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.9fr 0.9fr 1.15fr;
	gap: 32px;
}

.xnhn-footer-title {
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--xnhn-accent);
	display: inline-block;
	text-transform: uppercase;
}

.xnhn-footer-about {
	font-size: 15px;
	line-height: 1.65;
	color: #cbd5e1;
	margin: 0 0 16px;
}

.xnhn-footer-socials {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.xnhn-footer-socials a {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.xnhn-footer-socials a:hover {
	background: var(--xnhn-accent);
}

.xnhn-footer-links,
.xnhn-footer-contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.xnhn-footer-links li a,
.xnhn-footer-contacts li {
	font-size: 15px;
	color: #cbd5e1;
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
}

.xnhn-footer-links li a:hover,
.xnhn-footer-contacts li a:hover {
	color: #ffffff;
}

.xnhn-footer-contacts li i {
	margin-top: 4px;
	width: 16px;
	color: #f59e0b;
}

.xnhn-footer-bottom {
	background: var(--xnhn-footer-bottom);
	color: #94a3b8;
	text-align: center;
	padding: 14px 16px;
	font-size: 14px;
}

/* =========================================================
   FLOATING CONTACT BUTTONS (Zalo + Hotline)
   ========================================================= */
.xnhn-floating-vr {
	position: fixed;
	bottom: 22px;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.xnhn-floating-vr.pos-left { left: 18px; }
.xnhn-floating-vr.pos-right { right: 18px; }

.xnhn-vr-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.xnhn-vr-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 20px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	position: relative;
	z-index: 2;
}

.xnhn-vr-pulse {
	position: absolute;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	left: 0;
	top: 0;
	z-index: 1;
	animation: xnhnPulse 2s infinite;
}

.xnhn-vr-zalo .xnhn-vr-circle { background: #0068ff; font-weight: 800; font-size: 12.5px; }
.xnhn-vr-zalo .xnhn-vr-pulse { background: rgba(0, 104, 255, 0.4); }

.xnhn-vr-call .xnhn-vr-circle { background: #dc2626; }
.xnhn-vr-call .xnhn-vr-pulse { background: rgba(220, 38, 38, 0.4); }

.xnhn-vr-call-pill {
	background: #dc2626;
	color: #ffffff;
	font-weight: 700;
	font-size: 14.5px;
	padding: 6px 14px 6px 20px;
	border-radius: 0 40px 40px 0;
	margin-left: -16px;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.xnhn-floating-vr.pos-right .xnhn-vr-call-pill {
	display: none;
}

.xnhn-backtotop {
	position: fixed;
	right: 18px;
	bottom: 22px;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background: var(--xnhn-primary);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s;
	z-index: 9990;
}

.xnhn-backtotop.is-visible {
	opacity: 1;
	visibility: visible;
}

@keyframes xnhnPulse {
	0% { transform: scale(1); opacity: 0.7; }
	100% { transform: scale(1.45); opacity: 0; }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1120px) {
	.xnhn-menu > li > a {
		padding: 20px 8px;
		font-size: 14px;
	}
}

@media (max-width: 991px) {
	.xnhn-topbar-contacts li:nth-child(n+2) {
		display: none;
	}
	.xnhn-mobile-toggle {
		display: inline-flex;
	}
	.xnhn-main-nav {
		position: fixed;
		top: 0;
		left: -310px;
		width: 290px;
		height: 100vh;
		background: #ffffff;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 58px 18px 28px;
		box-shadow: 6px 0 24px rgba(0, 0, 0, 0.16);
		transition: left 0.28s ease;
		overflow-y: auto;
		z-index: 10001;
	}
	.xnhn-main-nav.is-open {
		left: 0;
	}
	.xnhn-mobile-close {
		display: inline-flex;
		position: absolute;
		top: 12px;
		right: 14px;
		width: 34px;
		height: 34px;
		align-items: center;
		justify-content: center;
		background: #f1f5f9;
		border: none;
		border-radius: 4px;
		font-size: 20px;
		color: #1e293b;
		cursor: pointer;
	}
	.xnhn-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}
	.xnhn-menu > li {
		border-bottom: 1px solid #eef1f6;
		white-space: normal;
	}
	.xnhn-menu > li > a {
		width: 100%;
		justify-content: space-between;
		padding: 13px 4px;
		font-size: 15px;
		white-space: normal;
	}
	.xnhn-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding: 0 0 8px 14px;
		display: none;
	}
	.xnhn-menu .sub-menu::before {
		display: none;
	}
	.xnhn-menu li.is-sub-open > .sub-menu {
		display: block;
	}
	.xnhn-hero-bridge {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 20px;
	}
	.xnhn-bridge-item {
		border-right: none;
		border-bottom: 1px solid #edf2f7;
		padding-right: 0;
		padding-bottom: 14px;
	}
	.xnhn-bridge-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
	.xnhn-services-grid,
	.xnhn-posts-grid,
	.xnhn-testimonials-grid,
	.xnhn-process-timeline,
	.xnhn-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.xnhn-process-timeline::before {
		display: none;
	}
	.xnhn-stats-ribbon {
		grid-template-columns: 1fr;
		padding: 28px 24px;
		gap: 24px;
	}
	.xnhn-lead-form-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.xnhn-lead-form-grid button {
		grid-column: span 2;
	}
	.xnhn-about-grid,
	.xnhn-content-sidebar-grid {
		grid-template-columns: 1fr;
	}
	.xnhn-sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.xnhn-services-grid,
	.xnhn-process-timeline,
	.xnhn-stats-grid,
	.xnhn-testimonials-grid,
	.xnhn-posts-grid,
	.xnhn-footer-grid,
	.xnhn-lead-form-grid {
		grid-template-columns: 1fr;
	}
	.xnhn-stat-item {
		padding-left: 0;
		border-left: none;
		padding-top: 14px;
		border-top: 1px solid #dce5f0;
	}
	.xnhn-stat-item:first-child {
		padding-top: 0;
		border-top: none;
	}
	.xnhn-quote-box {
		padding: 28px 20px;
	}
	.xnhn-lead-form-grid button {
		grid-column: span 1;
	}
	.xnhn-hero-slider {
		height: 410px;
	}
	.xnhn-about-image-wrap img {
		height: 280px;
	}
	.xnhn-vr-call-pill {
		display: none;
	}
}
