/* ==========================================================================
   Trang chủ — section sản phẩm theo nhóm
   ========================================================================== */
.hck-ps { --ps-navy: var(--hck-navy, #002d72); --ps-gold: var(--hck-gold, #f7d322); --ps-ink: #12233d; --ps-muted: #5a6b85; --ps-line: #e8edf4; }
.hck-ps__sec { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.hck-ps__sec--alt { background: linear-gradient(180deg, #f4f7fb 0%, #eef3fa 100%); }
.hck-ps__wrap {
	max-width: 1240px; margin: 0 auto; padding: 0 16px;
	display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 32px; align-items: start;
}
.hck-ps__sec--alt .hck-ps__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 330px); }
.hck-ps__sec--alt .hck-ps__intro { order: 2; }

/* Khung giới thiệu */
.hck-ps__intro {
	position: sticky; top: 110px; overflow: hidden;
	padding: 30px 28px; border-radius: 22px; color: #fff;
	background:
		radial-gradient(420px 220px at 100% 0%, rgba(247, 211, 34, .25), transparent 65%),
		linear-gradient(150deg, #002d72 0%, #0a3f8f 100%);
	box-shadow: 0 24px 50px rgba(0, 45, 114, .22);
}
.hck-ps__eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ps-gold); }
.hck-ps__title { margin: 0 0 12px; color: #fff; font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; line-height: 1.22; text-transform: none; letter-spacing: 0; }
.hck-ps__desc { margin: 0 0 16px; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.6; }
.hck-ps__points { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hck-ps__points li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 500; color: #fff; }
.hck-ps__points svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(247, 211, 34, .18); color: var(--ps-gold); }
.hck-ps__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hck-ps__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
	font-size: 15px; font-weight: 700; text-decoration: none !important; transition: background-color .15s, transform .15s, border-color .15s;
}
.hck-ps__btn--gold { background: var(--ps-gold); color: var(--ps-navy) !important; }
.hck-ps__btn--gold:hover { background: #ffdc2e; transform: translateY(-1px); }
.hck-ps__btn--line { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff !important; }
.hck-ps__btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Tabs */
.hck-ps__bar { margin-bottom: 18px; }
.hck-ps__tabs {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	padding: 2px; margin: -2px;
}
.hck-ps__tabs::-webkit-scrollbar { display: none; }
.hck-ps__tab {
	flex: 0 0 auto; min-height: 42px; margin: 0; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid #d8e1ee; background: #fff; color: var(--ps-ink);
	font-size: 14.5px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1; white-space: nowrap;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.hck-ps__tab:hover { border-color: var(--ps-navy); color: var(--ps-navy); }
.hck-ps__tab.is-active { background: var(--ps-navy); border-color: var(--ps-navy); color: #fff; }
.hck-ps__tab:focus-visible { outline: 3px solid rgba(0, 45, 114, .3); outline-offset: 2px; }

/* Lưới sản phẩm (dùng lại .hck-product-card) */
.hck-ps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hck-ps:not(.is-ready) .hck-ps__item[data-extra],
.hck-ps__sec:not(.is-ready) .hck-ps__item[data-extra] { display: none; }
.hck-ps__item[hidden] { display: none !important; }
.hck-ps__item { min-width: 0; animation: hckPsIn .35s ease both; }
.hck-ps__grid .hck-product-card { flex: none; min-width: 0; width: 100%; height: 100%; }
.hck-ps__grid .hck-product-card__img,
.hck-ps__grid .hck-product-card__image img { min-height: 0; }
.hck-ps__grid .hck-product-card__body { padding: 16px 14px 18px; min-height: 0; gap: 6px; }
.hck-ps__grid .hck-product-card__title { font-size: 15.5px; }
@keyframes hckPsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hck-ps__empty { margin: 8px 0 0; padding: 18px; border-radius: 14px; background: #fff; border: 1px dashed #c5d2e6; color: var(--ps-muted); text-align: center; }
.hck-ps__foot { margin-top: 22px; text-align: center; }
.hck-ps__more {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
	border: 1.5px solid var(--ps-navy); color: var(--ps-navy) !important; font-weight: 700; font-size: 15px; text-decoration: none !important;
	transition: background-color .15s, color .15s;
}
.hck-ps__more:hover { background: var(--ps-navy); color: #fff !important; }
.hck-ps__more svg { transition: transform .15s; }
.hck-ps__more:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) {
	.hck-ps__wrap, .hck-ps__sec--alt .hck-ps__wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.hck-ps__main, .hck-ps__intro { min-width: 0; }
	.hck-ps__sec--alt .hck-ps__intro { order: 0; }
	.hck-ps__intro { position: static; }
	.hck-ps__points { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 849px) {
	.hck-ps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hck-ps__grid .hck-product-card { border-radius: 14px; }
	.hck-ps__grid .hck-product-card__body { padding: 12px 10px 14px; }
	.hck-ps__grid .hck-product-card__title { font-size: 14px; }
	.hck-ps__grid .hck-product-card__cat { font-size: 10.5px; }
	.hck-ps__intro { padding: 24px 20px; border-radius: 18px; }
	.hck-ps__btn { flex: 1 1 auto; }
	.hck-ps__tab { min-height: 40px; padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hck-ps__item { animation: none; } }

/* ==========================================================================
   Dự án tiêu biểu — bento grid
   ========================================================================== */
.hck-pj { background: radial-gradient(900px 420px at 90% -10%, rgba(247, 211, 34, .14), transparent 60%), linear-gradient(160deg, #002d72 0%, #011f52 100%) !important; }
.hck-pj__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.hck-pj__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f7d322; }
.hck-pj__title { margin: 0 0 8px; color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; }
.hck-pj__subtitle { margin: 0; color: rgba(255, 255, 255, .75); font-size: 16px; max-width: 560px; }
.hck-pj__all {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, .4); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important;
	transition: background-color .15s, border-color .15s, color .15s;
}
.hck-pj__all::first-letter { text-transform: uppercase; }
.hck-pj__all:hover { background: #f7d322; border-color: #f7d322; color: #002d72 !important; }
.hck-pj__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 16px; }
.hck-pj__card { position: relative; margin: 0; min-width: 0; }
.hck-pj__card--lg { grid-column: span 2; grid-row: span 2; }
.hck-pj__card--wide { grid-column: span 2; }
.hck-pj__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 18px; background: #0a3a80; text-decoration: none !important; isolation: isolate; }
.hck-pj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hck-pj__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 55, 0) 35%, rgba(0, 20, 55, .55) 65%, rgba(0, 20, 55, .92) 100%); transition: opacity .3s; }
.hck-pj__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.hck-pj__loc {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
	background: rgba(247, 211, 34, .95); color: #002d72; font-size: 12px; font-weight: 700;
}
.hck-pj__name { margin: 0; color: #fff; font-size: 15.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.hck-pj__card--lg .hck-pj__body { padding: 24px 26px; }
.hck-pj__card--lg .hck-pj__name { font-size: clamp(19px, 1.8vw, 24px); -webkit-line-clamp: 3; }
.hck-pj__go { display: inline-flex; align-items: center; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; color: #f7d322; font-size: 14px; font-weight: 700; transition: max-height .3s, opacity .3s; }
.hck-pj__link:hover .hck-pj__img, .hck-pj__link:focus-visible .hck-pj__img { transform: scale(1.06); }
.hck-pj__link:hover .hck-pj__go, .hck-pj__link:focus-visible .hck-pj__go { max-height: 24px; opacity: 1; }
.hck-pj__link:focus-visible { outline: 3px solid #f7d322; outline-offset: 3px; }
@media (max-width: 1023px) {
	.hck-pj__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
	.hck-pj__card--wide { grid-column: span 1; }
}
@media (max-width: 849px) {
	.hck-pj__head { flex-direction: column; align-items: flex-start; }
	.hck-pj__grid {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none;
		margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px;
	}
	.hck-pj__grid::-webkit-scrollbar { display: none; }
	.hck-pj__card, .hck-pj__card--lg, .hck-pj__card--wide { flex: 0 0 82%; height: 260px; scroll-snap-align: start; }
	.hck-pj__go { max-height: 24px; opacity: 1; }
	.hck-pj__all { order: 2; }
}

/* ==========================================================================
   Về Nội thất HCK
   ========================================================================== */
.hck-ab { background: #fff; }
.hck-ab__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hck-ab__media { position: relative; }
.hck-ab__media::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px;
	background: repeating-linear-gradient(-45deg, rgba(0, 45, 114, .08) 0 2px, transparent 2px 10px); z-index: 0;
}
.hck-ab__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 20, 60, .18); }
.hck-ab__badge {
	position: absolute; z-index: 2; left: 20px; bottom: -22px; display: flex; align-items: center; gap: 12px;
	padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 16px 36px rgba(0, 20, 60, .16);
}
.hck-ab__badge-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #f7d322; color: #002d72; }
.hck-ab__badge strong { display: block; color: #002d72; font-size: 15.5px; line-height: 1.2; }
.hck-ab__badge span span { display: block; color: #5a6b85; font-size: 13px; }
.hck-ab__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9a200; }
.hck-ab__title { margin: 0 0 16px; color: #002d72; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.18; text-transform: none; }
.hck-ab__text { color: #3b4a63; font-size: 16px; line-height: 1.7; }
.hck-ab__text p { margin: 0 0 12px; }
.hck-ab__text a { color: #002d72; font-weight: 600; }
.hck-ab__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 26px; padding: 0; list-style: none; }
.hck-ab__features li {
	display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px; border-radius: 14px;
	background: #f4f7fb; border: 1px solid #e8edf4; color: #12233d; font-size: 14.5px; font-weight: 600; line-height: 1.4;
}
.hck-ab__f-ico { flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #002d72; color: #f7d322; }
.hck-ab__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hck-ab__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
	font-size: 15.5px; font-weight: 700; text-decoration: none !important; text-transform: none; transition: background-color .15s, transform .15s, color .15s, border-color .15s;
}
.hck-ab__btn--navy { background: #002d72; color: #fff !important; box-shadow: 0 10px 24px rgba(0, 45, 114, .22); }
.hck-ab__btn--navy:hover { background: #0a3f8f; transform: translateY(-1px); }
.hck-ab__btn--line { border: 1.5px solid #c5d2e6; color: #002d72 !important; }
.hck-ab__btn--line::first-letter { text-transform: uppercase; }
.hck-ab__btn--line:hover { border-color: #002d72; }
.hck-ab__tel { display: inline-flex; align-items: center; gap: 10px; margin-left: 4px; color: #002d72 !important; font-weight: 800; font-size: 17px; text-decoration: none !important; }
.hck-ab__tel > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #f7d322; }
.hck-ab__tel small { display: block; color: #5a6b85; font-size: 12px; font-weight: 600; }
@media (max-width: 849px) {
	.hck-ab__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.hck-ab__media::before { inset: 12px -8px -12px 12px; }
	.hck-ab__features { grid-template-columns: minmax(0, 1fr); }
	.hck-ab__btn { flex: 1 1 auto; }
	.hck-ab__tel { margin: 4px 0 0; }
}
/* ==========================================================================
   Cẩm nang & kiến thức (bài viết)
   ========================================================================== */
.hck-hp { padding: clamp(48px, 6vw, 80px) 0; background: linear-gradient(180deg, #f4f7fb 0%, #fff 100%); }
.hck-hp__wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.hck-hp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.hck-hp__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9a200; }
.hck-hp__title { margin: 0 0 8px; color: #002d72; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.18; }
.hck-hp__sub { margin: 0; max-width: 620px; color: #5a6b85; font-size: 16px; }
.hck-hp__all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid #002d72; color: #002d72 !important; font-weight: 700; text-decoration: none !important; transition: background-color .15s, color .15s; }
.hck-hp__all:hover { background: #002d72; color: #fff !important; }
.hck-hp__tabs { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hck-hp__tabs::-webkit-scrollbar { display: none; }
.hck-hp__tab {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid #d8e1ee; background: #fff; color: #12233d; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.hck-hp__tab:hover { border-color: #002d72; }
.hck-hp__tab.is-active { background: #002d72; border-color: #002d72; color: #fff; }
.hck-hp__tab:focus-visible { outline: 3px solid rgba(0, 45, 114, .3); outline-offset: 2px; }
.hck-hp__count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: #eef2f8; color: #002d72; font-size: 12px; font-weight: 700; }
.hck-hp__tab.is-active .hck-hp__count { background: #f7d322; }
.hck-hp__panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; animation: hckPsIn .35s ease both; }
.hck-hp__panel[hidden] { display: none; }
.hck-hp__lead { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #e8edf4; box-shadow: 0 18px 44px rgba(0, 20, 60, .08); }
.hck-hp__lead-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef2f8; }
.hck-hp__lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hck-hp__lead:hover .hck-hp__lead-img img { transform: scale(1.04); }
.hck-hp__chip { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #f7d322; color: #002d72; font-size: 12.5px; font-weight: 700; }
.hck-hp__lead-body { padding: 20px 24px 24px; }
.hck-hp__meta { margin: 0 0 6px; color: #7a8699; font-size: 13px; }
.hck-hp__lead-title { margin: 0 0 10px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; font-weight: 800; }
.hck-hp__lead-title a, .hck-hp__item-title a { color: #12233d !important; text-decoration: none !important; }
.hck-hp__lead-title a:hover, .hck-hp__item-title a:hover { color: #002d72 !important; text-decoration: underline !important; text-decoration-color: #f7d322 !important; text-underline-offset: 4px; }
.hck-hp__excerpt { margin: 0 0 14px; color: #4a5a73; font-size: 15px; line-height: 1.6; }
.hck-hp__read { display: inline-flex; align-items: center; gap: 6px; color: #002d72 !important; font-weight: 700; text-decoration: none !important; }
.hck-hp__read:hover svg { transform: translateX(3px); }
.hck-hp__read svg { transition: transform .15s; }
.hck-hp__list { display: flex; flex-direction: column; gap: 12px; }
.hck-hp__item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #e8edf4; transition: box-shadow .15s, border-color .15s; }
.hck-hp__item:hover { border-color: #c5d2e6; box-shadow: 0 10px 24px rgba(0, 20, 60, .07); }
.hck-hp__thumb { display: block; width: 104px; height: 80px; overflow: hidden; border-radius: 12px; background: #eef2f8; }
.hck-hp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hck-hp__item-title { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hck-hp__item .hck-hp__meta { margin: 0; }
.hck-hp__more { align-self: flex-start; margin-top: 4px; color: #002d72 !important; font-weight: 700; font-size: 15px; }
@media (max-width: 849px) {
	.hck-hp__head { flex-direction: column; align-items: flex-start; }
	.hck-hp__panel { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.hck-hp__lead-body { padding: 16px 16px 18px; }
	.hck-hp__item { grid-template-columns: 88px minmax(0, 1fr); padding: 10px; }
	.hck-hp__thumb { width: 88px; height: 72px; }
	.hck-hp__item-title { font-size: 14.5px; }
}