/*
 * Khớp số đo Figma (node 5:1293 Home, 7:3047 Chi tiết dịch vụ) — đo bằng Figma MCP 23/09/2026.
 * Chỉ chỉnh kích thước/khoảng cách/bo góc; bố cục khối vẫn theo SRS C mục 2–3.
 */

:root {
	--hs-content-width: 1280px; /* 1440 − 2×16 (inset) − 2×64 (panel padding) */
	--hs-panel-inset: 16px;
	--hs-panel-radius: 16px;
	--hs-hero-radius: 20px;
	--hs-btn-height: var(--hs-btn-h);
	--hs-btn-icon: var(--hs-icon-btn);
}

/* 7. Chữ body var(--hs-text) (Flatsome in màu chữ riêng — tăng độ đặc hiệu thay vì !important). */
html body,
html body p {
	color: var(--hs-text);
}

/* 1. Chiều rộng nội dung 1280 (Figma: x = 80 → 1360).
 * Cột Elementor có padding 20px mỗi bên → container 1320. Row/container Flatsome có padding 15px mỗi bên → 1310. */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: calc(var(--hs-content-width) + 40px);
}

.row:not(.row-collapse):not(.row-full-width),
.header-inner.container,
.footer-wrapper .container {
	max-width: calc(var(--hs-content-width) + 30px);
}

/* 2. Menu 18/500 navy. */
.header-nav-main.nav > li > a {
	font-family: var(--hs-font-heading);
	font-size: var(--hs-fs-title);
	font-weight: 500;
	color: var(--hs-navy);
}

.header-nav-main.nav > li > a:hover,
.header-nav-main.nav > li.active > a {
	color: var(--hs-primary);
}

/* 3. Nút pill Figma (Coolen/Button): cao 56, chữ 18, vòng tròn mũi tên 42 bên phải. */
.header-button-1 .button,
.hs-hero .button.primary,
.hs-dat-lich .hs-goi-to,
.hs-section .text-center .button.primary {
	min-height: var(--hs-btn-height);
	padding: 0 5px 0 var(--hs-btn-pad);
	gap: 12px;
	font-size: var(--hs-fs-title);
	font-weight: 500;
	line-height: 1;
}

.header-button-1 .button::after,
.hs-hero .button.primary::after,
.hs-dat-lich .hs-goi-to::after {
	content: "↗";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--hs-btn-icon);
	height: var(--hs-btn-icon);
	border-radius: 50%;
	background: var(--hs-white);
	color: var(--hs-primary);
	font-size: 18px;
}

.header-button-1 .button {
	display: inline-flex;
	align-items: center;
}

/* 4. Section dạng panel thụt 16px, bo 16px; các section cùng nền liền nhau gộp thành 1 panel. */
.hs-section--surface,
.hs-section--navy {
	margin: 10px var(--hs-panel-inset) 0;
	border-radius: var(--hs-panel-radius);
}

.hs-hero {
	margin: 10px 6px 0;
	border-radius: var(--hs-hero-radius);
}

.hs-section--surface + .hs-section--surface,
.hs-section--navy + .hs-section--navy {
	margin-top: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.hs-section--surface:has(+ .hs-section--surface),
.hs-section--navy:has(+ .hs-section--navy) {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* 5. Heading section 48/600. */
.hs-section .elementor-widget-heading h2.elementor-heading-title {
	font-size: clamp(30px, 3.4vw, 48px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

/* 9. Banner H1 trang dịch vụ (navy, 72/700, căn giữa) — Figma page banner. */
.hs-section--navy.hs-h1-band {
	padding-top: 96px;
	padding-bottom: 96px;
	border-radius: var(--hs-hero-radius);
	text-align: center;
}

.hs-section--navy.hs-h1-band .elementor-heading-title {
	font-size: clamp(34px, 5vw, var(--hs-fs-display));
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

/* 6. Card bo 16, tiêu đề 24/600. */
.hs-card .elementor-icon-box-wrapper,
.hs-card.elementor-widget-icon-box .elementor-widget-container {
	border-radius: var(--hs-panel-radius);
}

.hs-card .elementor-icon-box-title {
	font-size: var(--hs-fs-h4);
	font-weight: 600;
}

/* 8. Footer: panel navy thụt 16, bo 16; thanh copyright mờ bo 16 nằm trong panel. */
.footer-wrapper {
	padding: 2px 0 0; /* Figma Coolen/Footer: panel tràn ngang */
	background: var(--hs-page-bg);
}

.footer-wrapper .footer-1 {
	padding: 80px 48px 24px;
	border-radius: var(--hs-panel-radius) var(--hs-panel-radius) 0 0;
}

.footer-wrapper .absolute-footer {
	padding: 0 48px 20px;
	border-radius: 0 0 var(--hs-panel-radius) var(--hs-panel-radius);
	background-color: var(--hs-page-bg);
}

.footer-wrapper .absolute-footer > .container {
	padding: 16px 32px;
	border-radius: var(--hs-panel-radius);
	background: var(--hs-surface);
}

@media (max-width: 767px) {

	.hs-section--surface,
	.hs-section--navy,
	.hs-hero {
		margin-right: 8px;
		margin-left: 8px;
	}

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

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

	.hs-section--navy.hs-h1-band {
		padding-top: 56px;
		padding-bottom: 56px;
	}
}
