/* Home Lab: các trang trong (dự án, sản phẩm, tin tức, liên hệ, đội ngũ). Không nạp ở trang chủ. */

.hl-narrow {
	max-width: 880px;
}

.hl-section--tight {
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

/* ---------- Thanh điều hướng nhóm trang ---------- */
.hl-subnav {
	position: sticky;
	top: var(--hl-header-h);
	z-index: 40;
	background: #fff;
	border-bottom: 1px solid var(--hl-color-line);
}

.admin-bar .hl-subnav {
	top: calc(var(--hl-header-h) + 32px);
}

.hl-subnav ul {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 10px 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.hl-subnav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 6px 18px;
	border-radius: 999px;
	font-size: 0.9rem;
	white-space: nowrap;
	color: var(--hl-color-ink);
	transition: background 0.3s, color 0.3s;
}

.hl-subnav a:hover {
	background: rgba(0, 71, 107, 0.08);
}

.hl-subnav a[aria-current="page"] {
	background: var(--hl-color-navy);
	color: #fff;
}

/* ---------- Dải kêu gọi cuối trang ---------- */
.hl-ctaband {
	padding-block: clamp(2.5rem, 6vw, 4rem);
	background:
		radial-gradient(700px 300px at 10% 0%, rgba(10, 154, 88, 0.3), transparent 70%),
		linear-gradient(160deg, var(--hl-color-navy) 0%, var(--hl-color-navy-darker) 100%);
	color: rgba(255, 255, 255, 0.85);
}

.hl-ctaband__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--hl-space-4);
}

.hl-ctaband h2 {
	margin-bottom: 0.2em;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	color: #fff;
}

.hl-ctaband p {
	margin: 0;
}

.hl-ctaband__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Lọc bằng liên kết ---------- */
.hl-filterlinks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: var(--hl-space-5);
}

.hl-filterlinks a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 20px;
	border: 1px solid var(--hl-color-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.9rem;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.hl-filterlinks a:hover {
	border-color: var(--hl-color-navy);
}

.hl-filterlinks a[aria-current="page"] {
	background: var(--hl-color-navy);
	border-color: var(--hl-color-navy);
	color: #fff;
}

.hl-card__price {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--hl-color-green);
}

.hl-price--contact {
	font-weight: 500;
}

/* ---------- Form để lại thông tin ---------- */
.hl-leadform {
	display: grid;
	gap: 16px;
	padding: clamp(22px, 3.5vw, 36px);
	border-radius: var(--hl-radius-l);
	background: #fff;
	box-shadow: var(--hl-shadow);
}

.hl-leadform__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.hl-leadform__row {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
}

.hl-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--hl-color-muted);
}

.hl-field input,
.hl-field select,
.hl-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--hl-color-line);
	border-radius: var(--hl-radius-s);
	background: var(--hl-color-cream);
	font: inherit;
	font-size: 1rem;
	color: var(--hl-color-ink);
}

.hl-field textarea {
	resize: vertical;
}

.hl-field input:focus,
.hl-field select:focus,
.hl-field textarea:focus {
	border-color: var(--hl-color-green);
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(5, 119, 67, 0.18);
}

.hl-field.has-error input {
	border-color: #c0392b;
}

.hl-leadform__hp {
	position: absolute;
	left: -9999px;
}

.hl-leadform__submit {
	justify-self: start;
}

.hl-leadform__submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.hl-leadform__status {
	min-height: 1.4em;
	margin: 0;
	font-size: 0.92rem;
}

.hl-leadform__status.is-ok {
	color: var(--hl-color-green);
}

.hl-leadform__status.is-error {
	color: #c0392b;
}

.hl-leadform__privacy {
	margin: 0;
	font-size: 0.78rem;
	color: var(--hl-color-muted);
}

.hl-leadform__privacy a {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.hl-leadform__row {
		grid-template-columns: 1fr;
	}
}

/* ---------- Liên hệ ---------- */
.hl-contact {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: 1fr 1.1fr;
	align-items: start;
}

.hl-contact__list {
	display: grid;
	gap: 18px;
	margin: 0 0 var(--hl-space-4);
	padding: 0;
	list-style: none;
}

.hl-contact__list li {
	display: flex;
	gap: 16px;
	align-items: center;
}

.hl-contact__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--hl-color-navy);
	color: #fff;
}

.hl-contact__list small {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hl-color-muted);
}

.hl-contact__list a,
.hl-contact__list b {
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--hl-color-navy);
}

.hl-contact__chat {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: var(--hl-space-4);
}

@media (max-width: 860px) {
	.hl-contact {
		grid-template-columns: 1fr;
	}
}

/* ---------- Đội ngũ ---------- */
.hl-team__intro {
	margin-bottom: var(--hl-space-5);
}

.hl-person {
	position: relative;
	overflow: hidden;
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
	transition: transform 0.6s var(--hl-ease), box-shadow 0.6s var(--hl-ease);
}

.hl-person:hover {
	transform: translateY(-4px);
	box-shadow: var(--hl-shadow);
}

.hl-person__photo {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	background: linear-gradient(160deg, var(--hl-color-navy), var(--hl-color-navy-darker));
}

.hl-person__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hl-person__initial {
	font-size: 4.5rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
}

.hl-person__body {
	padding: 18px 22px 22px;
}

.hl-person__name {
	margin: 0;
	font-size: 1.5rem;
}

.hl-person__role {
	margin: 2px 0 8px;
	font-weight: 500;
	color: var(--hl-color-green);
}

.hl-person__meta {
	margin: 0;
	font-size: 0.88rem;
	color: var(--hl-color-muted);
}

.hl-profile {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 360px) 1fr;
}

.hl-profile:not(:has(.hl-profile__photo)) {
	grid-template-columns: 1fr;
}

.hl-profile__photo img {
	width: 100%;
	border-radius: var(--hl-radius-l);
}

/* ---------- Thông số (dự án, hồ sơ) ---------- */
.hl-facts {
	display: grid;
	gap: 0;
	margin: 0 0 var(--hl-space-4);
	padding: 0;
	list-style: none;
}

.hl-facts li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--hl-color-line);
}

.hl-facts small {
	white-space: nowrap;
	font-size: 0.85rem;
	color: var(--hl-color-muted);
}

.hl-facts b {
	font-weight: 500;
	text-align: right;
}

.hl-facts--inline {
	margin-bottom: var(--hl-space-4);
}

/* ---------- Chi tiết dự án ---------- */
.hl-projhero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(420px, 70vh, 700px);
	overflow: hidden;
	background: var(--hl-color-navy-darker);
	color: #fff;
}

.hl-projhero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hl-projhero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(2, 20, 31, 0.9) 0%, rgba(2, 20, 31, 0.3) 55%, rgba(2, 20, 31, 0.5) 100%);
}

.hl-projhero__body {
	position: relative;
	padding-top: calc(var(--hl-header-h) + 40px);
	padding-bottom: clamp(2rem, 6vw, 4rem);
}

.hl-projhero h1 {
	max-width: 22ch;
	margin-bottom: 0.2em;
	color: #fff;
}

.hl-projhero__place {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.hl-project {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: 1fr 340px;
	align-items: start;
}

.hl-project__side {
	position: sticky;
	top: calc(var(--hl-header-h) + 24px);
	padding: 24px 26px;
	border-radius: var(--hl-radius-l);
	background: #fff;
	box-shadow: var(--hl-shadow);
}

.hl-project__side .hl-btn {
	width: 100%;
}

.hl-project__sidetitle {
	margin-bottom: 0.4em;
	font-size: 1.5rem;
}

.hl-storycards {
	display: grid;
	gap: var(--hl-space-3);
	margin-top: var(--hl-space-5);
}

.hl-storycard {
	padding: 22px 26px;
	border-left: 3px solid var(--hl-color-green);
	border-radius: 0 var(--hl-radius-m) var(--hl-radius-m) 0;
	background: #fff;
}

.hl-storycard h2 {
	margin-bottom: 0.3em;
	font-size: 1.35rem;
}

.hl-storycard p {
	margin: 0;
	color: var(--hl-color-muted);
}

.hl-gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	margin-top: var(--hl-space-4);
}

.hl-gallery__item {
	display: block;
	overflow: hidden;
	border-radius: var(--hl-radius-m);
	background: #d9d4c9;
}

.hl-gallery__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1s var(--hl-ease);
}

.hl-gallery__item:hover img {
	transform: scale(1.06);
}

.hl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	background: rgba(2, 20, 31, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s;
}

.hl-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.hl-lightbox img {
	max-width: min(96vw, 1500px);
	max-height: 88vh;
	border-radius: var(--hl-radius-s);
	object-fit: contain;
}

.hl-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	font-size: 1.6rem;
	color: #fff;
	transition: background 0.3s;
}

.hl-lightbox button:hover {
	background: rgba(255, 255, 255, 0.28);
}

.hl-lightbox__close { top: 18px; right: 18px; }
.hl-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.hl-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
	.hl-project {
		grid-template-columns: 1fr;
	}

	.hl-project__side {
		position: static;
	}

	.hl-profile {
		grid-template-columns: 1fr;
	}
}

/* ---------- Bài viết ---------- */
.hl-article {
	display: grid;
	justify-items: center;
}

.hl-article__main {
	width: 100%;
	max-width: 760px;
}

.hl-article__main .hl-prose,
.hl-article__main .hl-share {
	max-width: none;
}

/* ---------- Mục lục ---------- */
.hl-article.has-toc {
	grid-template-columns: minmax(230px, 280px) minmax(0, 760px);
	justify-content: center;
	justify-items: stretch;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.hl-toc {
	position: sticky;
	top: calc(var(--hl-header-h) + 24px);
	max-height: calc(100vh - var(--hl-header-h) - 48px);
	overflow-y: auto;
	padding: 18px 20px;
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.hl-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hl-color-green);
	cursor: pointer;
	list-style: none;
}

.hl-toc summary::-webkit-details-marker {
	display: none;
}

.hl-toc summary i {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.3s var(--hl-ease);
}

.hl-toc details[open] summary i {
	transform: rotate(-135deg) translateY(-2px);
}

.hl-toc ol {
	display: grid;
	gap: 2px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.hl-toc li {
	counter-increment: toc;
}

.hl-toc a {
	display: block;
	padding: 7px 10px 7px 12px;
	border-left: 2px solid var(--hl-color-line);
	font-size: 0.93rem;
	line-height: 1.4;
	color: var(--hl-color-muted);
	transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.hl-toc__l3 a {
	padding-left: 26px;
	font-size: 0.88rem;
}

.hl-toc a:hover {
	color: var(--hl-color-green);
}

.hl-toc a.is-on {
	border-left-color: var(--hl-color-green);
	background: rgba(5, 119, 67, 0.07);
	font-weight: 500;
	color: var(--hl-color-navy);
}

/* Đích nhảy của mục lục không bị header che. */
.hl-prose h2,
.hl-prose h3,
.hl-prose h4 {
	scroll-margin-top: calc(var(--hl-header-h) + 24px);
}

@media (max-width: 1000px) {
	.hl-article.has-toc {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: var(--hl-space-4);
	}

	.hl-toc {
		position: static;
		width: 100%;
		max-width: 760px;
		max-height: none;
	}
}

.hl-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	max-width: 760px;
	margin-top: var(--hl-space-5);
	padding-top: var(--hl-space-3);
	border-top: 1px solid var(--hl-color-line);
	font-size: 0.9rem;
}

.hl-share a,
.hl-share button {
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid var(--hl-color-line);
	border-radius: 999px;
	background: #fff;
	transition: background 0.3s, color 0.3s;
}

.hl-share a:hover,
.hl-share button:hover {
	background: var(--hl-color-navy);
	color: #fff;
}

.hl-article__meta a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Sản phẩm ---------- */
.hl-product {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: 1.1fr 1fr;
	align-items: start;
	margin-bottom: var(--hl-space-6);
}

.hl-pgallery__main img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--hl-radius-l);
	background: #d9d4c9;
}

.hl-pgallery__thumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.hl-pgallery__thumbs button {
	display: block;
	overflow: hidden;
	width: 84px;
	height: 64px;
	border: 2px solid transparent;
	border-radius: var(--hl-radius-s);
}

.hl-pgallery__thumbs button.is-on {
	border-color: var(--hl-color-green);
}

.hl-pgallery__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hl-product__price {
	margin: 0 0 4px;
	font-size: 1.9rem;
	font-weight: 600;
	color: var(--hl-color-green);
}

.hl-product__note {
	margin: 0 0 var(--hl-space-3);
	font-size: 0.85rem;
	color: var(--hl-color-muted);
}

.hl-specs {
	display: grid;
	margin: var(--hl-space-3) 0;
}

.hl-specs div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--hl-color-line);
}

.hl-specs dt {
	color: var(--hl-color-muted);
}

.hl-specs dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
}

.hl-product__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: var(--hl-space-4);
}

@media (max-width: 860px) {
	.hl-product {
		grid-template-columns: 1fr;
	}
}

/* ---------- Trang dựng theo khối (Giới thiệu, Dịch vụ) ---------- */
.hl-psec {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hl-psec--white { background: #fff; }
.hl-psec--cream { background: var(--hl-color-cream); }

.hl-psec__head {
	max-width: 720px;
	margin-bottom: var(--hl-space-5);
}

.hl-psec__head h2 {
	margin: 10px 0 0;
}

.hl-psec__head .hl-lead {
	margin: 14px 0 0;
}

.hl-psec__more {
	margin: var(--hl-space-5) 0 0;
	text-align: center;
}

.hl-licon {
	width: 26px;
	height: 26px;
}

.hl-intro,
.hl-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: 1fr 1.05fr;
	align-items: center;
}

.hl-intro--solo {
	grid-template-columns: minmax(0, 760px);
}

.hl-split--rev {
	grid-template-columns: 1.05fr 1fr;
}

.hl-intro h2,
.hl-split h2 {
	margin: 10px 0 0.5em;
}

.hl-intro__media img,
.hl-split__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--hl-radius-l);
	box-shadow: var(--hl-shadow);
}

.hl-intro__media,
.hl-split__media {
	margin: 0;
}

.hl-ticks {
	display: grid;
	gap: 12px;
	margin: var(--hl-space-3) 0 0;
	padding: 0;
	list-style: none;
}

.hl-ticks li,
.hl-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.hl-ticks .hl-licon,
.hl-list .hl-licon {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--hl-color-green);
}

.hl-features {
	display: grid;
	gap: var(--hl-space-4);
	grid-template-columns: repeat(3, 1fr);
}

.hl-features--2 { grid-template-columns: repeat(2, 1fr); }
.hl-features--4 { grid-template-columns: repeat(4, 1fr); }

.hl-feature {
	padding: 28px 26px;
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
	transition: transform 0.5s var(--hl-ease), box-shadow 0.5s var(--hl-ease);
}

.hl-psec--white .hl-feature {
	background: var(--hl-color-cream);
	box-shadow: none;
}

.hl-feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--hl-shadow);
}

.hl-feature__icon,
.hl-pcard__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--hl-color-navy);
	color: #fff;
}

.hl-feature h3 {
	margin-bottom: 0.4em;
	font-size: 1.45rem;
}

.hl-feature p {
	margin: 0;
	color: var(--hl-color-muted);
}

.hl-steplist {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.hl-steplist li {
	position: relative;
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 8px 24px;
	padding: 26px 0;
	border-top: 1px solid var(--hl-color-line);
}

.hl-steplist li:last-child {
	border-bottom: 1px solid var(--hl-color-line);
}

.hl-steplist__n {
	font-size: 2.6rem;
	font-weight: 500;
	line-height: 1;
	color: var(--hl-color-green);
}

.hl-steplist h3 {
	margin-bottom: 0.3em;
	font-size: 1.6rem;
}

.hl-steplist p {
	margin: 0;
	max-width: 62ch;
	color: var(--hl-color-muted);
}

.hl-steplist__tag {
	display: inline-block;
	margin-top: 12px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(5, 119, 67, 0.1);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--hl-color-green);
}

.hl-pcards {
	display: grid;
	gap: var(--hl-space-4);
	grid-template-columns: repeat(3, 1fr);
}

.hl-pcards--4 { grid-template-columns: repeat(4, 1fr); }
.hl-pcards--2 { grid-template-columns: repeat(2, 1fr); }

.hl-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px 26px;
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
	transition: transform 0.5s var(--hl-ease), box-shadow 0.5s var(--hl-ease);
}

.hl-psec--white .hl-pcard {
	background: var(--hl-color-cream);
	box-shadow: none;
}

.hl-pcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--hl-shadow);
}

.hl-pcard h3 {
	margin: 0;
	font-size: 1.5rem;
}

.hl-pcard p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--hl-color-muted);
}

.hl-pcard__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.hl-pcard__chips li {
	padding: 4px 12px;
	border: 1px solid var(--hl-color-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
	color: var(--hl-color-navy);
}

.hl-pcard .hl-card__more {
	margin-top: auto;
	padding-top: 10px;
}

.hl-lists {
	display: grid;
	gap: var(--hl-space-4);
	grid-template-columns: repeat(2, 1fr);
}

.hl-lists--1 {
	grid-template-columns: minmax(0, 760px);
}

.hl-list {
	padding: 28px 30px;
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
}

.hl-psec--white .hl-list {
	background: var(--hl-color-cream);
	box-shadow: none;
}

.hl-list h3 {
	margin-bottom: 0.7em;
	font-size: 1.45rem;
}

.hl-list ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-list--no .hl-licon {
	color: var(--hl-color-muted);
}

.hl-pstats {
	display: grid;
	gap: var(--hl-space-4);
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
}

.hl-pstat b {
	display: block;
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	font-weight: 500;
	line-height: 1;
	color: var(--hl-color-navy);
}

.hl-pstat span {
	display: block;
	max-width: 22ch;
	margin: 8px auto 0;
	color: var(--hl-color-muted);
}

.hl-tablewrap {
	overflow-x: auto;
	border-radius: var(--hl-radius-m);
	box-shadow: 0 1px 0 var(--hl-color-line);
}

.hl-compare {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	background: #fff;
}

.hl-compare th,
.hl-compare td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--hl-color-line);
	text-align: left;
}

.hl-compare thead th {
	background: var(--hl-color-navy);
	color: #fff;
	font-weight: 500;
}

.hl-compare tbody th {
	font-weight: 500;
	color: var(--hl-color-navy);
}

.hl-faq {
	display: grid;
	gap: 12px;
	max-width: 860px;
}

.hl-faq details {
	border-radius: var(--hl-radius-m);
	background: #fff;
	box-shadow: 0 1px 0 var(--hl-color-line);
}

.hl-psec--white .hl-faq details {
	background: var(--hl-color-cream);
	box-shadow: none;
}

.hl-faq summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	font-size: 1.05rem;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
	color: var(--hl-color-navy);
}

.hl-faq summary::-webkit-details-marker {
	display: none;
}

.hl-faq summary::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--hl-color-green);
	border-bottom: 2px solid var(--hl-color-green);
	transform: rotate(45deg);
	transition: transform 0.4s var(--hl-ease);
}

.hl-faq details[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.hl-faq details p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--hl-color-muted);
}

@media (max-width: 1100px) {
	.hl-features--4,
	.hl-pcards--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.hl-intro,
	.hl-split,
	.hl-split--rev,
	.hl-lists,
	.hl-features,
	.hl-features--2,
	.hl-features--4,
	.hl-pcards,
	.hl-pcards--2,
	.hl-pcards--4,
	.hl-pstats {
		grid-template-columns: 1fr;
	}

	.hl-split__media,
	.hl-intro__media {
		order: -1;
	}

	.hl-steplist li {
		grid-template-columns: 52px 1fr;
		gap: 4px 14px;
	}

	.hl-steplist__n {
		font-size: 2rem;
	}
}

/* Thanh quản trị WordPress: từ 601 đến 782px cao 46px và cố định; dưới 600px không cố định (cuộn đi mất),
   nên header và thanh nhóm trang phải bám mép trên màn hình thay vì chừa chỗ cho nó. */
@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .hl-subnav {
		top: calc(var(--hl-header-h) + 46px);
	}
}

@media (max-width: 600px) {
	.admin-bar .hl-header {
		top: 0;
	}

	.admin-bar .hl-nav {
		padding-top: calc(var(--hl-header-h) + 20px);
	}

	.admin-bar .hl-subnav {
		top: var(--hl-header-h);
	}
}

/* ---------- Trước/sau kèm lời thuyết trình ---------- */
.hl-baside.has-side {
	display: grid;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: center;
}

.hl-baside__text {
	display: grid;
	gap: var(--hl-space-4);
}

.hl-quote {
	position: relative;
	margin: 0;
	padding: 2.4rem 0 0;
}

.hl-quote::before {
	content: "“";
	position: absolute;
	top: -0.5rem;
	left: -0.15rem;
	font-size: 5rem;
	line-height: 1;
	color: var(--hl-color-green);
	opacity: 0.35;
}

.hl-quote blockquote {
	margin: 0;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.65;
	color: var(--hl-color-navy);
}

.hl-quote figcaption {
	margin-top: 0.9rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--hl-color-green);
}

.hl-quote figcaption::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	margin-right: 10px;
	vertical-align: middle;
	background: currentColor;
}

.hl-points {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--hl-color-line);
	list-style: none;
}

.hl-points li {
	position: relative;
	padding-left: 26px;
	color: var(--hl-color-muted);
}

.hl-points li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 14px;
	height: 7px;
	border-bottom: 2px solid var(--hl-color-green);
	border-left: 2px solid var(--hl-color-green);
	transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Bộ sưu tập: ảnh lớn + ảnh nhỏ ---------- */
.hl-showcase {
	display: grid;
	gap: 12px;
	margin-top: var(--hl-space-4);
}

.hl-showcase__stage {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--hl-radius-l);
	background: #d9d4c9;
	box-shadow: var(--hl-shadow);
	cursor: zoom-in;
}

.hl-showcase__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.18s ease, transform 1.2s var(--hl-ease);
}

.hl-showcase__stage:hover .hl-showcase__img {
	transform: scale(1.025);
}

.hl-showcase__count {
	position: absolute;
	right: 16px;
	bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(2, 27, 41, 0.7);
	font-size: 0.8rem;
	color: #fff;
	backdrop-filter: blur(6px);
}

.hl-showcase__thumbs {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr));
}

.hl-showcase__thumb {
	border-radius: var(--hl-radius-s);
	opacity: 0.6;
	outline: 2px solid transparent;
	outline-offset: -2px;
	transition: opacity 0.3s, outline-color 0.3s;
}

.hl-showcase__thumb img {
	aspect-ratio: 3 / 2;
}

.hl-showcase__thumb:hover,
.hl-showcase__thumb.is-on {
	opacity: 1;
}

.hl-showcase__thumb.is-on {
	outline-color: var(--hl-color-green);
}

.hl-showcase__thumb:hover img {
	transform: none;
}

/* ---------- Video công trình ---------- */
.hl-videos {
	display: grid;
	gap: 16px;
	margin-top: var(--hl-space-4);
}

.hl-videos.is-multi {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.hl-video,
.hl-videos iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--hl-radius-l);
}

.hl-video {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: #02141f;
	box-shadow: var(--hl-shadow);
	cursor: pointer;
}

.hl-video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: opacity 0.4s, transform 1.2s var(--hl-ease);
}

.hl-video:hover img {
	opacity: 1;
	transform: scale(1.03);
}

.hl-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--hl-color-green);
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.25);
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--hl-ease);
}

.hl-video__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 18px solid #fff;
	transform: translate(-50%, -50%);
}

.hl-video:hover .hl-video__play {
	transform: translate(-50%, -50%) scale(1.1);
}

/* ---------- Ảnh quá trình thi công ---------- */
.hl-buildlog .hl-gallery__item:first-child {
	grid-column: span 2;
}

.hl-buildlog .hl-gallery__item:first-child img {
	height: 100%;
	aspect-ratio: auto;
}

@media (max-width: 860px) {
	.hl-baside.has-side {
		grid-template-columns: 1fr;
	}

	.hl-showcase__stage {
		aspect-ratio: 4 / 3;
		border-radius: var(--hl-radius-m);
	}
}

/* Ảnh nhỏ: một hàng, cuộn ngang khi nhiều ảnh */
.hl-showcase__thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.hl-showcase__thumb {
	flex: 0 0 clamp(96px, 14vw, 150px);
	scroll-snap-align: start;
}

/* ---------- Bộ sưu tập dạng lưới 4 cột: ảnh đầu 3x2 ---------- */
.hl-mosaic {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: var(--hl-space-4);
}

.hl-mosaic__item {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--hl-radius-m);
	cursor: zoom-in;
}

.hl-mosaic__item img {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
}

.hl-mosaic__item:first-child {
	grid-column: span 3;
	grid-row: span 2;
	aspect-ratio: auto;
	border-radius: var(--hl-radius-l);
	box-shadow: var(--hl-shadow);
}

@media (max-width: 640px) {
	.hl-mosaic {
		gap: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hl-mosaic__item:first-child {
		grid-column: span 2;
		grid-row: span 1;
		aspect-ratio: 4 / 3;
	}
}

/* Ảnh lớn không tự quyết định chiều cao hàng: khớp đúng 2 hàng ô nhỏ */
.hl-mosaic__item:first-child img {
	position: absolute;
	inset: 0;
}

@media (max-width: 640px) {
	.hl-mosaic__item:first-child img {
		position: static;
	}
}

/* ---------- Nhịp khoảng cách đều giữa các khối trang dự án ---------- */
body.single-du_an .hl-section--tight {
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

body.single-du_an .hl-section:has(> .hl-project) {
	padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

body.single-du_an .hl-section--tight h2 {
	margin-bottom: 0;
}

body.single-du_an .hl-section--tight .hl-eyebrow {
	margin-bottom: 0.6rem;
}

body.single-du_an .hl-baside,
body.single-du_an .hl-mosaic,
body.single-du_an .hl-videos,
body.single-du_an .hl-buildlog {
	margin-top: var(--hl-space-4);
}

body.single-du_an .hl-baside.has-side {
	align-items: start;
}

body.single-du_an .hl-baside__text {
	align-self: center;
}

/* Khoảng cách giữa mọi khối trang dự án: tối đa 80px */
body.single-du_an .hl-section--tight,
body.single-du_an .hl-section:has(> .hl-project) {
	padding-block: clamp(1.25rem, 3.5vw, 2.5rem);
}

body.single-du_an .hl-section:has(> .hl-project) {
	padding-top: clamp(2.5rem, 6vw, 4rem);
}

/* Hai cột thông tin cao bằng nhau, mép dưới thẳng hàng */
@media (min-width: 861px) {
	.hl-project {
		align-items: stretch;
	}

	.hl-project__main {
		display: flex;
		flex-direction: column;
	}

	.hl-project__main .hl-storycards {
		flex: 1;
		grid-template-rows: none;
		grid-auto-rows: auto;
	}

	.hl-project__main .hl-storycard:last-child {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.hl-project__side {
		position: static;
		display: flex;
		flex-direction: column;
	}

	.hl-project__side .hl-facts {
		flex: 1;
	}
}

/* ---------- Bản đồ vị trí dự án ---------- */
.hl-pmap {
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.hl-pmap__grid {
	display: grid;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.8fr) minmax(0, 0.9fr);
	align-items: center;
}

.hl-pmap__text p {
	max-width: 46ch;
	margin: 0.9rem 0 1.4rem;
	color: var(--hl-color-muted);
}

.hl-pmap__places {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	max-width: 420px;
	list-style: none;
}

.hl-pmap__places li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-top: 1px solid var(--hl-color-line);
	font-size: 0.95rem;
}

.hl-pmap__places li:last-child {
	border-bottom: 1px solid var(--hl-color-line);
}

.hl-pmap__places b {
	font-weight: 500;
	color: var(--hl-color-green);
}

.hl-pmap__map svg {
	display: block;
	width: 100%;
	max-height: 600px;
	margin-inline: auto;
}

.hl-pmap__land {
	fill: #e4dfd3;
	stroke: #f6f2eb;
	stroke-width: 0.8;
	stroke-linejoin: round;
}

.hl-pmap__pin path {
	fill: var(--hl-color-green);
	stroke: #fff;
	stroke-width: 1.2;
}

.hl-pmap__dot {
	fill: #fff;
}

.hl-pmap__pulse {
	fill: var(--hl-color-green);
	opacity: 0.25;
	transform-box: fill-box;
	transform-origin: center;
	animation: hl-pmap-pulse 2.4s ease-out infinite;
}

@keyframes hl-pmap-pulse {
	0% { transform: scale(0.4); opacity: 0.45; }
	100% { transform: scale(1.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hl-pmap__pulse { animation: none; }
}

.hl-pmap__stats {
	display: grid;
	gap: clamp(1rem, 2.4vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.hl-pmap__stats li {
	display: grid;
	gap: 2px;
	padding-bottom: clamp(1rem, 2.4vw, 1.75rem);
	border-bottom: 1px solid var(--hl-color-line);
}

.hl-pmap__stats li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hl-pmap__stats b {
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 600;
	line-height: 1;
	color: var(--hl-color-navy);
	font-variant-numeric: lining-nums;
}

.hl-pmap__stats span {
	font-size: 0.95rem;
	color: var(--hl-color-muted);
}

@media (max-width: 960px) {
	.hl-pmap__grid {
		grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
	}

	.hl-pmap__stats {
		grid-column: 1 / -1;
		grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
		text-align: left;
	}

	.hl-pmap__stats li {
		padding: 0 0 0 14px;
		border: 0;
		border-left: 2px solid var(--hl-color-green);
	}
}

@media (max-width: 640px) {
	.hl-pmap__grid {
		grid-template-columns: 1fr;
	}

	.hl-pmap__map svg {
		max-height: 440px;
	}
}

/* Ghim to hơn và hiện lần lượt khi cuộn tới khối (nhẹ: chỉ CSS transform/opacity) */
.hl-pmap__shape {
	transform: scale(1.5);
	filter: drop-shadow(0 2px 2px rgba(2, 27, 41, 0.25));
}

.hl-pmap__pulse {
	animation-delay: calc(0.9s + var(--i, 0) * 0.3s);
}

.hl-pmap.is-armed .hl-pmap__land {
	opacity: 0;
	transition: opacity 0.9s var(--hl-ease);
}

.hl-pmap.is-armed .hl-pmap__shape,
.hl-pmap.is-armed .hl-pmap__pulse {
	opacity: 0;
	animation: none;
}

.hl-pmap.is-in .hl-pmap__land {
	opacity: 1;
}

.hl-pmap.is-in .hl-pmap__shape {
	animation: hl-pin-drop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
	animation-delay: calc(0.5s + var(--i, 0) * 0.3s);
}

.hl-pmap.is-in .hl-pmap__pulse {
	animation: hl-pmap-pulse 2.4s ease-out infinite;
	animation-delay: calc(1.1s + var(--i, 0) * 0.3s);
}

@keyframes hl-pin-drop {
	0% { opacity: 0; transform: translateY(-34px) scale(1.5); }
	100% { opacity: 1; transform: translateY(0) scale(1.5); }
}

.hl-pmap.is-armed .hl-pmap__stats li,
.hl-pmap.is-armed .hl-pmap__text > * {
	opacity: 0;
	transform: translateY(16px);
}

.hl-pmap.is-in .hl-pmap__stats li,
.hl-pmap.is-in .hl-pmap__text > * {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--hl-ease), transform 0.7s var(--hl-ease);
	transition-delay: calc(0.15s + var(--i, 0) * 0.15s);
}

@media (prefers-reduced-motion: reduce) {
	.hl-pmap.is-in .hl-pmap__shape { animation: none; }
}

/* Đảo, quần đảo và chú thích trên bản đồ */
.hl-pmap__islands circle {
	fill: #cdc6b3;
}

.hl-pmap__labels text {
	font-family: var(--hl-font-sans);
	font-size: 10.5px;
	font-style: italic;
	fill: var(--hl-color-muted);
}

.hl-pmap__grid {
	grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.5fr) minmax(0, 0.75fr);
}

.hl-pmap__map svg {
	max-height: 640px;
}

@media (max-width: 960px) {
	.hl-pmap__grid {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 1.1fr);
	}
}

@media (max-width: 640px) {
	.hl-pmap__grid {
		grid-template-columns: 1fr;
	}
}

/* Làm rõ đảo và chú thích */
.hl-pmap__islands circle {
	r: 2.6px;
	fill: #b7ae9a;
}

.hl-pmap__islands circle:last-child {
	r: 3.2px;
}

.hl-pmap__labels text {
	font-size: 13px;
	fill: #4b5862;
}

@media (min-width: 961px) {
	.hl-pmap__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.8fr) minmax(0, 0.7fr);
	}
}

/* Ghim nổi bật: quầng sáng cố định + sóng lan */
.hl-pmap__halo {
	fill: var(--hl-color-green);
	opacity: 0.18;
}

.hl-pmap__shape {
	filter: drop-shadow(0 0 5px rgba(10, 154, 88, 0.55)) drop-shadow(0 3px 3px rgba(2, 27, 41, 0.3));
}

.hl-pmap__pin path {
	fill: var(--hl-color-green-light);
	stroke-width: 1;
}

.hl-pmap.is-armed .hl-pmap__halo {
	opacity: 0;
}

.hl-pmap__text .hl-btn {
	margin-top: 0.4rem;
}

/* Chấm mật độ công trình rải trên bản đồ (trang trí) */
.hl-pmap__dots circle {
	fill: var(--hl-color-green-light);
	stroke: rgba(255, 255, 255, 0.55);
	stroke-width: 0.6;
}

.hl-pmap.is-armed .hl-pmap__dots circle {
	transform: scale(0);
	transform-box: fill-box;
	transform-origin: center;
}

.hl-pmap.is-in .hl-pmap__dots circle {
	transform: scale(1);
	transform-box: fill-box;
	transform-origin: center;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	transition-delay: calc(0.3s + var(--d, 0s));
}

/* Bản đồ ở trang chủ: không có cột số liệu */
.hl-pmap--nostats .hl-pmap__grid {
	grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.3fr);
}

@media (max-width: 960px) {
	.hl-pmap--nostats .hl-pmap__grid {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 1.1fr);
	}
}

@media (max-width: 640px) {
	.hl-pmap--nostats .hl-pmap__grid {
		grid-template-columns: 1fr;
	}
}

/* Ảnh thi công: ảnh đầu to 2x2, các ảnh còn lại lấp đầy lưới */
.hl-buildlog .hl-gallery__item:first-child {
	position: relative;
	grid-row: span 2;
	grid-column: span 2;
	aspect-ratio: auto;
}

.hl-buildlog .hl-gallery__item:first-child img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

@media (max-width: 640px) {
	.hl-buildlog .hl-gallery__item:first-child {
		grid-row: auto;
		grid-column: 1 / -1;
		aspect-ratio: 4 / 3;
	}
}
