/* ==========================================================================
   HHB Tân Long — main.css
   Token theo 04-specs/design-tokens.json + 01-Quy-chuan-giao-dien.md (bộ thiết kế v1.0).
   Breakpoint: mobile ≤767 · tablet 768–1023 · desktop ≥1024. Menu hamburger dưới 1024.
   ========================================================================== */

/* ---- Font: Be Vietnam Pro 400/500/600/700, tự host (SIL OFL 1.1 — assets/fonts/FONT-LICENSE.md) ---- */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Token ---- */
:root {
	--navy: #060D1D;
	--navy-2: #0D1A33;          /* nền thẻ trên vùng tối */
	--navy-line: #22324F;       /* viền trên vùng tối */
	--blue: #246BFF;            /* nhấn thương hiệu, khối lớn */
	--blue-a: #1554D1;          /* nút chữ trắng, link chữ (6.52:1 với trắng) */
	--blue-hover: #1045AD;
	--cyan: #43D9F5;            /* đường nối, điểm sáng — không dùng làm chữ nhỏ trên nền trắng */
	--ice: #F4F7FC;
	--text: #142238;
	--muted: #526176;
	--on-dark: #FFFFFF;
	--on-dark-muted: #B8C4D9;
	--border: #DCE4EF;
	--white: #FFFFFF;
	--error: #B42318;
	--success: #176548;

	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--max: 1200px;
	--gutter: 20px;
	--gap: 24px;
	--r-card: 12px;
	--r-ctl: 8px;
	--header-h: 64px;
	--section-y: 52px;
	--bottombar-h: 64px;
	--ease: 200ms ease;

	--h1: 34px;
	--h2: 28px;
	--body: 16px;
}
@media (min-width: 768px) {
	:root { --gutter: 32px; --section-y: 72px; --h1: 44px; --h2: 32px; }
}
@media (min-width: 1024px) {
	:root { --gutter: 48px; --header-h: 80px; --section-y: 88px; --h1: 56px; --h2: 38px; --body: 17px; --bottombar-h: 0px; }
}

/* ---- Nền tảng ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--body);
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: var(--blue-a); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-a); outline-offset: 2px; border-radius: 4px; }
.hhb-section--dark :focus-visible, .hhb-hero :focus-visible, .hhb-header :focus-visible, .hhb-footer :focus-visible, .hhb-cta-band :focus-visible { outline-color: var(--cyan); }
.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; }
.hhb-skip { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 12px 16px; background: var(--white); color: var(--text); font-weight: 600; border-radius: var(--r-ctl); }
.hhb-skip:focus { top: 12px; }
.hhb-main:focus { outline: none; }

.hhb-container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hhb-section { padding: var(--section-y) 0; }
.hhb-section--ice { background: var(--ice); }
.hhb-section--dark { background: var(--navy); color: var(--on-dark); }

.hhb-icon { width: 24px; height: 24px; flex: none; }

/* ---- Chữ ---- */
.hhb-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-a); }
.hhb-eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--blue); }
.hhb-eyebrow--dark { color: var(--on-dark); }
.hhb-eyebrow--dark::before { background: var(--cyan); }
.hhb-bar { display: block; width: 40px; height: 4px; margin-bottom: 20px; border-radius: 2px; background: var(--blue); }
.hhb-bar--cyan { background: var(--cyan); }
.hhb-h2 { font-size: var(--h2); margin-bottom: 32px; }
.hhb-lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.hhb-section--dark .hhb-lead { color: var(--on-dark-muted); }
.hhb-hl { color: var(--cyan); }

/* ---- Nút ---- */
.hhb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px;
	border: 1px solid transparent; border-radius: var(--r-ctl);
	font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.hhb-btn .hhb-icon { width: 20px; height: 20px; }
.hhb-btn--lg { min-height: 52px; padding: 14px 26px; }
.hhb-btn--block { display: flex; width: 100%; }
.hhb-btn--primary { background: var(--blue-a); color: var(--white); }
.hhb-btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.hhb-btn--secondary { background: var(--white); color: var(--blue-a); border-color: var(--blue-a); }
.hhb-btn--secondary:hover { background: var(--ice); color: var(--blue-hover); border-color: var(--blue-hover); }
.hhb-btn--ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.hhb-btn--ghost-dark:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.hhb-btn--light { background: var(--white); color: var(--blue-a); }
.hhb-btn--light:hover { background: var(--ice); color: var(--blue-hover); }
.hhb-btn[disabled], .hhb-btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.hhb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hhb-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.hhb-link .hhb-icon { width: 18px; height: 18px; transition: transform var(--ease); }
.hhb-link:hover { text-decoration: underline; }
.hhb-link:hover .hhb-icon { transform: translateX(2px); }

/* ---- Header ---- */
.hhb-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--on-dark); transition: box-shadow var(--ease); }
.hhb-header.is-scrolled { box-shadow: 0 2px 16px rgba(6,13,29,.35); }
.admin-bar .hhb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hhb-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hhb-header { top: 0; } }
.hhb-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.hhb-header__brand { flex: none; margin-right: auto; }
/* Logo dạng đứng: header mobile 48px / desktop 64px (header 64 / 80). Rộng tự theo tỷ lệ gốc. */
.hhb-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-radius: 4px; }
.hhb-brand__img { display: block; width: auto; height: 48px; }
@media (min-width: 1024px) { .hhb-brand__img { height: 64px; } }
.hhb-footer__logo { margin-bottom: 20px; }
.hhb-footer__logo .hhb-brand__img { height: 112px; }

.hhb-header__menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; padding: 0; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--white); cursor: pointer; }
.hhb-header__menu-close { display: none; }
.hhb-header__menu-btn[aria-expanded="true"] .hhb-header__menu-open { display: none; }
.hhb-header__menu-btn[aria-expanded="true"] .hhb-header__menu-close { display: inline-flex; }
.hhb-header__cta { display: none; }

/* Menu — mobile/tablet: panel dưới header */
.hhb-nav {
	display: none;
	position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
	overflow-y: auto; overscroll-behavior: contain;
	padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
	background: var(--navy); border-top: 1px solid var(--navy-line);
}
.admin-bar .hhb-nav { top: calc(var(--header-h) + 46px); }
.hhb-nav.is-open { display: block; }
body.hhb-nav-open { overflow: hidden; }
.hhb-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--navy-line); }
.hhb-nav__link { flex: 1; display: flex; align-items: center; min-height: 52px; padding: 8px 0; color: var(--white); font-size: 17px; font-weight: 600; text-decoration: none; }
.hhb-nav__link:hover, .hhb-nav__link[aria-current="page"] { color: var(--cyan); }
.hhb-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; border-radius: var(--r-ctl); }
.hhb-nav__toggle .hhb-icon { transition: transform var(--ease); }
.hhb-nav__toggle[aria-expanded="true"] .hhb-icon { transform: rotate(180deg); }
.hhb-nav__sub { display: none; flex-basis: 100%; padding: 0 0 12px 12px; }
.hhb-nav__toggle[aria-expanded="true"] + .hhb-nav__sub { display: block; }
.hhb-nav__sublink { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--on-dark-muted); text-decoration: none; }
.hhb-nav__sublink:hover, .hhb-nav__sublink[aria-current="page"] { color: var(--white); }
.hhb-nav__sublink[aria-current="page"] { font-weight: 600; }
.hhb-nav__mobile-cta { display: grid; gap: 16px; padding-top: 24px; }
.hhb-nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; color: var(--white); font-weight: 600; font-size: 18px; text-decoration: none; }
.hhb-nav__phone .hhb-icon { color: var(--cyan); }

/* Menu — desktop: hàng ngang + dropdown */
@media (min-width: 1024px) {
	.hhb-header__menu-btn { display: none; }
	.hhb-header__cta { display: inline-flex; }
	.hhb-header__brand { margin-right: 0; }
	.hhb-nav { display: block; position: static; overflow: visible; padding: 0; background: none; border: 0; margin: 0 auto; }
	.admin-bar .hhb-nav { top: auto; }
	.hhb-nav__mobile-cta { display: none; }
	.hhb-nav__list { display: flex; align-items: center; gap: 4px; }
	.hhb-nav__item { border: 0; flex-wrap: nowrap; }
	.hhb-nav__link { min-height: 44px; padding: 8px 12px; font-size: 15px; font-weight: 500; border-radius: var(--r-ctl); }
	.hhb-nav__item.is-section > .hhb-nav__link { color: var(--cyan); }
	.hhb-nav__item.has-sub > .hhb-nav__link { padding-right: 2px; }
	.hhb-nav__toggle { width: 28px; height: 44px; margin: 0; }
	.hhb-nav__toggle .hhb-icon { width: 18px; height: 18px; }
	.hhb-nav__sub {
		position: absolute; top: calc(100% + 4px); left: 0; min-width: 280px; padding: 8px;
		background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
		box-shadow: 0 12px 32px rgba(6,13,29,.18);
	}
	.hhb-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* cầu nối hover */
	.hhb-nav__item.has-sub:hover > .hhb-nav__sub { display: block; }
	.hhb-nav__sublink { min-height: 44px; padding: 8px 12px; border-radius: var(--r-ctl); color: var(--text); font-size: 15px; }
	.hhb-nav__sublink:hover { background: var(--ice); color: var(--blue-a); }
	.hhb-nav__sublink[aria-current="page"] { color: var(--blue-a); background: var(--ice); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
	.hhb-header__inner { gap: 12px; }
	.hhb-nav__link { padding: 8px 8px; font-size: 14px; }
	.hhb-header__cta { padding: 10px 16px; }
}

/* ---- Hero trang chủ ---- */
.hhb-hero { position: relative; background: var(--navy); color: var(--on-dark); display: flex; flex-direction: column; }
.hhb-hero__media { position: relative; order: 2; aspect-ratio: 4 / 3; overflow: hidden; }
.hhb-hero__media picture, .hhb-card__media picture { height: 100%; } /* để object-fit/object-position của ảnh có hiệu lực */
.hhb-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 78%; }
.hhb-hero__label { position: absolute; right: 12px; bottom: 10px; }
.hhb-hero__chips { display: none; }
.hhb-hero__title { font-size: var(--h1); line-height: 1.15; margin-bottom: 16px; }
.hhb-hero__lead { font-size: 17px; color: var(--on-dark-muted); }
@media (max-width: 1023px) {
	/* Mobile/tablet: chữ → ảnh → nút. Khối chữ "display: contents" để nút (một bộ duy nhất) xếp sau ảnh. */
	.hhb-hero__content { display: contents; }
	.hhb-hero__content > * { order: 1; padding-inline: var(--gutter); max-width: 100%; }
	.hhb-hero__content > .hhb-eyebrow { padding-top: 32px; }
	.hhb-hero__content > .hhb-hero__lead { padding-bottom: 28px; }
	.hhb-hero__actions { order: 3 !important; display: grid; gap: 12px; padding-top: 20px; padding-bottom: 28px; }
	.hhb-hero__actions .hhb-btn { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.hhb-hero__media { aspect-ratio: 16 / 9; }
	.hhb-hero__content > * { max-width: calc(640px + 2 * var(--gutter)); }
	.hhb-hero__actions { grid-template-columns: 1fr 1fr; max-width: 100% !important; }
}
@media (min-width: 1024px) {
	.hhb-hero { display: block; min-height: 600px; }
	.hhb-hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
	.hhb-hero__img { object-position: 70% 60%; }
	.hhb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,13,29,.96) 0%, rgba(6,13,29,.85) 30%, rgba(6,13,29,.25) 58%, rgba(6,13,29,0) 75%), linear-gradient(0deg, rgba(6,13,29,.6) 0%, rgba(6,13,29,0) 25%); }
	.hhb-hero__label { left: max(var(--gutter), calc((100% - var(--max)) / 2)); right: auto; bottom: 16px; z-index: 1; }
	.hhb-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: min(640px, 44vw); padding-top: 72px; padding-bottom: 96px; }
	.hhb-hero__content > * { max-width: 600px; }
	.hhb-hero__lead { font-size: 18px; }
	.hhb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
	.hhb-hero__chips { display: block; position: absolute; inset: 0; z-index: 1; }
	.hhb-hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--white); background: rgba(6,13,29,.72); border: 1px solid rgba(67,217,245,.7); border-radius: var(--r-ctl); }
	.hhb-hero__chip .hhb-icon { width: 18px; height: 18px; color: var(--cyan); }
	.hhb-hero__chip--1 { left: 48%; top: 30%; }
	.hhb-hero__chip--2 { left: 62%; top: 18%; }
	.hhb-hero__chip--3 { left: 78%; top: 10%; }
}
@media (min-width: 1440px) { .hhb-hero__chip--1 { left: 50%; } }

/* Nhãn ảnh minh họa AI — luôn đọc được, sát ảnh */
.hhb-ai-label { display: inline-block; padding: 3px 8px; font-size: 13px; line-height: 1.4; font-style: italic; color: var(--white); background: rgba(6,13,29,.72); border-radius: 4px; }

/* ---- Lưới & thẻ ---- */
.hhb-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 768px) { .hhb-grid--3, .hhb-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hhb-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.hhb-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.hhb-card__title { font-size: 20px; margin-bottom: 8px; }
.hhb-card__text { color: var(--muted); font-size: 16px; }
.hhb-card__link { color: var(--text); text-decoration: none; }
.hhb-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* cả thẻ bấm được, 1 liên kết */
.hhb-card__link:focus-visible { outline: none; }
.hhb-card:focus-within { outline: 3px solid var(--blue-a); outline-offset: 2px; }
.hhb-card__arrow { display: inline-flex; margin-top: auto; padding-top: 16px; color: var(--blue-a); }
.hhb-card--link:hover { transform: translateY(-2px); border-color: #B9C8DE; box-shadow: 0 8px 24px rgba(20,34,56,.08); }
.hhb-card--link:hover .hhb-card__link { color: var(--blue-a); }
.hhb-card--media { padding: 0; overflow: hidden; }
.hhb-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.hhb-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hhb-card__media .hhb-ai-label { position: absolute; right: 8px; bottom: 8px; }
.hhb-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }

.hhb-need__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.hhb-need__num { font-size: 15px; font-weight: 700; color: var(--blue-a); }
.hhb-need__icon { width: 40px; height: 40px; color: var(--blue); }
@media (min-width: 1024px) { .hhb-need { padding: 28px; } }

/* ---- Khối phương án (chia 2 cột) ---- */
.hhb-split { display: grid; gap: 40px; }
@media (min-width: 1024px) {
	.hhb-split { grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
	.hhb-split--center { align-items: center; grid-template-columns: 5fr 7fr; }
}
.hhb-figure { position: relative; margin-top: 32px; border-radius: var(--r-card); overflow: hidden; }
.hhb-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hhb-figure .hhb-ai-label { position: absolute; right: 10px; bottom: 10px; }
.hhb-factors { display: grid; }
.hhb-factor { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.hhb-factor:first-child { padding-top: 0; }
.hhb-factor__icon { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.hhb-factor__title { font-size: 18px; margin-bottom: 4px; }
.hhb-factor p { color: var(--muted); font-size: 16px; }
.hhb-split__links { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 1024px) { .hhb-split__side { padding-top: 92px; } .hhb-split--center .hhb-split__side { padding-top: 0; } }

/* ---- Công nghệ kết nối (vùng tối) ---- */
.hhb-tech { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hhb-tech { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; } }
.hhb-tech__diagram { padding: 32px 24px 20px; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-card); }
.hhb-tech__flow { display: grid; gap: 28px; position: relative; }
.hhb-tech__node { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--navy); border: 1px solid var(--cyan); border-radius: var(--r-card); font-weight: 600; font-size: 18px; }
.hhb-tech__node .hhb-icon { width: 32px; height: 32px; color: var(--cyan); }
.hhb-tech__node:not(:last-child)::after { content: ""; position: absolute; left: 36px; top: 100%; width: 2px; height: 28px; background: linear-gradient(var(--cyan), rgba(67,217,245,.3)); }
@media (min-width: 768px) {
	.hhb-tech__flow { grid-template-columns: repeat(3, 1fr); gap: 40px; }
	.hhb-tech__node { flex-direction: column; justify-content: center; text-align: center; min-height: 150px; }
	.hhb-tech__node .hhb-icon { width: 40px; height: 40px; }
	.hhb-tech__node:not(:last-child)::after { left: 100%; top: 50%; width: 40px; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(67,217,245,.3)); }
}
.hhb-tech__diagram figcaption { margin-top: 20px; font-size: 13px; font-style: italic; color: var(--on-dark-muted); }
.hhb-tech__list { display: grid; }
.hhb-tech__list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--navy-line); }
.hhb-tech__list li:first-child { padding-top: 0; }
.hhb-tech__list li:last-child { border-bottom: 0; }
.hhb-tech__icon { width: 28px; height: 28px; color: var(--cyan); margin-top: 2px; }
.hhb-tech__list h3 { font-size: 18px; margin-bottom: 4px; }
.hhb-tech__list p { color: var(--on-dark-muted); font-size: 16px; }

/* ---- Thiết bị (teaser) ---- */
.hhb-figure--product { margin-top: 0; }
.hhb-figure--product img { aspect-ratio: 16 / 10; object-position: 75% 50%; }

/* ---- Quy trình ---- */
.hhb-steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .hhb-steps { grid-template-columns: repeat(2, 1fr); gap: var(--gap); } }
@media (min-width: 1024px) { .hhb-steps { grid-template-columns: repeat(4, 1fr); } }
.hhb-step { position: relative; padding: 24px; color: var(--text); border: 1px solid var(--border); border-radius: var(--r-card); background: var(--white); }
.hhb-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hhb-step__num { font-weight: 700; color: var(--blue-a); }
.hhb-step__icon { width: 28px; height: 28px; color: var(--blue); }
.hhb-step__title { font-size: 18px; margin-bottom: 6px; }
.hhb-step p { color: var(--muted); font-size: 16px; }
@media (min-width: 1024px) {
	.hhb-step:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: 100%; width: var(--gap); height: 2px; background: var(--cyan); }
}

/* ---- Dải CTA ---- */
.hhb-cta-band { background-color: var(--blue-a); background-image: linear-gradient(120deg, var(--blue-a) 0%, #1C5FE6 55%, #1048B8 100%); color: var(--white); padding: 56px 0; }
.hhb-cta-band__inner { display: grid; gap: 28px; }
.hhb-cta-band__title { font-size: 28px; margin-bottom: 8px; }
.hhb-cta-band__text { font-size: 17px; color: #E3ECFF; }
.hhb-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hhb-cta-band__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--white); font-size: 24px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hhb-cta-band__phone:hover { color: var(--white); text-decoration: underline; }
@media (min-width: 1024px) {
	.hhb-cta-band { padding: 64px 0; }
	.hhb-cta-band__inner { grid-template-columns: 1fr auto; align-items: center; }
	.hhb-cta-band__title { font-size: 34px; }
}

/* ---- Trang con: hero ---- */
.hhb-page-hero { background: var(--navy); color: var(--on-dark); padding: 28px 0 48px; }
.hhb-page-hero__title { font-size: var(--h1); max-width: 900px; margin-top: 16px; }
.hhb-page-hero__lead { margin-top: 16px; max-width: 720px; font-size: 18px; color: var(--on-dark-muted); }
@media (min-width: 1024px) { .hhb-page-hero { padding: 32px 0 72px; } }
.hhb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; }
.hhb-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); }
.hhb-breadcrumb li + li::before { content: "/"; opacity: .6; }
.hhb-breadcrumb a { color: var(--on-dark-muted); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.hhb-breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.hhb-breadcrumb [aria-current] { color: var(--white); }

/* ---- Nội dung dài ---- */
.hhb-prose { max-width: 760px; }
.hhb-prose > * + * { margin-top: 1em; }
.hhb-prose h2 { font-size: 28px; margin-top: 1.6em; }
.hhb-prose h3 { font-size: 21px; margin-top: 1.4em; }
.hhb-prose ul { list-style: disc; padding-left: 1.4em; }
.hhb-prose ol { list-style: decimal; padding-left: 1.4em; }

/* ---- Trạng thái trống ---- */
.hhb-empty { max-width: 640px; padding: 40px 32px; text-align: center; margin: 0 auto; background: var(--ice); border: 1px dashed #B9C8DE; border-radius: var(--r-card); }
.hhb-empty__text { font-size: 18px; margin-bottom: 24px; }

/* ---- Accordion (FAQ) — button + aria-expanded ---- */
.hhb-accordion { border-top: 1px solid var(--border); }
.hhb-accordion__item { border-bottom: 1px solid var(--border); }
.hhb-accordion__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 16px 0; border: 0; background: none; text-align: left; font-size: 18px; font-weight: 600; color: var(--text); cursor: pointer; }
.hhb-accordion__btn:hover { color: var(--blue-a); }
.hhb-accordion__btn .hhb-icon { color: var(--blue-a); transition: transform var(--ease); }
.hhb-accordion__btn[aria-expanded="true"] .hhb-icon { transform: rotate(180deg); }
.hhb-accordion__panel { padding: 0 0 20px; color: var(--muted); }
.hhb-accordion__panel[hidden] { display: none; }

/* ---- Footer ---- */
.hhb-footer { background: var(--navy); color: var(--on-dark-muted); padding: 56px 0 24px; font-size: 15px; }
.hhb-footer a { color: var(--on-dark-muted); text-decoration: none; }
.hhb-footer a:hover { color: var(--white); text-decoration: underline; }
.hhb-footer__top { display: grid; gap: 40px; }
@media (min-width: 1024px) { .hhb-footer__top { grid-template-columns: 5fr 7fr; gap: 64px; } }
.hhb-footer__name { color: var(--white); font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.hhb-footer__contact { display: grid; gap: 12px; }
.hhb-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.hhb-footer__contact .hhb-icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.hhb-footer__contact a { color: var(--white); }
.hhb-footer__note { font-size: 13px; }
.hhb-footer__links { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hhb-footer__links { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.hhb-footer__heading { color: var(--white); font-weight: 600; margin-bottom: 12px; }
.hhb-footer__links li a { display: inline-flex; align-items: center; min-height: 36px; }
.hhb-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: 13px; }

/* ---- Thanh liên hệ đáy (mobile/tablet) ---- */
.hhb-bottombar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--navy-line); box-shadow: 0 -4px 16px rgba(6,13,29,.2);
	transition: transform var(--ease);
}
.hhb-bottombar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--bottombar-h); background: var(--blue-a); color: var(--white); font-weight: 600; font-size: 15px; text-decoration: none; }
.hhb-bottombar a:hover { background: var(--blue-hover); color: var(--white); }
.hhb-bottombar .hhb-icon { width: 20px; height: 20px; }
.hhb-bottombar.is-hidden { transform: translateY(110%); }
body.hhb-nav-open .hhb-bottombar { display: none; }
@media (min-width: 1024px) { .hhb-bottombar { display: none; } }

/* ==========================================================================
   M1.2 — khối trang con
   ========================================================================== */
.hhb-section--tight { padding-top: 32px; }
.hhb-section__lead { margin: -16px 0 32px; }
.hhb-section--dark .hhb-h2 { color: var(--white); }

/* Hero trang con có ảnh (D01/D02/D03): mobile chữ trên, ảnh 16:9 dưới; desktop ảnh phải + nền chuyển */
.hhb-page-hero--image { position: relative; padding: 0; display: flex; flex-direction: column; }
.hhb-page-hero--image .hhb-page-hero__content { order: 1; padding-top: 24px; padding-bottom: 28px; }
.hhb-page-hero__media { order: 2; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hhb-page-hero__media picture { height: 100%; }
.hhb-page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.hhb-page-hero__label { position: absolute; right: 12px; bottom: 10px; }
@media (min-width: 1024px) {
	.hhb-page-hero--image { display: block; min-height: 480px; }
	.hhb-page-hero--image .hhb-page-hero__content { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 80px; }
	.hhb-page-hero--image .hhb-page-hero__content > * { max-width: 620px; }
	.hhb-page-hero--image .hhb-breadcrumb { max-width: none; }
	.hhb-page-hero__media { position: absolute; inset: 0 0 0 30%; aspect-ratio: auto; }
	.hhb-page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(6,13,29,.85) 22%, rgba(6,13,29,.2) 55%, rgba(6,13,29,0) 75%); }
	.hhb-page-hero__label { z-index: 1; }
	.hhb-page-hero--image .hhb-page-hero__title { font-size: 48px; }
}

/* Mục neo trong trang (SOLAR) */
.hhb-anchors { background: var(--ice); border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 50; }
.admin-bar .hhb-anchors { top: calc(var(--header-h) + 32px); }
.hhb-anchors ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hhb-anchors ul::-webkit-scrollbar { display: none; }
.hhb-anchors li { flex: 1 0 auto; }
.hhb-anchors a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 12px; color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hhb-anchors a:hover { color: var(--blue-a); }
.hhb-anchors .hhb-icon { width: 20px; height: 20px; color: var(--blue); }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* Lưới 4 cột */
@media (min-width: 768px) { .hhb-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hhb-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Thẻ icon */
.hhb-icard__icon { width: 36px; height: 36px; color: var(--blue); margin-bottom: 16px; }
.hhb-icard .hhb-card__title { font-size: 18px; }
.hhb-icards--dark .hhb-card { background: var(--navy-2); border-color: var(--navy-line); }
.hhb-icards--dark .hhb-card__title, .hhb-icards--dark .hhb-card__link { color: var(--white); }
.hhb-icards--dark .hhb-card__text { color: var(--on-dark-muted); }
.hhb-icards--dark .hhb-icard__icon { color: var(--cyan); }

/* Ghi chú phạm vi */
.hhb-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; font-size: 15px; color: var(--text); background: var(--ice); border-left: 3px solid var(--blue); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; }
.hhb-section--ice .hhb-note { background: var(--white); }
.hhb-note .hhb-icon { width: 20px; height: 20px; color: var(--blue-a); margin-top: 2px; }

/* Banner ảnh (khối điện mặt trời trong INV) */
.hhb-banner { position: relative; background: var(--navy); color: var(--on-dark); display: flex; flex-direction: column; }
.hhb-banner__media { order: 2; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hhb-banner__media picture { height: 100%; }
.hhb-banner__img { width: 100%; height: 100%; object-fit: cover; }
.hhb-banner__label { position: absolute; right: 12px; bottom: 10px; }
.hhb-banner__content { order: 1; padding-top: 48px; padding-bottom: 32px; }
.hhb-banner__content .hhb-h2 { color: var(--white); margin-bottom: 16px; }
.hhb-banner__text { color: var(--on-dark-muted); font-size: 17px; max-width: 560px; }
@media (min-width: 1024px) {
	.hhb-banner { display: block; min-height: 440px; }
	.hhb-banner__media { position: absolute; inset: 0 0 0 35%; aspect-ratio: auto; }
	.hhb-banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(6,13,29,.7) 25%, rgba(6,13,29,0) 60%); }
	.hhb-banner__label { z-index: 1; }
	.hhb-banner__content { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
	.hhb-banner__content > * { max-width: 520px; }
}

/* Hai cột Bạn chuẩn bị / HHB đánh giá */
.hhb-twocol { display: grid; gap: var(--gap); }
@media (min-width: 768px) { .hhb-twocol { grid-template-columns: 1fr 1fr; } }
.hhb-twocol__col { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.hhb-twocol__title { padding: 16px 24px; font-size: 18px; background: var(--ice); border-bottom: 1px solid var(--border); }
.hhb-twocol__col--accent .hhb-twocol__title { background: var(--blue-a); color: var(--white); border-color: var(--blue-a); }
.hhb-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 24px; border-bottom: 1px solid var(--border); }
.hhb-checklist li:last-child { border-bottom: 0; }
.hhb-checklist .hhb-icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

/* Sơ đồ ý niệm (SOLAR) */
.hhb-concept { padding: 28px 20px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); }
.hhb-concept__flow { display: grid; gap: 32px; }
.hhb-concept__node { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 18px; border: 1.5px solid var(--blue); border-radius: var(--r-card); background: var(--ice); font-weight: 600; text-align: center; }
.hhb-concept__node > span { display: inline-flex; align-items: center; gap: 10px; }
.hhb-concept__node .hhb-icon { width: 28px; height: 28px; color: var(--blue); }
.hhb-concept__plus { font-size: 22px; color: var(--blue-a); }
.hhb-concept__node:not(:last-child)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 32px; background: var(--cyan); }
.hhb-concept__node:not(:last-child)::before { content: ""; position: absolute; left: calc(50% - 5px); top: calc(100% + 24px); border: 6px solid transparent; border-top-color: var(--cyan); border-bottom: 0; }
@media (min-width: 1024px) {
	.hhb-concept__flow { grid-template-columns: 1.6fr 1.2fr 0.8fr; gap: 48px; align-items: stretch; }
	.hhb-concept__node:not(:last-child)::after { left: 100%; top: 50%; width: 48px; height: 2px; }
	.hhb-concept__node:not(:last-child)::before { left: calc(100% + 40px); top: calc(50% - 5px); border: 6px solid transparent; border-left-color: var(--cyan); border-right: 0; }
}
.hhb-concept figcaption { margin-top: 20px; font-size: 13px; font-style: italic; color: var(--muted); }

/* FAQ hai cột */
.hhb-faq-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .hhb-faq-layout { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.hhb-accordion__h { font-size: inherit; margin: 0; }
.hhb-figure--faq { margin-top: 8px; }
@media (max-width: 1023px) { .hhb-figure--faq { display: none; } }

/* Liên kết liên quan */
.hhb-related__title { font-size: 22px; margin-bottom: 20px; }
.hhb-related__item .hhb-card__title { font-size: 18px; }

/* Danh sách liên hệ */
.hhb-contact-list { display: grid; gap: 4px; margin-top: 24px; }
.hhb-contact-list li { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.hhb-contact-list .hhb-icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--white); color: var(--blue-a); border: 1px solid var(--border); }
.hhb-contact-list__label { display: block; font-size: 13px; color: var(--muted); }
.hhb-contact-list__value { font-weight: 600; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.hhb-contact-list__value:hover { color: var(--blue-a); text-decoration: underline; }
.hhb-contact-list--dark li { border-bottom: 1px solid var(--navy-line); padding: 14px 0; }
.hhb-contact-list--dark li:last-child { border-bottom: 0; }
.hhb-contact-list--dark .hhb-icon { background: var(--blue-a); color: var(--white); border-color: var(--blue-a); }
.hhb-contact-list--dark .hhb-contact-list__label { color: var(--on-dark-muted); }
.hhb-contact-list--dark .hhb-contact-list__value { color: var(--white); font-size: 18px; }

/* Bố cục form */
.hhb-form-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .hhb-form-layout { grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; } }
.hhb-contact-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .hhb-contact-layout { grid-template-columns: 8fr 4fr; gap: 32px; align-items: start; } }
.hhb-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px 20px; box-shadow: 0 4px 20px rgba(20,34,56,.05); }
@media (min-width: 768px) { .hhb-form-card { padding: 32px; } }
.hhb-contact-card { background: var(--navy); color: var(--on-dark); border-radius: var(--r-card); padding: 28px 24px; }
.hhb-contact-card__kicker { color: var(--on-dark-muted); font-size: 15px; }
.hhb-contact-card__title { color: var(--white); font-size: 28px; margin: 4px 0 4px; }
.hhb-contact-card__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 12px; background: var(--cyan); border-radius: 2px; }
.hhb-contact-card__legal { margin-top: 20px; font-size: 13px; color: var(--on-dark-muted); }

/* Form */
.hhb-form__title { font-size: 24px; margin-bottom: 6px; }
.hhb-form__lead { color: var(--muted); margin-bottom: 20px; }
.hhb-form__grid { display: grid; gap: 0 20px; }
@media (min-width: 768px) { .hhb-form__grid { grid-template-columns: 1fr 1fr; } }
.hhb-field { margin-bottom: 18px; }
.hhb-field__label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.hhb-req { color: var(--error); }
.hhb-opt { font-weight: 400; font-size: 13px; color: var(--muted); }
.hhb-form input[type=text], .hhb-form input[type=tel], .hhb-form input[type=email], .hhb-form input[type=number], .hhb-form select, .hhb-form textarea {
	display: block; width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; font-size: 16px; color: var(--text); background: var(--white);
	border: 1px solid #B9C6D8; border-radius: var(--r-ctl); transition: border-color var(--ease), box-shadow var(--ease);
}
.hhb-form textarea { resize: vertical; min-height: 96px; }
.hhb-form input:focus, .hhb-form select:focus, .hhb-form textarea:focus { outline: none; border-color: var(--blue-a); box-shadow: 0 0 0 3px rgba(21,84,209,.25); }
.hhb-form [disabled] { background: var(--ice); }
.hhb-field__hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.hhb-field__error { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--error); }
.hhb-field__error::before { content: "⚠ "; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); border-width: 2px; }
.hhb-form__group { margin: 4px 0 18px; padding: 18px 18px 0; background: var(--ice); border: 1px solid var(--border); border-radius: var(--r-card); }
.hhb-form__group[hidden] { display: none; }
.hhb-form__group-title { font-weight: 600; margin-bottom: 14px; }

.hhb-intents { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.hhb-intents legend { padding: 0; margin-bottom: 8px; }
.hhb-intents__list { display: grid; gap: 10px; }
@media (min-width: 768px) { .hhb-intents__list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.hhb-intent { position: relative; display: block; cursor: pointer; }
.hhb-intent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hhb-intent__box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid #B9C6D8; border-radius: var(--r-ctl); font-weight: 600; background: var(--white); transition: border-color var(--ease), background-color var(--ease); }
.hhb-intent__box .hhb-icon { width: 22px; height: 22px; color: var(--blue); }
.hhb-intent:hover .hhb-intent__box { border-color: var(--blue-a); }
.hhb-intent input:checked + .hhb-intent__box { border-color: var(--blue-a); background: var(--blue-a); color: var(--white); }
.hhb-intent input:checked + .hhb-intent__box .hhb-icon { color: var(--white); }
.hhb-intent input:focus-visible + .hhb-intent__box { outline: 3px solid var(--blue-a); outline-offset: 2px; }
.hhb-intents.has-error .hhb-intent__box { border-color: var(--error); }

.hhb-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: -6px 0 20px; padding: 10px 14px; background: #EAF1FF; border: 1px solid #C5D6FA; border-radius: var(--r-ctl); font-size: 15px; }
.hhb-context__remove { min-height: 44px; padding: 0 12px; border: 1px solid var(--blue-a); border-radius: var(--r-ctl); background: var(--white); color: var(--blue-a); font-weight: 600; cursor: pointer; }
.hhb-context__remove:hover { background: var(--ice); }

.hhb-checks { display: grid; gap: 4px; margin: 4px 0 16px; }
.hhb-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: 15px; }
.hhb-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-a); }
.hhb-checks .hhb-field { margin-bottom: 0; }
.hhb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hhb-form__summary { margin-bottom: 20px; padding: 14px 18px; border: 2px solid var(--error); border-radius: var(--r-ctl); background: #FEF3F2; }
.hhb-form__summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.hhb-form__summary-title { font-weight: 700; color: var(--error); margin-bottom: 6px; }
.hhb-form__summary ul { list-style: disc; padding-left: 20px; }
.hhb-form__summary a { color: var(--error); }

.hhb-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); font-size: 15px; margin-bottom: 18px; }
.hhb-notice .hhb-icon { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hhb-notice--info { background: #EAF1FF; border: 1px solid #C5D6FA; }
.hhb-notice--info .hhb-icon { color: var(--blue-a); }
.hhb-notice--warn { background: #FFF6E5; border: 1px solid #F2C26B; color: #5C3B00; }
.hhb-notice--warn a { color: #5C3B00; font-weight: 600; }
.hhb-form__status:empty { display: none; }
.hhb-form__status { margin-top: 18px; }
.hhb-form__status:focus { outline: 3px solid var(--blue-a); outline-offset: 2px; }

.hhb-form__actions { display: grid; gap: 14px; align-items: center; }
.hhb-form__actions .hhb-btn { width: 100%; }
.hhb-form__help { font-size: 14px; color: var(--muted); }
@media (min-width: 768px) {
	.hhb-form__actions { grid-template-columns: auto 1fr; gap: 20px; }
	.hhb-form__actions .hhb-btn { width: auto; }
	.hhb-form__help { padding-left: 20px; border-left: 1px solid var(--border); }
}

/* ==========================================================================
   M1.3 — trang còn lại, template nội dung
   ========================================================================== */
.hhb-h3 { font-size: 22px; margin-bottom: 12px; }
.hhb-meta { font-size: 14px; color: var(--muted); }
.hhb-split--text { align-items: start; }
@media (min-width: 1024px) { .hhb-split--text { grid-template-columns: 5fr 7fr; } }
.hhb-split--text .hhb-section__lead { margin-bottom: 0; }
.hhb-note--standalone { margin: 0 0 var(--section-y); }
.hhb-checklist--plain { margin: 8px 0 8px; }
.hhb-checklist--plain li { padding: 8px 0; border: 0; }
.hhb-twocol__heading { font-size: 20px; margin-bottom: 8px; }
.hhb-actions--center { justify-content: center; }
.hhb-empty__icon { width: 40px; height: 40px; color: var(--blue); margin: 0 auto 12px; }
.hhb-card__kicker { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--blue-a); margin-bottom: 6px; }
.hhb-card__title { overflow-wrap: anywhere; }

/* Bảng: desktop dạng bảng; mobile mỗi dòng thành khối nhãn/giá trị (không cuộn ngang cả trang) */
.hhb-table-wrap { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.hhb-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hhb-table th, .hhb-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.hhb-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.hhb-table tbody th { font-weight: 600; width: 30%; }
.hhb-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 767px) {
	.hhb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hhb-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
	.hhb-table tbody tr:last-child { border-bottom: 0; }
	.hhb-table th, .hhb-table td { display: block; width: auto !important; padding: 2px 0; border: 0; }
	.hhb-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); }
}
.hhb-table--kv { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--white); border-collapse: separate; border-spacing: 0; }
.hhb-table--kv th { background: var(--ice); color: var(--text); }
.hhb-table--kv th, .hhb-table--kv td { overflow-wrap: anywhere; }
@media (max-width: 767px) { .hhb-table--kv td { padding-bottom: 6px; } }

/* Danh sách định nghĩa (pháp nhân, thông tin nhanh) */
.hhb-dl { display: grid; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.hhb-dl > div { display: grid; gap: 4px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.hhb-dl > div:last-child { border-bottom: 0; }
@media (min-width: 768px) { .hhb-dl > div { grid-template-columns: 220px 1fr; gap: 16px; } }
.hhb-dl dt { font-weight: 600; color: var(--muted); }
.hhb-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hhb-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 20px; }
.hhb-facts dt { font-size: 13px; color: var(--on-dark-muted); }
.hhb-facts dd { margin: 0; font-weight: 600; color: var(--white); }

/* FAQ theo nhóm */
.hhb-faq-groups { display: grid; gap: 48px; max-width: 880px; }
.hhb-faq-group__title { font-size: 24px; margin-bottom: 12px; }

/* Bộ lọc */
.hhb-filter { margin-bottom: 28px; }
.hhb-filter ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hhb-filter a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid #B9C6D8; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.hhb-filter a:hover { border-color: var(--blue-a); color: var(--blue-a); }
.hhb-filter a[aria-current] { background: var(--blue-a); border-color: var(--blue-a); color: var(--white); }
.hhb-filter__count { font-weight: 400; font-size: 13px; opacity: .85; }

/* Khung ảnh cố định — ảnh khác tỷ lệ không làm lệch lưới */
.hhb-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice); }
.hhb-thumb img { width: 100%; height: 100%; }
.hhb-thumb--cover img { object-fit: cover; }
.hhb-thumb--contain { background: #EEF2F8; }
.hhb-thumb--contain img { object-fit: contain; padding: 12px; }
.hhb-thumb__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; }
.hhb-thumb__ph .hhb-icon { width: 40px; height: 40px; color: #9AAAC2; }
.hhb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hhb-chips li, .hhb-chips a { display: inline-block; padding: 4px 10px; font-size: 13px; font-weight: 600; background: var(--ice); border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; }
.hhb-chips a:hover { border-color: var(--blue-a); color: var(--blue-a); }

/* Chi tiết sản phẩm (D05) */
.hhb-page-hero--compact { padding: 20px 0 20px; }
.hhb-product { display: grid; gap: 28px; }
@media (min-width: 1024px) { .hhb-product { grid-template-columns: 6fr 6fr; gap: 56px; align-items: start; } }
.hhb-product__media .hhb-thumb { border-radius: var(--r-card); border: 1px solid var(--border); aspect-ratio: 1 / 1; }
@media (max-width: 767px) { .hhb-product__media .hhb-thumb { aspect-ratio: 4 / 3; } }
.hhb-product__title { font-size: 30px; margin-bottom: 12px; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .hhb-product__title { font-size: 40px; } }
.hhb-price { margin-top: 20px; padding: 16px 18px; background: var(--ice); border-radius: var(--r-card); }
.hhb-price__label { font-size: 13px; color: var(--muted); }
.hhb-price__value { font-size: 22px; font-weight: 700; }
.hhb-price__note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.hhb-product-detail { display: grid; gap: 36px; max-width: 880px; }
.hhb-docs { display: grid; gap: 8px; }
.hhb-docs a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.hhb-docs .hhb-icon { width: 20px; height: 20px; }

/* Dự án (D06) */
.hhb-page-hero__title--long { font-size: clamp(28px, 4vw, 44px); overflow-wrap: anywhere; }
.hhb-page-hero--real .hhb-page-hero__media::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(6,13,29,.88) 30%, rgba(6,13,29,.3) 65%, rgba(6,13,29,.1) 100%); }
.hhb-project { display: grid; gap: 32px; max-width: 880px; }
.hhb-project__sec { padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.hhb-project__sec--result { padding: 20px 24px; background: var(--ice); border: 0; border-left: 3px solid var(--blue); border-radius: 0 var(--r-card) var(--r-card) 0; }
.hhb-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .hhb-gallery { grid-template-columns: repeat(3, 1fr); } }
.hhb-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-ctl); }
.hhb-gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Bài viết, chính sách: nội dung 760px + mục lục */
.hhb-article { display: grid; gap: 24px; }
@media (min-width: 1024px) {
	.hhb-article { grid-template-columns: 260px minmax(0, 760px); gap: 56px; justify-content: start; }
	.hhb-article--no-toc { grid-template-columns: minmax(0, 760px); }
	.hhb-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.hhb-toc__box { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--ice); padding: 4px 18px; }
.hhb-toc__title { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.hhb-toc ol { list-style: none; padding: 0 0 12px; display: grid; gap: 2px; }
.hhb-toc a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.4; }
.hhb-toc a:hover { color: var(--blue-a); text-decoration: underline; }
.hhb-toc__l3 a { padding-left: 14px; font-size: 14px; color: var(--muted); }
.hhb-article__body { min-width: 0; }
.hhb-article__body .hhb-prose { max-width: 760px; }
.hhb-article__figure { margin-bottom: 24px; }
.hhb-article__figure img { width: 100%; max-height: 520px; object-fit: contain; background: var(--ice); border-radius: var(--r-card); }
.hhb-article__meta { margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }
.hhb-article__cat a { color: inherit; text-decoration: none; }
.hhb-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.hhb-sources ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.hhb-prose h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.hhb-policy__status { margin-bottom: 28px; }
.hhb-pending { display: inline-block; margin: 4px 0 4px; padding: 2px 10px; font-size: 13px; font-weight: 700; color: #5C3B00; background: #FFF6E5; border: 1px solid #F2C26B; border-radius: 999px; }

/* ==========================================================================
   M1.4 — trạng thái tiếp nhận
   ========================================================================== */
.hhb-form-closed__text { font-size: 17px; margin: 8px 0 20px; }
.hhb-form-closed__actions { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 768px) { .hhb-form-closed__actions { display: flex; flex-wrap: wrap; } }
.hhb-form-closed__actions .hhb-btn .hhb-icon { width: 20px; height: 20px; }
.hhb-test-banner { margin-bottom: 18px; padding: 10px 14px; font-size: 14px; color: #5C3B00; background: #FFF6E5; border: 2px dashed #E0A23A; border-radius: var(--r-ctl); }
.hhb-form button[aria-busy="true"] { cursor: progress; opacity: .75; }
.hhb-form__success { padding: 20px; background: #ECF7F1; border: 1px solid #9FD3B6; border-left: 4px solid var(--success); border-radius: var(--r-ctl); }
.hhb-form__success:focus { outline: 3px solid var(--success); outline-offset: 2px; }
.hhb-form__success-title { font-size: 20px; font-weight: 700; color: var(--success); margin-bottom: 6px; }

/* ---- Chuyển động ---- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.hhb-card--link:hover { transform: none; }
}
