:root {
	--hg-green-900: #01261f;
	--hg-green-700: #3b6934;
	--hg-green-200: #bcf0ae;
	--hg-ink: #1b1c1c;
	--hg-muted: #414846;
	--hg-line: #c1c8c4;
	--hg-paper: #fbf9f8;
	--hg-mist: #f5f3f3;
	--hg-footer: #e4e2e2;
	--hg-white: #ffffff;
	--hg-header-h: 80px;
	--hg-pad: 64px;
	--hg-max: 1280px;
	--hg-banner-min: 360px;
	--hg-font: Inter, system-ui, sans-serif;
	--hg-display: Montserrat, Inter, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--hg-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--hg-ink);
	background: var(--hg-paper);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.hg-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--hg-green-900);
	color: var(--hg-white);
	padding: 8px 16px;
	z-index: 1000;
}

.hg-skip:focus {
	left: 16px;
	top: 16px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.admin-bar .hg-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .hg-header {
		top: 46px;
	}
}

.hg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--hg-header-h);
	background: rgba(251, 249, 248, 0.9);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--hg-max);
	margin: 0 auto;
	height: 100%;
	padding: 0 var(--hg-pad);
}

.hg-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex-shrink: 0;
}

.hg-brand__mark {
	display: flex;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	overflow: hidden;
}

.hg-brand__img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.hg-brand__name {
	font-family: var(--hg-display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.48px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--hg-green-900);
	white-space: nowrap;
}

.hg-header__menu {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
}

.hg-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.hg-nav__list {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hg-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	line-height: 1;
	color: var(--hg-muted);
}

.hg-nav__list a:hover,
.hg-nav__list .current-menu-item > a,
.hg-nav__list .current-menu-ancestor > a {
	color: var(--hg-green-900);
}

.hg-nav__list .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 5px;
	margin-top: 1px;
	background: currentColor;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	opacity: 0.7;
}

.hg-nav__list .menu-item-has-children {
	position: relative;
	padding-bottom: 24px;
	margin-bottom: -24px;
}

.hg-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--hg-paper);
	border: 1px solid var(--hg-line);
	border-radius: 8px;
}

.hg-nav__list .menu-item-has-children:hover > .sub-menu,
.hg-nav__list .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.hg-nav__list .sub-menu a {
	display: block;
	padding: 10px 16px;
	letter-spacing: 0.4px;
	white-space: nowrap;
}

.hg-nav__sub-toggle {
	display: none;
}

.hg-header__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-shrink: 0;
}

.hg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	line-height: 1;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
}

.hg-btn--primary {
	background: var(--hg-green-900);
	color: var(--hg-white);
	padding: 8px 24px;
}

.hg-btn--primary:hover {
	background: var(--hg-green-700);
}

.hg-nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 10px 8px;
	border: 0;
	background: transparent;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	flex-shrink: 0;
}

.hg-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--hg-green-900);
	transform-origin: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.hg-main {
	min-height: 40vh;
}

.hg-container {
	max-width: var(--hg-max);
	margin: 0 auto;
	padding: 48px var(--hg-pad) 80px;
}

.hg-article__title {
	font-family: var(--hg-display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.32px;
	margin: 0 0 24px;
	color: var(--hg-ink);
}

.hg-article__content.entry-content > * {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.hg-article__content.entry-content > .alignwide {
	max-width: 1152px;
}

.hg-article__content.entry-content > .alignfull {
	max-width: none;
}

.hg-archive {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hg-archive li {
	border-bottom: 1px solid var(--hg-line);
}

.hg-archive a {
	display: block;
	padding: 16px 0;
	font-weight: 600;
}

.hg-footer {
	background: var(--hg-footer);
	border-top: 1px solid var(--hg-line);
	padding: 96px 0 48px;
	color: var(--hg-muted);
}

.hg-footer__inner {
	max-width: var(--hg-max);
	margin: 0 auto;
	padding: 0 var(--hg-pad);
}

.hg-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 48px;
}

.hg-footer .hg-brand__name {
	font-size: 20px;
}

.hg-footer__intro {
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.16px;
	max-width: 252px;
}

.hg-footer__heading {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	line-height: 1;
	color: var(--hg-green-900);
	text-transform: none;
}

.hg-footer__list,
.hg-footer__contact,
.hg-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hg-footer__list li + li,
.hg-footer__contact li + li {
	margin-top: 8px;
}

.hg-footer__list a,
.hg-footer__contact,
.hg-footer__copy {
	font-size: 16px;
	letter-spacing: 0.16px;
	line-height: 1.5;
	color: var(--hg-muted);
}

.hg-footer__list a:hover,
.hg-footer__contact a:hover,
.hg-footer__legal a:hover {
	color: var(--hg-green-900);
}

.hg-footer__contact {
	font-size: 15px;
	line-height: 1.4;
}

.hg-footer__contact a {
	color: #467886;
}

.hg-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--hg-line);
}

.hg-footer__copy {
	margin: 0;
	font-size: 14px;
}

.hg-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.hg-footer__legal a {
	font-size: 14px;
	letter-spacing: 0.14px;
	color: var(--hg-muted);
}

.hg-page-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--hg-banner-min);
	padding: 80px 0 48px;
	color: var(--hg-white);
	background-color: #0a1a16;
	background-image:
		linear-gradient(90deg, rgba(1, 38, 31, 0.92) 0%, rgba(1, 38, 31, 0.55) 55%, rgba(1, 38, 31, 0.2) 100%),
		var(--hg-banner-image, none);
	background-size: cover;
	background-position: center;
}

.hg-page-banner h1 {
	margin: 12px 0 0;
	max-width: 720px;
	font-family: var(--hg-display);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.6px;
	color: var(--hg-white);
}

.hg-page-banner__lead {
	max-width: 560px;
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.16px;
	color: var(--hg-mist);
	opacity: 0.9;
}

@media (max-width: 1100px) {
	.hg-page-banner h1 {
		font-size: 36px;
	}
}

@media (max-width: 800px) {
	:root {
		--hg-banner-min: 280px;
	}

	.hg-page-banner {
		padding: 56px 0 36px;
	}

	.hg-page-banner h1 {
		font-size: 32px;
	}
}

@media (max-width: 960px) {
	:root {
		--hg-pad: 20px;
	}

	.hg-header__inner {
		position: relative;
		flex-wrap: nowrap;
	}

	.hg-nav-toggle {
		display: flex;
		margin-left: auto;
		z-index: 2;
	}

	.hg-header.is-open .hg-nav-toggle__bar:nth-child(2) {
		transform: translateY(7px) rotate(45deg);
	}

	.hg-header.is-open .hg-nav-toggle__bar:nth-child(3) {
		opacity: 0;
	}

	.hg-header.is-open .hg-nav-toggle__bar:nth-child(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.hg-header__menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex: none;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		width: 100%;
		max-height: min(70vh, calc(100dvh - var(--hg-header-h)));
		overflow-x: hidden;
		overflow-y: auto;
		padding: 8px var(--hg-pad) 24px;
		background: var(--hg-paper);
		border-top: 1px solid var(--hg-line);
		box-shadow: 0 16px 32px rgba(1, 38, 31, 0.08);
	}

	.hg-header.is-open .hg-header__menu {
		display: flex;
	}

	.hg-nav {
		flex: none;
		width: 100%;
		justify-content: flex-start;
	}

	.hg-header__actions {
		display: flex;
		width: 100%;
		padding-top: 8px;
	}

	.hg-header__actions .hg-btn {
		width: 100%;
	}

	.hg-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.hg-nav__list > .menu-item {
		width: 100%;
	}

	.hg-nav__list .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.hg-nav__list .menu-item-has-children > a {
		flex: 1;
		min-width: 0;
	}

	.hg-nav__list .menu-item-has-children > a::after {
		display: none;
	}

	.hg-nav__sub-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 44px;
		height: 44px;
		margin-right: -8px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--hg-green-900);
		cursor: pointer;
	}

	.hg-nav__sub-toggle span {
		display: block;
		width: 8px;
		height: 6px;
		background: currentColor;
		clip-path: polygon(0 0, 100% 0, 50% 100%);
		opacity: 0.7;
		transition: transform 0.2s ease;
	}

	.hg-nav__list .menu-item-has-children.is-open > .hg-nav__sub-toggle span {
		transform: rotate(180deg);
	}

	.hg-nav__list > .menu-item > a {
		padding: 12px 0;
	}

	.hg-nav__list .menu-item-has-children:hover > .sub-menu,
	.hg-nav__list .menu-item-has-children:focus-within > .sub-menu {
		display: none;
	}

	.hg-nav__list .sub-menu {
		display: none;
		position: static;
		left: auto;
		transform: none;
		flex-basis: 100%;
		width: 100%;
		min-width: 0;
		margin: 0 0 8px;
		padding: 2px 0 10px 10px;
		border: 0;
		border-left: 2px solid var(--hg-line);
		border-radius: 0;
		background: transparent;
	}

	.hg-nav__list .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.hg-nav__list .sub-menu::before {
		content: none;
	}

	.hg-nav__list .sub-menu a {
		padding: 10px 0 10px 6px;
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.2px;
		line-height: 1.35;
		white-space: normal;
		color: var(--hg-muted);
	}

	.hg-nav__list .sub-menu a:hover,
	.hg-nav__list .sub-menu .current-menu-item > a {
		color: var(--hg-green-900);
	}

	.hg-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px 24px;
	}

	.hg-footer__bar {
		flex-direction: column;
		align-items: flex-start;
	}
}

.hg-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
}

.hg-form__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.hg-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.hg-form label {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hg-form label span {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	text-transform: uppercase;
}

.hg-form input {
	width: 100%;
	padding: 15px 17px;
	border-radius: 8px;
	font: inherit;
	font-size: 16px;
}

.hg-form--page {
	padding: 32px;
	border: 1px solid var(--hg-line);
	border-radius: 16px;
	background: var(--hg-white);
}

.hg-form--page label span {
	color: var(--hg-muted);
}

.hg-form--page input {
	border: 1px solid var(--hg-line);
	background: var(--hg-paper);
	color: var(--hg-ink);
}

.hg-form--page input::placeholder {
	color: #9aa3a0;
}

.hg-form--page .hg-form__submit {
	width: 100%;
	padding: 16px;
}

.hg-form--fluent .fluentform,
.hg-form--fluent .frm-fluent-form,
.hg-form--fluent .ff-el-group {
	width: 100%;
	max-width: none;
}

.hg-form--fluent .ff-el-group {
	margin-bottom: 20px;
}

.hg-form--fluent .ff-el-input--label label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--hg-muted);
}

.hg-form--fluent .ff-el-form-control {
	width: 100%;
	padding: 15px 17px;
	border: 1px solid var(--hg-line);
	border-radius: 8px;
	background: var(--hg-paper);
	color: var(--hg-ink);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}

.hg-form--fluent .ff-btn-submit {
	width: 100%;
	padding: 16px;
	border: 0;
	border-radius: 8px;
	background: var(--hg-green-900) !important;
	color: var(--hg-white) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.hg-form--fluent .ff_powered_by {
	display: none !important;
}

.hg-form__admin-note {
	margin: 0;
	padding: 16px;
	border: 1px dashed var(--hg-line);
	border-radius: 8px;
	font-size: 14px;
}

.hg-inquire-modal {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: var(--hg-white);
	color: var(--hg-ink);
	box-shadow: 0 24px 80px rgba(1, 38, 31, 0.28);
}

.hg-inquire-modal::backdrop {
	background: rgba(1, 38, 31, 0.62);
}

.hg-inquire-modal__panel {
	position: relative;
	padding: 32px 32px 28px;
	overflow: auto;
	max-height: calc(100vh - 40px);
}

.hg-inquire-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--hg-muted);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.hg-inquire-modal__close:hover {
	background: var(--hg-mist);
	color: var(--hg-green-900);
}

.hg-inquire-modal .hg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--hg-green-700);
}

.hg-inquire-modal .hg-kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.hg-inquire-modal h2 {
	margin: 0 0 8px;
	font-family: var(--hg-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--hg-ink);
}

.hg-inquire-modal__product {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--hg-green-700);
}

.hg-inquire-modal .hg-form--modal {
	margin-top: 8px;
}

/* Shared card hover — grids only, not banners / chrome / forms */
.hg-cat-card,
.hg-solution-card,
.hg-sol-card,
.hg-product-card,
.hg-news-card,
.hg-cases-card {
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hg-cat-card::before,
.hg-solution-card::before,
.hg-sol-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #2a3530;
	background-image: var(--hg-card-image, none);
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.hg-cat-card::after,
.hg-solution-card::after,
.hg-sol-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top, rgba(1, 38, 31, 0.92) 0%, rgba(1, 38, 31, 0.5) 48%, rgba(1, 38, 31, 0.18) 100%);
	transition: background 0.35s ease;
}

.hg-cat-card > *,
.hg-solution-card > *,
.hg-sol-card > * {
	position: relative;
	z-index: 2;
}

.hg-cat-card:hover,
.hg-solution-card:hover,
.hg-sol-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(1, 38, 31, 0.22);
}

.hg-cat-card:hover::before,
.hg-solution-card:hover::before,
.hg-sol-card:hover::before {
	transform: scale(1.06);
}

.hg-cat-card:hover::after,
.hg-solution-card:hover::after,
.hg-sol-card:hover::after {
	background: linear-gradient(to top, rgba(1, 38, 31, 0.96) 0%, rgba(1, 38, 31, 0.62) 50%, rgba(1, 38, 31, 0.32) 100%);
}

.hg-product-card:hover,
.hg-news-card:hover,
.hg-cases-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(1, 38, 31, 0.12);
}

.hg-product-card__media,
.hg-news-card__media {
	overflow: hidden;
}

.hg-product-card__media img,
.hg-news-card__media img,
.hg-cases-card__media img {
	transition: transform 0.45s ease;
}

.hg-product-card:hover .hg-product-card__media img,
.hg-news-card:hover .hg-news-card__media img,
.hg-cases-card:hover .hg-cases-card__media img {
	transform: scale(1.05);
}

.hg-product-card h3 a,
.hg-news-card h3 a,
.hg-cases-card__title a,
.hg-news-card .hg-text-link,
.hg-cases-card .hg-text-link {
	transition: color 0.2s ease;
}

.hg-product-card:hover h3,
.hg-product-card:hover h3 a,
.hg-news-card:hover h3,
.hg-news-card:hover h3 a,
.hg-cases-card:hover .hg-cases-card__title,
.hg-cases-card:hover .hg-cases-card__title a,
.hg-news-card:hover .hg-text-link,
.hg-cases-card:hover .hg-text-link {
	color: var(--hg-green-700);
}

.hg-cases-card:hover .hg-cases-card__media::after {
	background: linear-gradient(to top, rgba(1, 38, 31, 0.86) 0%, rgba(1, 38, 31, 0.28) 48%, rgba(1, 38, 31, 0.08) 100%);
}

@media (prefers-reduced-motion: reduce) {
	.hg-cat-card,
	.hg-solution-card,
	.hg-sol-card,
	.hg-product-card,
	.hg-news-card,
	.hg-cases-card,
	.hg-cat-card::before,
	.hg-solution-card::before,
	.hg-sol-card::before,
	.hg-cat-card::after,
	.hg-solution-card::after,
	.hg-sol-card::after,
	.hg-product-card__media img,
	.hg-news-card__media img,
	.hg-cases-card__media img,
	.hg-nav__sub-toggle span {
		transition: none;
	}

	.hg-cat-card:hover,
	.hg-solution-card:hover,
	.hg-sol-card:hover,
	.hg-product-card:hover,
	.hg-news-card:hover,
	.hg-cases-card:hover,
	.hg-cat-card:hover::before,
	.hg-solution-card:hover::before,
	.hg-sol-card:hover::before,
	.hg-product-card:hover .hg-product-card__media img,
	.hg-news-card:hover .hg-news-card__media img,
	.hg-cases-card:hover .hg-cases-card__media img {
		transform: none;
	}
}

@media (max-width: 640px) {
	.hg-brand__name {
		font-size: 18px;
	}

	.hg-inquire-modal__panel {
		padding: 28px 20px 24px;
	}

	.hg-footer__grid {
		grid-template-columns: 1fr;
	}

	.hg-form__row {
		grid-template-columns: 1fr;
	}
}
