/* ==========================================================================
   HƯNG THỊNH VƯỢNG — Giao diện v3 (Flatsome child)
   Đỏ chủ đạo · hiện đại · font Be Vietnam Pro · hiệu ứng nhẹ nhàng
   ========================================================================== */

:root {
	--htv-red: #7e0508;
	--htv-red-700: #650407;
	--htv-red-900: #3a0507;
	--htv-red-500: #9e1318;
	--htv-red-50: #fbf2f1;
	--htv-red-100: #f6e1df;
	--htv-gold: #e6ab35;
	--htv-gold-700: #a8761e;
	--htv-ink: #1f1414;
	--htv-text: #4b3f3f;
	--htv-muted: #7d7070;
	--htv-soft: #faf6f4;
	--htv-line: #efe4e2;
	--htv-radius: 16px;
	--htv-radius-sm: 10px;
	--htv-shadow-sm: 0 4px 14px -6px rgba(58, 5, 7, .18);
	--htv-shadow: 0 18px 40px -20px rgba(58, 5, 7, .35);
	--htv-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--htv-ease: cubic-bezier(.22, .61, .36, 1);
	--htv-red-grad: linear-gradient(135deg, #8e0a0f 0%, #6a0508 55%, #4a0406 100%);
}

/* ---------- Chữ ---------- */
body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6, .heading-font, .alt-font, .nav, .button,
.entry-title, .page-title, .section-title-main, .post-title {
	font-family: var(--htv-font) !important;
}
body { color: var(--htv-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .entry-title, .page-title {
	color: var(--htv-ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: #fff; }
p { line-height: 1.75; }
a { transition: color .25s var(--htv-ease); }
em { font-style: normal; }
::selection { background: var(--htv-red); color: #fff; }

/* ==========================================================================
   NÚT — một hệ thống duy nhất
   ========================================================================== */
.button, input[type="submit"], input[type="button"], button.button {
	font-family: var(--htv-font) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	border-radius: var(--htv-radius-sm) !important;
	min-height: 48px;
	line-height: 46px !important;
	padding: 0 26px !important;
	border-width: 1px !important;
	box-shadow: none;
	transition: transform .3s var(--htv-ease), box-shadow .3s var(--htv-ease), background-color .3s var(--htv-ease), color .3s var(--htv-ease), border-color .3s var(--htv-ease) !important;
}
.button:hover, input[type="submit"]:hover { transform: translateY(-2px); }

/* Đỏ đặc (mặc định) */
.button.primary:not(.is-outline), input[type="submit"], .button.alt, .button.secondary:not(.is-outline) {
	background-color: var(--htv-red) !important; border-color: var(--htv-red) !important; color: #fff !important;
}
.button.primary:not(.is-outline):hover, input[type="submit"]:hover, .button.secondary:not(.is-outline):hover {
	background-color: var(--htv-red-700) !important; border-color: var(--htv-red-700) !important;
	box-shadow: 0 12px 26px -12px rgba(126, 5, 8, .55);
}
/* Viền đỏ */
.button.is-outline, .button.secondary.is-outline, .button.primary.is-outline {
	background: transparent !important; color: var(--htv-red) !important; border-color: var(--htv-red) !important;
}
.button.is-outline:hover { background: var(--htv-red) !important; color: #fff !important; }
/* Trên nền đỏ / tối */
.dark .button.primary:not(.is-outline), .htv-on-red .button.primary:not(.is-outline) {
	background: #fff !important; border-color: #fff !important; color: var(--htv-red) !important;
}
.dark .button.primary:not(.is-outline):hover, .htv-on-red .button.primary:not(.is-outline):hover {
	background: var(--htv-gold) !important; border-color: var(--htv-gold) !important; color: var(--htv-ink) !important;
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45);
}
.dark .button.is-outline, .button.white.is-outline {
	color: #fff !important; border-color: rgba(255, 255, 255, .55) !important; background: transparent !important;
}
.dark .button.is-outline:hover, .button.white.is-outline:hover { background: #fff !important; color: var(--htv-red) !important; border-color: #fff !important; }
/* Nút dạng link */
.button.is-link, .button.is-link:not(.is-outline), .button.primary.is-link:not(.is-outline) {
	box-shadow: none !important; border-color: transparent !important;
	min-height: 0; line-height: 1.6 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	color: var(--htv-red) !important; background: none !important;
}
.button.is-link span::after { content: " →"; display: inline-block; transition: transform .3s var(--htv-ease); }
.button.is-link:hover { transform: none; }
.button.is-link:hover span::after { transform: translateX(4px); }

/* ==========================================================================
   TOPBAR + HEADER
   ========================================================================== */
#top-bar, .header-top { background: var(--htv-red-900) !important; }
#top-bar .flex-row { min-height: 34px; }
#top-bar .nav > li > a, #top-bar a {
	color: rgba(255, 255, 255, .82) !important; font-size: 12.5px !important; text-transform: none !important;
	letter-spacing: 0; padding-top: 0; padding-bottom: 0;
}
#top-bar a:hover { color: #fff !important; }
#top-bar .nav-divided > li + li > a::after { border-color: rgba(255, 255, 255, .18); }
.header-top .services-top, .header-top .div-km { display: none; }

.header-main { background: #fff !important; border: 0; box-shadow: 0 1px 0 var(--htv-line); }
.stuck .header-main { box-shadow: 0 10px 30px -20px rgba(58, 5, 7, .45); }

/* Logo: biểu tượng + chữ */
#logo { width: auto !important; display: flex; align-items: center; margin-right: 8px; }
#logo a.htv-logo { display: flex !important; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; }
#logo .htv-logo-emblem { height: 58px !important; width: auto !important; max-height: none !important; display: block !important; transition: height .3s var(--htv-ease); }
#logo .header-logo-dark, #logo .header-logo-sticky { display: none !important; }
.stuck #logo .htv-logo-emblem { height: 46px !important; }
#logo .htv-logo-text { display: flex !important; flex-direction: column; line-height: 1; }
.htv-logo-name { font-weight: 800; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; color: var(--htv-red); white-space: nowrap; }
.htv-logo-tag { margin-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--htv-gold-700); white-space: nowrap; }
.htv-logo-tag i { font-style: normal; font-size: 8px; vertical-align: 1px; margin: 0 2px; }

/* Menu */
.header-main .flex-left { min-width: 0; }
.header-main .flex-left .header-nav-main { justify-content: center; flex-wrap: nowrap !important; white-space: nowrap; }
.header-main .header-nav-main > li { margin: 0 !important; flex-shrink: 0; }
.header-main .header-nav-main > li > a {
	display: inline-flex !important; align-items: center; gap: 3px; flex-wrap: nowrap !important;
	font-size: 15px !important; font-weight: 500; text-transform: none !important; letter-spacing: 0;
	color: var(--htv-ink) !important; padding: 8px 14px !important; border-radius: 8px;
	transition: color .25s var(--htv-ease), background-color .25s var(--htv-ease);
}
.header-main .header-nav-main > li > a::after { display: none; }
.header-main .header-nav-main > li:hover > a { color: var(--htv-red) !important; background: var(--htv-red-50); }
.header-main .header-nav-main > li.active > a,
.header-main .header-nav-main > li.current-menu-item > a,
.header-main .header-nav-main > li.current-menu-ancestor > a { color: var(--htv-red) !important; font-weight: 600; }
.header-main .header-nav-main > li > a > i.icon-angle-down { display: inline-block !important; position: static !important; margin-left: 3px !important; font-size: .75em; opacity: .55; }

.nav-dropdown {
	border: 1px solid var(--htv-line) !important; border-radius: 14px; box-shadow: var(--htv-shadow) !important;
	padding: 8px !important; min-width: 300px;
}
.nav-dropdown > li > a {
	font-size: 14px; color: var(--htv-text) !important; padding: 10px 14px !important; border-radius: 8px;
	text-transform: none; letter-spacing: 0; border: 0 !important;
}
.nav-dropdown > li > a:hover { color: var(--htv-red) !important; background: var(--htv-red-50); }
.nav-dropdown-has-arrow li.has-dropdown::before, .nav-dropdown-has-arrow li.has-dropdown::after { display: none; }

/* Tìm kiếm + hotline */
.header-main .header-search .icon-search { color: var(--htv-ink) !important; font-size: 17px; transition: color .25s; }
.header-main .header-search:hover .icon-search { color: var(--htv-red) !important; }
.htv-head-call {
	display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px;
	border-radius: var(--htv-radius-sm); background: var(--htv-red); color: #fff !important; white-space: nowrap; line-height: 1.15;
	transition: transform .3s var(--htv-ease), box-shadow .3s var(--htv-ease), background-color .3s var(--htv-ease);
}
.htv-head-call i {
	width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .16); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.htv-head-call small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.htv-head-call strong { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.htv-head-call:hover { background: var(--htv-red-700); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(126, 5, 8, .55); }

@media (max-width: 1365px) {
	.header-main .header-nav-main > li > a { font-size: 14px !important; padding: 8px 10px !important; }
	.htv-logo-name { font-size: 17px; }
	.htv-logo-tag { font-size: 9.5px; letter-spacing: .18em; }
}
@media (max-width: 1180px) and (min-width: 850px) {
	#logo .htv-logo-text { display: none !important; }
	.htv-head-call { padding: 0 7px; }
	.htv-head-call span { display: none; }
}
@media (max-width: 849px) {
	#logo .htv-logo-emblem { height: 44px !important; }
	#logo a.htv-logo { gap: 8px; }
	.htv-logo-name { font-size: 14.5px; }
	.htv-logo-tag { font-size: 8.5px; letter-spacing: .16em; margin-top: 4px; }
	.htv-head-call { height: 40px; padding: 0; background: var(--htv-red); width: 40px; justify-content: center; }
	.htv-head-call i { background: transparent; }
	.htv-head-call span { display: none; }
}

/* ==========================================================================
   KHỐI DÙNG CHUNG
   ========================================================================== */
.htv-section { padding-top: 100px !important; padding-bottom: 100px !important; }
@media (max-width: 849px) { .htv-section { padding-top: 64px !important; padding-bottom: 64px !important; } }
.htv-bg-cream { background-color: var(--htv-soft) !important; }
.htv-bg-ink, .htv-bg-red { background: var(--htv-red-grad) !important; }
.htv-bg-ink .section-bg, .htv-bg-red .section-bg { background: transparent !important; }

/* Nhãn nhỏ phía trên tiêu đề */
.htv-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none;
	color: var(--htv-red); background: var(--htv-red-50);
	padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.htv-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.htv-eyebrow::after { display: none; }
.dark .htv-eyebrow, .htv-hero .htv-eyebrow, .htv-page-hero .htv-eyebrow, .htv-cta .htv-eyebrow {
	color: #fff; background: rgba(255, 255, 255, .14);
}
.dark .htv-eyebrow::before, .htv-hero .htv-eyebrow::before, .htv-cta .htv-eyebrow::before { background: var(--htv-gold); }

.htv-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.htv-title em { color: var(--htv-red); }
.dark .htv-title em, .htv-cta .htv-title em, .htv-hero h1 em, .htv-footer-cta h2 em { color: var(--htv-gold); }
.htv-lead { font-size: 17px; color: var(--htv-muted); max-width: 640px; }
.dark .htv-lead { color: rgba(255, 255, 255, .78); }
.htv-center { text-align: center; }
.htv-center .htv-lead { margin-left: auto; margin-right: auto; }

/* Hiệu ứng hiện dần khi cuộn (thêm bởi JS) */
.htv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--htv-ease), transform .8s var(--htv-ease); }
.htv-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.htv-hero .banner-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(58, 5, 7, .92) 0%, rgba(110, 6, 10, .62) 45%, rgba(58, 5, 7, .08) 80%);
}
.htv-hero .text-box { z-index: 2; }
.htv-hero h1 { color: #fff; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin-bottom: 20px; }
.htv-hero p.htv-hero-sub { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 520px; margin-bottom: 30px; }
.htv-hero .button { margin: 0 10px 10px 0; }
.htv-hero-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.htv-hero-meta > div {
	padding: 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .78); font-size: 13px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.htv-hero-meta strong { display: block; font-size: 16px; color: #fff; font-weight: 700; }
@media (max-width: 549px) {
	.htv-hero .banner-bg::after { background: linear-gradient(180deg, rgba(58, 5, 7, .45) 0%, rgba(58, 5, 7, .92) 65%); }
	.htv-hero-meta { margin-top: 24px; gap: 8px; }
	.htv-hero-meta > div { padding: 8px 12px; }
	.htv-hero p.htv-hero-sub { font-size: 16px; }
}

/* ---------- Hero trang con ---------- */
.htv-page-hero .banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 5, 7, .55), rgba(110, 6, 10, .85)); }
.htv-page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin-bottom: 10px; }
.htv-page-hero p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ---------- Ảnh bo góc ---------- */
.htv-about-img .img-inner, .htv-figure .img-inner { border-radius: var(--htv-radius); overflow: hidden; box-shadow: var(--htv-shadow); }
.htv-about-img { position: relative; }
.htv-about-img::after {
	content: ""; position: absolute; left: -16px; top: -16px; width: 45%; height: 45%;
	border-radius: var(--htv-radius); background: var(--htv-red-100); z-index: -1;
}
@media (max-width: 849px) { .htv-about-img::after { display: none; } }
.htv-checks { list-style: none; margin: 24px 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.htv-checks li { margin: 0; padding-left: 30px; position: relative; color: var(--htv-ink); font-weight: 500; }
.htv-checks li::before {
	content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px;
	background: var(--htv-red); color: #fff; font-size: 12px; line-height: 20px; text-align: center; font-weight: 700;
}
@media (max-width: 549px) { .htv-checks { grid-template-columns: 1fr; } }

/* ---------- Thẻ dịch vụ ---------- */
.htv-services .col { padding-bottom: 24px; }
.htv-service.box { border-radius: var(--htv-radius); overflow: hidden; box-shadow: var(--htv-shadow-sm); transition: transform .4s var(--htv-ease), box-shadow .4s var(--htv-ease); }
.htv-service.box:hover { transform: translateY(-4px); box-shadow: var(--htv-shadow); }
.htv-service .box-image::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(58, 5, 7, 0) 40%, rgba(58, 5, 7, .88) 100%);
}
.htv-service .box-text { z-index: 2; pointer-events: none; }
.htv-service .box-image::after, .htv-projects .box-image::after { pointer-events: none; }
.htv-service, .htv-service .box-image a { cursor: pointer; }
.htv-service .box-text h3 { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; text-transform: none; }
.htv-service .box-text p {
	display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0; padding: 6px 14px; border-radius: 999px;
	font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background-color .3s var(--htv-ease), color .3s var(--htv-ease);
}
.htv-service:hover .box-text p { background: #fff; color: var(--htv-red); border-color: #fff; }
.htv-service .box-text p::after { content: " →"; display: inline-block; transition: transform .3s var(--htv-ease); }
.htv-service:hover .box-text p::after { transform: translateX(4px); }
.htv-service img { transition: transform 1s var(--htv-ease) !important; }
.htv-service:hover img { transform: scale(1.05); }

/* ---------- Lý do chọn (nền đỏ) ---------- */
.htv-why-item {
	height: 100%; padding: 28px 26px; border-radius: var(--htv-radius);
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
	transition: transform .4s var(--htv-ease), background-color .4s var(--htv-ease);
}
.htv-why-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); }
.htv-why-num {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
	background: var(--htv-gold); color: var(--htv-red-900); font-weight: 800; font-size: 16px; margin-bottom: 18px;
}
.htv-why-item h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.htv-why-item p { color: rgba(255, 255, 255, .75); font-size: 15px; margin: 0; }

/* ---------- Quy trình ---------- */
.htv-step {
	position: relative; padding: 30px 26px; background: #fff; border-radius: var(--htv-radius); border: 1px solid var(--htv-line);
	height: 100%; transition: transform .4s var(--htv-ease), box-shadow .4s var(--htv-ease), border-color .4s var(--htv-ease);
}
.htv-step:hover { transform: translateY(-4px); box-shadow: var(--htv-shadow); border-color: transparent; }
.htv-step-num {
	width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--htv-red); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 20px;
}
.htv-step h3 { font-size: 19px; margin-bottom: 8px; }
.htv-step p { font-size: 15px; color: var(--htv-muted); margin: 0; }

/* ---------- Thẻ bài viết / dự án ---------- */
.htv-posts .col-inner, .htv-archive .post-item .col-inner { height: 100%; }
.htv-posts .box-blog-post, .htv-archive .box-blog-post, .related-post .box-blog-post {
	background: #fff; border-radius: var(--htv-radius); overflow: hidden; height: 100%;
	border: 1px solid var(--htv-line); box-shadow: none !important;
	transition: transform .4s var(--htv-ease), box-shadow .4s var(--htv-ease), border-color .4s var(--htv-ease);
}
.htv-posts .box-blog-post:hover, .htv-archive .box-blog-post:hover, .related-post .box-blog-post:hover {
	transform: translateY(-4px); box-shadow: var(--htv-shadow) !important; border-color: transparent;
}
.htv-posts .box-image img, .htv-archive .box-image img, .related-post .box-image img { transition: transform 1s var(--htv-ease); }
.htv-posts .box-blog-post:hover .box-image img, .htv-archive .box-blog-post:hover .box-image img, .related-post .box-blog-post:hover .box-image img { transform: scale(1.04); }
.htv-posts .box-text, .htv-archive .box-text, .related-post .box-text { padding: 20px 22px 24px !important; text-align: left !important; }
.htv-posts .post-title, .htv-archive .post-title, .related-post .post-title {
	font-size: 17px !important; line-height: 1.45; font-weight: 700; color: var(--htv-ink); letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px;
	transition: color .25s var(--htv-ease);
}
.htv-posts .box-blog-post:hover .post-title, .htv-archive .box-blog-post:hover .post-title { color: var(--htv-red); }
.htv-posts .from_the_blog_excerpt, .htv-archive .from_the_blog_excerpt { font-size: 14.5px; color: var(--htv-muted); line-height: 1.65; height: auto !important; }
.htv-posts .is-divider, .htv-archive .is-divider, .related-post .is-divider { display: none; }
.htv-posts .post-meta, .htv-archive .post-meta, .related-post .post-meta { font-size: 13px; color: var(--htv-red); opacity: 1; margin-bottom: 6px; font-weight: 500; }
.htv-posts .badge.post-date, .htv-archive .badge.post-date, .htv-archive .cat-label, .htv-posts .cat-label { display: none; }

.htv-projects .box-blog-post { border: 0; background: var(--htv-red-900); }
.htv-projects .box-blog-post .box-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 5, 7, 0) 40%, rgba(58, 5, 7, .9) 100%); }
.htv-projects .box-text { position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 2; }
.htv-projects .post-title { color: #fff !important; font-size: 18px !important; }
.htv-projects .box-blog-post:hover .post-title { color: #fff !important; }

/* ---------- CTA + form ---------- */
.htv-cta .section-bg-overlay, .htv-cta .bg-overlay { background: linear-gradient(120deg, rgba(58, 5, 7, .94), rgba(126, 5, 8, .82)) !important; }
.htv-cta-card, .htv-form-card {
	background: #fff; border-radius: 20px; padding: 36px 34px 26px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
}
.htv-form-card { box-shadow: var(--htv-shadow); border: 1px solid var(--htv-line); padding: 40px 38px 28px; }
.htv-cta-card h3 { font-size: 24px; margin-bottom: 4px; color: var(--htv-ink) !important; }
.htv-cta-card > p, .htv-form-card > p { color: var(--htv-muted); font-size: 15px; }
.dark .htv-cta-card, .dark .htv-cta-card label { color: var(--htv-text); }
.dark .htv-cta-card label { color: var(--htv-ink) !important; }
.dark .htv-cta-card input[type="submit"] { background: var(--htv-red) !important; border-color: var(--htv-red) !important; color: #fff !important; }
.htv-phone-big { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff !important; display: inline-block; margin: 8px 0 4px; letter-spacing: -.01em; }
.htv-phone-big:hover { color: var(--htv-gold) !important; }
@media (max-width: 549px) { .htv-form-card, .htv-cta-card { padding: 26px 20px 16px; } }

.wpcf7 form .htv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wpcf7 form .htv-form-grid .htv-full { grid-column: 1 / -1; }
@media (max-width: 549px) { .wpcf7 form .htv-form-grid { grid-template-columns: 1fr; } }
.wpcf7 label { font-size: 13.5px; font-weight: 600; color: var(--htv-ink); display: block; text-transform: none; letter-spacing: 0; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	border: 1px solid var(--htv-line); border-radius: var(--htv-radius-sm); background: var(--htv-soft); box-shadow: none;
	height: 48px; padding: 0 14px; font-size: 15px; color: var(--htv-ink); margin-top: 6px;
	transition: border-color .25s var(--htv-ease), box-shadow .25s var(--htv-ease), background-color .25s var(--htv-ease);
}
.wpcf7 textarea { height: 116px; padding-top: 12px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--htv-red); background: #fff; box-shadow: 0 0 0 4px rgba(126, 5, 8, .1); }
.wpcf7 input[type="submit"] { width: 100%; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { border-radius: var(--htv-radius-sm); font-size: 14px; margin: 12px 0 0 !important; }

/* ---------- Trang Giới thiệu ---------- */
.htv-card {
	background: #fff; border: 1px solid var(--htv-line); border-radius: var(--htv-radius); padding: 30px 26px; height: 100%;
	transition: transform .4s var(--htv-ease), box-shadow .4s var(--htv-ease), border-color .4s var(--htv-ease);
}
.htv-card:hover { transform: translateY(-4px); box-shadow: var(--htv-shadow); border-color: transparent; }
.htv-card-icon {
	width: 48px; height: 48px; border-radius: 12px; background: var(--htv-red); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 18px;
}
.htv-card h3 { font-size: 19px; margin-bottom: 8px; }
.htv-card p { font-size: 15px; color: var(--htv-muted); margin: 0; }
.htv-quote {
	font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.55; color: var(--htv-ink); letter-spacing: -.01em;
	max-width: 880px; margin: 0 auto; text-align: center; position: relative; padding-top: 64px;
}
.htv-quote::before {
	content: "“"; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
	width: 48px; height: 48px; border-radius: 12px; background: var(--htv-red); color: #fff; font-size: 40px; line-height: 58px;
}
.htv-quote-by { display: block; text-align: center; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--htv-red); }
.htv-caption { font-size: 14px; color: var(--htv-muted); margin-top: 12px; text-align: center; }
.htv-vm { padding: 36px 34px; border-radius: var(--htv-radius); height: 100%; background: var(--htv-red-grad); }
.htv-vm h3 { color: #fff; font-size: 24px; }
.htv-vm p { color: rgba(255, 255, 255, .8); margin: 0; }
.htv-vm .htv-eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }
.htv-vm .htv-eyebrow::before { background: var(--htv-gold); }

/* ---------- Trang Liên hệ ---------- */
.htv-info-list { list-style: none; margin: 0; padding: 0; }
.htv-info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--htv-line); margin: 0; }
.htv-info-list li:first-child { padding-top: 4px; }
.htv-info-list i {
	flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--htv-red-50); color: var(--htv-red);
	display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.htv-info-list small { display: block; font-size: 13px; color: var(--htv-muted); margin-bottom: 2px; }
.htv-info-list strong, .htv-info-list a { color: var(--htv-ink); font-weight: 600; font-size: 16px; }
.htv-info-list a:hover { color: var(--htv-red); }
.htv-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.htv-social-links a {
	border: 1px solid var(--htv-line); border-radius: var(--htv-radius-sm); padding: 9px 16px; font-size: 14px; color: var(--htv-ink); font-weight: 500;
	transition: all .3s var(--htv-ease);
}
.htv-social-links a:hover { border-color: var(--htv-red); color: var(--htv-red); background: var(--htv-red-50); }
.htv-map iframe { width: 100%; height: 460px; border: 0; display: block; }
@media (max-width: 849px) { .htv-map iframe { height: 340px; } }

/* ---------- Footer ---------- */
.htv-footer-cta { background: var(--htv-red-grad) !important; }
.htv-footer-cta .section-bg { background: transparent !important; }
.htv-footer-cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; margin: 0; }
.htv-footer { background: var(--htv-red-900) !important; color: rgba(255, 255, 255, .7); }
.htv-footer .section-bg { background: transparent !important; }
.htv-footer h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.htv-footer p, .htv-footer li { font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.htv-footer a { color: rgba(255, 255, 255, .78) !important; }
.htv-footer a:hover { color: #fff !important; }
.htv-footer ul { list-style: none; margin: 0; padding: 0; }
.htv-footer ul li { margin: 0 0 10px; }
.htv-footer .htv-foot-brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .01em; }
.htv-footer .htv-foot-contact li { display: flex; gap: 12px; }
.htv-footer .htv-foot-contact i { color: var(--htv-gold); margin-top: 4px; }
.htv-footer .social-icons a {
	width: 38px; height: 38px; line-height: 36px; border-radius: 10px !important; font-size: 15px;
	border: 1px solid rgba(255, 255, 255, .22) !important; color: #fff !important; background: transparent !important;
}
.htv-footer .social-icons a:hover { background: #fff !important; color: var(--htv-red) !important; border-color: #fff !important; }
.htv-footer .wpcf7 input[type="email"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.htv-footer .wpcf7 input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.htv-footer .wpcf7 input[type="submit"] { background: #fff !important; border-color: #fff !important; color: var(--htv-red) !important; }
.htv-footer .wpcf7 input[type="submit"]:hover { background: var(--htv-gold) !important; border-color: var(--htv-gold) !important; color: var(--htv-ink) !important; }
.footer-wrapper .footer-section { background: var(--htv-red-900) !important; }
.absolute-footer, .absolute-footer.dark { background: #2a0304 !important; color: rgba(255, 255, 255, .55); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .06); }
.absolute-footer a, .absolute-footer strong { color: rgba(255, 255, 255, .75) !important; font-weight: 400; }

/* ==========================================================================
   LƯU TRỮ BÀI VIẾT + BÀI VIẾT CHI TIẾT
   ========================================================================== */
.archive-page-header { background: var(--htv-red-grad); padding: 56px 0 48px; margin-bottom: 52px; }
.archive-page-header .page-title, .blog-archive h1.page-title {
	font-size: clamp(30px, 3.8vw, 46px) !important; font-weight: 800 !important; color: #fff !important;
	height: auto !important; border: 0 !important; padding: 0 !important; margin: 6px 0 0 !important; text-transform: none !important;
}
.blog-archive h1.page-title span, .archive-page-header h1.page-title span {
	background: none !important; color: #fff !important; padding: 0 !important; border-radius: 0 !important;
	font-size: inherit !important; line-height: 1.2 !important; position: static !important; text-transform: none !important; font-weight: inherit !important;
}
.archive-page-header .taxonomy-description { max-width: 720px; margin: 12px auto 0; color: rgba(255, 255, 255, .8); }
.archive-page-header #breadcrumbs, .archive-page-header #breadcrumbs a { color: rgba(255, 255, 255, .75) !important; }
#breadcrumbs { font-size: 13.5px; color: var(--htv-muted); margin-bottom: 6px; }
#breadcrumbs a { color: var(--htv-red); }
.htv-archive { padding-bottom: 60px; }

.blog-archive h1.page-title span::before, .blog-archive h1.page-title span::after,
#secondary span.widget-title span::before, #secondary span.widget-title span::after,
.section-title-normal span.section-title-main::before, .section-title-normal span.section-title-main::after { display: none !important; }
#secondary span.widget-title { border-bottom: 2px solid var(--htv-red-100) !important; padding: 0 0 10px !important; margin-bottom: 16px; display: block; }
#secondary span.widget-title span {
	background: none !important; color: var(--htv-ink) !important; padding: 0 !important; border-radius: 0 !important;
	font-size: 16px !important; font-weight: 700; text-transform: none !important; position: static !important; letter-spacing: 0;
}
.section-title-normal { border-bottom: 1px solid var(--htv-line) !important; }
.section-title-normal span.section-title-main { background: none !important; color: var(--htv-ink) !important; padding: 0 0 10px !important; border-radius: 0 !important; }
#secondary .widget a { color: var(--htv-text); }
#secondary .widget a:hover { color: var(--htv-red); }
.widget .widget-title { font-size: 16px; font-weight: 700; color: var(--htv-ink); text-transform: none; letter-spacing: 0; }
.widget .is-divider { background: var(--htv-red); height: 2px; max-width: 32px; }

.nav-pagination > li > a, .nav-pagination > li > span {
	border-radius: var(--htv-radius-sm) !important; border: 1px solid var(--htv-line) !important; color: var(--htv-ink);
	min-width: 42px; height: 42px; line-height: 40px; font-weight: 600; transition: all .25s var(--htv-ease);
}
.nav-pagination > li > .current, .nav-pagination > li > a:hover { background: var(--htv-red) !important; border-color: var(--htv-red) !important; color: #fff !important; }

.single-post .blog-wrapper { padding-top: 48px; }
.single-post .entry-header-text { padding-bottom: 22px; text-align: left; }
.single-post .entry-category a {
	display: inline-block; color: var(--htv-red) !important; background: var(--htv-red-50); border-radius: 999px;
	padding: 4px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
}
.single-post .entry-title { font-size: clamp(26px, 3.2vw, 40px) !important; line-height: 1.25; font-weight: 800; }
.single-post .entry-header .is-divider { display: none; }
.single-post .entry-meta { font-size: 13.5px; color: var(--htv-muted); text-transform: none; letter-spacing: 0; }
.single-post .entry-image img { border-radius: var(--htv-radius); }
.entry-content.single-page { font-size: 17px; line-height: 1.85; color: #3d3434; }
.entry-content.single-page h1, .entry-content.single-page h2 { font-size: 27px; margin: 1.6em 0 .6em; }
.entry-content.single-page h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.entry-content.single-page img { border-radius: 12px; }
.entry-content.single-page .wp-caption-text, .entry-content.single-page figcaption { font-size: 14px; color: var(--htv-muted); }
.entry-content.single-page blockquote { border-left: 4px solid var(--htv-red); background: var(--htv-red-50); padding: 20px 26px; border-radius: 0 12px 12px 0; font-size: 18px; }
.entry-content.single-page a { color: var(--htv-red); text-decoration: underline; text-decoration-color: rgba(126, 5, 8, .3); text-underline-offset: 3px; }
.entry-content.single-page ul li::marker, .entry-content.single-page ol li::marker { color: var(--htv-red); }
.single-post footer.entry-meta { border-top: 1px solid var(--htv-line); padding-top: 18px; margin-top: 30px; font-size: 13.5px; }
.related-post h3 { font-size: 24px; }
.related-post .duong-line { width: 40px; height: 3px; border-radius: 3px; background: var(--htv-red); margin-top: 10px; }
#ez-toc-container { border-radius: 12px; border-color: var(--htv-line) !important; background: var(--htv-soft) !important; padding: 18px 22px; box-shadow: none; }

.page-template-default .page-wrapper, .page-template-page-right-sidebar .page-wrapper { padding-top: 52px; padding-bottom: 70px; }
.page-template-default .entry-header h1, .page-template-default .page-title { font-size: clamp(28px, 3.4vw, 40px); }

/* Nút liên hệ nổi */
.float-contact .chat-zalo, .float-contact .chat-face, .float-contact .hotline { border-radius: 999px !important; box-shadow: var(--htv-shadow-sm); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.htv-reveal { opacity: 1; transform: none; }
}
