/*
 * HEXING homepage — page template styles
 * Loaded only by page-templates/home.php (see functions.php).
 * Self-contained: does not depend on twentytwentyfive global styles.
 */

/* ---------------------------------------------------------------- tokens */
:root {
	--hx-navy: #16263a;
	--hx-navy-700: #23354d;
	--hx-navy-900: #0d1725;
	--hx-blue: #2c55a4;
	--hx-blue-400: #6494c2;
	--hx-blue-50: #eef4fc;
	--hx-purple: #5b42b7;
	--hx-red: #b0121f;
	--hx-bg: #f3f6fa;
	--hx-ink: #1f2933;
	--hx-muted: #5c6b7a;
	--hx-line: #dfe6ef;
	--hx-white: #fff;

	--hx-radius: 14px;
	--hx-radius-sm: 8px;
	--hx-shadow: 0 10px 30px rgba(22, 38, 58, 0.08);
	--hx-shadow-lg: 0 24px 60px rgba(22, 38, 58, 0.16);
	--hx-wrap: 1200px;
	--hx-gutter: 24px;

	--hx-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", sans-serif;
}

/* ---------------------------------------------------------------- reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.hx-body {
	margin: 0;
	font-family: var(--hx-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--hx-ink);
	background: var(--hx-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.hx-body img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hx-body a {
	color: inherit;
	text-decoration: none;
}

.hx-body h1,
.hx-body h2,
.hx-body h3,
.hx-body h4 {
	margin: 0 0 0.5em;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.hx-body p {
	margin: 0 0 1em;
}

.hx-wrap {
	width: 100%;
	max-width: var(--hx-wrap);
	margin: 0 auto;
	padding: 0 var(--hx-gutter);
}

/* screen-reader only */
.hx-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.hx-body :focus-visible {
	outline: 3px solid var(--hx-blue-400);
	outline-offset: 2px;
}

/* --------------------------------------------------------------- topbar */
.hx-topbar {
	background: var(--hx-navy-900);
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.hx-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.hx-topbar__tagline {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hx-topbar__tagline strong {
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hx-topbar__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--hx-blue-400);
}

.hx-topbar__links {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hx-topbar__links a {
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.2s;
}

.hx-topbar__links a:hover {
	color: #fff;
}

/* --------------------------------------------------------------- header */
.hx-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--hx-line);
}

.hx-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 72px;
}

.hx-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.hx-brand__mark {
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
}

.hx-brand__name {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--hx-navy);
	line-height: 1;
}

.hx-brand__sub {
	display: block;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--hx-muted);
	text-transform: uppercase;
	margin-top: 4px;
}

/* nav */
.hx-nav {
	margin-left: auto;
}

.hx-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hx-nav__item {
	position: relative;
}

.hx-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: var(--hx-radius-sm);
	font-size: 15px;
	font-weight: 600;
	color: var(--hx-navy);
	transition: background 0.2s, color 0.2s;
}

.hx-nav__link:hover,
.hx-nav__item:hover > .hx-nav__link,
.hx-nav__item:focus-within > .hx-nav__link {
	background: var(--hx-blue-50);
	color: var(--hx-blue);
}

.hx-nav__link--active {
	color: var(--hx-blue);
}

.hx-nav__caret {
	width: 9px;
	height: 9px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s;
}

.hx-nav__item:hover .hx-nav__caret {
	transform: translateY(0) rotate(225deg);
}

/* dropdown */
.hx-nav__drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 8px);
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	box-shadow: var(--hx-shadow-lg);
	padding: 8px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
	z-index: 10;
}

.hx-nav__drop::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
}

.hx-nav__item:hover > .hx-nav__drop,
.hx-nav__item:focus-within > .hx-nav__drop {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.hx-nav__drop a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--hx-radius-sm);
	font-size: 14px;
	color: var(--hx-ink);
	white-space: nowrap;
	transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.hx-nav__drop a:hover {
	background: var(--hx-blue-50);
	color: var(--hx-blue);
	padding-left: 20px;
}

/* header CTA */
.hx-header__cta {
	flex: 0 0 auto;
}

.hx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s,
		border-color 0.2s, color 0.2s;
	white-space: nowrap;
}

.hx-btn:hover {
	transform: translateY(-2px);
}

/* NB: `.hx-body a { color: inherit }` above has higher specificity than a
   bare `.hx-btn`, so button/link colour rules must be scoped to win. */
.hx-body .hx-btn--primary {
	background: var(--hx-blue);
	color: #fff;
	box-shadow: 0 8px 20px rgba(44, 85, 164, 0.28);
}

.hx-body .hx-btn--primary:hover {
	background: #1d3f80;
	color: #fff;
	box-shadow: 0 12px 26px rgba(44, 85, 164, 0.36);
}

.hx-body .hx-btn--ghost {
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
}

.hx-body .hx-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
	color: #fff;
}

.hx-btn--sm {
	padding: 9px 18px;
	font-size: 13px;
}

/* mobile nav toggle */
.hx-navtoggle {
	display: none;
	width: 42px;
	height: 42px;
	margin-left: auto;
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius-sm);
	background: #fff;
	cursor: pointer;
	position: relative;
}

.hx-navtoggle span,
.hx-navtoggle span::before,
.hx-navtoggle span::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--hx-navy);
	transform: translateX(-50%);
	transition: transform 0.25s, opacity 0.25s;
}

.hx-navtoggle span {
	top: 50%;
	margin-top: -1px;
}

.hx-navtoggle span::before {
	content: "";
	top: -6px;
}

.hx-navtoggle span::after {
	content: "";
	top: 6px;
}

.hx-navtoggle[aria-expanded="true"] span {
	background: transparent;
}

.hx-navtoggle[aria-expanded="true"] span::before {
	transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.hx-navtoggle[aria-expanded="true"] span::after {
	transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

/* ----------------------------------------------------------------- hero */
.hx-hero {
	position: relative;
	background: var(--hx-navy);
	overflow: hidden;
}

.hx-hero__track {
	position: relative;
}

.hx-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
}

.hx-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hx-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx-hero__spacer {
	height: clamp(280px, 40vw, 649px);
}

.hx-hero__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 0 30px;
	background: linear-gradient(
		to top,
		rgba(13, 23, 37, 0.72),
		rgba(13, 23, 37, 0) 100%
	);
	pointer-events: none;
}

.hx-hero__cap .hx-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hx-hero__cap h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(20px, 2.4vw, 32px);
	font-weight: 700;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* slider controls */
.hx-hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--hx-navy);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: var(--hx-shadow);
	transition: background 0.2s, transform 0.2s;
	z-index: 5;
}

.hx-hero__nav:hover {
	background: #fff;
}

.hx-hero__nav--prev {
	left: 18px;
}

.hx-hero__nav--next {
	right: 18px;
}

/*
 * The visible pill is 9px, but the button itself is 24x24 so the
 * tap target meets the minimum (the dots are also keyboard focusable).
 */
.hx-hero__dots {
	position: absolute;
	right: 0;
	bottom: 30px;
	display: flex;
	gap: 2px;
	z-index: 5;
}

.hx-hero__dot {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: width 0.25s;
}

.hx-hero__dot::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 0 1px rgba(13, 23, 37, 0.18);
	transition: width 0.25s, background 0.25s;
}

.hx-hero__dot:hover::before {
	background: rgba(255, 255, 255, 0.8);
}

.hx-hero__dot.is-active {
	width: 36px;
}

.hx-hero__dot.is-active::before {
	width: 26px;
	background: #fff;
}

/* ------------------------------------------------------------- sections */
.hx-section {
	padding: clamp(56px, 7vw, 96px) 0;
}

.hx-section--white {
	background: #fff;
}

.hx-section--tight {
	padding: clamp(40px, 5vw, 64px) 0;
}

.hx-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hx-blue);
	margin-bottom: 12px;
}

.hx-section__head {
	max-width: 720px;
	margin: 0 auto clamp(36px, 5vw, 60px);
	text-align: center;
}

.hx-section__head h2 {
	font-size: clamp(26px, 3.4vw, 40px);
	color: var(--hx-navy);
}

.hx-section__head p {
	color: var(--hx-muted);
	font-size: 17px;
	margin-bottom: 0;
}

/* --------------------------------------------------------- stat / FCL */
.hx-strengths {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
	align-items: stretch;
}

.hx-stat {
	background: #fff;
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	padding: 30px 26px;
	text-align: center;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.hx-stat:hover {
	transform: translateY(-6px);
	box-shadow: var(--hx-shadow);
	border-color: transparent;
}

.hx-stat__icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	color: var(--hx-blue);
	background: linear-gradient(135deg, var(--hx-blue-50), #dfe9f8);
}

.hx-stat__icon svg {
	display: block;
}

.hx-stat__value {
	font-size: 30px;
	font-weight: 800;
	color: var(--hx-blue);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.hx-stat__label {
	font-size: 14px;
	color: var(--hx-muted);
	margin-top: 6px;
}

/* FCL strengths copy block */
.hx-fcl {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
	background: linear-gradient(135deg, var(--hx-navy) 0%, #1d3a63 100%);
	border-radius: 24px;
	padding: clamp(30px, 4vw, 56px);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.hx-fcl::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(100, 148, 194, 0.32),
		transparent 70%
	);
}

.hx-fcl h3 {
	font-size: clamp(22px, 2.6vw, 30px);
	color: #fff;
}

.hx-fcl p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1.2em;
}

.hx-fcl ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px 20px;
}

.hx-fcl li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

.hx-fcl li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--hx-blue-400);
	border-bottom: 2px solid var(--hx-blue-400);
	transform: rotate(-45deg);
}

.hx-fcl__media {
	position: relative;
	z-index: 1;
}

.hx-fcl__media img {
	border-radius: var(--hx-radius);
	box-shadow: var(--hx-shadow-lg);
	width: 100%;
}

/* --------------------------------------------------------------- about */
.hx-about {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}

.hx-about__media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--hx-shadow-lg);
}

.hx-about__media img {
	width: 100%;
}

.hx-about__badge {
	position: absolute;
	left: 20px;
	bottom: 20px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: var(--hx-radius-sm);
	padding: 12px 18px;
	box-shadow: var(--hx-shadow);
}

.hx-about__badge strong {
	display: block;
	font-size: 20px;
	color: var(--hx-navy);
	line-height: 1.2;
}

.hx-about__badge span {
	font-size: 12px;
	color: var(--hx-muted);
}

.hx-about__text h2 {
	font-size: clamp(24px, 3vw, 34px);
	color: var(--hx-navy);
}

.hx-about__text > p {
	font-size: 17px;
	color: var(--hx-muted);
}

.hx-checklist {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.hx-checklist li {
	position: relative;
	padding-left: 32px;
	color: var(--hx-ink);
}

.hx-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hx-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: grid;
	place-items: center;
}

/* ------------------------------------------------------------ services */
.hx-services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.hx-service {
	display: block;
	background: #fff;
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	overflow: hidden;
	transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}

.hx-service:hover {
	transform: translateY(-8px);
	box-shadow: var(--hx-shadow-lg);
	border-color: transparent;
}

.hx-service__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--hx-blue-50);
}

.hx-service__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.hx-service:hover .hx-service__media img {
	transform: scale(1.07);
}

.hx-service__body {
	padding: 20px 22px 24px;
}

.hx-service__body h3 {
	font-size: 17px;
	color: var(--hx-navy);
	margin-bottom: 6px;
}

.hx-service__body p {
	font-size: 14px;
	color: var(--hx-muted);
	margin: 0;
}

.hx-section__cta {
	text-align: center;
	margin-top: clamp(32px, 4vw, 48px);
}

/* ------------------------------------------------------------- reviews */
.hx-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.hx-review {
	background: #fff;
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform 0.25s, box-shadow 0.25s;
}

.hx-review:hover {
	transform: translateY(-6px);
	box-shadow: var(--hx-shadow);
}

.hx-review__stars {
	color: #f5a623;
	font-size: 15px;
	letter-spacing: 2px;
}

.hx-review__text {
	font-size: 15px;
	color: var(--hx-ink);
	margin: 0;
	flex: 1;
}

.hx-review__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--hx-line);
}

.hx-review__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--hx-blue-400), var(--hx-blue));
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}

.hx-review__who {
	line-height: 1.35;
}

.hx-review__who strong {
	display: block;
	font-size: 14px;
	color: var(--hx-navy);
}

.hx-review__who span {
	font-size: 12px;
	color: var(--hx-muted);
}

.hx-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--hx-line);
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 14px;
	color: var(--hx-muted);
}

.hx-rating strong {
	font-size: 18px;
	color: var(--hx-navy);
}

/* ------------------------------------------------------------ timeline */
.hx-timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 34px;
}

.hx-timeline::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(
		to bottom,
		var(--hx-blue),
		var(--hx-purple)
	);
	border-radius: 2px;
}

.hx-milestone {
	position: relative;
	padding-bottom: 34px;
}

.hx-milestone:last-child {
	padding-bottom: 0;
}

.hx-milestone::before {
	content: "";
	position: absolute;
	left: -34px;
	top: 6px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--hx-blue);
	box-shadow: 0 0 0 4px var(--hx-blue-50);
}

.hx-milestone__title {
	font-size: 18px;
	color: var(--hx-navy);
	margin-bottom: 6px;
}

.hx-milestone p {
	font-size: 15px;
	color: var(--hx-muted);
	margin: 0;
}

/* ------------------------------------------------------------- closing */
.hx-closing {
	position: relative;
	background: var(--hx-red);
	color: #fff;
	overflow: hidden;
}

.hx-closing img {
	width: 100%;
}

.hx-closing__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(
		90deg,
		rgba(176, 18, 31, 0.82),
		rgba(176, 18, 31, 0.35) 55%,
		rgba(176, 18, 31, 0.6)
	);
}

.hx-closing__inner {
	text-align: center;
	padding: clamp(60px, 9vw, 130px) var(--hx-gutter);
	max-width: 820px;
}

.hx-closing__inner h2 {
	font-size: clamp(28px, 4.4vw, 52px);
	color: #fff;
	margin-bottom: 10px;
}

.hx-closing__inner p {
	font-size: clamp(15px, 1.6vw, 19px);
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 30px;
}

/* -------------------------------------------------------------- footer */
.hx-footer {
	background: var(--hx-navy-900);
	color: rgba(255, 255, 255, 0.62);
	font-size: 14px;
	padding: clamp(40px, 5vw, 64px) 0 28px;
}

.hx-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: clamp(24px, 3vw, 48px);
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hx-footer__about .hx-brand__name {
	color: #fff;
}

.hx-footer__about p {
	margin: 16px 0 0;
	max-width: 34ch;
	font-size: 14px;
}

.hx-footer h3 {
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 16px;
	padding: 0;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hx-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.hx-footer a {
	color: rgba(255, 255, 255, 0.62);
	transition: color 0.2s;
}

.hx-footer a:hover {
	color: #fff;
}

.hx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	font-size: 13px;
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1024px) {
	.hx-fcl,
	.hx-about {
		grid-template-columns: 1fr;
	}

	.hx-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 860px) {
	.hx-topbar__links {
		display: none;
	}

	.hx-topbar__inner {
		justify-content: center;
	}

	.hx-navtoggle {
		display: block;
	}

	.hx-header__cta {
		display: none;
	}

	.hx-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--hx-line);
		box-shadow: var(--hx-shadow-lg);
		padding: 12px var(--hx-gutter) 20px;
		display: none;
	}

	.hx-nav.is-open {
		display: block;
	}

	.hx-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.hx-nav__item {
		border-bottom: 1px solid var(--hx-line);
	}

	.hx-nav__link {
		width: 100%;
		justify-content: space-between;
		padding: 14px 8px;
	}

	.hx-nav__drop {
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--hx-line);
		border-radius: 0;
		margin: 0 0 8px 8px;
		padding: 4px 0 4px 8px;
		display: none;
	}

	.hx-nav__item.is-open > .hx-nav__drop {
		display: block;
	}

	.hx-nav__item:hover > .hx-nav__drop,
	.hx-nav__item:focus-within > .hx-nav__drop {
		transform: none;
	}

	.hx-nav__drop a {
		padding: 10px 12px;
	}

	.hx-hero__nav {
		width: 38px;
		height: 38px;
		font-size: 16px;
	}

	.hx-hero__nav--prev {
		left: 10px;
	}

	.hx-hero__nav--next {
		right: 10px;
	}
}

@media (max-width: 560px) {
	.hx-footer__grid {
		grid-template-columns: 1fr;
	}

	.hx-brand__name {
		font-size: 17px;
	}

	.hx-hero__cap {
		padding-bottom: 22px;
	}

	.hx-hero__dots {
		bottom: 22px;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
