/* ==========================================================================
   VNB Theme — CSS chính (house style vn-business-web)
   Thứ tự: 1 tokens · 2 reset/base · 3 layout · 4 components · 5 header · 6 footer
           7 nội dung & khối Gutenberg · 8 mẫu trang (patterns) · 9 liên hệ nổi · 10 form · 11 responsive
   Màu brand/CTA, font, bo góc đến từ Customizer (biến in-line). Theme con chỉ ghi đè biến ở :root.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--c-brand: #0b3a66;
	--c-brand-text: #fff;
	--c-cta: #f26b1d;
	--c-cta-text: #fff;
	--c-brand-600: color-mix(in srgb, var(--c-brand) 82%, #000);
	--c-brand-50: color-mix(in srgb, var(--c-brand) 6%, #fff);
	--c-brand-100: color-mix(in srgb, var(--c-brand) 12%, #fff);
	--c-cta-600: color-mix(in srgb, var(--c-cta) 85%, #000);
	--c-cta-400: color-mix(in srgb, var(--c-cta) 78%, #fff);
	--c-heading: color-mix(in srgb, var(--c-brand) 70%, #0b1220);
	--c-text: #4a5b70;            /* slate — không dùng đen tuyền */
	--c-text-strong: #24324a;
	--c-muted: #6b7a8c;
	--c-border: #e3e9f0;
	--c-bg: #fff;
	--c-bg-soft: var(--c-brand-50);
	--c-zalo: #0068ff;            /* chỉ dùng trong nút Zalo */
	--c-success: #15803d;
	--c-danger: #dc2626;

	--font-heading: system-ui, sans-serif;
	--font-body: system-ui, sans-serif;
	--fs-hero: clamp(32px, 4.4vw, 56px);
	--fs-h2: clamp(26px, 3vw, 36px);
	--fs-h3: 20px;
	--fs-lead: clamp(17px, 1.4vw, 19px);
	--fs-body: 16px;
	--fs-sm: 14px;
	--lh-tight: 1.15;
	--lh-body: 1.65;

	--radius: 12px;
	--radius-sm: calc(var(--radius) * .6);
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
	--container: 1260px;
	--gutter: 24px;
	--section: clamp(56px, 7vw, 96px);
	--header-h: 76px;
}

/* 2. Reset / base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-brand); text-underline-offset: 3px; }
a:hover { color: var(--c-cta-600); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--c-heading); line-height: var(--lh-tight); letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--fs-hero); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-cta); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--c-brand); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* 3. Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 32px var(--section); }
.layout-sidebar:has(.sidebar) { grid-template-columns: minmax(0, 1fr) 320px; }

/* 4. Components -------------------------------------------------------------- */
.btn, .wp-block-button__link, .vnb-form__submit, .search-form__btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px;
	border: 1.5px solid transparent; border-radius: var(--radius-sm); font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; white-space: nowrap;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.btn--primary, .wp-block-button.is-style-cta .wp-block-button__link, .vnb-form__submit, .comment-form .submit {
	background: linear-gradient(180deg, var(--c-cta-400), var(--c-cta)); color: var(--c-cta-text); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--c-cta) 70%, transparent);
}
.btn--primary:hover, .wp-block-button.is-style-cta .wp-block-button__link:hover, .vnb-form__submit:hover { background: var(--c-cta-600); color: var(--c-cta-text); }
.wp-block-button__link { background: var(--c-brand); color: var(--c-brand-text); }
.wp-block-button__link:hover { background: var(--c-brand-600); color: var(--c-brand-text); }
.btn--light, .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--c-brand); border-color: var(--c-border); }
.btn--light:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--c-brand); color: var(--c-brand); background: #fff; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--c-brand); color: var(--c-brand-text); }
.btn--zalo { background: var(--c-zalo); color: #fff; }
.btn--zalo:hover { background: color-mix(in srgb, var(--c-zalo) 85%, #000); color: #fff; }
.btn--lg { min-height: 52px; padding-inline: 26px; font-size: 16px; }
.btn[disabled], .vnb-form__submit[disabled] { opacity: .6; cursor: progress; transform: none; }

.eyebrow, .is-style-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--c-brand); font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.eyebrow::before, .is-style-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-cta); flex: none; }
.section-title { margin-bottom: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--c-border); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-brand); }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 22px 24px; }
.card__title { font-size: 18px; margin-bottom: 6px; }
.card__title a { color: var(--c-heading); text-decoration: none; }
.card__title a:hover { color: var(--c-brand); }
.card__meta { font-size: 13px; color: var(--c-muted); margin-bottom: 8px; }
.card__text { font-size: 15px; margin: 0; }

.hotline-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--radius-pill); background: var(--c-brand-50); color: var(--c-heading); text-decoration: none; }
.hotline-pill > svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--c-cta); color: var(--c-cta-text); }
.hotline-pill__txt { display: flex; flex-direction: column; line-height: 1.15; }
.hotline-pill small { font-size: 12px; color: var(--c-muted); }
.hotline-pill strong { font-size: 17px; letter-spacing: .01em; }
.hotline-pill:hover { color: var(--c-brand); }

.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form__input { flex: 1; min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font: inherit; }
.search-form__btn { background: var(--c-brand); color: var(--c-brand-text); padding-inline: 16px; }

/* 5. Header ------------------------------------------------------------------ */
.topbar { background: var(--c-brand); color: color-mix(in srgb, var(--c-brand-text) 85%, transparent); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar__right { display: flex; gap: 18px; }
.site-header { position: relative; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--c-border); }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__brand { flex: none; }
.custom-logo { max-height: 52px; width: auto; }
.site-logo--text { font: 700 22px/1 var(--font-heading); color: var(--c-heading); text-decoration: none; letter-spacing: -0.02em; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 10px 14px; color: var(--c-text-strong); font-weight: 500; text-decoration: none; border-radius: var(--radius-sm); }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--c-brand); background: var(--c-brand-50); }
.site-nav .sub-menu, .site-nav .children { position: absolute; top: 100%; left: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.submenu-toggle { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-heading); cursor: pointer; }

/* 6. Footer ------------------------------------------------------------------ */
.cta-band { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-600)); color: var(--c-brand-text); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px; }
.cta-band__title { margin: 0; font: 700 clamp(20px, 2.2vw, 26px)/1.3 var(--font-heading); letter-spacing: -0.01em; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: #0e1726; color: #b7c2d0; font-size: 15px; }
.site-footer a { color: #dbe3ec; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 40px; }
.site-footer .widget-title { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer .custom-logo { filter: brightness(0) invert(1); max-height: 46px; margin-bottom: 16px; }
.site-footer .site-logo--text { color: #fff; display: inline-block; margin-bottom: 16px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer .widget li { padding: 4px 0; }
.contact-list li { display: flex; gap: 10px; padding: 5px 0; }
.contact-list svg { flex: none; margin-top: 3px; color: var(--c-cta); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; }
.social-links__item { display: inline-block; padding: 6px 12px; border: 1px solid #2a3a52; border-radius: var(--radius-pill); font-size: 13px; }
.social-links__item:hover { border-color: var(--c-cta); }
.site-footer__bottom { border-top: 1px solid #1e2b3f; font-size: 13.5px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; }
.site-footer__bottom p { margin: 0; }
.footer-menu { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }

/* 7. Nội dung & khối Gutenberg ---------------------------------------------- */
.page-header { padding-block: 40px 8px; background: linear-gradient(180deg, var(--c-brand-50), #fff); }
.page-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.archive-desc { max-width: 720px; }
.entry-content--page > :where(:not(.alignwide):not(.alignfull)) { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.entry-content--page > .alignwide { max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.entry-content--page > .alignfull { max-width: none; }
.entry-content--page > :first-child { margin-top: 0; }
.entry-content--page > :where(p, ul, ol, h2, h3, figure, table, .wp-block-details):first-child { margin-top: 40px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--c-cta); color: var(--c-text-strong); font-size: 18px; }
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--c-brand); color: var(--c-brand-text); border-color: var(--c-brand); }
.entry-content tbody tr:nth-child(even) { background: var(--c-brand-50); }
.wp-block-image.is-style-rounded img { border-radius: var(--radius); }
.is-style-check { list-style: none; padding-left: 0 !important; }
.is-style-check li { position: relative; padding-left: 30px; }
.is-style-check li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.wp-block-details { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 0; margin-block: 10px; background: #fff; }
.wp-block-details summary { padding: 16px 48px 16px 18px; font-weight: 600; color: var(--c-heading); cursor: pointer; list-style: none; position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--c-brand); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 18px; }
.wp-block-details > :last-child { padding-bottom: 16px; }
.wp-block-group.is-style-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.wp-block-group.is-style-soft { background: var(--c-bg-soft); }
.wp-block-group.is-style-band { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-600)); color: var(--c-brand-text); }
.wp-block-group.is-style-band :where(h1, h2, h3, p) { color: var(--c-brand-text); }
.post-header { margin-bottom: 20px; }
.post-title { font-size: clamp(28px, 3.4vw, 42px); }
.entry-meta { color: var(--c-muted); font-size: 14px; }
.post-thumb { margin: 0 0 28px; }
.post-thumb img { width: 100%; border-radius: var(--radius); }
.post-cta { margin: 40px 0; padding: 24px; border-radius: var(--radius); background: var(--c-brand-50); border: 1px solid var(--c-brand-100); }
.post-cta__title { font: 700 20px/1.3 var(--font-heading); color: var(--c-heading); }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.related { margin-top: 48px; }
.sidebar .widget { margin-bottom: 32px; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; color: var(--c-text-strong); }
.page-numbers.current { background: var(--c-brand); color: var(--c-brand-text); border-color: var(--c-brand); }
.notfound { text-align: center; }
.notfound .search-form { margin: 24px auto; }
.notfound__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* 8. Mẫu trang (patterns) --------------------------------------------------- */
.vnb-section { padding-block: var(--section); }
.vnb-section--tight { padding-block: calc(var(--section) * .6); }
.vnb-lead { font-size: var(--fs-lead); color: var(--c-text); max-width: 640px; }

/* Hero: chữ trái, ảnh phải tràn mép + mờ dần vào nền */
.vnb-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px); background: linear-gradient(180deg, var(--c-brand-50), #fff 85%); }
.vnb-hero > .wp-block-columns { align-items: center; gap: clamp(24px, 4vw, 56px); }
.vnb-hero h1 { margin-bottom: 16px; }
.vnb-hero h1 strong, .vnb-hero h1 mark { color: var(--c-brand); background: none; }
.vnb-hero .wp-block-buttons { margin-block: 24px 28px; }
.vnb-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.vnb-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 20px; margin: 0; padding: 0 !important; list-style: none; }
.vnb-trust li { position: relative; margin: 0; padding-left: 50px; font-size: 14px; color: var(--c-muted); line-height: 1.4; }
.vnb-trust li strong { display: block; font-size: 15px; color: var(--c-heading); }
.vnb-trust li::before { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: #fff var(--vnb-trust-ic, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3a66' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")) center/20px no-repeat; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }

/* Đầu mục: tiêu đề + mô tả trái, "Xem tất cả →" phải */
.vnb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.vnb-head > :first-child { max-width: 720px; }
.vnb-head h2 { margin-bottom: 8px; }
.vnb-head p:last-child { margin-bottom: 0; }
.vnb-more { margin: 0; font-weight: 600; white-space: nowrap; }
.vnb-more a { text-decoration: none; }
.vnb-more a::after { content: " →"; }

/* Lưới thẻ có ảnh: mỗi cột là một thẻ, ảnh chiếm phần trên */
.wp-block-columns.is-style-cards { gap: 24px; }
.wp-block-columns.is-style-cards > .wp-block-column { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.wp-block-columns.is-style-cards > .wp-block-column:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.wp-block-columns.is-style-cards > .wp-block-column > .wp-block-image { margin: 0; }
.wp-block-columns.is-style-cards > .wp-block-column > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.wp-block-columns.is-style-cards > .wp-block-column > :not(.wp-block-image) { margin-inline: 22px; }
.wp-block-columns.is-style-cards > .wp-block-column > .wp-block-image + * { margin-top: 20px; }
.wp-block-columns.is-style-cards > .wp-block-column > :last-child { margin-bottom: 24px; }
.wp-block-columns.is-style-cards h3 { font-size: 18px; margin-bottom: 6px; }
.wp-block-columns.is-style-cards p { font-size: 15px; }
.vnb-price-tag { color: var(--c-cta-600); font-weight: 700; }
.vnb-meta { font-size: 14px; color: var(--c-muted); }

/* Quy trình: số tròn nối bằng đường chấm */
.vnb-steps { counter-reset: step; position: relative; }
.vnb-steps > .wp-block-column { position: relative; text-align: center; padding-top: 72px; }
.vnb-steps > .wp-block-column::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 var(--font-heading); color: var(--c-cta-text); background: var(--c-cta); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--c-cta) 70%, transparent); z-index: 1; }
.vnb-steps > .wp-block-column:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 36px); right: calc(-50% + 36px); border-top: 2px dashed var(--c-brand-100); }
.vnb-steps h3 { font-size: 17px; }
.vnb-steps p { font-size: 14.5px; }

/* Số liệu */
.vnb-stats { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.vnb-stats > .wp-block-column { text-align: center; }
.vnb-stat-num { margin: 0; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--font-heading); color: var(--c-brand); letter-spacing: -0.02em; }
.vnb-stat-label { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }

/* Dự án nổi bật (một vùng tối duy nhất cho phép) */
.vnb-dark { background: #0e1726; color: #c4cfdb; }
.vnb-dark :where(h2, h3) { color: #fff; }
.vnb-dark .wp-block-columns.is-style-cards > .wp-block-column { background: #16233a; border-color: #22324d; }
.vnb-dark .vnb-meta { color: #93a3b7; }

/* Khối liên hệ có form */
.vnb-contact > .wp-block-columns { gap: clamp(24px, 4vw, 56px); }
.vnb-contact .contact-list li, .vnb-contact .wp-block-list li { margin-bottom: 8px; }

/* Bảng giá */
.vnb-pricing > .wp-block-column { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 24px; }
.vnb-pricing > .wp-block-column.is-featured { border: 2px solid var(--c-cta); box-shadow: var(--shadow); }
.vnb-pricing .vnb-price { font: 700 30px/1.1 var(--font-heading); color: var(--c-heading); margin: 8px 0 16px; }

/* 9. Liên hệ nổi + thanh mobile --------------------------------------------- */
.vnb-float { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.vnb-float__btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; min-width: 50px; padding: 0 16px 0 14px; border: 0; border-radius: var(--radius-pill); color: #fff; font: 600 14px/1 var(--font-body); text-decoration: none; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45); cursor: pointer; }
.vnb-float__btn:hover { color: #fff; transform: translateY(-1px); }
.vnb-float__btn--zalo { background: var(--c-zalo); }
.vnb-float__btn--messenger { background: #7b3fe4; }
.vnb-float__btn--call { background: var(--c-cta); color: var(--c-cta-text); }
.vnb-float__btn--top { width: 44px; height: 44px; min-width: 44px; padding: 0; justify-content: center; background: #fff; color: var(--c-heading); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.show-top .vnb-float__btn--top { opacity: 1; visibility: visible; }
@keyframes vnb-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-cta) 55%, transparent); } 60% { box-shadow: 0 0 0 12px transparent; } }
.vnb-mbar { display: none; }
/* Vòng sóng lan ra ở nút Gọi + Zalo (mặc định; vẫn chạy khi máy bật giảm chuyển động – chuyển động nhỏ, ý muốn của chủ site). */
.vnb-float__btn--call, .vnb-float__btn--zalo { position: relative; isolation: isolate; }
.vnb-float__btn--call::before, .vnb-float__btn--call::after, .vnb-float__btn--zalo::before, .vnb-float__btn--zalo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; animation: vnb-wave 2s ease-out infinite !important; animation-duration: 2s !important; }
.vnb-float__btn--call::before, .vnb-float__btn--call::after { background: var(--c-cta); }
.vnb-float__btn--zalo::before, .vnb-float__btn--zalo::after { background: var(--c-zalo); animation-duration: 2.4s !important; }
.vnb-float__btn--call::after, .vnb-float__btn--zalo::after { animation-delay: 1s !important; }
@keyframes vnb-wave { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6, 1.9); opacity: 0; } }

/* 10. Form (plugin VNB Core) ------------------------------------------------ */
.vnb-form { display: grid; gap: 14px; }
.vnb-form__title { font: 700 20px/1.3 var(--font-heading); color: var(--c-heading); margin: 0; }
.vnb-form__product { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--c-brand-50); color: var(--c-heading); }
.vnb-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vnb-form__field--message, .vnb-form__field--address { grid-column: 1 / -1; }
.vnb-form--inline .vnb-form__fields { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.vnb-form label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--c-text-strong); }
.vnb-form input:not([type=checkbox]), .vnb-form select, .vnb-form textarea, .comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea {
	width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 15px; color: var(--c-text-strong); transition: border-color .15s ease, box-shadow .15s ease;
}
.vnb-form input:focus, .vnb-form select:focus, .vnb-form textarea:focus { outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-100); }
.vnb-form .is-invalid { border-color: var(--c-danger) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-danger) 15%, transparent) !important; }
.vnb-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vnb-form__consent { display: flex !important; gap: 8px; align-items: flex-start; font-size: 13px !important; font-weight: 400 !important; }
.vnb-form__submit { justify-self: start; min-width: 180px; }
.vnb-form--inline .vnb-form__submit { justify-self: stretch; }
.vnb-form__status { margin: 0; font-size: 14px; min-height: 1em; }
.vnb-form__status.is-success { color: var(--c-success); font-weight: 600; }
.vnb-form__status.is-error { color: var(--c-danger); }
.is-style-band .vnb-form label, .is-style-band .vnb-form__title { color: var(--c-brand-text); }

/* 11. Responsive (desktop-first, ghi đè token theo từng mốc) ---------------- */
@media (max-width: 1199.98px) {
	:root { --gutter: 20px; }
	.site-nav a { padding-inline: 10px; }
	.hotline-pill small { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
	:root { --header-h: 66px; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } /* backdrop-filter làm menu fixed bị giới hạn trong header */
	.vnb-mbar__btn span { white-space: nowrap; }
	.vnb-mbar__btn { font-size: 14px; gap: 6px; }
	.nav-toggle { display: inline-flex; order: 3; margin-left: 0; }
	.site-header__actions { margin-left: auto; }
	.site-header__cta { display: none; }
	.site-nav { position: fixed; inset: var(--header-h) 0 0 0; display: block; padding: 16px var(--gutter) 120px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--c-border); }
	.site-nav a { padding: 14px 4px; font-size: 16px; }
	.site-nav .sub-menu, .site-nav .children { position: static; display: none; min-width: 0; padding: 0 0 8px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.site-nav li.is-open > .sub-menu { display: block; }
	.submenu-toggle { display: block; position: absolute; right: 0; top: 6px; width: 44px; height: 40px; border: 0; background: none; cursor: pointer; }
	.submenu-toggle::after { content: "+"; font-size: 22px; color: var(--c-brand); }
	.is-open > .submenu-toggle::after { content: "–"; }
	.nav-open { overflow: hidden; }
	.layout-sidebar:has(.sidebar) { grid-template-columns: minmax(0, 1fr); }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.vnb-hero__media img { -webkit-mask-image: none; mask-image: none; }
	.vnb-steps > .wp-block-column::after { display: none; }
	/* Thanh Gọi + Zalo đáy màn hình thay cho nút nổi */
	.has-mobile-bar .vnb-float__btn--zalo, .has-mobile-bar .vnb-float__btn--call, .has-mobile-bar .vnb-float__btn--messenger { display: none; }
	.has-mobile-bar .vnb-float { bottom: 82px; }
	.vnb-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .25); }
	.vnb-mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; text-decoration: none; color: #fff; }
	.vnb-mbar__btn--call { background: var(--c-cta); color: var(--c-cta-text); }
	.vnb-mbar__btn--zalo { background: var(--c-zalo); }
	.vnb-mbar__btn--quote { background: var(--c-brand-50); color: var(--c-brand); }
	.has-mobile-bar .site-footer { padding-bottom: 72px; }
}
@media (max-width: 781.98px) {
	.vnb-head { align-items: flex-start; }
	.vnb-form__fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
	:root { --gutter: 16px; --fs-body: 16px; }
	.hotline-pill { padding: 0; background: none; }
	.hotline-pill__txt { display: none; }
	.topbar { display: none; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.site-footer__bottom-inner { flex-direction: column; }
	.vnb-hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.vnb-hero .wp-block-button__link { width: 100%; }
	.cta-band__actions .btn { flex: 1 1 100%; }
	.vnb-form__submit { justify-self: stretch; }
}
@media print { .site-header, .site-footer, .vnb-float, .vnb-mbar, .cta-band { display: none !important; } }

/* Khối tràn màn hình trong trang: chừa lề hai bên */
.entry-content > .wp-block-group.alignfull { padding-inline: var(--gutter); }
.entry-content > .wp-block-group.alignfull > .wp-block-columns { margin-top: 0; }
.vnb-dark a { color: color-mix(in srgb, var(--c-cta) 70%, #fff); }
.vnb-dark a:hover { color: #fff; }
