/**
 * HTGREEN — trang chủ (chỉ load trên front page).
 * Bố cục: hero → dải cam kết → dịch vụ → năng lực & chứng nhận → côn trùng → quy trình → lý do → kiến thức → địa chỉ → CTA.
 */

/* Section chung: tiêu đề in hoa căn giữa ------------------------------ */
.htr-home-section {
	padding: 64px 0;
}

.htr-home-section__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	text-align: center;
}

.htr-home-section__title {
	position: relative;
	margin: 0;
	padding-bottom: 14px;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

.htr-home-section__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 56px;
	height: 3px;
	transform: translateX(-50%);
	background: var(--htr-primary);
}

.htr-home-section__intro {
	max-width: 720px;
	margin: 0;
	color: var(--htr-muted);
	text-wrap: balance;
}

.htr-home-section__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-home-section__more .htr-icon {
	width: 15px;
	height: 15px;
}

/* Hero: xem khối HTGREEN cuối file. */

/* Form đặt lịch gọn (section #dat-lich) */
.htr-book__form .htr-booking--compact {
	max-width: none;
	margin: 0;
	padding: 18px;
	border: 0;
	border-radius: 0;
	background: var(--htr-secondary);
	box-shadow: none;
}

.htr-booking--compact .htr-booking__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	color: #fff;
	text-align: center;
}

.htr-booking--compact .htr-booking__form {
	display: grid;
	gap: 8px;
}

.htr-booking--compact input,
.htr-booking--compact textarea {
	min-height: 42px !important;
	border: 0 !important;
	border-radius: 2px !important;
	font-size: 15px !important;
}

.htr-booking--compact textarea {
	min-height: 76px !important;
}

.htr-booking--compact .htr-booking__error {
	color: #ff8a90;
}

.htr-booking--compact .htr-btn {
	min-height: 46px;
	margin-top: 4px;
}

.htr-booking--compact .htr-booking__notice {
	margin-bottom: 10px;
}

/* Côn trùng: ô tối ---------------------------------------------------- */
.htr-pest-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-pest-tiles li {
	margin: 0;
}

.htr-pest-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	min-height: 84px;
	padding: 14px 18px;
	background: var(--htr-secondary-soft);
	border-radius: 2px;
	font-weight: 700;
	color: #fff;
	transition: background-color var(--htr-transition);
}

.htr-pest-tile:hover {
	background: var(--htr-primary);
	color: #fff;
}

.htr-pest-tile__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #fff;
}

.htr-pest-tile__icon .htr-icon {
	width: 34px;
	height: 34px;
	stroke-width: 1.5;
}

.htr-pest-tile__title {
	flex: 1;
	line-height: 1.3;
}

.htr-pest-tile__arrow {
	width: 16px;
	height: 16px;
	color: rgba(255, 255, 255, .6);
}

/* Dịch vụ: tab nhóm + lưới thẻ (nền xám) ----------------------------- */
.htr-home-services {
	background: var(--htr-light);
}

.htr-svc__nav {
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
}

.htr-svc__tabs {
	position: relative;
	display: inline-flex;
	gap: 4px;
	max-width: 100%;
	padding: 6px;
	overflow-x: auto;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
	scrollbar-width: none;
}

.htr-svc__tabs::-webkit-scrollbar {
	display: none;
}

/* Chỉ báo đỏ trượt dưới tab đang chọn (vị trí do home.js đặt). */
.htr-svc__indicator {
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 0;
	width: 0;
	border-radius: 999px;
	background: var(--htr-primary);
	box-shadow: 0 6px 16px rgba(31, 143, 58, .35);
	transition: transform .45s cubic-bezier(.65, 0, .35, 1), width .45s cubic-bezier(.65, 0, .35, 1);
	pointer-events: none;
}

.htr-svc:not(.is-ready) .htr-svc__indicator {
	transition: none;
}

.htr-svc:not(.is-tabs) .htr-svc__nav {
	display: none;
}

.htr-svc__tab {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-size: .88rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	white-space: nowrap;
	color: var(--htr-secondary);
	cursor: pointer;
	transition: color .3s ease;
}

.htr-svc__tab .htr-icon {
	width: 18px;
	height: 18px;
	color: var(--htr-primary);
	transition: color .3s ease, transform .3s ease;
}

.htr-svc__tab:hover .htr-icon {
	transform: rotate(-10deg) scale(1.1);
}

.htr-svc__tab[aria-selected="true"],
.htr-svc__tab[aria-selected="true"] .htr-icon {
	color: #fff;
}

/* Panel */
.htr-svc__panel + .htr-svc__panel {
	margin-top: 40px;
}

.htr-svc.is-tabs .htr-svc__panel + .htr-svc__panel {
	margin-top: 0;
}

.htr-svc__panel-title {
	margin: 0 0 16px;
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

/* Có tab: tiêu đề nhóm đã nằm trên tab. */
.htr-svc.is-tabs .htr-svc__panel-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.htr-svc__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-svc__cell {
	margin: 0;
}

/* Thẻ hiện dần lần lượt khi đổi nhóm. */
@keyframes htr-card-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.htr-svc__panel.is-entering .htr-svc__cell {
	animation: htr-card-in .5s cubic-bezier(.22, 1, .36, 1) both;
	animation-delay: calc(var(--htr-i, 0) * 55ms);
}

.htr-svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	min-height: 196px;
	padding: 26px 22px 22px;
	overflow: hidden;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	color: var(--htr-secondary);
	isolation: isolate;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, color .35s ease;
}

/* Thanh đỏ chạy ngang trên đỉnh thẻ. */
.htr-svc-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--htr-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}

/* Nền tối phủ từ dưới lên khi hover. */
.htr-svc-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--htr-secondary);
	transform: translateY(101%);
	transition: transform .45s cubic-bezier(.65, 0, .35, 1);
	z-index: -1;
}

.htr-svc-card:hover,
.htr-svc-card:focus-visible {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
	color: #fff;
}

.htr-svc-card:hover::before,
.htr-svc-card:focus-visible::before {
	transform: scaleX(1);
}

.htr-svc-card:hover::after,
.htr-svc-card:focus-visible::after {
	transform: translateY(0);
}

.htr-svc-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--htr-primary-soft);
	color: var(--htr-primary);
	transition: background-color .35s ease, color .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-svc-card__icon .htr-icon {
	width: 26px;
	height: 26px;
}

.htr-svc-card:hover .htr-svc-card__icon,
.htr-svc-card:focus-visible .htr-svc-card__icon {
	background: var(--htr-primary);
	color: #fff;
	transform: rotate(-8deg) scale(1.08);
}

.htr-svc-card__title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
}

.htr-svc-card__desc {
	font-size: .85rem;
	color: var(--htr-muted);
	transition: color .35s ease;
}

.htr-svc-card:hover .htr-svc-card__desc {
	color: var(--htr-on-dark);
}

.htr-svc-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-svc-card__more .htr-icon {
	width: 15px;
	height: 15px;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.htr-svc-card:hover .htr-svc-card__more .htr-icon {
	transform: translateX(6px);
}

/* Thẻ trụ cột của nhóm: nhấn mạnh nhẹ. */
.htr-svc-card.is-pillar {
	box-shadow: inset 0 0 0 2px var(--htr-primary-soft), 0 1px 2px rgba(0, 0, 0, .05);
}

.htr-svc__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

.htr-svc__footer .htr-btn {
	margin: 0;
}

.htr-svc__footer .htr-icon {
	width: 16px;
	height: 16px;
}

/* Card số (lý do) ----------------------------------------------------- */
.htr-why-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 28px 0 0;
	list-style: none;
}

.htr-why-item {
	position: relative;
	margin: 0;
	padding: 52px 28px 28px;
	background: #fff;
	box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
}

.htr-why-item__num {
	position: absolute;
	top: -28px;
	left: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 72px;
	padding: 0 10px;
	background: var(--htr-secondary);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1;
}

.htr-why-item:hover .htr-why-item__num {
	background: var(--htr-primary);
}

.htr-why-item__title {
	display: block;
	margin: 12px 0 8px;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

.htr-why-item__text {
	margin: 0;
	font-size: .92rem;
	color: var(--htr-muted);
}

/* Kiến thức: ngày màu đỏ */
.htr-home-posts {
	background: var(--htr-light);
}

.htr-home-posts .htr-card__meta {
	color: var(--htr-primary);
	text-transform: uppercase;
	font-size: .75rem;
	font-weight: 800;
}

/* Đánh giá: section nền tối + slider kéo ngang ------------------------ */
.htr-home-testimonials {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 60% at 100% 0%, rgba(31, 143, 58, .18), transparent 70%),
		var(--htr-secondary);
	isolation: isolate;
}

.htr-home-testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, .025) 47px 48px),
		repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, .025) 47px 48px);
	mask-image: linear-gradient(180deg, #000, transparent 85%);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
	z-index: -1;
	pointer-events: none;
}

.htr-home-testimonials .htr-home-section__title {
	color: #fff;
}

.htr-home-testimonials .htr-home-section__intro {
	color: var(--htr-on-dark);
}

.htr-tslider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 20px) / 3);
	gap: 20px;
	margin: 0;
	padding: 8px 0 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	list-style: none;
}

.htr-tslider__track::-webkit-scrollbar {
	display: none;
}

.htr-tslider__track:focus-visible {
	outline: 2px solid var(--htr-primary);
	outline-offset: 4px;
}

.htr-tslider__track > .htr-tcard {
	scroll-snap-align: start;
}

/* Thẻ đánh giá (dùng chung trang chủ + trang Đánh giá) */
.htr-tcard {
	display: flex;
	margin: 0;
}

.htr-tcard__inner {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 28px 26px 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	color: #e6e6e6;
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .45s ease;
}

.htr-tcard__inner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--htr-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.htr-tcard:hover .htr-tcard__inner {
	transform: translateY(-6px);
	border-color: rgba(31, 143, 58, .55);
	box-shadow: 0 20px 44px rgba(0, 0, 0, .45);
}

.htr-tcard:hover .htr-tcard__inner::after {
	transform: scaleX(1);
}

.htr-tcard__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.htr-tcard__rating {
	display: flex;
	gap: 3px;
	margin: 0;
	color: rgba(255, 255, 255, .18);
}

.htr-tcard__rating .htr-icon {
	width: 17px;
	height: 17px;
	fill: currentColor;
	stroke: none;
}

.htr-tcard__rating .is-on {
	color: var(--htr-primary);
}

.htr-tcard__mark {
	position: absolute;
	right: 18px;
	bottom: 70px;
	display: inline-flex;
	color: #fff;
	opacity: .05;
	pointer-events: none;
	transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, color .4s ease;
}

.htr-tcard__mark .htr-icon {
	width: 92px;
	height: 92px;
	fill: currentColor;
	stroke: none;
}

.htr-tcard:hover .htr-tcard__mark {
	color: var(--htr-primary);
	opacity: .16;
	transform: translateY(-6px) rotate(-6deg);
}

.htr-tcard__quote {
	position: relative;
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1rem;
	font-style: normal;
	line-height: 1.7;
	color: inherit;
}

.htr-tcard__quote p {
	margin: 0 0 .6em;
}

.htr-tcard__quote p:last-child {
	margin-bottom: 0;
}

.htr-tcard__by {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.htr-tcard__avatar {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
}

.htr-tcard__avatar--letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--htr-primary);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 800;
}

.htr-tcard__who {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.htr-tcard__name {
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
}

.htr-tcard__meta {
	font-size: .8rem;
	color: #9a9a9a;
}

.htr-tcard__verified {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(34, 160, 90, .14);
	color: #4fd18b;
	font-size: .7rem;
	font-weight: 700;
	white-space: nowrap;
}

.htr-tcard__verified .htr-icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

/* Nút + thanh tiến trình */
.htr-tslider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 28px;
}

.htr-tslider__controls[hidden] {
	display: none;
}

.htr-tslider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}

.htr-tslider__btn .htr-icon {
	width: 18px;
	height: 18px;
}

.htr-tslider__btn:hover:not(:disabled) {
	background: var(--htr-primary);
	border-color: var(--htr-primary);
	transform: scale(1.06);
}

.htr-tslider__btn:disabled {
	opacity: .3;
	cursor: default;
}

.htr-tslider__progress {
	position: relative;
	width: min(240px, 40vw);
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, .14);
}

.htr-tslider__progress span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 33%;
	border-radius: inherit;
	background: var(--htr-primary);
	transition: transform .35s ease, width .35s ease;
}

.htr-home-testimonials__more {
	margin: 28px 0 0;
	text-align: center;
}

/* Trang "Đánh giá khách hàng": lưới thẻ */
.htr-tgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.htr-tgrid > .htr-tcard {
	margin: 0;
}

@media (max-width: 1023px) {
	.htr-tslider__track {
		grid-auto-columns: calc((100% - 16px) / 2);
		gap: 16px;
	}
}

@media (max-width: 599px) {
	/* Hé thẻ kế tiếp để gợi ý vuốt ngang. */
	.htr-tslider__track {
		grid-auto-columns: 86%;
		gap: 12px;
		margin-right: calc(-1 * var(--htr-gutter));
		padding-right: var(--htr-gutter);
		scroll-padding-left: 0;
	}

	.htr-tcard__inner {
		padding: 24px 20px 20px;
	}

	.htr-tcard__by {
		flex-wrap: wrap;
	}

	.htr-tgrid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htr-tslider__track {
		scroll-behavior: auto;
	}
}

/* Địa chỉ ------------------------------------------------------------ */
.htr-location {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 40px;
	align-items: stretch;
}

/* Không để pseudo-element rỗng thành item trong grid. */
.htr-location::before,
.htr-location::after {
	display: none;
}

.htr-location .htr-home-section__header {
	align-items: flex-start;
	text-align: left;
}

.htr-location .htr-home-section__title::after {
	left: 0;
	transform: none;
}

.htr-location__address {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	font-style: normal;
}

.htr-location__address strong {
	font-size: 1.1rem;
	color: var(--htr-secondary);
}

.htr-location__line {
	display: flex;
	gap: 10px;
}

.htr-location__line .htr-icon {
	margin-top: 3px;
	color: var(--htr-primary);
}

.htr-location__line a {
	font-weight: 700;
	color: var(--htr-secondary);
}

.htr-location__hours {
	margin: 0 0 20px;
}

.htr-location__hours > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
	border-bottom: 1px solid var(--htr-border);
}

.htr-location__hours dt {
	font-weight: 400;
}

.htr-location__hours dd {
	margin: 0;
	font-weight: 700;
}

.htr-location__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.htr-location__actions .htr-btn {
	margin: 0;
}

.htr-location__map {
	min-height: 360px;
	overflow: hidden;
}

.htr-location__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
}

.htr-location__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	min-height: 360px;
	padding: 24px;
	background:
		repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px),
		repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px),
		var(--htr-secondary);
	color: #fff;
	text-align: center;
}

.htr-location__placeholder:hover {
	color: #fff;
}

.htr-location__placeholder .htr-icon {
	width: 44px;
	height: 44px;
	color: var(--htr-primary);
}

.htr-location__placeholder-cta {
	margin-top: 6px;
	padding: 8px 16px;
	border: 2px solid rgba(255, 255, 255, .6);
	font-size: .85rem;
	font-weight: 700;
	text-transform: uppercase;
}

.htr-home__builder {
	padding: 40px 0;
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1199px) {
}

@media (max-width: 1023px) {
	.htr-svc__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.htr-pest-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.htr-why-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 52px;
	}
}

@media (max-width: 849px) {
	.htr-book__form .htr-booking--compact {
		padding: 20px 16px;
	}

	.htr-home-section {
		padding: 48px 0;
	}


	.htr-pest-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.htr-svc__nav {
		justify-content: flex-start;
		margin: 0 -15px 24px;
		padding: 0 15px;
	}

	.htr-svc__tab {
		padding: 0 16px;
		font-size: .82rem;
	}

	.htr-svc__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.htr-svc-card {
		min-height: 170px;
		padding: 20px 16px 16px;
	}

	.htr-svc-card__icon {
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}

	.htr-svc-card__title {
		font-size: .92rem;
	}

	.htr-location {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.htr-location__map,
	.htr-location__map iframe,
	.htr-location__placeholder {
		min-height: 260px;
	}
}

@media (max-width: 549px) {
	.htr-hero__actions .htr-btn {
		flex: 1 1 100%;
	}

	.htr-pest-tile {
		gap: 10px;
		min-height: 64px;
		padding: 10px 12px;
		font-size: .85rem;
	}

	.htr-pest-tile__icon .htr-icon {
		width: 24px;
		height: 24px;
	}

	.htr-pest-tile__arrow {
		display: none;
	}

	.htr-why-list {
		grid-template-columns: 1fr;
	}
}

/* =====================================================================
 * Hiện dần khi cuộn (home.js thêm .htr-reveal-on; không JS: hiện bình thường)
 * ================================================================== */
.htr-reveal-on [data-htr-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
	transition-delay: calc(var(--htr-i, 0) * 80ms);
}

.htr-reveal-on [data-htr-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* Bộ lọc dạng pill (dùng chung style tab dịch vụ) */
.htr-svc__tab[aria-pressed="true"],
.htr-svc__tab[aria-pressed="true"] .htr-icon {
	color: #fff;
}

[data-htr-filter]:not(.is-ready) .htr-svc__indicator {
	transition: none;
}

/* =====================================================================
 * Vì sao nên xử lý côn trùng sớm?
 * ================================================================== */
.htr-why {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.htr-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px;
	align-items: stretch;
}

.htr-why__grid::before,
.htr-why__grid::after {
	display: none;
}

.htr-why__intro {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 440px;
	padding: 40px 36px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--htr-secondary);
	color: var(--htr-on-dark);
	isolation: isolate;
}

/* Không ảnh: vệt đỏ vát + lưới mờ. */
.htr-why__intro:not(.has-image)::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -30%;
	width: 70%;
	height: 140%;
	background: var(--htr-primary);
	transform: rotate(18deg);
	opacity: .95;
	z-index: -1;
}

.htr-why__intro:not(.has-image)::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px),
		repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px);
	z-index: -1;
}

.htr-why__intro.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 10, 10, .92) 10%, rgba(10, 10, 10, .35) 70%, rgba(10, 10, 10, .15));
	z-index: -1;
}

.htr-why__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.htr-why__intro:hover .htr-why__bg {
	transform: scale(1.05);
}

.htr-why__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
}

.htr-why__eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	background: #fff;
}

.htr-why__title {
	margin: 0 0 14px;
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
	font-weight: 900;
	line-height: 1.28;
	text-transform: uppercase;
	color: #fff;
}

.htr-why__lead {
	max-width: 420px;
	margin: 0 0 24px;
	font-size: 1rem;
	color: #e7e7e7;
}

.htr-why__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.htr-why__actions .htr-btn {
	margin: 0;
}

.htr-why__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-why-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 28px 26px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--htr-light);
	isolation: isolate;
	transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, background-color .4s ease;
}

/* Viền đỏ chạy dọc bên trái khi hover. */
.htr-why-card::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--htr-primary);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}

.htr-why-card:hover {
	transform: translateY(-6px);
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .1);
}

.htr-why-card:hover::before {
	transform: scaleY(1);
}

/* Số lớn mờ phía sau. */
.htr-why-card__num {
	position: absolute;
	top: 6px;
	right: 14px;
	font-size: 4.6rem;
	font-weight: 900;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(17, 17, 17, .12);
	z-index: -1;
	transition: -webkit-text-stroke-color .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}

.htr-why-card:hover .htr-why-card__num {
	-webkit-text-stroke-color: rgba(31, 143, 58, .35);
	transform: translateY(-4px);
}

.htr-why-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--htr-secondary);
	color: #fff;
	transition: background-color .4s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-why-card__icon .htr-icon {
	width: 24px;
	height: 24px;
}

.htr-why-card:hover .htr-why-card__icon {
	background: var(--htr-primary);
	transform: scale(1.08) rotate(-8deg);
}

.htr-why-card__title {
	margin: 6px 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

.htr-why-card__text {
	margin: 0;
	font-size: .92rem;
	color: var(--htr-muted);
}

/* =====================================================================
 * Hình ảnh hoạt động
 * ================================================================== */
.htr-gallery-home {
	background: var(--htr-light);
}

.htr-gallery-home--page {
	padding: 24px 0 8px;
	background: transparent;
}

.htr-gallery-home .htr-svc__nav {
	margin-bottom: 24px;
}

.htr-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 210px;
	grid-auto-flow: dense;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity .18s ease;
}

.htr-gallery-grid.is-filtering {
	opacity: 0;
}

.htr-gallery-grid__item {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
}

/* Ảnh đầu tiên lớn hơn để tạo nhịp. */
.htr-gallery-grid__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.htr-gallery-grid__item[hidden] {
	display: none;
}

.htr-gallery-grid__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background: var(--htr-secondary);
}

.htr-gallery-grid__link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}

.htr-gallery-grid__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 10, 10, .55), transparent 60%);
	opacity: 0;
	transition: opacity .4s ease;
}

.htr-gallery-grid__zoom {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--htr-primary);
	color: #fff;
	opacity: 0;
	transform: translate(-50%, -50%) scale(.6);
	transition: opacity .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-gallery-grid__link:hover img {
	transform: scale(1.08);
}

.htr-gallery-grid__link:hover::after,
.htr-gallery-grid__link:focus-visible::after {
	opacity: 1;
}

.htr-gallery-grid__link:hover .htr-gallery-grid__zoom,
.htr-gallery-grid__link:focus-visible .htr-gallery-grid__zoom {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.htr-gallery-home__more {
	margin: 28px 0 0;
	text-align: center;
}

.htr-gallery-home__more .htr-btn {
	margin: 0;
}

/* =====================================================================
 * Video
 * ================================================================== */
.htr-videos {
	background: var(--htr-secondary);
	color: var(--htr-on-dark);
}

.htr-videos .htr-home-section__title {
	color: #fff;
}

.htr-videos .htr-home-section__intro {
	color: var(--htr-on-dark);
}

.htr-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.htr-video-grid.is-single {
	grid-template-columns: minmax(0, 860px);
	justify-content: center;
}

.htr-video {
	margin: 0;
}

.htr-video__frame {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.htr-video__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .85;
	transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}

.htr-video__frame:hover img {
	transform: scale(1.06);
	opacity: 1;
}

.htr-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--htr-primary);
	color: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 0 rgba(31, 143, 58, .55);
	animation: htr-pulse 2.4s ease-out infinite;
	transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-video__play .htr-icon {
	width: 26px;
	height: 26px;
	margin-left: 4px;
}

.htr-video__frame:hover .htr-video__play {
	transform: translate(-50%, -50%) scale(1.12);
}

@keyframes htr-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(31, 143, 58, .55);
	}
	70% {
		box-shadow: 0 0 0 22px rgba(31, 143, 58, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(31, 143, 58, 0);
	}
}

.htr-video__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.htr-video__title {
	margin-top: 12px;
	font-size: .95rem;
	font-weight: 700;
	color: #fff;
}

/* Khung nhắc cho admin (section chưa có dữ liệu) */
.htr-admin-placeholder {
	padding: 24px 0;
}

.htr-admin-placeholder__box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding: 18px 20px;
	border: 2px dashed #c9c9c9;
	border-radius: 6px;
	background: #fffdf3;
	font-size: .9rem;
}

.htr-admin-placeholder__box .htr-btn {
	margin: 0;
}

.htr-admin-placeholder__box em {
	width: 100%;
	font-size: .78rem;
	color: var(--htr-muted);
}

/* Responsive các section mới --------------------------------------------- */
@media (max-width: 1023px) {
	.htr-why__grid {
		grid-template-columns: 1fr;
	}

	.htr-why__intro {
		min-height: 320px;
	}

	.htr-gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-rows: 180px;
	}

	.htr-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.htr-why__intro {
		min-height: 0;
		padding: 32px 20px;
	}

	.htr-why__list {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.htr-why-card {
		padding: 22px 20px;
	}

	.htr-why-card__num {
		font-size: 3.6rem;
	}

	.htr-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 140px;
		gap: 8px;
	}

	.htr-video-grid {
		grid-template-columns: 1fr;
	}

	.htr-video__play {
		width: 58px;
		height: 58px;
	}
}

/* =====================================================================
 * Trang Giới thiệu / Liên hệ (cùng ngôn ngữ thiết kế với trang chủ)
 * ================================================================== */
.htr-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-kicker::before {
	content: "";
	width: 28px;
	height: 3px;
	background: currentColor;
}

.htr-kicker--light {
	color: #fff;
}

/* Thẻ bấm được: cả thẻ là vùng click (link kéo giãn). */
.htr-why-card__link {
	color: inherit;
}

.htr-why-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.htr-why-card__link:hover {
	color: inherit;
}

.htr-why-card__link:focus-visible {
	outline: none;
}

.htr-why-card--link:focus-within {
	box-shadow: var(--htr-focus);
}

.htr-why-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-why-card__more .htr-icon {
	width: 15px;
	height: 15px;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.htr-why-card:hover .htr-why-card__more .htr-icon {
	transform: translateX(5px);
}

/* Giới thiệu -------------------------------------------------------------- */
/* Banner */
.htr-ab-hero {
	position: relative;
	padding: 28px 0 72px;
	overflow: hidden;
	background: var(--htr-secondary);
	color: #fff;
	isolation: isolate;
}

.htr-ab-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 30%;
	z-index: -2;
}

.htr-ab-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 38, 20, .96) 0%, rgba(6, 38, 20, .85) 45%, rgba(6, 38, 20, .35) 100%);
	z-index: -1;
}

.htr-ab-hero .htr-breadcrumbs,
.htr-ab-hero .htr-breadcrumbs a {
	color: #cfe3d6;
}

.htr-ab-hero .htr-breadcrumbs a:hover,
.htr-ab-hero .htr-breadcrumbs [aria-current] {
	color: #fff;
}

.htr-ab-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 44px 0 10px;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--htr-accent);
}

.htr-ab-hero__kicker::before {
	content: "";
	width: 28px;
	height: 3px;
	background: var(--htr-accent);
}

.htr-ab-hero__title {
	max-width: 720px;
	margin: 0 0 10px;
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
	font-weight: 900;
	line-height: 1.15;
	color: #fff;
}

.htr-ab-hero__slogan {
	margin: 0;
	font-size: 1.1rem;
	font-style: italic;
	color: #dfeee4;
}

/* Về chúng tôi */
.htr-ab-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}

.htr-ab-eyebrow {
	margin: 0 0 10px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-ab-title {
	margin: 0 0 18px;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--htr-secondary);
}

.htr-ab-intro__lead {
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--htr-text);
}

.htr-ab-intro__content {
	margin-bottom: 8px;
	color: var(--htr-muted);
}

.htr-ab-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.htr-ab-intro__actions .htr-btn {
	margin: 0;
}

.htr-ab-intro__media {
	position: relative;
	margin: 0 0 28px;
}

/* Khối xanh lệch phía sau ảnh */
.htr-ab-intro__media::before {
	content: "";
	position: absolute;
	top: 28px;
	right: -20px;
	bottom: -28px;
	left: 28px;
	border-radius: 20px;
	background: var(--htr-primary-soft);
	z-index: -1;
}

.htr-ab-intro__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 68% center;
	border-radius: 20px;
	box-shadow: 0 24px 50px rgba(6, 38, 20, .18);
}

.htr-ab-intro__badge {
	position: absolute;
	left: -24px;
	bottom: -20px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 340px;
	padding: 14px 18px 14px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(6, 38, 20, .18);
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--htr-secondary);
}

.htr-ab-intro__badge:hover {
	color: var(--htr-primary);
}

.htr-ab-intro__badge small {
	display: block;
	margin-bottom: 2px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-ab-intro__badge-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--htr-primary);
	color: #fff;
}

.htr-ab-intro__badge-icon .htr-icon {
	width: 22px;
	height: 22px;
}

/* Thông tin doanh nghiệp */
.htr-ab-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 64px 0 0;
	border: 1px solid var(--htr-border);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.htr-ab-facts__item {
	padding: 22px 24px;
	border-right: 1px solid var(--htr-border);
}

.htr-ab-facts__item:last-child {
	border-right: 0;
}

.htr-ab-facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--htr-muted);
}

.htr-ab-facts dt .htr-icon {
	width: 16px;
	height: 16px;
	color: var(--htr-primary);
}

.htr-ab-facts dd {
	margin: 0;
	font-weight: 700;
	line-height: 1.45;
	color: var(--htr-secondary);
}

.htr-ab-facts dd a {
	color: inherit;
}

.htr-ab-facts dd a:hover {
	color: var(--htr-primary);
}

/* Cam kết */
.htr-ab-values {
	background: var(--htr-light);
}

.htr-ab-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-ab-value {
	position: relative;
	margin: 0;
	padding: 28px 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.htr-ab-value::before {
	content: "";
	position: absolute;
	top: 0;
	left: 24px;
	right: 24px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--htr-primary);
	transform: scaleX(0);
	transition: transform .4s ease;
}

.htr-ab-value:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(6, 38, 20, .1);
}

.htr-ab-value:hover::before {
	transform: scaleX(1);
}

.htr-ab-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--htr-primary-soft);
	color: var(--htr-primary);
}

.htr-ab-value__icon .htr-icon {
	width: 24px;
	height: 24px;
}

.htr-ab-value__title {
	margin: 0 0 8px;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.35;
	color: var(--htr-secondary);
}

.htr-ab-value__text {
	margin: 0;
	font-size: .9rem;
	line-height: 1.6;
	color: var(--htr-muted);
}

@media (max-width: 1023px) {
	.htr-ab-intro__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.htr-ab-intro__media {
		max-width: 640px;
	}

	.htr-ab-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.htr-ab-facts__item:nth-child(2n) {
		border-right: 0;
	}

	.htr-ab-facts__item:nth-child(n + 3) {
		border-top: 1px solid var(--htr-border);
	}
}

@media (max-width: 599px) {
	.htr-ab-hero {
		padding-bottom: 48px;
	}

	.htr-ab-hero__kicker {
		margin-top: 28px;
	}

	.htr-ab-intro__media::before {
		right: -8px;
		left: 16px;
	}

	.htr-ab-intro__badge {
		left: 12px;
		right: 12px;
		max-width: none;
	}

	.htr-ab-facts {
		grid-template-columns: 1fr;
		margin-top: 48px;
	}

	.htr-ab-facts__item {
		border-right: 0;
	}

	.htr-ab-facts__item + .htr-ab-facts__item {
		border-top: 1px solid var(--htr-border);
	}

	.htr-ab-values__grid {
		grid-template-columns: 1fr;
	}
}

/* Câu hỏi thường gặp ---------------------------------------------------- */
.htr-faq {
	background: var(--htr-light);
}

.htr-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.htr-faq__aside {
	position: sticky;
	top: 90px;
}

.htr-faq__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-faq__eyebrow .htr-icon {
	width: 18px;
	height: 18px;
}

.htr-faq__title {
	margin: 0 0 14px;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--htr-secondary);
}

.htr-faq__intro {
	margin: 0 0 28px;
	color: var(--htr-muted);
}

/* Thẻ liên hệ */
.htr-faq__contact {
	padding: 24px;
	border-radius: 16px;
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(245, 197, 24, .16), transparent 70%),
		var(--htr-secondary);
	color: #fff;
}

.htr-faq__contact-title {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
}

.htr-faq__phone {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	font-size: 1.3rem;
	font-weight: 900;
	letter-spacing: .02em;
	color: var(--htr-accent);
}

.htr-faq__phone:hover {
	background: rgba(255, 255, 255, .06);
	color: var(--htr-accent);
}

.htr-faq__phone .htr-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.htr-faq__phone small {
	display: block;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #b9d3c1;
}

.htr-faq__contact-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.htr-faq__contact-actions .htr-btn {
	justify-content: center;
	margin: 0;
	padding-right: 10px;
	padding-left: 10px;
}

.htr-faq__contact-actions .htr-btn:only-child {
	grid-column: 1 / -1;
}

/* Danh sách câu hỏi */
.htr-faq__list {
	display: grid;
	gap: 12px;
}

.htr-faq__item {
	border: 1px solid var(--htr-border);
	border-radius: 14px;
	background: #fff;
	transition: border-color var(--htr-transition), box-shadow var(--htr-transition);
}

.htr-faq__item[open] {
	border-color: rgba(31, 143, 58, .35);
	box-shadow: 0 14px 34px rgba(6, 38, 20, .08);
}

.htr-faq__q {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	cursor: pointer;
	list-style: none;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--htr-secondary);
}

.htr-faq__q::-webkit-details-marker {
	display: none;
}

.htr-faq__q:hover .htr-faq__q-text {
	color: var(--htr-primary);
}

.htr-faq__num {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--htr-primary-soft);
	font-size: .78rem;
	font-weight: 900;
	color: var(--htr-primary);
	transition: background-color var(--htr-transition), color var(--htr-transition);
}

.htr-faq__item[open] .htr-faq__num {
	background: var(--htr-primary);
	color: #fff;
}

.htr-faq__q-text {
	flex: 1;
	min-width: 0;
	transition: color var(--htr-transition);
}

/* Dấu + / − */
.htr-faq__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--htr-light);
}

.htr-faq__toggle::before,
.htr-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--htr-secondary);
	transform: translate(-50%, -50%);
	transition: transform .25s ease, opacity .25s ease;
}

.htr-faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.htr-faq__item[open] .htr-faq__toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

.htr-faq__a {
	padding: 0 20px 20px 70px;
}

.htr-faq__a p {
	margin: 0;
	line-height: 1.7;
	color: var(--htr-muted);
}

@media (max-width: 1023px) {
	.htr-faq__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.htr-faq__aside {
		position: static;
	}

	.htr-faq__contact {
		max-width: 520px;
	}
}

@media (max-width: 599px) {
	.htr-faq__q {
		gap: 12px;
		padding: 16px;
		font-size: .95rem;
	}

	.htr-faq__num {
		width: 32px;
		height: 32px;
	}

	.htr-faq__a {
		padding: 0 16px 18px;
	}
}

/* Liên hệ: bảng thông tin + form ------------------------------------------ */
.htr-contact {
	padding-top: 56px;
}

.htr-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 28px;
	align-items: stretch;
}

.htr-contact__panel {
	position: relative;
	padding: 40px 36px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--htr-secondary);
	color: var(--htr-on-dark);
	isolation: isolate;
}

/* Lưới mờ + góc đỏ phía trên (cùng họa tiết khối "Tại sao" trang chủ, nhẹ hơn). */
.htr-contact__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px),
		repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px);
	z-index: -1;
}

.htr-contact__panel::after {
	content: "";
	position: absolute;
	top: -64px;
	right: -64px;
	width: 128px;
	height: 128px;
	background: var(--htr-primary);
	transform: rotate(35deg);
	z-index: -1;
}

.htr-contact__title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 900;
	line-height: 1.28;
	text-transform: uppercase;
	color: #fff;
}

.htr-contact__lead {
	margin: 0 0 8px;
	color: #e1e1e1;
}

.htr-contact__list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.htr-contact__list li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.htr-contact__list li:last-child {
	border-bottom: 0;
}

.htr-contact__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	color: #fff;
}

a.htr-contact__item:hover {
	color: #fff;
}

.htr-contact__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background-color .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-contact__icon .htr-icon {
	width: 21px;
	height: 21px;
}

a.htr-contact__item:hover .htr-contact__icon {
	background: var(--htr-primary);
	transform: rotate(-8deg) scale(1.06);
}

.htr-contact__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.htr-contact__body small {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9a9a9a;
}

.htr-contact__body strong {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.htr-contact__body strong.is-big {
	font-size: 1.5rem;
	font-weight: 900;
}

.htr-contact__body em {
	font-size: .85rem;
	color: #b5b5b5;
}

.htr-contact__hours {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.htr-contact__hours b {
	color: #fff;
	white-space: nowrap;
}

.htr-contact__arrow {
	display: inline-flex;
	opacity: .4;
	transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, color .3s ease;
}

.htr-contact__arrow .htr-icon {
	width: 18px;
	height: 18px;
}

a.htr-contact__item:hover .htr-contact__arrow {
	color: var(--htr-primary);
	opacity: 1;
	transform: translateX(5px);
}

/* Form gửi yêu cầu trên nền sáng (biến thể compact vốn dành cho nền tối). */
.htr-contact__form .htr-booking--compact {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 36px;
	border: 1px solid var(--htr-border);
	border-top: 4px solid var(--htr-primary);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
}

.htr-contact__form .htr-booking--compact .htr-booking__title {
	margin: 0 0 20px;
	font-size: 1.35rem;
	font-weight: 900;
	text-align: left;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

.htr-contact__form .htr-booking--compact .htr-booking__form {
	gap: 12px;
}

.htr-contact__form .htr-booking--compact input,
.htr-contact__form .htr-booking--compact textarea {
	min-height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid var(--htr-border) !important;
	border-radius: 6px !important;
	background: #fafafa !important;
	box-shadow: none !important;
	transition: border-color .2s ease, background-color .2s ease;
}

.htr-contact__form .htr-booking--compact textarea {
	min-height: 110px !important;
	padding: 12px 14px !important;
}

.htr-contact__form .htr-booking--compact input:focus,
.htr-contact__form .htr-booking--compact textarea:focus {
	border-color: var(--htr-primary) !important;
	background: #fff !important;
}

.htr-contact__form .htr-booking--compact .htr-booking__error {
	color: var(--htr-primary);
}

.htr-contact__form .htr-booking--compact .htr-btn {
	min-height: 52px;
}

/* Bản đồ */
.htr-contact-map {
	padding: 0 0 64px;
}

.htr-contact-map__box {
	position: relative;
	height: 440px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--htr-secondary);
}

.htr-contact-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.htr-contact-map__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, .06) 44% 45.5%, transparent 45.5%),
		linear-gradient(25deg, transparent 60%, rgba(255, 255, 255, .05) 60% 61%, transparent 61%),
		linear-gradient(160deg, transparent 30%, rgba(255, 255, 255, .04) 30% 31%, transparent 31%),
		repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px),
		repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .04) 31px 32px),
		var(--htr-secondary);
}

.htr-contact-map__pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--htr-primary);
	color: #fff;
	animation: htr-pin-pulse 2.6s ease-out infinite;
}

.htr-contact-map__pin .htr-icon {
	width: 30px;
	height: 30px;
}

@keyframes htr-pin-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(31, 143, 58, .5);
	}
	70% {
		box-shadow: 0 0 0 24px rgba(31, 143, 58, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(31, 143, 58, 0);
	}
}

.htr-contact-map__card {
	position: absolute;
	left: 24px;
	bottom: 24px;
	max-width: 360px;
	padding: 22px 24px;
	border-top: 4px solid var(--htr-primary);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.htr-contact-map__name {
	margin: 0 0 4px;
	font-size: 1.05rem;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--htr-secondary);
}

.htr-contact-map__address {
	margin: 0 0 14px;
	color: var(--htr-muted);
}

.htr-contact-map__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.htr-contact-map__actions .htr-btn {
	margin: 0;
}

/* Nội dung soạn trong trang */
.htr-page-body {
	padding: 0 0 56px;
}

.htr-page-body__inner {
	max-width: 820px;
	margin: 0 auto;
}

@media (max-width: 1023px) {
	.htr-contact__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 549px) {
	.htr-contact {
		padding-top: 32px;
	}

	.htr-contact__panel,
	.htr-contact__form .htr-booking--compact {
		padding: 28px 20px;
	}

	.htr-contact__body strong.is-big {
		font-size: 1.3rem;
	}

	.htr-contact-map__box {
		display: flex;
		flex-direction: column;
		height: auto;
	}

	.htr-contact-map__placeholder,
	.htr-contact-map__frame {
		position: relative;
		height: 260px;
	}

	.htr-contact-map__card {
		position: static;
		max-width: none;
		border-radius: 0;
		box-shadow: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htr-contact-map__pin {
		animation: none;
	}
}

/* =====================================================================
 * Quy trình làm việc — dòng thời gian ngang trên nền xanh đậm
 * ================================================================== */
.htr-home-process {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(45% 60% at 0% 100%, rgba(31, 143, 58, .16), transparent 70%),
		var(--htr-secondary);
	isolation: isolate;
}

.htr-home-process::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, .025) 47px 48px),
		repeating-linear-gradient(90deg, transparent 0 47px, rgba(255, 255, 255, .025) 47px 48px);
	mask-image: linear-gradient(0deg, #000, transparent 85%);
	-webkit-mask-image: linear-gradient(0deg, #000, transparent 85%);
	z-index: -1;
	pointer-events: none;
}

.htr-home-process .htr-home-section__title {
	color: #fff;
}

.htr-home-process .htr-home-section__intro {
	color: var(--htr-on-dark);
}

/* Dòng thời gian ngang: nút tròn (icon + số) trên 1 đường kẻ; đường sáng chạy khi cuộn tới. */
.htr-steps-flow {
	--htr-node: 76px;
	--htr-steps: var(--htr-steps-n, 6); /* Số bước/hàng (inline từ PHP); tablet ghi đè = 3. */
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--htr-steps, 6), minmax(0, 1fr));
	gap: 20px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.htr-steps-flow::before,
.htr-steps-flow::after {
	content: "";
	position: absolute;
	top: calc(var(--htr-node) / 2 - 1px);
	left: calc(100% / var(--htr-steps, 6) / 2);
	right: calc(100% / var(--htr-steps, 6) / 2);
	height: 2px;
	border-radius: 2px;
}

.htr-steps-flow::before {
	background: rgba(255, 255, 255, .14);
}

.htr-steps-flow::after {
	background: linear-gradient(90deg, var(--htr-primary), var(--htr-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s;
}

.htr-steps-flow.is-visible::after,
html:not(.htr-reveal-on) .htr-steps-flow::after {
	transform: scaleX(1);
}

.htr-step {
	position: relative;
	margin: 0;
	text-align: center;
}

.htr-step__node {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--htr-node);
	height: var(--htr-node);
	border: 2px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	background: #0f4528;
	box-shadow: 0 0 0 8px var(--htr-secondary);
	color: #fff;
	transition: background-color .3s ease, border-color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.htr-step__node .htr-icon {
	width: 28px;
	height: 28px;
}

.htr-step__num {
	position: absolute;
	top: -4px;
	right: -6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border: 3px solid var(--htr-secondary);
	border-radius: 999px;
	background: var(--htr-accent);
	font-size: .72rem;
	font-weight: 900;
	color: var(--htr-secondary);
}

.htr-step:hover .htr-step__node {
	border-color: var(--htr-primary);
	background: var(--htr-primary);
	transform: translateY(-4px);
}

.htr-step__title {
	margin: 20px 0 8px;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	color: #fff;
	text-wrap: balance;
}

.htr-step__text {
	margin: 0;
	font-size: .86rem;
	line-height: 1.6;
	color: #b9d3c1;
	text-wrap: pretty;
}

.htr-home-process__cta {
	margin: 44px 0 0;
	text-align: center;
}

.htr-home-process__cta .htr-btn {
	margin: 0;
}

/* Tablet: 3 cột × 2 hàng, bỏ đường kẻ ngang. */
@media (max-width: 1023px) {
	.htr-steps-flow {
		--htr-steps: 3;
		row-gap: 40px;
	}

	.htr-steps-flow::before,
	.htr-steps-flow::after {
		display: none;
	}
}

/* Mobile: timeline dọc — nút bên trái, chữ bên phải. */
@media (max-width: 599px) {
	.htr-steps-flow {
		--htr-node: 56px;
		grid-template-columns: 1fr;
		row-gap: 24px;
	}

	.htr-steps-flow::before,
	.htr-steps-flow::after {
		display: block;
		top: 8px;
		bottom: 8px;
		left: calc(var(--htr-node) / 2 - 1px);
		right: auto;
		width: 2px;
		height: auto;
	}

	.htr-steps-flow::after {
		background: linear-gradient(180deg, var(--htr-primary), var(--htr-accent));
		transform: scaleY(0);
		transform-origin: top;
	}

	.htr-steps-flow.is-visible::after,
	html:not(.htr-reveal-on) .htr-steps-flow::after {
		transform: scaleY(1);
	}

	.htr-step {
		display: grid;
		grid-template-columns: var(--htr-node) minmax(0, 1fr);
		column-gap: 16px;
		align-items: start;
		text-align: left;
	}

	.htr-step__node {
		grid-row: span 2;
		box-shadow: 0 0 0 6px var(--htr-secondary);
	}

	.htr-step__node .htr-icon {
		width: 22px;
		height: 22px;
	}

	.htr-step__num {
		min-width: 24px;
		height: 24px;
		font-size: .66rem;
	}

	.htr-step__title {
		margin: 6px 0 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htr-steps-flow::after {
		transform: none !important;
		transition: none;
	}
}


/* ======================================================================
 * HTGREEN — hero, dải cam kết, lưới dịch vụ, năng lực & chứng nhận.
 * ==================================================================== */

/* Hero: banner tràn màn hình, ảnh nền + lớp phủ xanh đậm từ trái sang. */
.htr-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 600px;
	padding: 56px 0;
	overflow: hidden;
	background: var(--htr-secondary);
	color: #fff;
	isolation: isolate;
}

.htr-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.htr-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 38, 20, .96) 0%, rgba(6, 38, 20, .9) 30%, rgba(6, 38, 20, .45) 50%, rgba(6, 38, 20, 0) 64%);
}

.htr-hero__bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.htr-hero > .container {
	width: 100%;
}

.htr-hero__content {
	max-width: 560px;
}

.htr-hero__title {
	margin: 0 0 14px;
	color: #fff;
	line-height: 1.2;
}

.htr-hero__brand {
	display: block;
	margin-bottom: 8px;
	font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem);
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.htr-hero__headline {
	display: block;
	font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem);
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--htr-accent);
}

.htr-hero__headline::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 4px;
	margin-right: 12px;
	vertical-align: middle;
	background: var(--htr-accent);
}

.htr-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.htr-hero__actions .htr-btn {
	margin: 0;
}

.htr-hero__phone {
	margin-left: 4px;
	font-weight: 900;
}

.htr-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 7px 14px 7px 10px;
	border: 1px solid rgba(245, 197, 24, .55);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	transition: background-color var(--htr-transition);
}

.htr-hero__badge:hover {
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.htr-hero__badge .htr-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--htr-accent);
}

.htr-hero__slogan {
	margin: 0 0 18px;
	font-size: 1.02rem;
	font-style: italic;
	color: #dfeee4;
}

.htr-hero__services {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 540px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.htr-hero__services li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 5px 12px 5px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	font-size: .84rem;
	font-weight: 600;
	color: #fff;
}

.htr-hero__services .htr-icon {
	width: 14px;
	height: 14px;
	color: #7ee08f;
}

/* Dải cam kết: thẻ trắng nổi, đè lên mép dưới hero ------------------- */
.htr-hero {
	padding-bottom: 104px;
}

.htr-trust {
	position: relative;
	z-index: 2;
	margin-top: -64px;
}

.htr-trust__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 8px;
	list-style: none;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 56px rgba(6, 38, 20, .16), 0 2px 6px rgba(6, 38, 20, .06);
}

.htr-trust__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 22px 22px 20px;
	border-radius: 10px;
	transition: background-color var(--htr-transition);
}

.htr-trust__item:hover {
	background: var(--htr-primary-soft);
}

/* Vạch ngăn mảnh giữa các mục. */
.htr-trust__item + .htr-trust__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 1px;
	background: var(--htr-border);
}

.htr-trust__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--htr-primary-soft);
	color: var(--htr-primary);
	transition: background-color var(--htr-transition), color var(--htr-transition);
}

.htr-trust__item:hover .htr-trust__icon {
	background: var(--htr-primary);
	color: #fff;
}

.htr-trust__icon .htr-icon {
	width: 24px;
	height: 24px;
}

.htr-trust__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.htr-trust__title {
	font-size: .95rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--htr-secondary);
}

.htr-trust__text {
	font-size: .82rem;
	line-height: 1.45;
	color: var(--htr-muted);
	text-wrap: pretty; /* Tránh 1 chữ lẻ ở dòng cuối. */
}

/* Lưới dịch vụ --------------------------------------------------------- */
.htr-home-services {
	background: #fff;
}

.htr-svc-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-svc-grid__cell {
	margin: 0;
}

.htr-svc-grid .htr-svc-card {
	min-height: 180px;
	border: 1px solid var(--htr-border);
	box-shadow: none;
}

.htr-svc-grid .htr-svc-card:hover,
.htr-svc-grid .htr-svc-card:focus-visible {
	border-color: transparent;
}

/* Đặt lịch khảo sát (#dat-lich) -------------------------------------- */
.htr-book {
	background: #fff;
}

.htr-book__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	gap: 56px;
	align-items: center;
}

.htr-book__eyebrow {
	margin: 0 0 10px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-book__title {
	margin: 0 0 12px;
	font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--htr-secondary);
}

.htr-book__lead {
	margin: 0 0 24px;
	color: var(--htr-muted);
}

.htr-book__image {
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 8px;
}

.htr-book__image img {
	display: block;
	width: 100%;
	height: auto;
}

.htr-book__contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.htr-book__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--htr-border);
	border-radius: 8px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--htr-secondary);
}

.htr-book__contacts .is-wide {
	grid-column: 1 / -1;
}

.htr-book__contacts small {
	display: block;
	margin-bottom: 2px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--htr-muted);
}

.htr-book__contacts a {
	color: inherit;
}

.htr-book__contacts a:hover {
	color: var(--htr-primary);
}

.htr-book__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--htr-primary-soft);
	color: var(--htr-primary);
}

.htr-book__icon .htr-icon {
	width: 20px;
	height: 20px;
}

.htr-book__form .htr-booking--compact {
	padding: 28px 24px;
	border-radius: 10px;
	box-shadow: 0 24px 48px rgba(6, 38, 20, .2);
}

/* Công trình: link khu vực ---------------------------------------------- */
.htr-home-projects {
	background: var(--htr-light);
}

.htr-area-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.htr-area-links__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 4px;
	font-size: .88rem;
	font-weight: 700;
	color: var(--htr-secondary);
}

.htr-area-links__label .htr-icon {
	width: 16px;
	height: 16px;
	color: var(--htr-primary);
}

.htr-area-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--htr-border);
	border-radius: 999px;
	background: #fff;
	font-size: .86rem;
	font-weight: 600;
	color: var(--htr-secondary);
	transition: border-color var(--htr-transition), color var(--htr-transition);
}

.htr-area-links a:hover {
	border-color: var(--htr-primary);
	color: var(--htr-primary);
}

.htr-area-links small {
	font-size: .72rem;
	color: var(--htr-muted);
}

/* Năng lực & chứng nhận ---------------------------------------------- */
.htr-cert {
	background:
		radial-gradient(60% 80% at 0% 0%, rgba(31, 143, 58, .1), transparent 70%),
		var(--htr-primary-soft);
}

.htr-cert__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.htr-cert__media {
	display: grid;
	gap: 16px;
}

.htr-cert__media.is-multi {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.htr-cert__frame {
	position: relative;
	display: block;
	padding: 10px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 48px rgba(6, 38, 20, .18);
}

.htr-cert__media:not(.is-multi) .htr-cert__frame {
	transform: rotate(-1.5deg);
	transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.htr-cert__media:not(.is-multi) .htr-cert__frame:hover {
	transform: rotate(0);
}

.htr-cert__frame img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.htr-cert__zoom {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(6, 38, 20, .82);
	font-size: .78rem;
	font-weight: 700;
	color: #fff;
}

.htr-cert__zoom .htr-icon {
	width: 14px;
	height: 14px;
}

.htr-cert__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--htr-primary);
}

.htr-cert__eyebrow .htr-icon {
	width: 18px;
	height: 18px;
}

.htr-cert__title {
	margin: 0 0 14px;
	font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--htr-secondary);
}

.htr-cert__lead {
	margin: 0 0 22px;
	color: var(--htr-muted);
}

.htr-cert__facts {
	margin: 0 0 28px;
	border-top: 1px solid rgba(13, 59, 34, .14);
}

.htr-cert__fact {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(13, 59, 34, .14);
}

.htr-cert__fact dt {
	font-size: .85rem;
	font-weight: 600;
	color: var(--htr-muted);
}

.htr-cert__fact dd {
	margin: 0;
	font-weight: 700;
	color: var(--htr-secondary);
}

.htr-cert__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.htr-cert__actions .htr-btn {
	margin: 0;
}

@media (max-width: 1023px) {
	.htr-trust__list,
	.htr-svc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.htr-trust__item {
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.htr-trust__item:nth-child(3)::before {
		display: none;
	}

	.htr-cert__grid,
	.htr-book__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

@media (max-width: 849px) {
	.htr-hero {
		align-items: flex-end;
		min-height: 0;
		padding: 220px 0 32px;
	}

	.htr-hero__media::after {
		background: linear-gradient(0deg, rgba(6, 38, 20, .98) 0%, rgba(6, 38, 20, .9) 55%, rgba(6, 38, 20, .2) 85%, rgba(6, 38, 20, 0) 100%);
	}

	.htr-hero__bg {
		object-position: 62% top;
	}

	.htr-hero__badge {
		font-size: .74rem;
	}

	.htr-hero {
		padding-bottom: 80px;
	}

	.htr-trust {
		margin-top: -48px;
	}
}

@media (max-width: 599px) {
	/* Mobile: 2 cột, icon trên – chữ dưới cho gọn. */
	.htr-trust__list {
		gap: 4px;
		padding: 6px;
	}

	.htr-trust__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px 12px;
	}

	.htr-trust__item + .htr-trust__item::before {
		display: none;
	}

	.htr-trust__icon {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}

	.htr-trust__icon .htr-icon {
		width: 20px;
		height: 20px;
	}

	.htr-trust__title {
		font-size: .88rem;
	}

	.htr-trust__text {
		font-size: .78rem;
	}

	.htr-svc-grid {
		gap: 12px;
	}

	.htr-svc-grid .htr-svc-card {
		min-height: 0;
		padding: 18px 14px;
	}

	.htr-svc-card__desc {
		display: none;
	}

	.htr-cert__fact {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.htr-book__contacts {
		grid-template-columns: 1fr;
	}
}
