/*
 * Element UX Builder "Home Service" — số đo lấy từ Figma Home — Desktop 1440 (node 5:1293).
 * Màu/font dùng token ở tokens.css. Mobile (< 850px, breakpoint Flatsome) xếp 1 cột.
 */

body,
.hs-sec p,
.hs-hero-x p {
	line-height: 1.5;
}

:root {
	/* ===== HỆ SPACING DUY NHẤT (thang 8pt) — mọi khoảng cách dọc/ngang lấy từ đây ===== */
	--hs-space-section: 80px;  /* padding trên/dưới MỌI section */
	--hs-space-head: 32px;     /* tiêu đề section → nội dung */
	--hs-space-stack: 24px;    /* giữa các phần tử trong một cột */
	--hs-gap: 20px;            /* giữa các thẻ trong lưới / giữa cột */
	--hs-panel-gap: 10px;      /* giữa 2 panel liền nhau (Figma) */
	--hs-blue: var(--hs-link);
	--hs-shadow-card: 0 2px 8px color-mix(in srgb, var(--hs-navy) 8%, transparent), 0 8px 24px color-mix(in srgb, var(--hs-navy) 6%, transparent);
	--hs-r-12: 12px;
	--hs-r-16: 16px;
	--hs-r-20: 20px;
}

/* ================= Dùng chung ================= */

.hs-eyebrow-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-body)/1.5 var(--hs-font-body);
}

.hs-eyebrow-line::before {
	content: "";
	width: 18px;
	height: 2px;
	background: var(--hs-primary);
}

.hs-eyebrow-line.is-light,
.is-dark .hs-eyebrow-line {
	color: var(--hs-white);
}

.hs-icon-circle {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--hs-icon-xl);
	height: var(--hs-icon-xl);
	border-radius: 50%;
	color: var(--hs-white);
}

.hs-icon-circle svg,
.hs-chip__icon svg,
.hs-stat__icon svg {
	width: 100%;
	height: 100%;
}

.hs-icon-circle--blue {
	background: var(--hs-blue);
}

.hs-icon-circle--orange {
	background: var(--hs-primary);
}

.hs-icon-circle--sm {
	width: var(--hs-icon-sm);
	height: var(--hs-icon-sm);
}

.hs-icon-circle--md {
	width: var(--hs-icon-md);
	height: var(--hs-icon-md);
}

.hs-icon-circle--lg {
	width: var(--hs-icon-lg);
	height: var(--hs-icon-lg);
}

.hs-img-tam {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background: var(--hs-placeholder);
	color: var(--hs-text-muted);
	font-size: 14px;
}

/* Nút pill (Coolen/Button): cao 60, padding 8/8/8/32, vòng tròn 44. */
.hs-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: var(--hs-btn-h);
	padding: 5px 5px 5px var(--hs-btn-pad);
	border-radius: 9999px;
	font: 500 var(--hs-fs-title)/1 var(--hs-font-heading);
	text-decoration: none;
	transition: background-color 0.15s ease-out, transform 0.15s var(--hs-ease-out, ease-out);
}

.hs-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--hs-icon-btn);
	height: var(--hs-icon-btn);
	border-radius: 50%;
	background: var(--hs-white);
	color: var(--hs-primary);
	transition: transform 0.3s var(--hs-ease-out, ease-out);
}

.hs-btn__icon svg {
	width: 100%;
	height: 100%;
}

.hs-btn--primary {
	background: var(--hs-primary);
	color: var(--hs-white);
}

.hs-btn--primary:hover {
	background: var(--hs-primary-hover);
	color: var(--hs-white);
}

.hs-btn--navy {
	background: var(--hs-navy);
	color: var(--hs-white);
}

.hs-btn--navy:hover {
	background: var(--hs-navy-hover);
	color: var(--hs-white);
}

.hs-btn--light {
	background: var(--hs-white);
	color: var(--hs-navy);
}

.hs-btn--light .hs-btn__icon {
	background: var(--hs-primary);
	color: var(--hs-white);
}

.hs-btn:active {
	transform: scale(0.98);
}

@media (hover: hover) {

	.hs-btn:hover .hs-btn__icon {
		transform: rotate(45deg);
	}
}

.hs-btn-wrap.is-center {
	text-align: center;
}

.hs-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-title)/1.5 var(--hs-font-heading);
}

.hs-more svg {
	width: 18px;
	height: 18px;
	color: var(--hs-primary);
	transition: transform 0.2s ease-out;
}

.hs-more:hover {
	color: var(--hs-primary);
}

.hs-more:hover svg {
	transform: translateX(3px);
}

.hs-badge,
.hs-tag {
	display: inline-flex;
	align-self: flex-start;
	padding: 4px 14px;
	border-radius: 9999px;
	background: var(--hs-blue);
	color: var(--hs-white);
	font: 500 var(--hs-fs-body)/1.5 var(--hs-font-body);
}

.hs-tag {
	padding: 4px 20px;
	background: var(--hs-surface);
	color: var(--hs-navy);
}

/* ================= Nhịp dọc: section Flatsome .hs-sec =================
 * Section đặt padding="0px" (Flatsome in style theo ID) → padding thật nằm ở .section-content,
 * lấy từ --hs-pt/--hs-pb (UX Builder → Section → "Khoảng cách & khối"), mặc định --hs-space-section. Bỏ padding-bottom 30px mặc định của .col và margin của phần tử cuối
 * → không còn chồng padding + margin.
 */
/* Padding thật nằm ở .section-content (--hs-pt/--hs-pb từ nhóm "Khoảng cách & khối" trong UX Builder).
 * Ô "Padding" gốc của Flatsome (mặc định provision = 0px) vẫn dùng được như padding ngoài. */

:root {
	--hs-space-half: calc(var(--hs-space-section) / 2);
}

/* NHỊP DỌC THỐNG NHẤT — khoảng giữa 2 khối bất kỳ = --hs-space-section (80, mobile 56):
 *   - Khối thường: nửa khoảng trên + nửa khoảng dưới → 2 khối cạnh nhau cộng lại đúng 1 khoảng.
 *   - Khối có nền (Nền khối = xám/navy): padding trong = 1 khoảng; lề ngoài = nửa khoảng.
 *   - 2 khối nối góc (Chỉ góc trên + Chỉ góc dưới) dính liền nhau.
 * Để trống ô padding trong UX Builder = theo nhịp chung; nhập số = ghi đè riêng khối đó. */
.section.hs-sec > .section-content {
	padding-top: var(--hs-pt, var(--hs-space-half));
	padding-bottom: var(--hs-pb, var(--hs-space-half));
}

.section.hs-sec.hs-panel > .section-content {
	padding-top: var(--hs-pt, var(--hs-space-section));
	padding-bottom: var(--hs-pb, var(--hs-space-section));
}

.section.hs-sec {
	margin-bottom: var(--hs-mb, 0);
}

/* Khối cuối trang → chân trang cũng cách 1 khoảng. */
.section.hs-sec:last-child {
	margin-bottom: var(--hs-mb, var(--hs-space-half));
}

/* Padding theo Figma từng section: hs-pt-{0,20,56,64,80} / hs-pb-{48,64,80}. */
.hs-pt-0 { --hs-pt: 0px; }
.hs-pt-20 { --hs-pt: 20px; }
.hs-pt-56 { --hs-pt: 56px; }
.hs-pt-64 { --hs-pt: 64px; }
.hs-pt-80 { --hs-pt: 80px; }
.hs-pb-48 { --hs-pb: 48px; }
.hs-pb-64 { --hs-pb: 64px; }
.hs-pb-80 { --hs-pb: 80px; }

/* Khoảng tiêu đề → nội dung theo Figma từng section: hs-gap-{20,24,28,40}. */
.hs-gap-20 { --hs-space-head: 20px; }
.section.hs-mb-48 { margin-bottom: 48px; } /* Figma S6: padding đáy 48 sau panel Quy trình */
.hs-gap-24 { --hs-space-head: 24px; }
.hs-gap-28 { --hs-space-head: 28px; }
.hs-gap-40 { --hs-space-head: 40px; }

/* Nội dung 1280 (Figma) đặt ở figma-parity.css cho mọi row. Biến thể rộng/hẹp: */
.hs-sec.hs-row-wide .row:not(.row-collapse) {
	max-width: 1346px; /* Đánh giá: margin 6 + padding 56 → nội dung 1316 (+30 padding cột) */
}

.hs-sec.hs-row-1296 .row:not(.row-collapse) {
	max-width: 1326px; /* Quy trình: margin 16 + padding 56 → nội dung 1296 */
}

.hs-sec.hs-row-cta .row:not(.row-collapse) {
	max-width: 1138px; /* CTA: margin 6 + padding 160 → nội dung 1108 */
}

.section.hs-sec--flush > .section-content {
	padding-top: 0;
}

.hs-sec .row {
	row-gap: var(--hs-space-stack);
}

.hs-sec .row > .col {
	padding-bottom: 0;
}

.hs-sec .row + .row,
.hs-sec .row + .hs-grid,
.hs-sec .hs-heading + .hs-grid,
.hs-sec .hs-heading + .row,
.hs-sec .hs-grid + .hs-grid {
	margin-top: var(--hs-space-head);
}

.hs-sec .col-inner > * {
	margin-top: 0;
}

.hs-sec .col-inner > * + * {
	margin-top: var(--hs-space-stack);
}

.hs-sec .col-inner > .hs-heading + * {
	margin-top: var(--hs-space-head);
}

.hs-sec .col-inner > :last-child,
.hs-sec .section-content > :last-child {
	margin-bottom: 0;
}

.hs-sec .row-v-center > .col {
	align-self: center;
}

/* ================= Section Flatsome dạng panel ================= */

.section.hs-panel {
	width: auto; /* Flatsome .section{width:100%} + margin → panel bị đẩy lệch 16px */
	margin: var(--hs-space-half) 16px var(--hs-mb, var(--hs-space-half));
	border-radius: var(--hs-r-16);
	background-color: transparent; /* Section mang màu nền trang (Theme Options → Layout), chỉ thẻ mới có nền riêng. */
}

.section.hs-panel--navy {
	background-color: var(--hs-navy);
}

.section.hs-panel--wide {
	margin-right: 6px;
	margin-left: 6px;
}

.section.hs-panel--top {
	margin-bottom: 0;
	border-radius: var(--hs-r-20) var(--hs-r-20) 0 0;
}

.section.hs-panel--bottom {
	margin-top: 0;
	border-radius: 0 0 var(--hs-r-20) var(--hs-r-20);
}

/* 2 panel liền nhau: lề dọc gộp (margin collapse) → đặt đủ 1 khoảng cho panel sau. */
.section.hs-panel + .section.hs-panel:not(.hs-panel--bottom) {
	margin-top: var(--hs-space-section);
}

.section.hs-panel:last-child {
	margin-bottom: var(--hs-mb, var(--hs-space-section));
}

.section.hs-panel--navy p,
.section.hs-panel--navy .hs-heading__text {
	color: rgba(255, 255, 255, 0.7);
}

/* ================= Tiêu đề section ================= */

.hs-heading {
	margin-bottom: 0;
}

.hs-heading__title {
	margin: 0;
	color: var(--hs-navy);
	font: 600 var(--hs-fs-h1)/1.25 var(--hs-font-heading);
	letter-spacing: -0.05em;
}

.hs-heading__text {
	margin: 16px 0 0;
	max-width: 65ch;
	color: var(--hs-text);
}

.hs-heading--center {
	text-align: center;
}

.hs-heading--center .hs-eyebrow-line {
	justify-content: center;
}

.hs-heading--center .hs-heading__text {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
}

.hs-heading--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.hs-heading--split .hs-heading__text {
	max-width: none;
	margin: 0;
}

.hs-heading.is-dark .hs-heading__title {
	color: var(--hs-white);
}

.hs-heading.is-dark .hs-heading__text {
	color: rgba(255, 255, 255, 0.7);
}

/* ================= Lưới thẻ ================= */

.hs-grid {
	display: grid;
	grid-template-columns: repeat(var(--hs-cols, 3), minmax(0, 1fr));
	gap: var(--hs-gap);
	align-items: stretch; /* Thẻ cùng hàng cao bằng nhau; nút/link cuối thẻ đẩy xuống đáy (margin-top: auto). */
}

.hs-grid--2 {
	--hs-cols: 2;
}

.hs-grid--3 {
	--hs-cols: 3;
}

.hs-grid--4 {
	--hs-cols: 4;
}

.hs-grid--5 {
	--hs-cols: 5;
}

.hs-grid--panel {
	padding: 32px 16px;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
	box-shadow: var(--hs-shadow-card);
}

.hs-grid--white {
	padding: 16px;
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
}

/* ================= Hero ================= */

.hs-hero-x {
	margin-bottom: var(--hs-space-half); /* + nửa khoảng đầu section kế tiếp = 1 khoảng (nhịp dọc chung). */
	padding: 0 16px; /* Cùng lề với banner trang con (0 16px) — không có dải trắng phía trên. */
}

.hs-hero-x__panel {
	position: relative;
	overflow: hidden;
	padding: 168px 56px 96px; /* Header 72px + 96px. */
	border-radius: var(--hs-r-20) var(--hs-r-20) 0 0;
	background: var(--hs-page-bg);
	isolation: isolate;
}

.hs-hero-x__panel:only-child {
	border-radius: var(--hs-r-20);
}

.hs-hero-x__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-hero-x__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--hs-page-bg) 92%, transparent); /* Ảnh nền (UX Builder) chỉ còn làm chất liệu mờ. */
}

.hs-hero-x__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	/* Khung ngang: .hs-container (layout.css). */
}

.hs-hero-x__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hs-hero-x__text .hs-eyebrow-line.is-light {
	color: var(--hs-navy);
}

.hs-hero-x__text .hs-eyebrow-line {
	margin: 0;
}

.hs-hero-x__title {
	margin: 0;
	color: var(--hs-navy);
	font: 700 var(--hs-fs-hero)/1.15 var(--hs-font-heading); /* Tiêu đề hero ≥ 6 chữ → tối đa 48px, gọn 2 dòng. 1.15: dấu tiếng Việt chữ hoa không chạm dòng trên. */
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.hs-hero-x__lead {
	margin: 0;
	color: var(--hs-text);
	font-size: var(--hs-fs-title);
}

.hs-hero-x__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
}

.hs-hotline {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	color: var(--hs-navy);
	text-decoration: none;
}

.hs-hotline__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--hs-icon-xl);
	height: var(--hs-icon-xl);
	border-radius: 50%;
	background: var(--hs-blue);
	color: var(--hs-white);
}

.hs-hotline__icon svg {
	width: 100%;
	height: 100%;
}

.hs-hotline__txt {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hs-hotline__label {
	color: var(--hs-text);
	font: 500 var(--hs-fs-body)/1.5 var(--hs-font-body);
}

.hs-hotline__num {
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-hero-x__card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 16px;
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
}

.hs-hero-x__card-media {
	overflow: hidden;
	aspect-ratio: 613 / 389;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
}

.hs-hero-x__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-hero-x__card-info {
	display: flex;
	gap: 16px;
	padding: 0 8px 12px;
}

.hs-hero-x__card-title {
	margin: 0 0 8px;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h4)/1.375 var(--hs-font-heading);
}

.hs-hero-x__card-text {
	margin: 0 0 8px;
}

/* Thanh đặt lịch nhanh (CF7 ngang) */
.hs-booking {
	padding: 32px 56px;
	border-radius: 0 0 var(--hs-r-20) var(--hs-r-20);
	background: var(--hs-blue);
}

/* CF7 không tự chèn <p> (inc/cf7.php) → lưới đặt trực tiếp trên hàng. */
.hs-booking .hs-booking__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 16px;
	align-items: start;
	max-width: var(--hs-content-width);
	margin: 0 auto;
}

/* Ô nhập: assets/css/form.css (biến --hs-field-* cho nền xanh đặt ở .hs-booking). */

.hs-booking input[type="submit"] {
	min-height: var(--hs-field-h);
	margin: 0;
	padding: 0 32px;
	border-radius: 9999px;
	background: var(--hs-navy);
	color: var(--hs-white);
	font: 500 var(--hs-fs-title)/1 var(--hs-font-heading);
	text-transform: none;
}

.hs-booking input[type="submit"]:hover {
	background: var(--hs-navy-hover);
}

.hs-booking .wpcf7-response-output {
	margin: 12px 0 0 !important;
	border-color: rgba(255, 255, 255, 0.6) !important;
	color: var(--hs-white);
}

/* ================= Chip dịch vụ ================= */

.hs-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 20px 16px 10px;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
	color: var(--hs-navy);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease-out, transform 0.2s var(--hs-ease-out, ease-out);
}

.hs-chip__icon {
	display: inline-flex;
	width: var(--hs-icon-chip);
	height: var(--hs-icon-chip);
	border-radius: 50%;
	background: var(--hs-white);
	color: var(--hs-primary);
}

.hs-chip__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hs-chip__title {
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

@media (hover: hover) {

	.hs-chip:hover {
		background: var(--hs-primary-tint);
		color: var(--hs-primary);
		transform: translateY(-2px);
	}
}

/* ================= Giới thiệu ================= */

.hs-collage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	height: 100%;
	min-height: 520px;
}

.hs-collage__tall,
.hs-collage__top {
	overflow: hidden;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
}

.hs-collage__tall img,
.hs-collage__top img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-collage__side {
	display: grid;
	grid-template-rows: 1fr auto;
	gap: 14px;
}

.hs-collage__stat {
	padding: 28px 20px 24px;
	border-radius: var(--hs-r-16);
	background: var(--hs-navy);
	color: var(--hs-white);
}

.hs-collage__stat p {
	margin: 0;
	color: var(--hs-white);
}

.hs-collage__num {
	font: 600 var(--hs-fs-num)/1.25 var(--hs-font-heading);
}

.hs-feature {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 16px;
	border-radius: var(--hs-r-12);
	background: var(--hs-surface);
}

.hs-feature__title {
	margin: 4px 0 0;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-feature__text {
	margin: 0;
}

.hs-checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

html body .hs-checklist li,
html body .hs-tags__list li,
html body .hs-contact-card li,
html body .hs-cta__stats li,
html body .hs-social li {
	margin-left: 0; /* Flatsome mặc định ul li { margin-left: 1.3em } */
}

.hs-checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	color: var(--hs-navy);
}

.hs-checklist svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--hs-primary);
}

/* ================= Số liệu ================= */

.hs-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 32px 32px 16px;
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
	box-shadow: var(--hs-shadow-card);
}

.hs-stat__icon {
	display: inline-flex;
	width: var(--hs-icon-stat);
	height: var(--hs-icon-stat);
	color: var(--hs-primary);
}

.hs-stat p {
	margin: 0;
}

.hs-stat__num {
	color: var(--hs-navy);
	font: 600 var(--hs-fs-num)/1.25 var(--hs-font-heading);
}

/* ================= Thẻ dịch vụ ================= */

.hs-scard {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 10px 10px 12px;
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
	box-shadow: var(--hs-shadow-card);
	transition: transform 0.25s var(--hs-ease-out, ease-out), box-shadow 0.25s ease-out;
}

.hs-scard__media {
	overflow: hidden;
	height: 240px;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
}

.hs-scard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hs-ease-out, ease-out);
}

.hs-scard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 0 20px 20px;
}

.hs-scard__title {
	min-height: 56px; /* Figma: ô tiêu đề cao 56 */
}

.hs-scard__title,
.hs-pcard__title {
	margin: 0;
	color: var(--hs-navy);
	font: 600 var(--hs-fs-h3)/1.25 var(--hs-font-heading);
	letter-spacing: 0; /* Figma: tiêu đề thẻ không giãn chữ âm */
}

.hs-scard__text,
.hs-pcard__meta {
	margin: 0;
}

.hs-scard .hs-checklist {
	margin: 0;
}

.hs-scard__more {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--hs-line);
}

@media (hover: hover) {

	.hs-scard:hover,
	.hs-pcard:hover,
	.hs-post:hover {
		box-shadow: 0 4px 12px color-mix(in srgb, var(--hs-navy) 10%, transparent), 0 16px 40px color-mix(in srgb, var(--hs-navy) 10%, transparent);
		transform: translateY(-4px);
	}

	.hs-scard:hover .hs-scard__media img,
	.hs-pcard:hover .hs-pcard__media img,
	.hs-post:hover .hs-post__media img {
		transform: scale(1.04);
	}
}

/* ================= Lỗi thường gặp ================= */

.hs-issue {
	display: flex;
	gap: 16px;
	padding-bottom: 36px;
}

.hs-issue__title {
	margin: 0 0 8px;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-issue__text {
	margin: 0;
}

.hs-media {
	overflow: hidden;
	height: var(--hs-media-h, 420px);
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
}

.hs-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-media.is-framed {
	height: calc(var(--hs-media-h, 420px) + 32px); /* Figma: chiều cao = ảnh, khung 16px nằm ngoài */
	padding: 16px;
	background: var(--hs-white);
}

.hs-media.is-framed img {
	border-radius: var(--hs-r-16);
}

/* ================= Khu vực ================= */

.hs-tags + .hs-tags {
	margin-top: var(--hs-space-stack);
}

.hs-tags__title {
	margin: 0 0 16px;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h4)/1.375 var(--hs-font-heading);
}

.hs-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-tags__list li {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--hs-line);
	border-radius: 9999px;
	background: var(--hs-white);
	color: var(--hs-navy);
}

.hs-tags__list svg {
	width: 16px;
	height: 16px;
	color: var(--hs-primary);
}

/* ================= Quy trình ================= */

.hs-step-x {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 20px;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
	transition: background-color 0.25s ease-out;
}

.hs-step-x__title {
	margin: 0;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-step-x__text {
	margin: 0;
	color: var(--hs-text) !important;
}

.hs-step-x.is-highlight {
	background: var(--hs-navy);
}

.hs-step-x.is-highlight .hs-step-x__title,
.hs-step-x.is-highlight .hs-step-x__text {
	color: var(--hs-white) !important;
}

/* ================= Công trình ================= */

.hs-pcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--hs-r-16);
	background: var(--hs-surface);
	box-shadow: var(--hs-shadow-card);
	transition: transform 0.25s var(--hs-ease-out, ease-out), box-shadow 0.25s ease-out;
}

.hs-pcard__media {
	overflow: hidden;
	aspect-ratio: 305 / 222;
	border-radius: var(--hs-r-16);
}

.hs-pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hs-ease-out, ease-out);
}

.hs-pcard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
}

.hs-pcard .hs-tag {
	background: var(--hs-surface);
}

.hs-pcard__title {
	color: var(--hs-text);
	font-size: var(--hs-fs-h3);
}

.hs-pcard__meta {
	flex: 1; /* Đường kẻ luôn nằm sát link cuối thẻ dù tiêu đề 1 hay 2 dòng. */
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hs-line);
}

.hs-pill-link {
	display: inline-flex;
	align-self: flex-start;
	margin-top: auto;
	gap: 12px;
	align-items: center;
	padding: 8px 8px 8px 24px;
	border-radius: 9999px;
	background: var(--hs-white);
	color: var(--hs-navy);
	font: 500 var(--hs-fs-title)/1 var(--hs-font-heading);
}

.hs-pill-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--hs-icon-pill);
	height: var(--hs-icon-pill);
	border: 1px solid var(--hs-line);
	border-radius: 50%;
	color: var(--hs-primary);
}

.hs-pill-link__icon svg {
	width: 100%;
	height: 100%;
}

.hs-pill-link:hover {
	color: var(--hs-primary);
}

/* ================= CTA ================= */

.hs-cta {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	text-align: center;
}

.hs-cta .hs-eyebrow-line {
	margin: 0;
}

.hs-cta__title {
	margin: 0;
	color: var(--hs-white);
	font: 600 var(--hs-fs-h1)/1.25 var(--hs-font-heading);
	letter-spacing: -0.05em;
}

.hs-cta__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-cta__stats li {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

/* ================= Đánh giá ================= */

.hs-rating {
	display: inline-flex;
	gap: 20px;
	align-items: center;
	padding: 24px;
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
}

.hs-rating__avatars {
	display: flex;
}

.hs-rating__avatars .hs-avatar + .hs-avatar {
	margin-left: -16px;
}

.hs-rating__title {
	display: block;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h4)/1.375 var(--hs-font-heading);
}

.hs-rating__text {
	display: block;
	color: var(--hs-text);
}

.hs-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--hs-avatar);
	height: var(--hs-avatar);
	border: 2px solid var(--hs-white);
	border-radius: 50%;
	background: var(--hs-primary);
	color: var(--hs-white);
	font: 500 var(--hs-fs-title)/1 var(--hs-font-heading);
}

.hs-avatar--1 {
	background: var(--hs-blue);
}

.hs-avatar--2 {
	background: var(--hs-navy);
}

.hs-avatar--lg {
	width: var(--hs-avatar-lg);
	height: var(--hs-avatar-lg);
	font-size: var(--hs-fs-h4);
	font-weight: 600;
}

.hs-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 16px 16px 20px; /* Avatar nằm trong thẻ, lề đều (trước dán sát góc bằng lề âm → tràn khỏi thẻ trên mobile). */
	border-radius: var(--hs-r-16);
	background: var(--hs-white);
	box-shadow: var(--hs-shadow-card);
}

.hs-review__quote {
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	font-size: var(--hs-fs-body);
	font-style: normal;
}

.hs-review__quote svg {
	width: 26px;
	height: 26px;
	color: var(--hs-primary);
}

.hs-review__quote p {
	margin: 8px 0 0;
}

.hs-stars {
	display: block;
	overflow: hidden;
	width: calc(var(--hs-stars, 5) * 20px - 4px);
	height: 16px;
}

.hs-stars svg {
	width: 96px;
	height: 16px;
}

.hs-review__name {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--hs-line);
	color: var(--hs-navy);
	font: 500 var(--hs-fs-title)/1.5 var(--hs-font-heading);
}

/* ================= Bài viết ================= */

.hs-post {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-r-12);
	background: var(--hs-white);
	box-shadow: var(--hs-shadow-card);
	transition: transform 0.25s var(--hs-ease-out, ease-out), box-shadow 0.25s ease-out;
}

.hs-post__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 410 / 300;
	border-radius: var(--hs-r-16);
}

.hs-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--hs-ease-out, ease-out);
}

.hs-post__date {
	position: absolute;
	top: 145px; /* Figma DateBadge */
	left: 0;
	display: flex;
	flex-direction: column;
	padding: 8px 14px;
	border-radius: 0 var(--hs-r-12) var(--hs-r-12) 0;
	background: var(--hs-primary);
	color: var(--hs-white);
	font-size: var(--hs-fs-body);
	line-height: 1.3;
}

.hs-post__date b {
	font: 500 var(--hs-fs-h5)/1.2 var(--hs-font-heading);
}

.hs-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 20px 32px 32px;
}

.hs-post__title {
	margin: 0;
	font: 500 var(--hs-fs-h4)/1.375 var(--hs-font-heading);
}

.hs-post__title a {
	color: var(--hs-navy);
}

.hs-post__more {
	align-self: flex-start;
	margin-top: auto;
	padding: 10px 32px;
	border-radius: 9999px;
	background: var(--hs-surface);
	color: var(--hs-navy);
	font: 500 var(--hs-fs-title)/1.5 var(--hs-font-heading);
}

.hs-post__more:hover {
	background: var(--hs-primary-tint);
	color: var(--hs-primary);
}

/* ================= FAQ ================= */

.hs-contact-card {
	max-width: 340px;
	padding: 20px 32px 24px;
	border-radius: var(--hs-r-16);
	background: var(--hs-primary);
	color: var(--hs-white);
}

.hs-contact-card__title {
	margin: 0 0 10px;
	color: var(--hs-white) !important;
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-contact-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-contact-card li {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 8px;
	color: var(--hs-white);
}

.hs-contact-card svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.hs-contact-card li:not(:last-child) > svg {
	transform: scale(2.4); /* icon phone lấy từ vòng tròn 66px của Figma — glyph chiếm ~40% khung */
}

.hs-contact-card a {
	color: var(--hs-white);
}

.hs-faq .accordion {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hs-faq .accordion-item {
	overflow: hidden;
	border: 0;
	border-radius: var(--hs-r-12);
	background: var(--hs-white);
}

.hs-faq .accordion-title {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 20px 32px;
	border: 0;
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h5)/1.375 var(--hs-font-heading);
}

.hs-faq .accordion-title .toggle i {
	display: none;
}

.hs-faq .accordion-title .toggle::before {
	content: "+";
	font: 400 var(--hs-fs-h4)/1 var(--hs-font-body);
}

.hs-faq .accordion-title.active .toggle::before {
	content: "\2212";
}

.hs-faq .accordion-title .toggle {
	position: static;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--hs-line);
	border-radius: 6px;
	color: var(--hs-navy);
}

.hs-faq .accordion-title.active .toggle {
	border-color: var(--hs-primary);
	background: var(--hs-primary);
	color: var(--hs-white);
}

.hs-faq .accordion-inner {
	padding: 0 32px 28px;
	color: var(--hs-navy);
}

/* ================= Mobile (Flatsome < 850px) ================= */

@media (max-width: 849px) {

	:root {
		--hs-space-section: 56px;
		--hs-space-head: 24px;
		--hs-space-stack: 20px;
		--hs-gap: 16px;
	}

	.hs-hero-x {
		padding-right: 8px; /* = panel thụt 8px như các panel khác trên mobile */
		padding-left: 8px;
	}

	.hs-hero-x__panel {
		padding: 120px 20px 32px;
	}

	.hs-hero-x__inner,
	.hs-heading--split,
	.hs-collage {
		grid-template-columns: minmax(0, 1fr);
	}

	.hs-booking {
		padding: 20px;
	}

	.hs-booking .hs-booking__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.hs-grid--3,
	.hs-grid--4 {
		--hs-cols: 2;
	}

	.hs-grid--5 {
		--hs-cols: 3;
	}

	.section.hs-panel {
		margin-right: 8px;
		margin-left: 8px;
	}

	/* Padding / khoảng tiêu đề đặt trong UX Builder (Figma desktop) → mobile không vượt token mobile. */
	.section.hs-sec > .section-content {
		padding-top: min(var(--hs-pt, var(--hs-space-half)), var(--hs-space-section));
		padding-bottom: min(var(--hs-pb, var(--hs-space-half)), var(--hs-space-section));
	}

	.section.hs-sec.hs-panel > .section-content {
		padding-top: min(var(--hs-pt, var(--hs-space-section)), var(--hs-space-section));
		padding-bottom: min(var(--hs-pb, var(--hs-space-section)), var(--hs-space-section));
	}

	.hs-sec .row + .row,
	.hs-sec .row + .hs-grid,
	.hs-sec .hs-heading + .hs-grid,
	.hs-sec .hs-heading + .row,
	.hs-sec .hs-grid + .hs-grid,
	.hs-sec .col-inner > .hs-heading + * {
		margin-top: min(var(--hs-space-head), 24px);
	}

	/* Padding Figma desktop (64/80) → mobile dùng chung token section; khoảng tiêu đề → nội dung dùng token head. */
	.hs-pt-56,
	.hs-pt-64,
	.hs-pt-80 { --hs-pt: var(--hs-space-section); }

	.hs-pb-48,
	.hs-pb-64,
	.hs-pb-80 { --hs-pb: var(--hs-space-section); }

	.hs-gap-20,
	.hs-gap-24,
	.hs-gap-28,
	.hs-gap-40 { --hs-space-head: 24px; } /* = --hs-space-head mobile ở :root */

	.section.hs-mb-48 { margin-bottom: var(--hs-space-stack); }

	.hs-collage {
		min-height: 0;
	}

	.hs-collage__tall {
		height: 360px;
	}
}

@media (max-width: 549px) {

	/* ===== Lề ngang mobile: MỘT quy tắc cho mọi template =====
	 * Nội dung cách mép màn hình 20px; trong panel = panel thụt 8px + 20px.
	 * Flatsome mặc định 15px (container / row + cột) → +5px; Elementor đã 20px. */
	html .container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.row:not(.row-collapse) {
		padding-right: 5px; /* + padding cột 15 = 20. Row lồng nhau bị Flatsome đặt padding 0 (độ đặc hiệu cao hơn). */
		padding-left: 5px;
	}

	.hs-dat-lich .wpcf7 {
		padding: 20px;
	}

	.hs-gia {
		min-width: 0;
		table-layout: fixed;
	}

	.hs-gia th,
	.hs-gia td {
		padding: 12px;
		overflow-wrap: anywhere;
	}

	.footer-wrapper .footer-1 {
		padding: 48px 0 16px;
	}

	.footer-wrapper .absolute-footer {
		padding: 0 8px 8px;
	}

	.footer-wrapper .absolute-footer > .container {
		flex-direction: column-reverse; /* DOM: link pháp lý trước → bản quyền lên trên */
		align-items: flex-start;
		gap: 8px;
		padding: 16px 12px; /* 8 + 12 = 20 */
	}

	.absolute-footer .footer-primary {
		flex: none;
	}

	.hs-grid--2,
	.hs-grid--3,
	.hs-grid--4 {
		--hs-cols: 1;
	}

	.hs-grid--5 {
		--hs-cols: 2;
	}

	.hs-hero-x__actions {
		gap: 20px;
	}

	.hs-scard__title,
	.hs-pcard__title {
	}

	/* Avatar + "320+ khách hàng" không đủ 1 hàng ở 335px → avatar lên trên. */
	.hs-rating {
		flex-wrap: wrap;
		gap: 12px;
	}

	.hs-faq .accordion-title {
		padding: 16px 20px;
	}
}

/* ================= Header trong suốt trên hero (Figma Coolen/Header) ================= */

.transparent .header-main .nav > li > a {
	color: var(--hs-white);
}

/* Mục đang xem (cả header trong suốt lẫn khi cuộn): màu nhấn sáng + vạch dưới chữ. */
#header .header-main .nav > li.active > a {
	position: relative;
	color: var(--hs-accent-on-dark);
}

#header .header-main .nav > li.active > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.transparent .header-main .nav > li > a:hover {
	color: var(--hs-accent-on-dark);
}

/* Figma không có mũi tên dropdown (menu con vẫn mở khi rê chuột / chạm). */
.header-main .nav > li > a .icon-angle-down {
	display: none;
}

.header-main .header-nav-main {
	gap: 20px;
}

.header-main .header-nav-main > li {
	margin: 0;
}

.header-main .hide-for-medium.flex-left {
	margin-left: 43px; /* Figma: menu bắt đầu x=280 (Flatsome đã cộng ~33px lề nhóm trái) */
}

#logo a {
	white-space: nowrap;
}

/* Header cố định từ đầu (Flatsome "Shrink", cao không đổi): trong suốt → nền trắng chuyển mượt thay vì bật tức thì. */
#header .header-bg-color,
#header .header-main .nav > li > a,
#header .header-search > a,
#header .nav-icon a {
	transition: background-color 0.25s ease-out, color 0.25s ease-out, box-shadow 0.25s ease-out;
}

/* Hero nền kem: header không trong suốt được (chữ menu trắng sẽ mất) → giữ thanh navy ngay từ đầu trang. */
body:has(.hs-hero-x) #header .header-bg-color {
	background-color: var(--hs-navy) !important;
}

/* Header dính khi cuộn: nền navy 94% (bin/flatsome.php header_bg) → làm mờ nội dung phía sau + vạch sáng mảnh. */
#header .stuck .header-bg-color {
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--hs-white) 8%, transparent);
}

/* Logo ảnh (Tuỳ biến → Nhận diện site → Logo, bản ngang có SĐT): cao 44px (dưới mức này SĐT không đọc được), giữ tỉ lệ; cùng kích thước ở đầu trang và khi dính. */
#header #logo img {
	width: auto;
	height: 44px;
	max-height: none;
	padding: 0;
}

/* Figma Logo: khung trắng ôm chữ, cao 36, bo 4, Noto Sans 16/500. Flatsome in #logo{width:200px} → auto. */
.header-main #logo {
	width: auto;
}

/* Cùng một kiểu logo ở đầu trang và khi header dính (trước đây đổi từ khung trắng 16px sang chữ đậm 22px → header như "nhảy"). */
#header #logo a:not(:has(img)) {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 2px;
	border-radius: 4px;
	background: var(--hs-white);
	color: var(--hs-navy);
	font: 500 var(--hs-fs-body)/1.5 var(--hs-font-body);
}

.header-search > a,
.header-search-lightbox > a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

/* Header luôn nền tối (trong suốt trên banner / navy khi cuộn) → nút tròn sáng mờ. */
#header .header-search > a,
#header .header-search-lightbox > a {
	background: rgba(255, 255, 255, 0.1);
	color: var(--hs-white);
}

/* ================= Footer (Figma Coolen/Footer) ================= */

.hs-brand__logo {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 4px;
	background: var(--hs-white);
	color: var(--hs-navy) !important;
	font: 500 var(--hs-fs-body)/1.5 var(--hs-font-body);
}

/* Footer: logo ảnh (bản xếp dọc) không cần khung trắng. */
.hs-brand__logo--img {
	padding: 0;
	background: none;
}

.hs-brand__img {
	width: auto;
	height: 112px;
}

.hs-brand__desc {
	max-width: 300px;
	margin: 20px 0;
	color: var(--hs-text);
}

.hs-social {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 9999px;
	background: var(--hs-line);
	color: var(--hs-navy);
	font: 500 14px/1 var(--hs-font-heading);
}

.hs-social a:hover {
	background: var(--hs-primary);
	color: var(--hs-white);
}

.footer-1 .widget-title {
	color: var(--hs-navy);
	font: 500 var(--hs-fs-h4)/1.375 var(--hs-font-heading);
	text-transform: none;
	letter-spacing: 0;
}

.footer-1 .widget-title + .is-divider {
	display: none;
}

.footer-1 .menu li {
	border: 0;
}

.footer-1 .menu a,
.footer-1 .widget a {
	color: var(--hs-text);
}

.footer-1 .menu a:hover {
	color: var(--hs-primary);
}

.absolute-footer .footer-secondary,
.absolute-footer .footer-primary {
	float: none;
}

.absolute-footer .footer-primary {
	order: 1;
}

.absolute-footer .footer-secondary {
	order: 2;
}

.absolute-footer > .container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	align-items: center;
	justify-content: space-between;
}

.hs-legal {
	display: flex;
	gap: 24px;
}

/* Footer — Nhận tin (Figma Col/Newsletter: input 52px bo 12, nút 56px pill) */
.hs-newsletter__desc {
	max-width: 280px;
	margin: 0 0 16px;
	color: var(--hs-text);
}

.hs-newsletter,
.hs-newsletter > p {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
}

.hs-newsletter input[type="submit"] {
	min-height: var(--hs-field-h);
	margin: 0;
	padding: 12px 32px;
	border-radius: 9999px;
	background: var(--hs-primary);
	color: var(--hs-white);
	font: 500 var(--hs-fs-title)/1 var(--hs-font-heading);
	text-transform: none;
}

.hs-newsletter br {
	display: none;
}

/* FAQ: ghi đè kiểu active mặc định của Flatsome (nền xám, chữ màu primary) → Figma: nền trắng, chữ navy. */
html body .hs-faq .accordion-title,
html body .hs-faq .accordion-title.active {
	background: var(--hs-white);
	color: var(--hs-navy);
	font-weight: 500;
}

html body .hs-faq .accordion-title span {
	font-weight: 500;
}

/* Toggle là <button> → nhận style nút chung (bo 99px, cao 48px): ghi đè về ô vuông 36px bo 6 như Figma. */
html body .hs-faq .accordion-title button.toggle {
	width: 36px;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0;
	border-radius: 6px;
	color: var(--hs-navy);
	line-height: 1;
}

html body .hs-faq .accordion-inner > :last-child {
	margin-bottom: 0;
}

html body .hs-faq .accordion-title.active .toggle {
	color: var(--hs-white);
}

html body .hs-faq .accordion-inner {
	padding: 0 32px 28px;
	background: var(--hs-white);
}

/* Footer Figma: copyright 16px trắng căn trái (panel tràn ngang đặt ở figma-parity.css). */
.footer-wrapper .footer-1 {
	border-radius: var(--hs-r-16) var(--hs-r-16) 0 0;
}

.absolute-footer .footer-primary {
	flex: 1;
	text-align: left;
}

.absolute-footer .copyright-footer,
.absolute-footer .hs-legal a {
	color: var(--hs-text) !important;
	font-size: var(--hs-fs-body);
}

.footer-1 .widget-title {
	margin-bottom: 16px;
}

/* Figma ngắt dòng tiêu đề bình thường — tắt text-wrap: balance (tokens.css) trong các khối UX. */
.hs-sec h1,
.hs-sec h2,
.hs-sec h3,
.hs-hero-x h1,
.hs-hero-x h2 {
	text-wrap: wrap;
}

/* Nút submit thanh đặt lịch nhanh = nút pill navy + vòng mũi tên (Figma BookingBar/Btn). */
.hs-booking button.hs-btn {
	text-transform: none; /* Flatsome mặc định button uppercase */
	letter-spacing: 0;
	min-height: 54px;
	margin: 0;
	padding: 5px 5px 5px 32px;
	border: 0;
	white-space: nowrap;
	cursor: pointer;
}

/* Footer Figma: panel padding 64 → nội dung 1312 (x 64–1376); bar bản quyền padding 32. */
.footer-wrapper .footer-1 > .row {
	max-width: 1342px;
}

.footer-wrapper .absolute-footer > .container {
	max-width: 1312px; /* thanh bản quyền = khung nội dung 1312 (không có padding cột) */
}

.absolute-footer .copyright-footer {
	margin: 0;
	padding: 0;
}

/* Clearfix ::before/::after của .container thành flex item → cộng thêm gap 40px trước chữ bản quyền. */
.footer-wrapper .absolute-footer > .container::before,
.footer-wrapper .absolute-footer > .container::after {
	display: none;
}

.absolute-footer .footer-primary,
.absolute-footer .footer-secondary {
	margin: 0;
	padding: 0;
}

html body .footer-1 .widget .widget-title {
	display: block; /* Flatsome dùng <span> inline → margin không ăn */
	margin-bottom: 16px;
}

/* ================= Trang template Flatsome (Giới thiệu, Liên hệ, chính sách, tin tức, tìm kiếm, 404) =================
 * Đưa về cùng ngôn ngữ Figma với trang chủ / dịch vụ. */

/* Tiêu đề trang: Flatsome gắn class "uppercase" (giãn chữ .05em) → Figma: navy (type_headings_color), không giãn. */
h1.entry-title,
h1.page-title {
	font-size: var(--hs-fs-h1);
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

/* Section UX trong nội dung trang mặc định: bỏ padding ngang 30px của Flatsome (.row .section) → không thụt 2 lớp. */
.row-main .col .section {
	padding-right: 0;
	padding-left: 0;
}

/* Ô tìm kiếm (trang tìm kiếm, 404, lightbox header): bo 12 như ô form. */
.searchform .search-field {
	height: 48px;
	padding: 0 16px;
	border-radius: var(--hs-r-12) 0 0 var(--hs-r-12);
	box-shadow: none;
}

.searchform .ux-search-submit {
	min-width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 0 var(--hs-r-12) var(--hs-r-12) 0;
}

/* Meta bài: không hiện tác giả (là tài khoản quản trị). */
.entry-meta .byline {
	display: none;
}

/* Nút Flatsome mặc định in hoa + giãn chữ → nhãn thường như mọi nút Figma.
 * flatsome.css nạp SAU child theme → cần độ đặc hiệu cao hơn (html …). */
html .button {
	letter-spacing: 0;
	text-transform: none;
}

/* Nút viền: Flatsome để chữ + viền màu bạc (tương phản thấp trên nền trắng) → navy. */
html .button.is-outline:not(:hover) {
	border-color: color-mix(in srgb, var(--hs-navy) 30%, transparent);
	color: var(--hs-navy);
}

.hs-chi-nhanh .button {
	padding: 0 20px;
}

@media (max-width: 549px) {

	h1.entry-title,
	h1.page-title {
	}
}

/* Laptop nhỏ / tablet ngang (850–1279px): logo + 7 mục menu + nút đặt lịch không đủ chỗ trên một hàng → thu gọn header. */
@media (min-width: 850px) and (max-width: 1279px) {

	#header #logo img {
		height: 36px;
	}

	.header-main .hide-for-medium.flex-left {
		margin-left: 16px;
	}

	.header-main .header-nav-main {
		gap: 12px;
	}

	.header-main .header-nav-main > li > a {
		font-size: var(--hs-fs-label);
	}

	.header-button-1 .button {
		min-height: 44px;
		padding: 0 20px;
	}

	.header-button-1 .button::after {
		content: none;
	}
}

/* 850–1023px: vẫn thiếu chỗ → ẩn mục "Trang chủ" (logo đã dẫn về trang chủ), logo + khoảng cách nhỏ hơn. */
@media (min-width: 850px) and (max-width: 1023px) {

	#header #logo img {
		height: 32px;
	}

	.header-main .header-nav-main > li.menu-item-home {
		display: none;
	}

	.header-main .header-nav-main {
		gap: 8px;
	}
}

/* 850–899px (sát ngưỡng mobile): chữ menu nhỏ thêm một bậc để vẫn nằm một hàng. */
@media (min-width: 850px) and (max-width: 899px) {

	.header-main .header-nav-main > li > a {
		font-size: 13px;
	}
}

/* ================= Nối section cuối trang với chân trang ================= */

/* Chân trang: lề trên vừa phải (mặc định Flatsome 80px). Mobile: mobile.css. */
html body .footer-wrapper .footer-1 {
	padding-top: 56px;
}

/* Section cuối trang nền navy nằm sát chân trang (cùng màu): 80px + 80px navy dồn thành khoảng trống lớn
 * → bớt lề dưới section + vạch mảnh ngăn cách với chân trang. */
#content > .hs-panel--navy:last-child > .section-content {
	padding-bottom: var(--hs-space-half);
}

#main:has(#content > .hs-panel--navy:last-child) + .footer-wrapper .footer-1 {
	padding-top: 48px;
}

/* Ảnh đặt giữa các cột số liệu (Figma "Con số sau … năm"): cắt theo chiều cao 2 thẻ số liệu bên cạnh,
 * không để ảnh dọc kéo cả khối dài ra. Ảnh nằm tuyệt đối trong khung → không tham gia tính chiều cao hàng. */
.row:has(.hs-stat) > .col:has(.hs-media) > .col-inner {
	height: 100%;
}

.row:has(.hs-stat) .hs-media {
	position: relative;
	height: 100%;
	min-height: 260px;
}

.row:has(.hs-stat) .hs-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
