/*
Theme Name: HungMarker
Theme URI: https://hungmarker.com/
Author: HungMarker
Author URI: https://hungmarker.com/
Description: Theme riêng cho hungmarker.com — AI & Marketing cho doanh nghiệp Beauty tại Mỹ và Canada. Trang chủ dựng bằng block nên sửa chữ, ảnh trực tiếp trong trình soạn thảo; có form tư vấn lưu vào mục "Yêu cầu tư vấn".
Version: 1.3.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hungmarker
*/

/* ---------- Màu & cỡ chữ ---------- */
:root {
	--navy: #071b3b;
	--navy-2: #0c2550;
	--royal: #1455c8;
	--electric: #39b8ff;
	--violet: #8165e8;
	--gold: #ffbe35;
	--gold-2: #ffcd5c;
	--ice: #eaf4ff;
	--line: #d8e5f6;
	--muted: #5b6b86;
	--messenger: #0084ff;
	--white: #fff;
	--radius: 20px;
	--shadow-soft: 0 20px 50px -24px rgba(7, 27, 59, .35);
	--shadow-gold: 0 12px 30px -10px rgba(255, 190, 53, .65);
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--header-h: 72px;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: #fff;
	color: var(--navy);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; line-height: 1.25; color: inherit; }
p { margin: 0; }
figure { margin: 0; }
.hm-svg { width: 1em; height: 1em; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: var(--gold); color: var(--navy); border-radius: 999px;
}
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }

.hm-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hm-narrow { max-width: 820px; }
.hm-center { text-align: center; justify-content: center; }

/* ---------- Nút ---------- */
.hm-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 28px; border: 0; border-radius: 999px;
	background: var(--gold); color: var(--navy);
	font: 800 15px/1.2 var(--font); text-transform: uppercase; letter-spacing: .2px;
	box-shadow: var(--shadow-gold); cursor: pointer; text-decoration: none;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hm-btn:hover,
.wp-block-button .wp-block-button__link:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-2px); }
.wp-block-button .wp-block-button__link::after {
	content: ""; width: 16px; height: 16px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hm-btn .hm-svg { width: 17px; height: 17px; }
.hm-btn-messenger { background: var(--messenger); color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 132, 255, .6); }
.hm-btn-messenger:hover { background: #1a91ff; color: #fff; }
.hm-btn-block { width: 100%; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-buttons.hm-center { justify-content: center; margin-top: 44px; }
.wp-block-button { margin: 0; }

/* ---------- Header ---------- */
.hm-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	transition: background .3s ease, box-shadow .3s ease;
}
.hm-header.is-scrolled,
body:not(.home) .hm-header,
.hm-menu-open .hm-header {
	background: rgba(7, 27, 59, .92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
}
body.admin-bar .hm-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hm-header { top: 46px; } }
.hm-header-inner {
	max-width: 1200px; height: var(--header-h); margin: 0 auto; padding: 0 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hm-logo { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1; }
.hm-logo span { color: var(--gold); }
.hm-logo:hover { color: #fff; }
.custom-logo-link img { max-height: 44px; width: auto; }
.hm-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.hm-menu a {
	display: block; padding: 8px 16px; border-radius: 999px;
	color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600;
	transition: color .2s, background .2s;
}
.hm-menu a:hover { color: #fff; }
.hm-menu .is-active a,
.hm-menu .current-menu-item a { background: rgba(255, 255, 255, .1); color: var(--gold); }
.hm-burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.hm-burger .hm-svg { width: 26px; height: 26px; }
.hm-burger .hm-i-close, .hm-menu-open .hm-burger .hm-i-open { display: none; }
.hm-menu-open .hm-burger .hm-i-close { display: block; }

@media (max-width: 1023px) {
	.hm-burger { display: block; }
	.hm-nav {
		position: absolute; top: var(--header-h); left: 0; right: 0;
		background: rgba(7, 27, 59, .97); padding: 8px 20px 20px;
		border-top: 1px solid rgba(255, 255, 255, .08);
		display: none;
	}
	.hm-menu-open .hm-nav { display: block; }
	.hm-menu { flex-direction: column; }
	.hm-menu a { padding: 12px 16px; font-size: 16px; }
}

/* ---------- Phần (section) ---------- */
.hm-section { padding: 96px 0; position: relative; }
.hm-light { background: #fff; color: var(--navy); }
.hm-ice { background: var(--ice); color: var(--navy); }
.hm-dark { background: var(--navy); color: #fff; }
.hm-glow { overflow: hidden; }
.hm-glow::before {
	content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: 60px;
	background: radial-gradient(circle, rgba(20, 85, 200, .55), transparent 70%); pointer-events: none;
}
.hm-glow > * { position: relative; }
.hm-agency {
	background:
		radial-gradient(70% 70% at 100% 0%, rgba(129, 101, 232, .45), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, rgba(20, 85, 200, .4), transparent 70%),
		var(--navy);
}

.hm-kicker {
	font-size: 14px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
	color: var(--royal); margin-bottom: 14px;
}
.hm-dark .hm-kicker { color: var(--gold); }
.hm-kicker a { color: inherit; }
.hm-title,
.hm-head h2 {
	font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -1.2px;
	text-transform: uppercase; line-height: 1.2;
}
.hm-lead { color: var(--muted); font-size: 17px; margin-top: 18px; }
.hm-dark .hm-lead { color: rgba(255, 255, 255, .78); }
.hm-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.hm-head .hm-lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Lưới ---------- */
.hm-grid { display: grid; gap: 20px; }
.hm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 56px; }
@media (max-width: 1023px) {
	.hm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-grid-2, .hm-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.hm-section { padding: 72px 0; }
	.hm-grid-3, .hm-grid-4 { grid-template-columns: 1fr; }
	.hm-head { margin-bottom: 40px; }
}

/* ---------- Hero ---------- */
.hm-hero {
	padding: calc(var(--header-h) + 88px) 0 80px; overflow: hidden;
	background:
		radial-gradient(60% 50% at 80% 30%, rgba(57, 184, 255, .28), transparent 70%),
		radial-gradient(50% 50% at 10% 80%, rgba(129, 101, 232, .3), transparent 70%),
		var(--navy);
}
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hm-hero-title { font-size: clamp(36px, 5vw, 60px); letter-spacing: -1.5px; text-transform: uppercase; line-height: 1.16; }
.hm-hero-sub { color: var(--electric); font-size: 21px; font-weight: 700; margin: 16px 0 22px; }
.hm-hero-text > p:not(.hm-kicker):not(.hm-hero-sub) { color: rgba(255, 255, 255, .82); margin-bottom: 14px; }
.hm-portrait {
	position: relative; border-radius: 32px; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(57, 184, 255, .5), 0 30px 70px -25px rgba(57, 184, 255, .55);
}
.hm-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.hm-stat {
	padding: 22px 24px; border-radius: var(--radius);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hm-stat-num { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.2; color: #fff; }
.hm-stat-label { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 4px; }
.hm-stats-center { max-width: 960px; margin: 0 auto; text-align: center; }
.hm-stats-center .hm-stat-num { font-size: clamp(22px, 2.3vw, 30px); text-transform: uppercase; }
.hm-stats-center .hm-stat-label { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
@media (max-width: 1023px) {
	.hm-hero-grid { grid-template-columns: 1fr; }
	.hm-portrait { max-width: 420px; }
}
@media (max-width: 640px) {
	.hm-hero { padding-top: calc(var(--header-h) + 40px); }
	.hm-stats { gap: 8px; margin-top: 40px; }
	.hm-stat { padding: 14px 10px; text-align: center; }
	.hm-stat-num, .hm-stats-center .hm-stat-num { font-size: 17px; white-space: nowrap; }
	.hm-stat-label, .hm-stats-center .hm-stat-label { font-size: 11.5px; line-height: 1.35; letter-spacing: 0; }
}

/* ---------- About ---------- */
.hm-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-about-text .hm-title { margin-bottom: 22px; }
.hm-about-text > p:not(.hm-kicker) { color: var(--muted); margin-bottom: 14px; }
.hm-about-text > p.hm-quote,
.hm-quote {
	position: relative; margin: 22px 0 0; padding: 18px 22px 18px 58px;
	background: var(--ice); border-left: 4px solid var(--gold); border-radius: 18px;
	color: var(--navy); font-weight: 700;
}
.hm-quote::before {
	content: ""; position: absolute; left: 20px; top: 20px; width: 22px; height: 22px;
	background: var(--royal);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2H4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .01-1 1.03V20c0 1 0 1 1 1z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2h-4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2H4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .01-1 1.03V20c0 1 0 1 1 1z'/%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.76-2.02-2-2h-4c-1.25 0-2 .75-2 1.97V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Thẻ ---------- */
.hm-card {
	padding: 28px 24px; border-radius: var(--radius); background: #fff;
	border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.hm-card-ice { background: var(--ice); box-shadow: none; }
.hm-card h3 { font-size: 18px; text-transform: uppercase; margin: 16px 0 8px; }
.hm-card p { color: var(--muted); font-size: 15.5px; }
.hm-icon { display: inline-flex; color: var(--royal); font-size: 30px; }
.hm-icon-round {
	width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center;
	background: var(--royal); color: #fff; font-size: 21px;
}

/* ---------- Solutions ---------- */
.hm-panel {
	padding: 30px 26px; border-radius: 24px;
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
	display: flex; flex-direction: column;
}
.hm-panel-title { color: var(--gold); font-size: 24px; text-transform: uppercase; letter-spacing: -.3px; }
.hm-panel-lead { color: rgba(255, 255, 255, .78); margin: 8px 0 26px; }
.hm-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-mini {
	display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
	border-radius: 16px; background: rgba(255, 255, 255, .06);
}
.hm-mini .hm-icon { color: var(--electric); font-size: 17px; margin-top: 3px; }
.hm-mini-t { font-weight: 700; font-size: 15.5px; }
.hm-mini-d { color: rgba(255, 255, 255, .65); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.hm-panel .wp-block-buttons { margin-top: auto; padding-top: 26px; }
@media (max-width: 420px) { .hm-mini-grid { grid-template-columns: 1fr; } }

/* ---------- Approach ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.hm-steps::before {
	content: ""; position: absolute; left: 22px; right: 0; top: 21px; height: 2px;
	background: linear-gradient(90deg, var(--navy), var(--violet));
}
.hm-step { position: relative; }
.hm-step-n {
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: var(--navy); color: var(--gold); font-weight: 800; font-size: 16px;
	position: relative; margin-bottom: 18px; box-shadow: 0 0 0 6px #fff;
}
.hm-step-card { padding: 20px 18px; border-radius: 22px; background: var(--ice); border: 1px solid var(--line); }
.hm-step-card h3 { font-size: 16.5px; text-transform: uppercase; margin-bottom: 8px; }
.hm-step-card p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.hm-underline { text-align: center; margin-top: 44px; font-size: 20px; }
.hm-underline strong { box-shadow: inset 0 -4px 0 var(--gold); padding-bottom: 2px; }
@media (max-width: 1023px) {
	.hm-steps { grid-template-columns: 1fr; gap: 14px; }
	.hm-steps::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--navy), var(--violet)); }
	.hm-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
	.hm-step-n { margin: 0; }
}

/* ---------- Knowledge ---------- */
.hm-search {
	position: relative; max-width: 560px; margin: 0 auto 36px;
	background: #fff; border-radius: 999px; box-shadow: var(--shadow-soft);
}
.hm-search .hm-svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.hm-search input {
	width: 100%; border: 1px solid var(--line); border-radius: 999px; background: transparent;
	padding: 16px 22px 16px 54px; font: 500 16px var(--font); color: var(--navy);
}
.hm-search input:focus { outline: none; border-color: var(--royal); }
.hm-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.hm-cat-pill {
	display: flex; align-items: center; gap: 12px; padding: 13px 18px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	color: var(--navy); font-size: 14.5px; font-weight: 700; line-height: 1.3;
	transition: border-color .2s, transform .2s, color .2s;
}
.hm-cat-pill .hm-svg { color: var(--royal); width: 18px; height: 18px; }
.hm-cat-pill:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-2px); }
.hm-post-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
	border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-soft);
	transition: transform .25s ease;
}
.hm-post-card:hover { transform: translateY(-4px); }
.hm-post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.hm-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hm-post-card:hover .hm-post-thumb img { transform: scale(1.04); }
.hm-post-thumb-empty { display: grid; place-items: center; height: 100%; color: var(--gold); font-size: 40px; }
.hm-post-body { padding: 20px 20px 24px; }
.hm-tag {
	display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ice);
	color: var(--royal); font-size: 12.5px; font-weight: 700; margin-bottom: 12px;
}
.hm-post-title { font-size: 17.5px; line-height: 1.4; }
.hm-post-title a { color: var(--navy); }
.hm-post-title a:hover { color: var(--royal); }
.hm-knowledge .hm-center { margin-top: 44px; display: flex; }
.hm-empty { text-align: center; color: var(--muted); }
@media (max-width: 1023px) { .hm-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hm-cat-grid { grid-template-columns: 1fr; } }

.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center;
	border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700;
}
.page-numbers.current { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ---------- Videos ---------- */
.hm-reel { text-align: center; }
.hm-reel-frame {
	position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
	background: var(--navy-2); border: 1px solid rgba(129, 101, 232, .45);
}
.hm-reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-reel figcaption { margin-top: 12px; font-size: 14px; }
.hm-reel figcaption a { color: rgba(255, 255, 255, .75); }
.hm-reel figcaption a:hover { color: var(--gold); }
.hm-reel figcaption a { display: inline-flex; align-items: center; gap: 6px; }
.hm-reel figcaption svg { width: 16px; height: 16px; flex: none; }
/* Instagram: khung theo chiều cao thật của bài nhúng (đầu trang + video 4:5 + phần thích/bình luận); JS chỉnh lại cho khớp. */
.hm-reel-instagram .hm-reel-frame { aspect-ratio: auto; height: 0; padding-bottom: calc(125% + 208px); background: #fff; }
.hm-reel-instagram .hm-reel-frame.is-sized { padding-bottom: 0; }
@media (max-width: 1023px) and (min-width: 641px) { .hm-reels .hm-reel:nth-child(3) { display: none; } }
@media (max-width: 640px) { .hm-reels { max-width: 340px; margin: 0 auto; } }

/* ---------- Projects ---------- */
.hm-project-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s ease;
}
.hm-project-card:hover { transform: translateY(-4px); }
.hm-project-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-project-body { padding: 22px 22px 26px; }
.hm-project-body h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.hm-project-body p { color: var(--muted); font-size: 15.5px; }
.hm-projects-page > .hm-lead { text-align: center; max-width: 640px; margin: 0 auto 40px; }

/* ---------- Contact ---------- */
.hm-split-contact { align-items: start; margin-bottom: 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.hm-contact-text .hm-lead { margin-bottom: 30px; }
@media (max-width: 1023px) { .hm-split-contact { grid-template-columns: 1fr; gap: 40px; } }
.hm-contact-card {
	padding: 28px; border-radius: 24px; color: #fff;
	background:
		radial-gradient(80% 80% at 100% 0%, rgba(129, 101, 232, .35), transparent 70%),
		var(--navy);
	box-shadow: var(--shadow-soft);
}
.hm-cc-name { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.hm-cc-role { color: var(--gold); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.hm-cc-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.hm-cc-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hm-cc-list .hm-svg { color: var(--electric); width: 18px; height: 18px; }
.hm-cc-list a { color: #fff; }
.hm-cc-list a:hover { color: var(--gold); }
.hm-socials { display: flex; gap: 10px; margin-bottom: 22px; }
.hm-socials a {
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, color .2s;
}
.hm-socials a:hover { background: var(--gold); color: var(--navy); }
.hm-socials .hm-svg { width: 18px; height: 18px; }
.hm-cta-pair { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-cta-pair .hm-btn { padding: 12px 20px; font-size: 14px; }

.hm-form {
	background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}
.hm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.hm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; }
.hm-form .hm-l em { color: #d63b3b; font-style: normal; margin-left: 2px; }
.hm-form input, .hm-form select, .hm-form textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
	background: #fbfdff; font: 500 15px var(--font); color: var(--navy);
}
.hm-form input:focus, .hm-form select:focus, .hm-form textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(20, 85, 200, .15); }
.hm-form textarea { resize: vertical; min-height: 110px; }
.hm-span-2 { grid-column: 1 / -1; }
.hm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-form-msg { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.hm-form-ok { background: #e7f8ee; color: #136c3a; }
.hm-form-err { background: #fdecec; color: #a12626; }
@media (max-width: 640px) {
	.hm-form { padding: 22px; }
	.hm-form-grid { grid-template-columns: 1fr; }
}

/* ---------- Trang con, bài viết ---------- */
.hm-page-hero { padding: calc(var(--header-h) + 64px) 0 64px; background:
	radial-gradient(60% 80% at 90% 0%, rgba(129, 101, 232, .35), transparent 70%),
	radial-gradient(50% 80% at 0% 100%, rgba(20, 85, 200, .35), transparent 70%),
	var(--navy); }
.hm-page-title { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -1px; line-height: 1.22; }
.hm-page-hero .hm-lead { max-width: 640px; }
.hm-404 .hm-search { margin: 28px 0; }
.hm-404 .hm-btn { margin-top: 8px; }
.hm-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.hm-back:hover { color: var(--gold); }
.hm-meta { color: rgba(255, 255, 255, .6); font-size: 14px; margin-top: 14px; }
.hm-single-body { padding-top: 48px; }
.hm-single-cover { border-radius: 24px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-soft); }
.hm-single-cover img { width: 100%; }
.hm-single-cta {
	margin-top: 48px; padding: 26px; border-radius: 22px; background: var(--ice);
	display: grid; gap: 16px;
}

.hm-entry { font-size: 18px; line-height: 1.8; }
.hm-entry > * + * { margin-top: 1.1em; }
.hm-entry h2 { font-size: 28px; margin-top: 1.8em; line-height: 1.3; }
.hm-entry h3 { font-size: 22px; margin-top: 1.6em; line-height: 1.35; }
.hm-entry a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.hm-entry ul, .hm-entry ol { padding-left: 1.3em; }
.hm-entry li + li { margin-top: .4em; }
.hm-entry blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--ice); border-radius: 0 16px 16px 0; font-weight: 600; }
.hm-entry img { border-radius: 16px; }
.hm-entry figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.hm-entry .hm-projects-page p, .hm-entry .hm-project-body p { margin-top: 0; }
.hm-entry .hm-projects-page { font-size: 17px; line-height: 1.65; }
.hm-entry .hm-project-body h3 { margin-top: 0; font-size: 18px; }
.hm-entry .hm-project-img a { text-decoration: none; }
.hm-entry .hm-project-img img { border-radius: 0; }

/* ---------- Footer ---------- */
.hm-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 72px 0 0; font-size: 15px; }
.hm-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.hm-footer-brand p { margin: 16px 0 18px; max-width: 280px; }
.hm-footer-pills { display: flex; gap: 8px; }
.hm-footer-pills a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; font-weight: 600; }
.hm-footer-pills a:hover { background: var(--gold); color: var(--navy); }
.hm-foot-title { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.hm-foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hm-foot-list a { color: rgba(255, 255, 255, .75); display: inline-flex; align-items: center; gap: 10px; }
.hm-foot-list a:hover { color: var(--gold); }
.hm-foot-connect .hm-svg { width: 16px; height: 16px; }
.hm-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 20px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 1023px) { .hm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hm-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Nút nổi Messenger / Gọi ngay ---------- */
.hm-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; flex-direction: column; align-items: flex-end; }
.hm-float .hm-btn { box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
@media (max-width: 640px) {
	.hm-float {
		left: 0; right: 0; bottom: 0; flex-direction: row; flex-wrap: nowrap; gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(7, 27, 59, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	}
	.hm-float .hm-btn { flex: 1; padding: 13px 8px; font-size: 13px; white-space: nowrap; gap: 8px; }
	body { padding-bottom: 72px; }
}

/* ---------- Hiệu ứng hiện dần ---------- */
.hm-anim .hm-head, .hm-anim .hm-card, .hm-anim .hm-panel, .hm-anim .hm-step,
.hm-anim .hm-post-card, .hm-anim .hm-project-card, .hm-anim .hm-reel, .hm-anim .hm-stat, .hm-anim .hm-split > * {
	opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease;
}
.hm-anim .is-in { opacity: 1; transform: none; }
.hm-anim .hm-post-card.is-in:hover, .hm-anim .hm-project-card.is-in:hover { transform: translateY(-4px); }

/* ---------- Ghi đè style mặc định của block WordPress ---------- */
.hm-page-blocks .wp-block-image, .hm-entry .hm-project-img { margin: 0; }
.wp-block-image img { height: auto; }
.hm-portrait img, .hm-photo img, .hm-project-img img { max-width: 100%; }
.hm-page-blocks .wp-block-group { margin-top: 0; }

/* =====================================================================
   Lớp "sống động": nền chuyển động, chữ nhấn gradient, hiệu ứng hover.
   ===================================================================== */
:root {
	--grad-gold: linear-gradient(100deg, #ffbe35 0%, #ffd982 45%, #ff9f43 100%);
	--grad-blue: linear-gradient(120deg, #1455c8 0%, #5b6cf0 50%, #8165e8 100%);
	--grad-bright: linear-gradient(100deg, #ffbe35 0%, #ffd982 35%, #39b8ff 100%);
}

/* Thanh tiến trình đọc */
.hm-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
	background: linear-gradient(90deg, var(--gold), var(--electric), var(--violet));
	transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none;
}
body.admin-bar .hm-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .hm-progress { top: 46px; } }

/* Chữ nhấn gradient trong tiêu đề (phần in đậm) */
.hm-title strong, .hm-hero-title strong, .hm-head h2 strong {
	font-weight: inherit;
	background: var(--grad-blue); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	padding: .12em 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hm-dark .hm-title strong, .hm-dark .hm-head h2 strong, .hm-hero-title strong {
	background: var(--grad-bright); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text;
	animation: hm-shine 6s ease-in-out infinite alternate;
}
@keyframes hm-shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Kicker dạng viên thuốc có chấm sáng */
.hm-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 16px 7px 12px; border-radius: 999px;
	background: rgba(20, 85, 200, .08); border: 1px solid rgba(20, 85, 200, .16);
	font-size: 12.5px; letter-spacing: 2.6px;
}
.hm-kicker::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
	background: var(--grad-blue); box-shadow: 0 0 0 4px rgba(20, 85, 200, .15);
	animation: hm-pulse 2.4s ease-in-out infinite;
}
.hm-dark .hm-kicker { background: rgba(255, 190, 53, .1); border-color: rgba(255, 190, 53, .28); }
.hm-dark .hm-kicker::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 190, 53, .2); }
.hm-single .hm-kicker, .hm-page-hero .hm-kicker { margin-bottom: 18px; }
@keyframes hm-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }

/* Nút: gradient vàng + vệt sáng lướt qua */
.hm-btn, .wp-block-button .wp-block-button__link {
	background: var(--grad-gold); position: relative; overflow: hidden; isolation: isolate;
}
.hm-btn::before, .wp-block-button .wp-block-button__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .7s ease;
}
.hm-btn:hover::before, .wp-block-button .wp-block-button__link:hover::before { transform: translateX(120%); }
.hm-btn:hover, .wp-block-button .wp-block-button__link:hover { background: var(--grad-gold); box-shadow: 0 18px 36px -12px rgba(255, 170, 40, .75); }
.hm-btn-messenger, .hm-btn-messenger:hover { background: linear-gradient(120deg, #0084ff, #3b5bff); }

/* ---------- Hero ---------- */
.hm-hero { isolation: isolate; }
.hm-hero::before, .hm-hero::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hm-hero::before {
	width: 560px; height: 560px; right: -120px; top: 40px;
	background: radial-gradient(circle, rgba(57, 184, 255, .45), transparent 65%);
	animation: hm-drift-a 16s ease-in-out infinite alternate;
}
.hm-hero::after {
	width: 520px; height: 520px; left: -160px; bottom: -120px;
	background: radial-gradient(circle, rgba(129, 101, 232, .55), transparent 65%);
	animation: hm-drift-b 18s ease-in-out infinite alternate;
}
.hm-hero > .hm-wrap::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent 75%);
	mask-image: radial-gradient(70% 60% at 60% 40%, #000, transparent 75%);
}
@keyframes hm-drift-a { to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes hm-drift-b { to { transform: translate(110px, -60px) scale(1.1); } }
.hm-hero-title { line-height: 1.18; }
.hm-hero-sub {
	display: inline-flex; align-items: center; gap: 10px;
	background: linear-gradient(90deg, #7fd3ff, var(--electric)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hm-hero > .hm-wrap { position: relative; }
.hm-hero-visual { position: relative; padding: 18px; }
.hm-hero-visual::before {
	content: ""; position: absolute; inset: 0; border-radius: 40px; z-index: 0;
	background: conic-gradient(from var(--hm-angle, 0deg), var(--electric), var(--violet), var(--gold), var(--electric));
	filter: blur(22px); opacity: .55; animation: hm-spin 10s linear infinite;
}
@property --hm-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hm-spin { to { --hm-angle: 360deg; } }
.hm-hero-visual .hm-portrait { position: relative; z-index: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hm-badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px 12px 12px; border-radius: 18px;
	background: rgba(10, 30, 66, .72); border: 1px solid rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
	color: rgba(255, 255, 255, .72); font-size: 12.5px; line-height: 1.35;
	animation: hm-float 6s ease-in-out infinite;
}
.hm-badge strong { display: block; color: #fff; font-size: 14.5px; }
.hm-badge-ico {
	width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none;
	background: var(--grad-gold); color: var(--navy); font-size: 18px;
}
.hm-badge-1 { left: -36px; top: 14%; }
.hm-badge-2 { right: -28px; top: 46%; animation-delay: -2s; }
.hm-badge-2 .hm-badge-ico { background: linear-gradient(135deg, var(--electric), #1455c8); color: #fff; }
.hm-badge-3 { left: -12px; bottom: 9%; animation-delay: -4s; }
.hm-badge-3 .hm-badge-ico { background: linear-gradient(135deg, #a58bff, var(--violet)); color: #fff; }
@media (max-width: 1320px) { .hm-badge-1 { left: -14px; } .hm-badge-2 { right: -4px; } }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hm-stat { position: relative; overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.hm-stat::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
	background: linear-gradient(90deg, var(--gold), var(--electric), transparent);
}
.hm-stat:hover { transform: translateY(-4px); border-color: rgba(255, 190, 53, .4); }
.hm-stat-num {
	background: linear-gradient(100deg, #fff 30%, #ffd982); -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 1023px) {
	.hm-hero-visual { max-width: 460px; margin: 0 auto; }
	.hm-badge-1 { left: -6px; }
	.hm-badge-2 { right: -6px; }
}
@media (max-width: 520px) {
	.hm-badge { padding: 9px 12px 9px 9px; font-size: 11px; gap: 9px; }
	.hm-badge strong { font-size: 12.5px; }
	.hm-badge-ico { width: 30px; height: 30px; font-size: 15px; border-radius: 10px; }
}

/* ---------- Dải chữ chạy ---------- */
.hm-marquee {
	background: linear-gradient(90deg, #0b2550, #1d2a78 50%, #0b2550);
	border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
	overflow: hidden; padding: 18px 0; position: relative;
}
.hm-marquee::before, .hm-marquee::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none;
}
.hm-marquee::before { left: 0; background: linear-gradient(90deg, #0b2550, transparent); }
.hm-marquee::after { right: 0; background: linear-gradient(-90deg, #0b2550, transparent); }
.hm-marquee-track { display: flex; width: max-content; animation: hm-marquee 38s linear infinite; }
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
.hm-marquee-row { display: flex; }
.hm-marquee-row span {
	display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
	color: #fff; font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap;
}
.hm-marquee-row span::after { content: "✦"; color: var(--gold); font-size: 14px; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }

/* ---------- Nền các phần sáng ---------- */
.hm-light, .hm-ice { isolation: isolate; overflow: hidden; }
.hm-light::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(rgba(20, 85, 200, .13) 1.2px, transparent 1.2px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(60% 50% at 85% 10%, #000, transparent 70%);
	mask-image: radial-gradient(60% 50% at 85% 10%, #000, transparent 70%);
}
.hm-ice::before, .hm-ice::after {
	content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.hm-ice::before { width: 420px; height: 420px; left: -140px; top: -80px; background: rgba(129, 101, 232, .18); }
.hm-ice::after { width: 460px; height: 460px; right: -160px; bottom: -120px; background: rgba(57, 184, 255, .2); }

/* ---------- Thẻ ---------- */
.hm-card {
	position: relative; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--line), var(--line)) border-box;
	border: 1px solid transparent;
}
.hm-card-ice { background: linear-gradient(160deg, #f3f8ff, #e6f0ff) padding-box, linear-gradient(135deg, var(--line), var(--line)) border-box; }
.hm-card:hover {
	transform: translateY(-8px);
	background: linear-gradient(#fff, #fff) padding-box, var(--grad-blue) border-box;
	box-shadow: 0 30px 60px -28px rgba(20, 85, 200, .5);
}
.hm-card-ice:hover { background: linear-gradient(160deg, #f6faff, #ecf3ff) padding-box, var(--grad-blue) border-box; }
.hm-card .hm-icon, .hm-card .hm-icon-round {
	width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center;
	background: var(--grad-blue); color: #fff; font-size: 24px;
	box-shadow: 0 14px 26px -12px rgba(20, 85, 200, .7);
	transition: transform .35s ease;
}
.hm-card:hover .hm-icon { transform: rotate(-8deg) scale(1.08); }
.hm-card h3 { margin-top: 20px; }

/* ---------- Solutions ---------- */
.hm-panel {
	position: relative; overflow: hidden;
	background:
		linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)) padding-box,
		linear-gradient(140deg, rgba(255, 190, 53, .55), rgba(129, 101, 232, .35) 40%, rgba(57, 184, 255, .45)) border-box;
	border: 1px solid transparent;
	transition: transform .35s ease, box-shadow .35s ease;
}
.hm-panel::before {
	content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 190, 53, .22), transparent 65%); pointer-events: none;
}
.hm-panel:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(57, 184, 255, .55); }
.hm-mini { transition: background .25s ease, transform .25s ease; border: 1px solid rgba(255, 255, 255, .06); }
.hm-mini:hover { background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.hm-mini .hm-icon {
	width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; margin-top: 0;
	background: rgba(57, 184, 255, .15); font-size: 16px;
}

/* ---------- Approach ---------- */
.hm-steps::before { background: linear-gradient(90deg, var(--royal), var(--violet), var(--gold)); transform-origin: 0 50%; }
.hm-anim .hm-steps::before { transform: scaleX(0); transition: transform 1.4s ease .2s; }
.hm-anim .hm-steps.is-in::before { transform: none; }
.hm-step-n {
	background: var(--grad-blue); color: #fff; width: 48px; height: 48px; font-size: 17px;
	box-shadow: 0 0 0 6px #fff, 0 12px 24px -8px rgba(20, 85, 200, .8);
	transition: transform .3s ease;
}
.hm-step:hover .hm-step-n { transform: scale(1.12); }
.hm-step-card { transition: transform .3s ease, box-shadow .3s ease, background .3s ease; background: linear-gradient(160deg, #f3f8ff, #e8f1ff); }
.hm-step:hover .hm-step-card { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-soft); }
@media (max-width: 1023px) {
	.hm-steps::before { background: linear-gradient(180deg, var(--royal), var(--violet), var(--gold)); transform-origin: 50% 0; left: 23px; }
	.hm-anim .hm-steps::before { transform: scaleY(0); }
	.hm-step { grid-template-columns: 48px 1fr; }
}
.hm-underline { font-size: 22px; }
.hm-underline strong {
	box-shadow: none; padding-bottom: 6px;
	background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 5px no-repeat;
}

/* ---------- Knowledge ---------- */
.hm-search { transition: box-shadow .3s ease, transform .3s ease; }
.hm-search:focus-within { box-shadow: 0 20px 50px -18px rgba(20, 85, 200, .55); transform: translateY(-2px); }
.hm-cat-pill { transition: border-color .25s, transform .25s, color .25s, background .25s, box-shadow .25s; }
.hm-cat-pill:hover { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: 0 14px 30px -14px rgba(20, 85, 200, .8); }
.hm-cat-pill:hover .hm-svg { color: #fff; }
.hm-post-card { transition: transform .35s ease, box-shadow .35s ease; }
.hm-post-card:hover { box-shadow: 0 30px 60px -28px rgba(20, 85, 200, .55); }
.hm-post-thumb { position: relative; }
.hm-post-thumb::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(7, 27, 59, .55));
	opacity: 0; transition: opacity .35s ease;
}
.hm-post-card:hover .hm-post-thumb::after { opacity: 1; }
.hm-tag { background: linear-gradient(120deg, rgba(20, 85, 200, .1), rgba(129, 101, 232, .14)); }

/* ---------- Videos ---------- */
#videos, .hm-dark:not(.hm-hero):not(.hm-agency) { isolation: isolate; overflow: hidden; }
#videos::before {
	content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: 40%;
	transform: translate(-50%, -50%); border-radius: 50%; filter: blur(80px);
	background: radial-gradient(circle, rgba(129, 101, 232, .35), transparent 65%);
}
.hm-reel-frame { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.hm-reel:hover .hm-reel-frame { transform: translateY(-8px) rotate(-.6deg); border-color: var(--gold); box-shadow: 0 40px 70px -30px rgba(255, 190, 53, .45); }
.hm-reels .hm-reel:nth-child(2) { transform: translateY(-18px); }
.hm-anim .hm-reels .hm-reel:nth-child(2).is-in { transform: translateY(-18px); }
@media (max-width: 1023px) { .hm-reels .hm-reel:nth-child(2), .hm-anim .hm-reels .hm-reel:nth-child(2).is-in { transform: none; } }

/* ---------- Projects ---------- */
.hm-project-card { transition: transform .35s ease, box-shadow .35s ease; }
.hm-project-card:hover { box-shadow: 0 34px 70px -30px rgba(20, 85, 200, .55); }
.hm-project-img { position: relative; overflow: hidden; }
.hm-project-img img { transition: transform .5s ease; }
.hm-project-card:hover .hm-project-img img { transform: scale(1.06); }
.hm-project-img a::after {
	content: "Xem dự án →"; position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 12px);
	padding: 9px 18px; border-radius: 999px; background: var(--grad-gold); color: var(--navy);
	font-weight: 800; font-size: 13px; text-transform: uppercase; white-space: nowrap;
	opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.hm-project-card:hover .hm-project-img a::after { opacity: 1; transform: translate(-50%, 0); }
.hm-project-body h3 { transition: color .25s ease; }
.hm-project-card:hover .hm-project-body h3 { color: var(--royal); }

/* ---------- TopMarker Agency ---------- */
.hm-agency { isolation: isolate; overflow: hidden; }
.hm-agency::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%);
	mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%);
}
.hm-agency::after {
	content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; top: -220px;
	border-radius: 50%; filter: blur(60px); background: radial-gradient(circle, rgba(129, 101, 232, .55), transparent 65%);
	animation: hm-drift-b 20s ease-in-out infinite alternate;
}

/* ---------- Contact ---------- */
.hm-form {
	border: 1px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--gold), var(--electric) 50%, var(--violet)) border-box;
	box-shadow: 0 40px 80px -40px rgba(20, 85, 200, .5);
}
.hm-contact-card { position: relative; overflow: hidden; }
.hm-contact-card::after {
	content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 190, 53, .25), transparent 65%); pointer-events: none;
}
.hm-socials a:hover { transform: translateY(-3px); }
.hm-socials a { transition: background .2s, color .2s, transform .2s; }

/* ---------- Footer ---------- */
.hm-footer { position: relative; }
.hm-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), var(--electric), var(--violet), transparent);
}

/* ---------- Nút nổi: vòng sáng nhấp nháy để thu hút ---------- */
.hm-float .hm-btn-messenger { animation: hm-ring 2.8s ease-out infinite; }
@keyframes hm-ring {
	0% { box-shadow: 0 0 0 0 rgba(0, 132, 255, .55), 0 14px 30px -10px rgba(0, 0, 0, .45); }
	70%, 100% { box-shadow: 0 0 0 16px rgba(0, 132, 255, 0), 0 14px 30px -10px rgba(0, 0, 0, .45); }
}

/* Người dùng tắt hiệu ứng chuyển động trong máy */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hm-marquee-track { transform: none; }
}
