/*
Theme Name: Hfinity India
Theme URI: https://hfinityindia.com
Author: Hfinity India
Description: Custom high-performance theme for Hfinity India — software testing, QA, and automation. Orange & blue brand home page.
Version: 1.22.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hfinity-testing
*/

/* --------------------------------------------------------------------------
   Design tokens — brand: #0059FF blue, #FFA500 orange
   -------------------------------------------------------------------------- */
:root {
	--hf-blue: #0059ff;
	--hf-blue-soft: #3d7cff;
	--hf-blue-dark: #0046cc;
	--hf-orange: #ffa500;
	--hf-orange-hover: #ffb733;
	--hf-ink: #040d1a;
	--hf-ink-mid: #0a1f3d;
	--hf-ink-soft: #132a4a;
	--hf-bg: #f4f7fc;
	--hf-surface: #ffffff;
	--hf-text: #0f172a;
	--hf-text-muted: #64748b;
	--hf-border: #e2e8f0;
	--hf-radius: 14px;
	--hf-radius-lg: 24px;
	--hf-shadow: 0 4px 24px rgba(0, 89, 255, 0.07);
	--hf-shadow-lg: 0 20px 50px rgba(0, 20, 80, 0.12);
	--hf-glow-orange: 0 8px 32px rgba(255, 165, 0, 0.35);
	--hf-glow-blue: 0 8px 32px rgba(0, 89, 255, 0.25);
	--hf-gold: #c9a227;
	--hf-gold-soft: #e8d48a;
	--hf-gold-muted: rgba(201, 162, 39, 0.35);
	--hf-font: "Inter", system-ui, -apple-system, sans-serif;
	--hf-display: "Poppins", var(--hf-font);
	--hf-max: 1220px;
	/* Taller bar + large logo cap (icon + wordmark readable at a glance) */
	--hf-header-h: 118px;
	--hf-logo-header-max: min(6rem, calc(var(--hf-header-h) - 1rem));
	--hf-logo-footer-max: 5.75rem;
	/* Opaque bar so inner pages match home (transparent bar looked white over light body) */
	--hf-header-hero-bg: linear-gradient(115deg, #020617 0%, #071a3a 42%, #0f2744 100%);
}

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

html {
	scroll-behavior: smooth;
}

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

	.hf-hero__mesh,
	.hf-marquee__track,
	.hf-tst-marquee__track,
	.hf-tst-cards-marquee__track {
		animation: none !important;
	}

	.hf-cs-carousel__track {
		transition: none !important;
	}

	.hf-header {
		transition: none;
	}

	.hf-nav .sub-menu {
		transition: none !important;
	}

	.hf-tst-card {
		transition: none !important;
	}

	.hf-tst-card:hover,
	.hf-tst-card:focus-within {
		transform: none !important;
	}
}

body {
	margin: 0;
	font-family: var(--hf-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--hf-text);
	background: var(--hf-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--hf-blue-dark);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--hf-blue);
}

.hf-container {
	width: min(100% - 1.75rem, var(--hf-max));
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.hf-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hf-border);
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		backdrop-filter 0.3s ease;
}

.hf-header--on-hero {
	background: var(--hf-header-hero-bg);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Front page: solid white bar after scroll */
.hf-header--on-hero.hf-header--scrolled {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--hf-border);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 4px 24px rgba(0, 20, 80, 0.06);
}

.hf-header--on-hero.hf-header--scrolled .hf-logo__brand {
	color: var(--hf-ink);
}

.hf-header--on-hero.hf-header--scrolled .hf-nav-toggle {
	background: var(--hf-surface);
	border-color: var(--hf-border);
	color: var(--hf-ink);
}

.hf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--hf-header-h);
	gap: 1.25rem;
}

.hf-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--hf-display);
	color: var(--hf-ink);
	text-decoration: none;
}

.hf-logo__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--hf-blue);
	display: grid;
	place-items: center;
	color: #fff;
	font-family: var(--hf-display);
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: var(--hf-glow-blue);
}

.hf-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.hf-logo__brand {
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	color: var(--hf-ink);
}

.hf-logo__tagline {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hf-orange);
	margin-top: 2px;
}

.hf-header--on-hero .hf-logo__brand {
	color: #fff;
}

/* Site Identity custom logo (see header.php — no nested <a>) */
.hf-header .hf-logo--custom {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(36rem, min(60vw, 100%));
}

.hf-header .hf-logo--custom .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
	max-width: 100%;
	text-decoration: none;
	/* Contrast on hero without filter blur on the image */
}

.hf-header .hf-logo--custom .custom-logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: var(--hf-logo-header-max);
	object-fit: contain;
	object-position: left center;
	/* Avoid GPU filters — they often soften raster logos */
	image-rendering: auto;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.hf-header--on-hero .hf-logo--custom .custom-logo-link {
	filter: none;
}

.hf-nav-toggle {
	display: none;
	border: 1px solid var(--hf-border);
	background: var(--hf-surface);
	padding: 0.5rem 0.85rem;
	border-radius: 10px;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hf-ink);
}

.hf-header--on-hero .hf-nav-toggle {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.hf-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-nav > .hf-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.35rem;
	align-items: center;
	justify-content: center;
}

.hf-nav > .hf-nav__list > .menu-item {
	position: relative;
}

.hf-nav a {
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

/* Default: inactive links (explicit — avoids all items looking “current”). */
.hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

.hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
.hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
	color: #fff;
	border-bottom-color: transparent;
}

.hf-header--on-hero .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
.hf-header--on-hero .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero.hf-header--scrolled .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

.hf-header--on-hero.hf-header--scrolled .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
.hf-header--on-hero.hf-header--scrolled .hf-nav .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero .hf-nav .current-menu-item > a,
.hf-header--on-hero .hf-nav .current-menu-ancestor > a {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero.hf-header--scrolled .hf-nav .current-menu-item > a,
.hf-header--on-hero.hf-header--scrolled .hf-nav .current-menu-ancestor > a {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-nav .current-menu-item > a,
.hf-nav .current-menu-ancestor > a {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

/*
 * When the pointer is over the primary bar, only the hovered/focused branch keeps accent.
 * Includes the real “current page” item so Home goes neutral while you point at another link.
 * Must appear after .current-menu-item rules so it wins on specificity/order.
 */
.hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

.hf-header--on-hero .hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a {
	color: #fff;
	border-bottom-color: transparent;
}

.hf-header--on-hero.hf-header--scrolled .hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

/* Last-clicked / keyboard intent (set by nav.js). */
.hf-nav a.hf-nav-link--active {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero .hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a.hf-nav-link--active {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-header--on-hero.hf-header--scrolled .hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a.hf-nav-link--active {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

.hf-nav > .hf-nav__list:hover > .menu-item:not(:hover):not(:focus-within) > a.hf-nav-link--active {
	color: var(--hf-orange);
	border-bottom-color: var(--hf-orange);
}

/* After clicking another top-level link, mute WordPress “current” until pick is cleared (click outside). */
.hf-nav.hf-nav--picked-other > .hf-nav__list > .menu-item.current-menu-item:not(:hover):not(:focus-within) > a:not(.hf-nav-link--active) {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

.hf-header--on-hero .hf-nav.hf-nav--picked-other > .hf-nav__list > .menu-item.current-menu-item:not(:hover):not(:focus-within) > a:not(.hf-nav-link--active) {
	color: #fff;
	border-bottom-color: transparent;
}

.hf-header--on-hero.hf-header--scrolled .hf-nav.hf-nav--picked-other > .hf-nav__list > .menu-item.current-menu-item:not(:hover):not(:focus-within) > a:not(.hf-nav-link--active) {
	color: var(--hf-text);
	border-bottom-color: transparent;
}

/* Desktop dropdowns (nested menus). */
@media (min-width: 901px) {
	.hf-nav-submenu-btn {
		display: none !important;
	}

	.hf-nav .sub-menu {
		position: absolute;
		top: calc(100% + 0.35rem);
		left: 0;
		min-width: 220px;
		padding: 0.4rem 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 0;
		align-items: stretch;
		background: var(--hf-surface);
		border-radius: var(--hf-radius);
		box-shadow: var(--hf-shadow-lg);
		border: 1px solid var(--hf-border);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition:
			opacity 0.2s ease,
			visibility 0.2s ease,
			transform 0.2s ease;
		z-index: 220;
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu {
		background: rgba(4, 13, 26, 0.98);
		border-color: rgba(255, 255, 255, 0.12);
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	}

	.hf-nav .menu-item:hover > .sub-menu,
	.hf-nav .menu-item:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.hf-nav .sub-menu .menu-item {
		border: 0;
	}

	.hf-nav .sub-menu .menu-item-has-children {
		position: relative;
	}

	.hf-nav .sub-menu .sub-menu {
		top: 0;
		left: calc(100% + 4px);
		margin-top: 0;
	}

	.hf-nav .sub-menu a {
		display: block;
		padding: 0.5rem 1.1rem;
		font-size: 0.875rem;
		font-weight: 600;
		border-bottom: 2px solid transparent;
		white-space: nowrap;
		transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	}

	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
		color: var(--hf-text);
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
		color: rgba(255, 255, 255, 0.92);
	}

	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
		background: rgba(0, 89, 255, 0.06);
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
		background: rgba(255, 255, 255, 0.06);
	}

	.hf-nav .sub-menu .current-menu-item > a,
	.hf-nav .sub-menu .current-menu-ancestor > a {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
		background: rgba(255, 165, 0, 0.08);
	}

	/* One accent at a time inside each dropdown panel. */
	.hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a {
		color: var(--hf-text);
		border-bottom-color: transparent;
		background: transparent;
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a {
		color: rgba(255, 255, 255, 0.92);
	}

	.hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a.hf-nav-link--active {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
	}

	.hf-nav .menu-item-has-children > a {
		padding-right: 0.15rem;
	}

	.hf-nav .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: 0.35rem;
		vertical-align: middle;
		border-left: 4px solid transparent;
		border-right: 4px solid transparent;
		border-top: 5px solid currentColor;
		opacity: 0.75;
	}

	.hf-nav .sub-menu .menu-item-has-children > a::after {
		transform: rotate(-90deg);
		margin-left: 0.5rem;
	}
}

.hf-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	background: linear-gradient(135deg, var(--hf-orange) 0%, #ff9500 100%);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.8125rem;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: var(--hf-glow-orange);
	font-family: var(--hf-display);
}

.hf-header__cta:hover {
	color: #fff !important;
	filter: brightness(1.05);
	transform: translateY(-1px);
	opacity: 1;
}

.hf-header__cta-arrow {
	font-size: 1rem;
	line-height: 1;
}

@media (max-width: 900px) {
	.hf-nav-toggle {
		display: block;
	}

	.hf-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--hf-surface);
		border-bottom: 1px solid var(--hf-border);
		padding: 1rem;
		display: none;
		box-shadow: var(--hf-shadow-lg);
	}

	.hf-header--on-hero .hf-nav {
		background: rgba(4, 13, 26, 0.97);
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}

	.hf-header--on-hero.hf-header--scrolled .hf-nav {
		background: var(--hf-surface);
		border-bottom: 1px solid var(--hf-border);
		box-shadow: var(--hf-shadow-lg);
	}

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

	.hf-nav > .hf-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.hf-nav .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0;
	}

	.hf-nav .menu-item-has-children > a {
		flex: 1;
		min-width: 0;
		padding-right: 0.35rem;
	}

	.hf-nav-submenu-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		margin: 0;
		padding: 0;
		border: 1px solid var(--hf-border);
		border-radius: 10px;
		background: rgba(0, 89, 255, 0.06);
		color: var(--hf-ink);
		cursor: pointer;
		flex-shrink: 0;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav-submenu-btn {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.2);
		color: #fff;
	}

	.hf-nav-submenu-btn__icon {
		display: flex;
		transition: transform 0.2s ease;
	}

	.hf-nav li.hf-submenu-open > .hf-nav-submenu-btn .hf-nav-submenu-btn__icon {
		transform: rotate(180deg);
	}

	.hf-nav .sub-menu {
		display: none;
		flex: 1 0 100%;
		width: 100%;
		flex-direction: column;
		gap: 0;
		padding: 0 0 0.5rem 0.75rem;
		margin: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		position: static;
	}

	.hf-nav li.hf-submenu-open > .sub-menu {
		display: flex;
	}

	.hf-nav .sub-menu .menu-item {
		border-bottom: 0;
	}

	.hf-nav .sub-menu a {
		padding: 0.65rem 0;
		font-size: 0.9rem;
		font-weight: 600;
		border-bottom: 2px solid transparent;
		transition: color 0.2s ease, border-color 0.2s ease;
	}

	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
		color: var(--hf-text-muted);
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a {
		color: rgba(255, 255, 255, 0.78);
	}

	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
	.hf-nav .sub-menu .menu-item:not(.current-menu-item):not(.current-menu-ancestor) > a:focus-visible {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
	}

	.hf-nav .sub-menu .current-menu-item > a,
	.hf-nav .sub-menu .current-menu-ancestor > a {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
	}

	.hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a {
		color: var(--hf-text-muted);
		border-bottom-color: transparent;
	}

	.hf-header--on-hero:not(.hf-header--scrolled) .hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a {
		color: rgba(255, 255, 255, 0.78);
	}

	.hf-nav .sub-menu:hover > .menu-item:not(:hover):not(:focus-within) > a.hf-nav-link--active {
		color: var(--hf-orange);
		border-bottom-color: var(--hf-orange);
	}

	.hf-nav > .hf-nav__list > .menu-item {
		border-bottom: 1px solid var(--hf-border);
	}

	.hf-header--on-hero .hf-nav > .hf-nav__list > .menu-item {
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}

	.hf-header--on-hero.hf-header--scrolled .hf-nav > .hf-nav__list > .menu-item {
		border-bottom-color: var(--hf-border);
	}

	.hf-nav > .hf-nav__list > .menu-item:last-child {
		border-bottom: 0;
	}

	.hf-nav a {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 2px solid transparent;
	}

	/* Link colors use global .menu-item:not(...) rules above. */

	.hf-header__cta-wrap {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Hero (mockup: blue gradient, dashboard, tech pills, stats bar)
   -------------------------------------------------------------------------- */
body.hfinity-front #main-content > .hf-hero:first-child {
	margin-top: calc(-1 * var(--hf-header-h));
	padding-top: calc(var(--hf-header-h) + clamp(1.25rem, 3vw, 2.25rem));
}

.hf-hero {
	position: relative;
	padding: 0 0 clamp(2rem, 5vw, 3rem);
	overflow: hidden;
	background: linear-gradient(115deg, #020617 0%, #071a3a 28%, #003db3 62%, #0059ff 100%);
	color: #e8eefc;
}

.hf-hero__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 90% 15%, rgba(255, 165, 0, 0.18) 0%, transparent 52%),
		radial-gradient(ellipse 55% 50% at 10% 90%, rgba(0, 89, 255, 0.35) 0%, transparent 50%),
		radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
	pointer-events: none;
	animation: hf-mesh 20s ease-in-out infinite alternate;
}

@keyframes hf-mesh {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	100% {
		opacity: 0.9;
		transform: scale(1.02);
	}
}

.hf-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
	z-index: 1;
}

@media (max-width: 900px) {
	.hf-hero__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

.hf-hero__copy {
	min-width: 0;
}

.hf-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.05rem;
	background: rgba(0, 20, 60, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 1.35rem;
	color: rgba(255, 255, 255, 0.92);
}

.hf-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hf-orange);
	box-shadow: 0 0 14px var(--hf-orange);
}

.hf-hero h1 {
	font-family: var(--hf-display);
	font-weight: 700;
	font-size: clamp(2.15rem, 5vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: -0.035em;
	margin: 0 0 1.25rem;
	color: #fff;
}

.hf-hero h1 .hf-headline-word {
	color: var(--hf-orange);
	font-weight: 800;
}

.hf-hero h1 .hf-headline-accent {
	background: linear-gradient(105deg, #fff 0%, #fff 35%, var(--hf-orange) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hf-hero__lead {
	font-size: 1.0625rem;
	line-height: 1.68;
	color: rgba(255, 255, 255, 0.88);
	max-width: 34rem;
	margin: 0 0 1.85rem;
}

.hf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: 1.75rem;
}

.hf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	font-weight: 700;
	font-size: 0.9375rem;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	font-family: var(--hf-display);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
	text-decoration: none;
}

.hf-btn--pill {
	border-radius: 999px;
	padding-left: 1.65rem;
	padding-right: 1.65rem;
}

.hf-btn__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hf-btn__ico svg {
	display: block;
}

.hf-btn:focus-visible {
	outline: 2px solid var(--hf-orange);
	outline-offset: 3px;
}

.hf-btn--primary {
	background: linear-gradient(135deg, var(--hf-orange) 0%, #ff9500 100%);
	color: #fff !important;
	box-shadow: var(--hf-glow-orange);
}

.hf-btn--primary:hover {
	color: #fff !important;
	filter: brightness(1.06);
	transform: translateY(-2px);
}

.hf-btn--outline {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(8px);
}

.hf-btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	border-color: #fff;
}

.hf-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border: 1px solid rgba(0, 89, 255, 0.45);
	backdrop-filter: blur(6px);
}

.hf-btn--ghost:hover {
	background: rgba(0, 89, 255, 0.2);
	color: #fff;
	border-color: var(--hf-blue-soft);
}

.hf-tech__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 0.65rem;
}

.hf-tech__row {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.6rem;
}

.hf-tech {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: var(--hf-display);
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.hf-tech--selenium {
	color: #15803d;
	border-color: rgba(21, 128, 61, 0.35);
}

.hf-tech--cypress {
	color: #0f766e;
	border-color: rgba(15, 118, 110, 0.35);
}

.hf-tech--jest {
	color: #a16207;
	border-color: rgba(161, 98, 7, 0.35);
}

.hf-tech--playwright {
	color: #6d28d9;
	border-color: rgba(109, 40, 217, 0.35);
}

.hf-tech--python {
	color: #ca8a04;
	border-color: rgba(202, 138, 4, 0.35);
}

.hf-tech--rest {
	color: #dc2626;
	border-color: rgba(220, 38, 38, 0.35);
}

/* Dashboard visual */
.hf-hero-visual {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

@media (max-width: 900px) {
	.hf-hero-visual {
		min-height: 300px;
	}
}

.hf-dash-card {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 1.5rem 1.35rem 1.25rem;
	border-radius: var(--hf-radius-lg);
	background: rgba(4, 20, 50, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.hf-dash-card__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(125, 180, 255, 0.95);
}

.hf-dash-card__score {
	margin: 0 0 1rem;
	font-family: var(--hf-display);
	font-size: 2.75rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.hf-dash-card__chart {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px;
	height: 100px;
	margin-bottom: 0.85rem;
	padding: 0 0.15rem;
}

.hf-bar {
	flex: 1;
	min-width: 0;
	border-radius: 6px 6px 2px 2px;
	background: rgba(120, 180, 255, 0.45);
	height: var(--h, 40%);
	align-self: flex-end;
	transition: height 0.3s ease;
}

.hf-bar--orange {
	background: linear-gradient(180deg, var(--hf-orange) 0%, #e68600 100%);
	box-shadow: 0 0 12px rgba(255, 165, 0, 0.35);
}

.hf-dash-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 1rem;
}

.hf-dash-card__delta {
	color: var(--hf-orange);
	font-weight: 700;
}

.hf-dash-card__kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hf-dash-card__kpis strong {
	display: block;
	font-family: var(--hf-display);
	font-size: 1.05rem;
	color: #fff;
	font-weight: 800;
}

.hf-dash-card__kpis span {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
}

.hf-float-badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.9rem;
	background: rgba(255, 255, 255, 0.97);
	border-radius: 999px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--hf-ink);
	max-width: 200px;
	line-height: 1.25;
	z-index: 2;
}

.hf-float-badge--tl {
	top: -4%;
	left: -2%;
}

.hf-float-badge--br {
	bottom: 6%;
	right: -4%;
}

@media (max-width: 900px) {
	.hf-float-badge--tl {
		left: 0;
		top: -8%;
	}

	.hf-float-badge--br {
		right: 0;
		bottom: -2%;
	}
}

.hf-float-badge__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
}

.hf-float-badge__text {
	font-family: var(--hf-display);
}

/* Hero foot stats + scroll */
.hf-hero-foot {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.35rem 0 0.5rem;
	z-index: 1;
}

.hf-hero-foot__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
}

.hf-hero-foot__stat {
	text-align: center;
	min-width: 120px;
}

.hf-hero-foot__stat strong {
	display: block;
	font-family: var(--hf-display);
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.hf-hero-foot__stat span {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 600;
}

.hf-hero-foot__rule {
	width: 1px;
	height: 36px;
	background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 700px) {
	.hf-hero-foot__rule--hide-sm {
		display: none;
	}
}

.hf-scroll-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-left: 0.5rem;
}

.hf-scroll-hint:hover {
	color: var(--hf-orange);
}

.hf-scroll-hint__mouse {
	width: 22px;
	height: 34px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-radius: 11px;
	position: relative;
	display: flex;
	justify-content: center;
	padding-top: 6px;
}

.hf-scroll-hint__wheel {
	width: 3px;
	height: 6px;
	background: var(--hf-orange);
	border-radius: 2px;
	animation: hf-wheel 1.6s ease-in-out infinite;
}

@keyframes hf-wheel {
	0%,
	100% {
		opacity: 1;
		transform: translateY(0);
	}
	50% {
		opacity: 0.5;
		transform: translateY(6px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hf-scroll-hint__wheel {
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.hf-marquee {
	background: var(--hf-surface);
	border-block: 1px solid var(--hf-border);
	padding: 0.85rem 0;
	overflow: hidden;
}

.hf-marquee__track {
	display: flex;
	width: max-content;
	animation: hf-scroll 38s linear infinite;
}

.hf-marquee__group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 2.75rem;
	padding-right: 2.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--hf-text-muted);
}

.hf-marquee__group strong {
	color: var(--hf-blue);
	font-weight: 800;
}

@keyframes hf-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.hf-section {
	padding: clamp(3.5rem, 7vw, 5.25rem) 0;
}

.hf-section--surface {
	background: var(--hf-surface);
}

.hf-section__head {
	max-width: 42rem;
	margin-bottom: 2.75rem;
}

.hf-section__eyebrow {
	font-size: 0.8125rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--hf-blue);
	margin: 0 0 0.5rem;
}

.hf-section h2 {
	font-family: var(--hf-display);
	font-size: clamp(1.7rem, 3.2vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	margin: 0 0 0.75rem;
	line-height: 1.18;
}

.hf-section__sub {
	margin: 0;
	color: var(--hf-text-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.hf-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.35rem;
}

@media (max-width: 900px) {
	.hf-cards {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 1100px) {
	.hf-cards {
		grid-template-columns: 1.15fr 1fr 1fr;
		gap: 1.5rem;
	}

	.hf-cards .hf-card:first-child {
		grid-row: span 1;
		min-height: 100%;
	}
}

.hf-card {
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	padding: 1.85rem;
	box-shadow: var(--hf-shadow);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
	position: relative;
	overflow: hidden;
}

.hf-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--hf-blue), var(--hf-orange));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.hf-card:hover {
	border-color: rgba(0, 89, 255, 0.28);
	box-shadow: var(--hf-shadow-lg);
	transform: translateY(-3px);
}

.hf-card:hover::before {
	opacity: 1;
}

.hf-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(0, 89, 255, 0.1) 0%, rgba(255, 165, 0, 0.12) 100%);
	display: grid;
	place-items: center;
	margin-bottom: 1.25rem;
	border: 1px solid rgba(0, 89, 255, 0.12);
}

.hf-card__icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--hf-blue-dark);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hf-card h3 {
	font-family: var(--hf-display);
	font-size: 1.22rem;
	font-weight: 700;
	color: var(--hf-ink);
	margin: 0 0 0.65rem;
}

.hf-card p {
	margin: 0;
	color: var(--hf-text-muted);
	font-size: 0.9375rem;
	line-height: 1.68;
}

.hf-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

@media (max-width: 900px) {
	.hf-two-col {
		grid-template-columns: 1fr;
	}
}

.hf-list-feature {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-list-feature li {
	display: flex;
	gap: 1rem;
	padding: 1.2rem 0;
	border-bottom: 1px solid var(--hf-border);
}

.hf-list-feature li:first-child {
	padding-top: 0;
}

.hf-list-feature__num {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--hf-blue) 0%, var(--hf-blue-dark) 100%);
	color: #fff;
	font-family: var(--hf-display);
	font-weight: 800;
	font-size: 0.875rem;
	display: grid;
	place-items: center;
	box-shadow: var(--hf-glow-blue);
}

.hf-list-feature strong {
	display: block;
	color: var(--hf-ink);
	margin-bottom: 0.3rem;
	font-size: 1.02rem;
}

.hf-list-feature span {
	font-size: 0.9375rem;
	color: var(--hf-text-muted);
	line-height: 1.6;
}

.hf-cta-band {
	position: relative;
	background: linear-gradient(135deg, var(--hf-ink-mid) 0%, var(--hf-ink) 55%, #0a1a38 100%);
	color: #e8eefc;
	border-radius: var(--hf-radius-lg);
	padding: clamp(2.25rem, 5vw, 3.25rem);
	text-align: center;
	box-shadow: var(--hf-shadow-lg);
	overflow: hidden;
	border: 1px solid rgba(0, 89, 255, 0.2);
}

.hf-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 80% at 80% 20%, rgba(255, 165, 0, 0.15) 0%, transparent 55%);
	pointer-events: none;
}

.hf-cta-band h2 {
	position: relative;
	color: #fff;
	margin-bottom: 0.75rem;
}

.hf-cta-band p {
	position: relative;
	margin: 0 auto 1.65rem;
	max-width: 38rem;
	opacity: 0.9;
	line-height: 1.65;
}

.hf-cta-band .hf-btn--primary {
	position: relative;
}

/* --------------------------------------------------------------------------
   Contact strip (above footer, full width)
   -------------------------------------------------------------------------- */
.hf-contact-strip {
	position: relative;
	width: 100%;
	background: linear-gradient(135deg, var(--hf-blue-dark) 0%, var(--hf-blue) 42%, #0038a8 100%);
	color: #e8eefc;
	padding: clamp(2.75rem, 6vw, 4.25rem) 0;
	overflow: hidden;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hf-contact-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 15% 20%, rgba(255, 165, 0, 0.14) 0%, transparent 50%),
		radial-gradient(ellipse 50% 50% at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
	pointer-events: none;
}

.hf-contact-strip__inner {
	position: relative;
	text-align: center;
	max-width: 52rem;
}

.hf-contact-strip__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0 0 1rem;
}

.hf-contact-strip__desc {
	position: relative;
	margin: 0 auto 1.85rem;
	max-width: 40rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.hf-contact-strip__desc p {
	margin: 0 0 0.65rem;
}

.hf-contact-strip__desc p:last-child {
	margin-bottom: 0;
}

.hf-contact-strip__actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem 1rem;
}

.hf-contact-strip__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding-left: 1.35rem;
	padding-right: 1.5rem;
	transition:
		transform 0.18s ease,
		box-shadow 0.22s ease,
		filter 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
}

.hf-contact-strip__btn .hf-btn__ico {
	display: inline-flex;
	opacity: 0.95;
}

.hf-contact-strip__btn--secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hf-contact-strip__btn--secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: #fff;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.hf-contact-strip__btn.hf-btn--primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.hf-contact-strip__btn.hf-btn--primary:hover,
	.hf-contact-strip__btn--secondary:hover {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.hf-footer {
	background: var(--hf-ink);
	color: rgba(232, 238, 252, 0.72);
	padding: 3.25rem 0 1.5rem;
	font-size: 0.9375rem;
}

.hf-footer a {
	color: rgba(232, 238, 252, 0.92);
}

.hf-footer a:hover {
	color: var(--hf-orange);
}

.hf-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

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

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

.hf-footer__brand-col {
	min-width: 0;
}

.hf-footer__logo {
	display: inline-block;
	margin-bottom: 1rem;
	line-height: 0;
}

.hf-footer__logo-img {
	display: block;
	max-height: var(--hf-logo-footer-max);
	width: auto;
	height: auto;
	object-fit: contain;
}

.hf-footer__logo--wp {
	max-width: min(34rem, 100%);
}

.hf-footer__logo--wp .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	max-width: 100%;
}

.hf-footer__logo--wp .custom-logo {
	display: block;
	max-height: var(--hf-logo-footer-max);
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: left center;
	image-rendering: auto;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.hf-footer__brand,
.hf-footer__brand--text {
	font-family: var(--hf-display);
	font-weight: 700;
	font-size: 1.2rem;
	color: #fff;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.hf-footer__desc {
	margin: 0 0 1.25rem;
	line-height: 1.6;
	color: rgba(232, 238, 252, 0.72);
	max-width: 22rem;
}

.hf-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.88) !important;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
}

.hf-footer__social-link:hover {
	background: rgba(255, 165, 0, 0.2);
	color: #fff !important;
	transform: translateY(-2px);
}

.hf-footer__social-link svg {
	display: block;
}

.hf-footer__contact {
	margin: 0;
	display: grid;
	gap: 0.85rem;
}

.hf-footer__contact-row {
	display: grid;
	gap: 0.2rem;
}

.hf-footer__contact dt {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(232, 238, 252, 0.45);
	font-weight: 700;
	margin: 0;
}

.hf-footer__contact dd {
	margin: 0;
	line-height: 1.55;
	color: rgba(232, 238, 252, 0.88);
}

.hf-footer__col h4 {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(232, 238, 252, 0.45);
	margin: 0 0 1rem;
	font-weight: 700;
}

.hf-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-footer__col li {
	margin-bottom: 0.5rem;
}

.hf-footer__bottom {
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.8125rem;
	color: rgba(232, 238, 252, 0.5);
	text-align: center;
}

.hf-footer__domain {
	color: var(--hf-orange);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.hf-main--inner {
	padding: 2.5rem 0 4rem;
}

.hf-page-header {
	margin-bottom: 2rem;
}

.hf-page-header h1 {
	font-family: var(--hf-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--hf-ink);
	margin: 0;
}

.hf-prose {
	max-width: 65ch;
}

.hf-prose p {
	margin: 0 0 1.25rem;
}

.hf-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-post-list li {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--hf-border);
}

.hf-post-list a {
	font-weight: 700;
	color: var(--hf-ink);
	font-size: 1.1rem;
}

.hf-post-list a:hover {
	color: var(--hf-blue);
}

.hf-post-list time {
	display: block;
	font-size: 0.875rem;
	color: var(--hf-text-muted);
	margin-top: 0.35rem;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Services section (CPT + home grid)
   -------------------------------------------------------------------------- */
.hf-services {
	background: #f8fafc;
	padding-top: clamp(3.5rem, 7vw, 5rem);
	padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.hf-services__head {
	text-align: center;
	max-width: 46rem;
	margin: 0 auto 2.75rem;
}

.hf-services__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.4rem 1rem 0.4rem 0.65rem;
	background: rgba(255, 165, 0, 0.12);
	border: 1px solid rgba(255, 165, 0, 0.28);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--hf-orange);
	font-family: var(--hf-display);
}

.hf-services__badge-ico {
	display: grid;
	place-items: center;
	color: var(--hf-orange);
}

.hf-services__title {
	font-family: var(--hf-display);
	font-size: clamp(1.85rem, 3.8vw, 2.65rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	margin: 0 0 1rem;
}

.hf-svc-title-blue {
	color: var(--hf-blue);
}

.hf-svc-title-orange {
	color: var(--hf-orange);
}

.hf-services__sub {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: stretch;
	margin-bottom: 2.75rem;
}

@media (max-width: 900px) {
	.hf-svc-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}
}

.hf-services__empty {
	text-align: center;
	grid-column: 1 / -1;
	color: var(--hf-text-muted);
}

.hf-svc-card {
	position: relative;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: 16px;
	padding: 1.65rem 1.5rem 1.5rem;
	box-shadow: 0 10px 40px rgba(0, 20, 80, 0.06);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hf-svc-card:hover {
	box-shadow: 0 16px 48px rgba(0, 89, 255, 0.1);
	transform: translateY(-2px);
}

.hf-svc-card--featured {
	background: linear-gradient(160deg, var(--hf-orange) 0%, #ff8c00 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 16px 48px rgba(255, 165, 0, 0.35);
}

.hf-svc-card--featured:hover {
	box-shadow: 0 20px 56px rgba(255, 165, 0, 0.42);
}

.hf-svc-card__ribbon {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.3rem 0.65rem;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	font-family: var(--hf-display);
}

.hf-svc-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 1.15rem;
	color: var(--hf-blue);
}

.hf-svc-icon-wrap--purple {
	background: #ede9fe;
	color: #5b21b6;
}

.hf-svc-icon-wrap--teal {
	background: #ccfbf1;
	color: #0f766e;
}

.hf-svc-icon-wrap--lavender {
	background: #e9e3ff;
	color: #5b21b6;
}

.hf-svc-icon-wrap--blue {
	background: #dbeafe;
	color: var(--hf-blue);
}

.hf-svc-icon-wrap--soft-orange {
	background: #ffedd5;
	color: #c2410c;
}

.hf-svc-icon-wrap--red {
	background: #fee2e2;
	color: #b91c1c;
}

.hf-svc-icon-wrap--featured {
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
}

.hf-svc-card__thumb {
	width: 32px;
	height: 32px;
	object-fit: contain;
	border-radius: 8px;
}

.hf-svc-card__title {
	font-family: var(--hf-display);
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--hf-ink);
	line-height: 1.25;
}

.hf-svc-card--featured .hf-svc-card__title {
	color: #fff;
}

.hf-svc-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
	flex-grow: 1;
}

.hf-svc-card__excerpt p {
	margin: 0 0 0.65rem;
}

.hf-svc-card__excerpt p:last-child {
	margin-bottom: 0;
}

.hf-svc-card--featured .hf-svc-card__excerpt,
.hf-svc-card--featured .hf-svc-card__excerpt p {
	color: rgba(255, 255, 255, 0.92);
}

.hf-svc-card__tags {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.hf-svc-tag {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	background: #f1f5f9;
	color: var(--hf-text);
	border: 1px solid var(--hf-border);
	font-family: var(--hf-font);
}

.hf-svc-card--featured .hf-svc-tag {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

/* Service card CTA — pill button, brand blue + orange hovers */
.hf-svc-card__btn.hf-btn {
	margin-top: 1.15rem;
	align-self: flex-start;
	padding: 0.65rem 1.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	border: 2px solid transparent;
	background: linear-gradient(135deg, var(--hf-blue) 0%, var(--hf-blue-soft) 100%);
	color: #fff !important;
	box-shadow: 0 8px 22px rgba(0, 89, 255, 0.28);
}

.hf-svc-card__btn.hf-btn:hover {
	color: #fff !important;
	background: linear-gradient(135deg, var(--hf-blue-dark) 0%, var(--hf-blue) 100%);
	box-shadow:
		0 12px 28px rgba(0, 89, 255, 0.38),
		0 0 0 1px rgba(255, 165, 0, 0.45);
	transform: translateY(-2px);
	filter: none;
}

.hf-svc-card__btn.hf-btn:focus-visible {
	outline: 2px solid var(--hf-orange);
	outline-offset: 3px;
}

.hf-svc-card__btn--featured.hf-btn {
	background: #fff;
	color: var(--hf-blue) !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
	border-color: rgba(255, 255, 255, 0.65);
}

.hf-svc-card__btn--featured.hf-btn:hover {
	color: #fff !important;
	background: linear-gradient(135deg, var(--hf-orange) 0%, #ff9500 100%);
	border-color: transparent;
	box-shadow: 0 12px 30px rgba(255, 165, 0, 0.45);
}

.hf-services__footer {
	text-align: center;
	padding-top: 0.5rem;
}

.hf-services__footer-note {
	margin: 0 0 1rem;
	font-size: 1rem;
	color: var(--hf-text-muted);
}

.hf-services__footer-btn {
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Process section (dark timeline — screenshot-aligned)
   -------------------------------------------------------------------------- */
.hf-process {
	background: #050810;
	color: rgba(255, 255, 255, 0.88);
	padding: clamp(4rem, 9vw, 5.75rem) 0;
	position: relative;
	overflow: hidden;
}

.hf-process::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 55% at 50% -10%, rgba(0, 89, 255, 0.18) 0%, transparent 52%),
		radial-gradient(ellipse 55% 45% at 100% 60%, rgba(0, 89, 255, 0.06) 0%, transparent 45%),
		radial-gradient(ellipse 45% 40% at 0% 70%, rgba(255, 165, 0, 0.05) 0%, transparent 45%);
	pointer-events: none;
}

.hf-process .hf-container {
	position: relative;
	z-index: 1;
	max-width: min(100% - 2rem, 1180px);
}

.hf-process__head {
	text-align: center;
	max-width: 38rem;
	margin: 0 auto clamp(2.75rem, 6vw, 3.75rem);
}

.hf-process__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0.5rem 1.15rem 0.5rem 0.75rem;
	background: rgba(255, 165, 0, 0.06);
	border: 1px solid rgba(255, 165, 0, 0.5);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hf-orange);
	font-family: var(--hf-display);
}

.hf-process__badge-ico {
	display: grid;
	place-items: center;
	color: var(--hf-orange);
	flex-shrink: 0;
}

.hf-process__title {
	font-family: var(--hf-display);
	font-size: clamp(1.9rem, 4.2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.035em;
	color: #fff;
	margin: 0 0 1.1rem;
}

.hf-process-accent {
	color: var(--hf-orange);
	font-weight: 800;
}

.hf-process__sub {
	margin: 0 auto;
	max-width: 36rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 400;
}

/* Timeline: line passes through vertical center of icon tiles */
.hf-process__steps {
	position: relative;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	--hf-process-icon: 64px;
	--hf-pc-pad-top: 1.75rem;
}

.hf-process__line {
	position: absolute;
	left: 7%;
	right: 7%;
	top: calc(var(--hf-pc-pad-top) + var(--hf-process-icon) / 2);
	height: 1px;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 12px rgba(0, 89, 255, 0.08);
	z-index: 0;
	pointer-events: none;
	transform: translateY(-50%);
}

.hf-process__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

@media (max-width: 1024px) {
	.hf-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.35rem;
	}

	.hf-process__line {
		display: none;
	}
}

@media (max-width: 560px) {
	.hf-process__grid {
		grid-template-columns: 1fr;
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
	}
}

.hf-process__empty {
	grid-column: 1 / -1;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	padding: 2rem;
}

.hf-process-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-height: 0;
	padding: var(--hf-pc-pad-top) 1.35rem 1.65rem;
	background: linear-gradient(165deg, rgba(22, 34, 58, 0.95) 0%, rgba(12, 20, 38, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.hf-process-card:hover {
	border-color: rgba(0, 89, 255, 0.28);
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(0, 89, 255, 0.08);
	transform: translateY(-2px);
}

.hf-process-card__top {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 1.15rem;
}

.hf-process-card__icon-row {
	display: flex;
	justify-content: center;
}

.hf-process-icon {
	position: relative;
	z-index: 2;
	width: var(--hf-process-icon);
	height: var(--hf-process-icon);
	border-radius: 16px;
	display: grid;
	place-items: center;
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hf-process-icon--blue {
	background: linear-gradient(160deg, #1a6dff 0%, var(--hf-blue) 45%, var(--hf-blue-dark) 100%);
}

.hf-process-icon--orange {
	background: linear-gradient(160deg, #ffb733 0%, var(--hf-orange) 40%, #e68600 100%);
}

.hf-process-icon--purple {
	background: linear-gradient(160deg, #a78bfa 0%, #7c3aed 45%, #5b21b6 100%);
}

.hf-process-icon--teal {
	background: linear-gradient(160deg, #2dd4bf 0%, #0d9488 45%, #0f766e 100%);
}

.hf-process-icon__badge {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	font-family: var(--hf-display);
	display: grid;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, 0.35);
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
	z-index: 3;
}

.hf-process-card__thumb {
	width: 34px;
	height: 34px;
	object-fit: contain;
	border-radius: 8px;
}

.hf-process-card__body {
	width: 100%;
}

.hf-process-card__step {
	margin: 0 0 0.5rem;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
}

.hf-process-card__title {
	margin: 0;
	font-family: var(--hf-display);
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.hf-process__banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.25rem, 3vw, 2rem);
	padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
	background: linear-gradient(105deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 89, 255, 0.08) 50%, rgba(255, 255, 255, 0.05) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.hf-process__banner-text {
	flex: 1 1 16rem;
	max-width: 36rem;
	text-align: left;
}

.hf-process__banner-title {
	margin: 0 0 0.45rem;
	font-family: var(--hf-display);
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.hf-process__banner-sub {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
}

.hf-process__banner-btn {
	flex-shrink: 0;
	align-self: center;
	gap: 0.55rem;
	min-height: 52px;
	padding: 0.85rem 1.65rem 0.85rem 1.85rem;
	font-family: var(--hf-display);
	font-size: 0.9375rem;
	font-weight: 700;
	box-shadow: 0 8px 28px rgba(255, 165, 0, 0.35);
}

.hf-process__banner-btn .hf-btn__ico {
	opacity: 0.95;
}

/* --------------------------------------------------------------------------
   Testimonials (home)
   -------------------------------------------------------------------------- */
.hf-tst {
	background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
}

.hf-tst__intro {
	max-width: 46rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.hf-tst__intro .hf-services__title {
	margin-bottom: 0.75rem;
}

/* Legacy gold badge (older child themes); home testimonials use .hf-services__badge */
.hf-tst__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--hf-gold-muted);
	background: rgba(255, 255, 255, 0.85);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hf-gold);
	font-family: var(--hf-display);
}

.hf-tst__badge-ico {
	flex-shrink: 0;
	opacity: 0.95;
}

.hf-tst__intro h2 {
	margin-bottom: 0.65rem;
}

.hf-tst-gold,
.hf-tst__intro .hf-tst-gold {
	color: var(--hf-gold);
}

.hf-tst__sub {
	margin: 0 auto;
	max-width: 36rem;
}

.hf-tst-summary {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
	max-width: 920px;
	margin: 0 auto 2.75rem;
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
	background: var(--hf-surface);
	border-radius: var(--hf-radius-lg);
	border: 1px solid var(--hf-border);
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
	.hf-tst-summary {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
		gap: clamp(1rem, 2.5vw, 2rem);
	}
}

.hf-tst-summary__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hf-tst-summary__bars {
	align-items: stretch;
	width: 100%;
	gap: 0.65rem;
}

.hf-tst-summary__num {
	font-family: var(--hf-display);
	font-size: clamp(2.25rem, 4vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	line-height: 1;
}

.hf-tst-summary__stars {
	display: flex;
	gap: 0.15rem;
	margin: 0.4rem 0 0.35rem;
	font-size: 1rem;
	line-height: 1;
}

.hf-tst-summary__big {
	font-family: var(--hf-display);
	font-size: clamp(2rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hf-blue);
	line-height: 1;
}

.hf-tst-summary__label {
	font-size: 0.8125rem;
	color: var(--hf-text-muted);
	font-weight: 500;
}

.hf-tst-bar {
	display: grid;
	grid-template-columns: 2.25rem 1fr 2.5rem;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	font-size: 0.8125rem;
	color: var(--hf-text-muted);
}

.hf-tst-bar__label {
	text-align: left;
	font-weight: 600;
	color: var(--hf-text);
}

.hf-tst-bar__track {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: #e8ecf1;
	overflow: hidden;
}

.hf-tst-bar__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--hf-gold-soft), var(--hf-orange));
	min-width: 0;
}

.hf-tst-bar__pct {
	text-align: right;
	font-weight: 600;
	color: var(--hf-text);
	font-variant-numeric: tabular-nums;
}

.hf-tst__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.35rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Testimonial cards — infinite horizontal scroll */
.hf-tst-cards-marquee {
	overflow: hidden;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	margin-inline: calc(-1 * clamp(0.75rem, 4vw, 2rem));
	padding-block: 0.5rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hf-tst-cards-marquee__viewport {
	overflow: hidden;
}

.hf-tst-cards-marquee__track {
	display: flex;
	width: max-content;
	animation: hf-tst-cards-marquee-scroll 55s linear infinite;
}

.hf-tst-cards-marquee__group {
	display: flex;
	flex-shrink: 0;
	align-items: stretch;
	gap: 1.35rem;
	padding-right: 1.35rem;
}

.hf-tst-cards-marquee__group .hf-tst-card {
	flex: 0 0 auto;
	width: min(340px, 82vw);
	max-width: 340px;
}

@keyframes hf-tst-cards-marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (hover: hover) and (pointer: fine) {
	.hf-tst-cards-marquee:hover .hf-tst-cards-marquee__track {
		animation-play-state: paused;
	}
}

.hf-tst-card {
	position: relative;
	background: var(--hf-surface);
	border-radius: var(--hf-radius);
	border: 1px solid var(--hf-border);
	padding: 1.65rem 1.5rem 1.5rem;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.35s ease;
}

.hf-tst-card--featured {
	border: 2px solid var(--hf-gold);
	box-shadow: 0 12px 36px rgba(201, 162, 39, 0.12);
}

@media (hover: hover) and (pointer: fine) {
	.hf-tst-card:hover,
	.hf-tst-card:focus-within {
		transform: translateY(-8px);
		box-shadow:
			0 24px 48px rgba(0, 89, 255, 0.1),
			0 12px 28px rgba(15, 23, 42, 0.08);
		border-color: rgba(0, 89, 255, 0.28);
	}

	.hf-tst-card--featured:hover,
	.hf-tst-card--featured:focus-within {
		border-color: var(--hf-gold);
		box-shadow:
			0 26px 52px rgba(201, 162, 39, 0.22),
			0 14px 32px rgba(15, 23, 42, 0.07);
	}
}

.hf-tst-card__quote {
	display: block;
	margin: 0 0 0.15rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.65rem;
	line-height: 0.65;
	color: var(--hf-gold);
	opacity: 0.32;
}

.hf-tst-card__stars {
	display: flex;
	gap: 0.12rem;
	margin-bottom: 0.65rem;
	font-size: 0.95rem;
	line-height: 1;
}

.hf-tst-star {
	color: #e2e8f0;
}

.hf-tst-star--on {
	color: var(--hf-orange);
}

.hf-tst-card__tag {
	display: inline-block;
	margin: 0 0 0.85rem;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 89, 255, 0.35);
	background: rgba(0, 89, 255, 0.06);
	color: var(--hf-blue);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hf-tst-card__body {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--hf-text);
}

.hf-tst-card__body p {
	margin: 0 0 0.75rem;
}

.hf-tst-card__body p:last-child {
	margin-bottom: 0;
}

.hf-tst-card__footer {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1.35rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--hf-border);
}

.hf-tst-card__avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--hf-blue);
	color: #fff;
	font-family: var(--hf-display);
	font-size: 0.875rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	letter-spacing: 0.02em;
}

.hf-tst-card__avatar--img {
	padding: 0;
	overflow: hidden;
	background: #e8ecf1;
}

.hf-tst-card__avatar--img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hf-tst-card__who {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	text-align: left;
	min-width: 0;
}

.hf-tst-card__name {
	font-family: var(--hf-display);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--hf-ink-mid);
}

.hf-tst-card__role {
	font-size: 0.8125rem;
	color: var(--hf-text-muted);
	line-height: 1.4;
}

.hf-tst__trusted {
	text-align: center;
	padding-top: 0.25rem;
}

.hf-tst__trusted-label {
	margin: 0 0 1.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #94a3b8;
}

.hf-tst-marquee {
	overflow: hidden;
	margin-inline: calc(-1 * clamp(0.75rem, 4vw, 2rem));
	padding-block: 0.35rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hf-tst-marquee__viewport {
	overflow: hidden;
}

.hf-tst-marquee__track {
	display: flex;
	width: max-content;
	animation: hf-tst-marquee-scroll 42s linear infinite;
}

.hf-tst-marquee__group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-right: clamp(1.75rem, 4vw, 3rem);
}

@keyframes hf-tst-marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.hf-tst-logo {
	flex-shrink: 0;
	font-family: var(--hf-display);
	font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
	font-weight: 600;
	color: #94a3b8;
	letter-spacing: 0.02em;
	opacity: 0.92;
	white-space: nowrap;
	transition: color 0.3s ease, opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hf-tst-marquee:hover .hf-tst-marquee__track {
		animation-play-state: paused;
	}

	.hf-tst-marquee:hover .hf-tst-logo {
		color: var(--hf-blue-soft);
		opacity: 1;
	}
}

/* --------------------------------------------------------------------------
   Case studies (home)
   -------------------------------------------------------------------------- */
.hf-cs {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	padding-top: clamp(3rem, 6vw, 4.25rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hf-cs__head {
	text-align: center;
	max-width: 46rem;
	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.hf-cs__head .hf-services__title {
	margin-bottom: 0.75rem;
}

/* Legacy case studies badge markup */
.hf-cs__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.4rem 1rem 0.4rem 0.65rem;
	background: rgba(255, 165, 0, 0.12);
	border: 1px solid rgba(255, 165, 0, 0.28);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--hf-orange);
	font-family: var(--hf-display);
}

.hf-cs__badge-ico {
	display: grid;
	place-items: center;
	color: var(--hf-orange);
}

.hf-cs__title {
	font-family: var(--hf-display);
	font-size: clamp(1.85rem, 3.8vw, 2.65rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	margin: 0 0 1rem;
}

.hf-cs-accent {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 600;
	color: var(--hf-orange);
}

.hf-cs__sub {
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-cs__lead {
	margin: 0 auto;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
	max-width: 40rem;
}

.hf-cs-carousel {
	padding-block: 0.25rem 0.5rem;
}

.hf-cs-carousel__inner {
	max-width: var(--hf-max);
	margin-inline: auto;
}

.hf-cs-carousel__viewport {
	--hf-cs-gap: clamp(1.25rem, 3vw, 1.75rem);
	container-type: inline-size;
	container-name: hfcs;
	overflow: hidden;
	overflow-x: clip;
	width: 100%;
	min-width: 0;
	padding-inline: clamp(0.75rem, 4vw, 2rem);
}

.hf-cs-carousel__clip {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.hf-cs-carousel__track {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: var(--hf-cs-gap);
	min-width: 0;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.hf-cs-card {
	/*
	 * Desktop widths are set in JS (pixel floor) so 3×card + 2×gap equals the viewport — no cqi rounding leak.
	 * Fallback below when JS is off.
	 */
	flex: 0 0 calc((100cqi - 2 * var(--hf-cs-gap)) / 3);
	width: calc((100cqi - 2 * var(--hf-cs-gap)) / 3);
	min-width: 0;
	max-width: calc((100cqi - 2 * var(--hf-cs-gap)) / 3);
	background: var(--hf-surface);
	border-radius: var(--hf-radius);
	box-shadow:
		0 0 0 1px rgba(226, 232, 240, 0.95),
		0 4px 18px rgba(15, 23, 42, 0.07),
		0 2px 6px rgba(15, 23, 42, 0.04);
	border: none;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-align: center;
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hf-cs-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 40px rgba(0, 71, 204, 0.12), 0 4px 14px rgba(15, 23, 42, 0.08);
	}
}

.hf-cs-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 50%, #dbeafe 100%);
}

.hf-cs-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hf-cs-card__placeholder {
	width: 100%;
	height: 100%;
	min-height: 10rem;
	background: radial-gradient(circle at 30% 30%, rgba(0, 89, 255, 0.15), transparent 55%),
		radial-gradient(circle at 70% 60%, rgba(255, 165, 0, 0.12), transparent 50%),
		linear-gradient(160deg, #e2e8f0, #f8fafc);
}

.hf-cs-card__body {
	padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1rem, 2vw, 1.35rem) clamp(1.35rem, 2.5vw, 1.6rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	flex: 1;
}

.hf-cs-card__title {
	font-family: var(--hf-display);
	font-size: clamp(1.0625rem, 2vw, 1.1875rem);
	font-weight: 700;
	color: var(--hf-ink);
	margin: 0;
	line-height: 1.3;
}

.hf-cs-card__desc {
	margin: 0;
	font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
	color: var(--hf-text-muted);
	line-height: 1.55;
	flex: 1;
}

.hf-cs-card__btn {
	margin-top: 0.35rem;
	border-radius: 10px;
	padding: 0.55rem 1.35rem;
	font-size: 0.9rem;
	font-weight: 600;
}

@supports not (width: 100cqi) {
	.hf-cs-card {
		flex: 0 0 calc(31.5% - 0.5rem);
		width: calc(31.5% - 0.5rem);
		max-width: calc(31.5% - 0.5rem);
		min-width: 260px;
	}
}

@media (max-width: 767px) {
	.hf-cs-card {
		flex: 0 0 100cqi;
		width: 100cqi;
		max-width: 100cqi;
		min-width: 0;
	}
}

@supports not (width: 100cqi) {
	@media (max-width: 767px) {
		.hf-cs-card {
			flex: 0 0 min(100%, 320px);
			width: min(100%, 320px);
			max-width: min(100%, 320px);
		}
	}
}

/* --------------------------------------------------------------------------
   About (home) — #about
   -------------------------------------------------------------------------- */
.hf-why {
	background: var(--hf-surface);
	padding-top: clamp(3.25rem, 6vw, 4.5rem);
	padding-bottom: clamp(3.25rem, 6vw, 4.5rem);
}

.hf-why__inner {
	max-width: var(--hf-max);
}

.hf-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
}

@media (max-width: 960px) {
	.hf-why__grid {
		grid-template-columns: 1fr;
	}
}

.hf-why__left {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.hf-why-stat-card {
	position: relative;
	border-radius: 22px;
	padding: clamp(1.35rem, 3vw, 1.85rem);
	background: linear-gradient(155deg, #020617 0%, #0f172a 38%, #0c4a6e 72%, #0369a1 100%);
	color: #f1f5f9;
	box-shadow:
		0 24px 50px rgba(2, 6, 23, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.hf-why-stat-card__top {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.1rem;
}

.hf-why-stat-card__logo {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--hf-blue);
	color: #fff;
	font-family: var(--hf-display);
	font-weight: 800;
	font-size: 1.2rem;
	display: grid;
	place-items: center;
	box-shadow: var(--hf-glow-blue);
}

.hf-why-stat-card__logo--image {
	padding: 0;
	overflow: hidden;
	background: #fff;
}

.hf-why-stat-card__logo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hf-why-stat-card__brandlines {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hf-why-stat-card__brand {
	font-family: var(--hf-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: #fff;
}

.hf-why-stat-card__est {
	font-size: 0.75rem;
	color: rgba(241, 245, 249, 0.65);
	font-weight: 500;
}

.hf-why-stat-card__headline {
	margin: 0 0 0.75rem;
	font-family: var(--hf-display);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #fff;
}

.hf-why-stat-card__body {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(241, 245, 249, 0.78);
}

.hf-why-stat-card__body p {
	margin: 0 0 0.65rem;
}

.hf-why-stat-card__body p:last-child {
	margin-bottom: 0;
}

.hf-why-stat-card__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem 0.65rem;
	margin-top: 1.35rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.hf-why-stat-card__stat {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	align-items: center;
}

.hf-why-stat-card__stat strong {
	font-family: var(--hf-display);
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	font-weight: 800;
	color: #fbbf24;
	line-height: 1.15;
}

.hf-why-stat-card__stat span {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(241, 245, 249, 0.72);
}

.hf-why-certs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.hf-why-cert {
	margin: 0;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: 14px;
	padding: 1rem 0.85rem;
	text-align: center;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hf-why-cert:hover {
	border-color: rgba(0, 89, 255, 0.2);
	box-shadow: 0 10px 28px rgba(0, 89, 255, 0.08);
}

.hf-why-cert__icon {
	display: flex;
	justify-content: center;
	margin-bottom: 0.55rem;
	color: #ca8a04;
}

.hf-why-cert__icon--lock {
	color: #0ea5e9;
}

.hf-why-cert__icon--bolt {
	color: #f59e0b;
}

.hf-why-cert__icon--globe {
	color: #10b981;
}

.hf-why-cert__title {
	margin: 0 0 0.35rem;
	font-family: var(--hf-display);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--hf-ink);
	line-height: 1.3;
}

.hf-why-cert__sub {
	margin: 0;
	font-size: 0.75rem;
	color: var(--hf-text-muted);
	line-height: 1.4;
}

.hf-why__right {
	min-width: 0;
}

.hf-why__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(249, 168, 37, 0.35);
	background: rgba(255, 249, 235, 0.95);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #d97706;
	font-family: var(--hf-display);
}

.hf-why__badge-ico {
	flex-shrink: 0;
	opacity: 0.9;
}

.hf-why__title {
	margin: 0 0 0.85rem;
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
}

.hf-why-title-accent,
.hf-why__title .hf-why-title-accent {
	color: var(--hf-orange);
}

.hf-why__intro {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-why__intro p {
	margin: 0 0 0.75rem;
}

.hf-why__intro p:last-child {
	margin-bottom: 0;
}

.hf-why-features {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hf-why-feature {
	position: relative;
	border-radius: 16px;
	padding: 1.1rem 1.2rem 1.15rem;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hf-why-feature:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.hf-why-feature--blue {
	background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
	border-color: #bfdbfe;
}

.hf-why-feature--blue .hf-why-feature__step {
	color: #2563eb;
}

.hf-why-feature--cream {
	background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
	border-color: #fde68a;
}

.hf-why-feature--cream .hf-why-feature__step {
	color: #d97706;
}

.hf-why-feature--purple {
	background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
	border-color: #ddd6fe;
}

.hf-why-feature--purple .hf-why-feature__step {
	color: #7c3aed;
}

.hf-why-feature__step {
	display: block;
	font-family: var(--hf-display);
	font-size: clamp(1.75rem, 3vw, 2.1rem);
	font-weight: 800;
	line-height: 1;
	margin-bottom: 0.45rem;
	letter-spacing: -0.03em;
}

.hf-why-feature__title {
	margin: 0 0 0.5rem;
	font-family: var(--hf-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--hf-ink);
}

.hf-why-feature__body {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #475569;
}

.hf-why-feature__body p {
	margin: 0 0 0.5rem;
}

.hf-why-feature__body p:last-child {
	margin-bottom: 0;
}

.hf-why__empty {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--hf-text-muted);
}

/* --------------------------------------------------------------------------
   Contact page (Contact — Hfinity template) — full-width band + centered content
   -------------------------------------------------------------------------- */
body.hfinity-contact #main-content.hf-contact-page {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.hf-contact-page__surface {
	width: 100%;
	background: linear-gradient(180deg, var(--hf-bg) 0%, #ffffff 42%);
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.hf-contact-page__container {
	position: relative;
}

.hf-cp-notice {
	margin: 0 0 1.5rem;
	padding: 0.85rem 1.1rem;
	border-radius: var(--hf-radius);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.hf-cp-notice--success {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #166534;
}

.hf-cp-notice--error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #991b1b;
}

.hf-cp-grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
}

@media (min-width: 960px) {
	.hf-cp-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 3rem 3.5rem;
	}
}

.hf-cp-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.85rem 0.4rem 0.55rem;
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
	border: 1px solid rgba(255, 165, 0, 0.35);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #c2410c;
}

.hf-cp-badge__icon {
	display: inline-flex;
	color: var(--hf-blue-soft);
}

.hf-cp-badge__icon svg {
	display: block;
}

.hf-cp-title {
	font-family: var(--hf-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.035em;
	color: var(--hf-ink);
	margin: 0 0 1rem;
}

.hf-cp-title .hf-cp-accent {
	color: var(--hf-orange);
}

.hf-cp-intro {
	margin: 0 0 2rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
	max-width: 36rem;
}

.hf-cp-cards {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.hf-cp-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.1rem 1.15rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	box-shadow: var(--hf-shadow);
}

.hf-cp-card__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: rgba(0, 89, 255, 0.08);
	color: var(--hf-blue);
}

.hf-cp-card__icon svg {
	display: block;
}

.hf-cp-card__body {
	min-width: 0;
	display: grid;
	gap: 0.2rem;
}

.hf-cp-card__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--hf-text-muted);
	text-transform: uppercase;
}

.hf-cp-card__value {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--hf-ink-soft);
	line-height: 1.45;
	text-decoration: none;
}

a.hf-cp-card__value:hover,
a.hf-cp-card__value:focus-visible {
	color: var(--hf-blue);
}

.hf-cp-follow {
	margin-top: 0.5rem;
}

.hf-cp-follow__title {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--hf-text-muted);
	margin: 0 0 0.75rem;
}

.hf-cp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-cp-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: rgba(0, 89, 255, 0.08);
	color: var(--hf-blue) !important;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
}

.hf-cp-social__link:hover,
.hf-cp-social__link:focus-visible {
	background: rgba(255, 165, 0, 0.2);
	color: var(--hf-orange) !important;
	transform: translateY(-2px);
}

.hf-cp-social__link svg {
	display: block;
}

.hf-cp-form-card {
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	box-shadow: var(--hf-shadow-lg);
}

.hf-cp-form-card__title {
	font-family: var(--hf-display);
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 700;
	color: var(--hf-ink);
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
}

.hf-cp-form-card__sub {
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	color: var(--hf-text-muted);
	line-height: 1.55;
}

.hf-cp-form {
	display: grid;
	gap: 1.15rem;
}

.hf-cp-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hf-cp-field {
	display: grid;
	gap: 0.35rem;
}

.hf-cp-field--services {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.hf-cp-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hf-ink-soft);
}

.hf-cp-field--services .hf-cp-label {
	padding: 0;
	margin-bottom: 0.35rem;
}

.hf-cp-input,
.hf-cp-textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--hf-text);
	background: #fff;
	border: 1px solid var(--hf-border);
	border-radius: 12px;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.hf-cp-input:focus,
.hf-cp-textarea:focus {
	outline: none;
	border-color: rgba(0, 89, 255, 0.45);
	box-shadow: 0 0 0 3px rgba(0, 89, 255, 0.12);
}

.hf-cp-textarea {
	resize: vertical;
	min-height: 8rem;
	line-height: 1.55;
}

.hf-cp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.hf-cp-pills--error {
	outline: 2px solid rgba(239, 68, 68, 0.55);
	outline-offset: 4px;
	border-radius: 12px;
}

.hf-cp-pill {
	position: relative;
	display: inline-flex;
	cursor: pointer;
	margin: 0;
}

.hf-cp-pill input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.hf-cp-pill__text {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--hf-ink-soft);
	background: #fff;
	border: 1px solid var(--hf-border);
	border-radius: 999px;
	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}

.hf-cp-pill:hover .hf-cp-pill__text {
	border-color: rgba(0, 89, 255, 0.35);
}

.hf-cp-pill input:focus-visible + .hf-cp-pill__text {
	outline: 2px solid var(--hf-blue);
	outline-offset: 2px;
}

.hf-cp-pill.is-checked .hf-cp-pill__text {
	background: rgba(255, 165, 0, 0.12);
	border-color: rgba(255, 165, 0, 0.65);
	color: var(--hf-ink);
	font-weight: 600;
}

.hf-cp-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	margin-top: 0.25rem;
	padding: 0.9rem 1.25rem;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--hf-orange) 0%, #ff8c00 100%);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: var(--hf-glow-orange);
	transition:
		transform 0.15s ease,
		filter 0.15s ease;
}

.hf-cp-submit:hover,
.hf-cp-submit:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hf-cp-submit:focus-visible {
	outline: 2px solid var(--hf-ink);
	outline-offset: 3px;
}

.hf-cp-submit__icon {
	display: inline-flex;
}

.hf-cp-submit__icon svg {
	display: block;
}

.hf-cp-privacy {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--hf-text-muted);
}

.hf-cp-privacy a {
	color: var(--hf-blue);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Contact page — communication grid + Book QA + Calendly deep dive
   -------------------------------------------------------------------------- */
.hf-contact-page__surface--booking {
	background: linear-gradient(180deg, #ffffff 0%, var(--hf-bg) 35%, #f1f5f9 100%);
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
	border-top: 1px solid var(--hf-border);
}

.hf-comm {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hf-comm__head {
	text-align: center;
	max-width: 46rem;
	margin: 0 auto 2.5rem;
}

.hf-comm__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	margin: 0 0 0.75rem;
}

.hf-comm__desc {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-comm__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.hf-comm__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.hf-comm__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

.hf-comm-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.35rem 1.25rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
	transition:
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.hf-comm-card:hover {
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
}

.hf-comm-card--rec {
	border-color: rgba(255, 165, 0, 0.65);
	box-shadow:
		0 4px 20px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(255, 165, 0, 0.25);
}

.hf-comm-card__ribbon {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	padding: 0.2rem 0.5rem;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, var(--hf-orange) 0%, #ea580c 100%);
	border-radius: 6px;
}

.hf-comm-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 10px;
	margin-bottom: 1rem;
	color: #fff;
}

.hf-comm-card--blue .hf-comm-card__icon {
	background: linear-gradient(145deg, #1d4ed8 0%, #0059ff 100%);
}

.hf-comm-card--green .hf-comm-card__icon {
	background: linear-gradient(145deg, #14532d 0%, #15803d 100%);
}

.hf-comm-card--purple .hf-comm-card__icon {
	background: linear-gradient(145deg, #6d28d9 0%, #7c3aed 100%);
}

.hf-comm-card--red .hf-comm-card__icon {
	background: linear-gradient(145deg, #b91c1c 0%, #dc2626 100%);
}

.hf-comm-card--teal .hf-comm-card__icon {
	background: linear-gradient(145deg, #0f766e 0%, #14b8a6 100%);
}

.hf-comm-card--mint .hf-comm-card__icon {
	background: linear-gradient(145deg, #059669 0%, #34d399 100%);
}

.hf-comm-card__icon svg {
	display: block;
}

.hf-comm-card__title {
	font-family: var(--hf-display);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--hf-ink);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.hf-comm-card__text {
	margin: 0 0 1.15rem;
	flex: 1;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
}

.hf-comm-card__btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.65rem 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	transition:
		filter 0.15s ease,
		transform 0.15s ease;
}

.hf-comm-card__btn:hover,
.hf-comm-card__btn:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.hf-comm-card__btn--disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.hf-comm-card--blue .hf-comm-card__btn {
	background: linear-gradient(135deg, #1d4ed8 0%, #0059ff 100%);
	box-shadow: 0 4px 14px rgba(0, 89, 255, 0.35);
}

.hf-comm-card--green .hf-comm-card__btn {
	background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
	box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.hf-comm-card--purple .hf-comm-card__btn {
	background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.hf-comm-card--red .hf-comm-card__btn {
	background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
	box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.hf-comm-card--teal .hf-comm-card__btn {
	background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
	box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.hf-comm-card--mint .hf-comm-card__btn {
	background: linear-gradient(135deg, #059669 0%, #10b981 100%);
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.hf-cp-book {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.5rem;
	padding: 0 0 0.5rem;
}

.hf-cp-book__title {
	font-family: var(--hf-display);
	font-size: clamp(1.45rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0 0 0.65rem;
	letter-spacing: -0.02em;
}

.hf-cp-book__desc {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-cp-deep {
	scroll-margin-top: calc(var(--hf-header-h) + 1rem);
	display: flex;
	justify-content: center;
	padding: 0 0 0.5rem;
}

.hf-cp-deep-card {
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.85rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid var(--hf-border);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.hf-cp-deep-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hf-blue);
	margin-bottom: 0.15rem;
}

.hf-cp-deep-card__icon svg {
	display: block;
}

.hf-cp-deep-card__title {
	font-family: var(--hf-display);
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.hf-cp-deep-card__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
	max-width: 22rem;
}

.hf-cp-deep-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 16rem;
	margin-top: 0.35rem;
	padding: 0.75rem 1.5rem;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, #1d4ed8 0%, var(--hf-blue) 100%);
	border-radius: 10px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 89, 255, 0.35);
	transition:
		filter 0.15s ease,
		transform 0.15s ease;
}

.hf-cp-deep-card__btn:hover,
.hf-cp-deep-card__btn:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hf-cp-deep-card__btn:focus-visible {
	outline: 2px solid var(--hf-ink);
	outline-offset: 3px;
}

.hf-cp-deep-card__hint {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--hf-text-muted);
	max-width: 22rem;
}

/* --------------------------------------------------------------------------
   Manual Testing page template
   -------------------------------------------------------------------------- */
.hf-mt-page {
	background: #fff;
}

.hf-mt-accent--script {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 600;
	color: var(--hf-orange);
}

.hf-mt-section {
	padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.hf-mt-banner {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
	background: linear-gradient(180deg, #ffffff 0%, var(--hf-bg) 100%);
}

.hf-mt-banner__inner {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.hf-mt-banner__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}
}

.hf-mt-banner__eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hf-text-muted);
	margin: 0 0 0.75rem;
}

.hf-mt-banner__title {
	font-family: var(--hf-display);
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--hf-ink);
	margin: 0 0 1rem;
}

.hf-mt-banner__desc {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
	margin: 0 0 1.5rem;
}

.hf-mt-banner__desc p {
	margin: 0 0 0.85rem;
}

.hf-mt-banner__desc p:last-child {
	margin-bottom: 0;
}

.hf-mt-banner__cta {
	margin-bottom: 1.75rem;
}

.hf-mt-banner__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	max-width: 28rem;
}

@media (max-width: 520px) {
	.hf-mt-banner__stats {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.hf-mt-banner__stat strong {
	display: block;
	font-family: var(--hf-display);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.2rem;
}

.hf-mt-banner__stat--blue strong {
	color: var(--hf-blue);
}

.hf-mt-banner__stat--orange strong {
	color: var(--hf-orange);
}

.hf-mt-banner__stat--coral strong {
	color: #ea580c;
}

.hf-mt-banner__stat--green strong {
	color: #15803d;
}

.hf-mt-banner__stat--purple strong {
	color: #7c3aed;
}

.hf-mt-banner__stat--red strong {
	color: #dc2626;
}

.hf-mt-banner__stat span {
	font-size: 0.8125rem;
	color: var(--hf-ink);
	line-height: 1.35;
}

.hf-mt-banner__visual {
	position: relative;
	border-radius: var(--hf-radius-lg);
	overflow: hidden;
	box-shadow: var(--hf-shadow-lg);
	background: var(--hf-bg);
}

.hf-mt-banner__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.hf-mt-banner__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 280px;
	padding: 2rem;
	text-align: center;
	color: var(--hf-text-muted);
	font-size: 0.875rem;
}

/* Services tabs */
.hf-mt-svc__head {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 2rem;
}

.hf-mt-svc__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.hf-mt-svc__sub {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--hf-text-muted);
	line-height: 1.65;
}

/* MT/AT: pill badge + title match home “Our Services” block */
.hf-mt-section-head.hf-services__head {
	max-width: 48rem;
}

.hf-mt-section-head .hf-services__title {
	margin-bottom: 0.75rem;
}

.hf-mt-tabs {
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	box-shadow: var(--hf-shadow);
	overflow: hidden;
}

.hf-mt-tabs__nav {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-bottom: 1px solid var(--hf-border);
	scrollbar-width: thin;
}

.hf-mt-tabs__btn {
	flex: 1 1 0;
	min-width: 9rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	padding: 1.1rem 0.65rem;
	margin: 0;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: var(--hf-text-muted);
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

.hf-mt-tabs__btn:hover,
.hf-mt-tabs__btn:focus-visible {
	color: var(--hf-blue);
	background: rgba(0, 89, 255, 0.04);
}

.hf-mt-tabs__btn.is-active {
	color: var(--hf-blue);
	background: rgba(0, 89, 255, 0.08);
	border-bottom-color: var(--hf-blue);
}

.hf-mt-tabs__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.hf-mt-tabs__ico svg {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.hf-mt-tabs__lbl {
	text-align: center;
	line-height: 1.3;
	font-size: 1em;
}

.hf-mt-tabs__panel {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.hf-mt-tabs__panel.is-hidden,
.hf-mt-tabs__panel[hidden] {
	display: none !important;
}

.hf-mt-tabs__grid {
	display: grid;
	gap: 1.75rem;
}

@media (min-width: 800px) {
	.hf-mt-tabs__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.hf-mt-tabs__intro {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.hf-mt-tabs__intro .hf-mt-tabs__bigico {
	margin-bottom: 0;
}

.hf-mt-tabs__intro-text {
	flex: 1;
	min-width: 0;
}

.hf-mt-tabs__left > .hf-mt-tabs__pdesc {
	margin-top: 0.85rem;
}

.hf-mt-tabs__bigico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 14px;
	background: rgba(0, 89, 255, 0.1);
	color: var(--hf-blue);
	margin-bottom: 1rem;
	flex-shrink: 0;
}

.hf-mt-tabs__bigico svg {
	width: 32px;
	height: 32px;
}

.hf-mt-tabs__ptitle {
	font-family: var(--hf-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--hf-ink);
	margin: 0 0 0.35rem;
}

.hf-mt-tabs__success {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--hf-orange);
}

.hf-mt-tabs__pdesc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--hf-text-muted);
}

.hf-mt-tabs__cover-title {
	font-weight: 700;
	font-size: 1rem;
	color: var(--hf-ink);
	margin: 0 0 0.75rem;
}

.hf-mt-tabs__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.hf-mt-tabs__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--hf-ink-soft);
}

.hf-mt-tabs__check {
	flex-shrink: 0;
	display: inline-flex;
	color: var(--hf-orange);
	margin-top: 0.1rem;
}

/* Process timeline */
.hf-mt-proc {
	background: var(--hf-bg);
}

.hf-mt-proc__head {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 2.5rem;
}

.hf-mt-proc__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0 0 0.65rem;
}

.hf-mt-proc__sub {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--hf-text-muted);
	line-height: 1.6;
}

.hf-mt-timeline {
	position: relative;
	padding: 0.5rem 0 1rem;
}

.hf-mt-timeline__line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, rgba(0, 89, 255, 0.35), rgba(0, 89, 255, 0.15));
	transform: translateX(-50%);
	pointer-events: none;
}

.hf-mt-timeline__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: relative;
	z-index: 1;
}

.hf-mt-timeline__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.75rem 1rem;
	align-items: start;
}

.hf-mt-timeline__spacer {
	min-height: 1px;
}

.hf-mt-timeline__node {
	width: 4rem;
	display: flex;
	justify-content: center;
	padding-top: 1.25rem;
}

.hf-mt-timeline__node span {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--hf-orange) 0 38%, var(--hf-blue) 38% 100%);
	box-shadow:
		0 0 0 3px rgba(0, 89, 255, 0.2),
		0 0 10px rgba(0, 89, 255, 0.28);
}

.hf-mt-stage-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	padding: 1.15rem 1.2rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
	max-width: 100%;
}

/* Horizontal connector: card edge → timeline node (gap 1rem + half of node column) */
.hf-mt-timeline__row--left .hf-mt-stage-card::after,
.hf-mt-timeline__row--right .hf-mt-stage-card::before {
	content: "";
	position: absolute;
	top: calc(1.25rem + 14px);
	width: calc(1rem + 2rem);
	height: 2px;
	background: linear-gradient(
		90deg,
		rgba(0, 89, 255, 0.2),
		rgba(0, 89, 255, 0.45) 40%,
		rgba(0, 89, 255, 0.45)
	);
	pointer-events: none;
	z-index: 0;
}

.hf-mt-timeline__row--left .hf-mt-stage-card::after {
	right: 0;
	transform: translate(100%, -50%);
}

.hf-mt-timeline__row--right .hf-mt-stage-card::before {
	left: 0;
	transform: translate(-100%, -50%);
	background: linear-gradient(
		270deg,
		rgba(0, 89, 255, 0.2),
		rgba(0, 89, 255, 0.45) 40%,
		rgba(0, 89, 255, 0.45)
	);
}

.hf-mt-timeline__row--left .hf-mt-stage-card {
	justify-self: end;
	width: 100%;
}

.hf-mt-timeline__row--right .hf-mt-stage-card {
	justify-self: start;
	width: 100%;
}

.hf-mt-stage-card__top {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
}

.hf-mt-stage-card__headline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	flex: 1;
	min-width: 0;
}

.hf-mt-stage-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 10px;
	background: rgba(0, 89, 255, 0.1);
	color: var(--hf-blue);
	flex-shrink: 0;
}

.hf-mt-stage-card__label {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--hf-orange);
	margin: 0;
	line-height: 1.2;
}

.hf-mt-stage-card__title {
	font-family: var(--hf-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
	color: var(--hf-ink);
	align-self: stretch;
	width: 100%;
	min-width: 0;
	line-height: 1.3;
}

.hf-mt-stage-card__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
}

@media (max-width: 767px) {
	.hf-mt-timeline__line {
		display: none;
	}

	.hf-mt-timeline__row {
		display: block;
	}

	.hf-mt-timeline__node,
	.hf-mt-timeline__spacer {
		display: none;
	}

	.hf-mt-timeline__row--left .hf-mt-stage-card::after,
	.hf-mt-timeline__row--right .hf-mt-stage-card::before {
		display: none;
	}

	.hf-mt-timeline__row--left .hf-mt-stage-card,
	.hf-mt-timeline__row--right .hf-mt-stage-card {
		width: 100%;
		margin: 0 0 1rem;
	}
}

/* Performance / Load Testing — banner (4 stats) & timeline pulse */
.hfinity-pl-page .hf-pl-banner__eyebrow,
.hfinity-td-page .hf-pl-banner__eyebrow,
.hfinity-td-page .hf-td-banner__eyebrow,
.hfinity-e2e-page .hf-pl-banner__eyebrow,
.hfinity-e2e-page .hf-e2e-banner__eyebrow,
.hfinity-aidt-page .hf-pl-banner__eyebrow,
.hfinity-aidt-page .hf-aidt-banner__eyebrow {
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 600;
	color: var(--hf-ink);
	font-size: 1rem;
}

.hf-pl-banner__stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 100%;
}

@media (max-width: 900px) {
	.hf-pl-banner__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@keyframes hf-timeline-node-pulse {
	0%,
	100% {
		box-shadow:
			0 0 0 4px rgba(0, 89, 255, 0.22),
			0 0 0 1px rgba(249, 168, 37, 0.45),
			0 0 12px rgba(0, 89, 255, 0.3);
		transform: scale(1);
		opacity: 1;
	}
	50% {
		box-shadow:
			0 0 0 8px rgba(0, 89, 255, 0.12),
			0 0 0 2px rgba(249, 168, 37, 0.52),
			0 0 18px rgba(0, 89, 255, 0.26);
		transform: scale(1.03);
		opacity: 1;
	}
}

.hf-mt-timeline__node--pulse span {
	animation: hf-timeline-node-pulse 2s ease-in-out infinite;
	will-change: box-shadow, transform;
}

@media (prefers-reduced-motion: reduce) {
	.hf-mt-timeline__node--pulse span {
		animation: none;
		transform: none;
	}
}

/* Test Documentation — many tabs: match other services as closely as layout allows */
.hf-td-tabs__nav .hf-mt-tabs__btn {
	min-width: 5.75rem;
	font-size: 0.875rem;
	padding: 1rem 0.35rem;
	gap: 0.5rem;
}

.hf-td-tabs__nav .hf-mt-tabs__ico svg {
	width: 28px;
	height: 28px;
}

@media (min-width: 1100px) {
	.hf-td-tabs__nav .hf-mt-tabs__btn {
		min-width: 6.5rem;
		font-size: 0.9375rem;
	}

	.hf-td-tabs__nav .hf-mt-tabs__ico svg {
		width: 30px;
		height: 30px;
	}
}

/* Tools cards */
.hf-mt-tools__head {
	text-align: center;
	max-width: 52rem;
	margin: 0 auto 2.25rem;
}

.hf-mt-tools__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.hf-mt-tools__sub {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--hf-text-muted);
	line-height: 1.65;
}

.hf-mt-tools__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 900px) {
	.hf-mt-tools__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hf-mt-tool-card {
	background: var(--hf-surface);
	border-radius: var(--hf-radius);
	border: 1px solid var(--hf-border);
	overflow: hidden;
	box-shadow: var(--hf-shadow);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.hf-mt-tool-card__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	background: linear-gradient(135deg, #1d4ed8 0%, var(--hf-blue) 100%);
	color: #fff;
}

.hf-mt-tool-card__head-ico {
	display: inline-flex;
	opacity: 0.95;
}

.hf-mt-tool-card__head-title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hf-mt-tool-card__body {
	padding: 1.1rem 1.1rem 1.25rem;
	flex: 1;
}

.hf-mt-tool-card__intro {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
}

.hf-mt-tool-card__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.hf-mt-tool-card__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--hf-ink-soft);
}

.hf-mt-tool-card__dot {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: rgba(255, 165, 0, 0.2);
	color: var(--hf-orange);
}

/* Why grid */
.hf-mt-why__head {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 2rem;
}

.hf-mt-why__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.1rem);
	font-weight: 800;
	color: var(--hf-ink);
	margin: 0 0 0.85rem;
	line-height: 1.2;
}

.hf-mt-why__intro {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--hf-text-muted);
}

.hf-mt-why__grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.hf-mt-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.hf-mt-why__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hf-mt-why-card {
	border-radius: var(--hf-radius);
	padding: 1.35rem 1.15rem;
	text-align: center;
	border: 1px solid var(--hf-border);
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.hf-mt-why-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 12px;
	margin: 0 auto 1rem;
	color: #fff;
}

.hf-mt-why-card__title {
	font-family: var(--hf-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--hf-ink);
}

.hf-mt-why-card__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
}

.hf-mt-why-card--blue {
	background: #f0f7ff;
}

.hf-mt-why-card--blue .hf-mt-why-card__icon {
	background: #0061ff;
}

.hf-mt-why-card--purple {
	background: #faf5ff;
}

.hf-mt-why-card--purple .hf-mt-why-card__icon {
	background: #7c3aed;
}

.hf-mt-why-card--orange {
	background: #fff7ed;
}

.hf-mt-why-card--orange .hf-mt-why-card__icon {
	background: var(--hf-orange);
}

.hf-mt-why-card--green {
	background: #f0fdf4;
}

.hf-mt-why-card--green .hf-mt-why-card__icon {
	background: #15803d;
}

.hf-mt-why-card--indigo {
	background: #eef2ff;
}

.hf-mt-why-card--indigo .hf-mt-why-card__icon {
	background: #4338ca;
}

.hf-mt-why-card--teal {
	background: #f0fdfa;
}

.hf-mt-why-card--teal .hf-mt-why-card__icon {
	background: #0d9488;
}

/* --------------------------------------------------------------------------
   Automation Testing page template
   -------------------------------------------------------------------------- */
.hf-at-page {
	background: #fff;
}

.hf-at-banner__title .hf-at-title-em {
	color: var(--hf-blue);
	font-weight: 800;
}

.hf-at-banner__stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: none;
	gap: 0.85rem 1rem;
}

@media (max-width: 900px) {
	.hf-at-banner__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.hf-at-banner__stats {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.hf-at-tabs .hf-mt-tabs__panel {
	padding: 1.25rem 1.15rem 1.5rem;
}

.hf-at-tabs__cols {
	display: grid;
	gap: 1.5rem 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	.hf-at-tabs__cols {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.hf-at-tabs__headrow {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem 1rem;
	margin-bottom: 0.35rem;
}

.hf-at-tabs__bigico {
	width: 3rem;
	height: 3rem;
	margin-bottom: 0;
	border-radius: 10px;
	background: rgba(0, 97, 255, 0.08);
}

.hf-at-tabs__bigico svg {
	width: 26px;
	height: 26px;
}

.hf-at-tabs__headtext {
	min-width: 0;
}

.hf-at-tabs__headtext .hf-mt-tabs__ptitle {
	margin: 0 0 0.25rem;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.hf-at-tabs__intro {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

.hf-at-block + .hf-at-block {
	margin-top: 1.15rem;
}

.hf-at-block__title {
	font-family: var(--hf-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--hf-ink);
}

.hf-at-block__desc {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	color: var(--hf-text-muted);
	line-height: 1.5;
}

.hf-at-block--tech {
	margin-top: 1.15rem;
	padding-top: 1rem;
	border-top: 1px solid var(--hf-border);
}

/* --------------------------------------------------------------------------
   Our Team page
   -------------------------------------------------------------------------- */
.hf-ot-page {
	background: var(--hf-bg);
}

.hf-ot-banner {
	position: relative;
	display: flex;
	align-items: center;
	background-color: #0a1628;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.hf-ot-banner__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	pointer-events: none;
}

.hf-ot-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	text-align: center;
}

.hf-ot-banner__title {
	font-family: var(--hf-display);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 0.75rem;
	line-height: 1.15;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hf-ot-banner__subtitle {
	margin: 0 auto;
	max-width: 42rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.55;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hf-ot-team {
	padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
	background: linear-gradient(180deg, #020617 0%, #0a1628 45%, #0f172a 100%);
	color: #fff;
}

.hf-ot-team__head {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto 2.75rem;
}

.hf-ot-team__badge {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hf-orange);
	margin: 0 0 0.75rem;
}

.hf-ot-team__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 1rem;
	color: #fff;
}

.hf-ot-team__title .hf-ot-title-blue {
	color: var(--hf-blue-soft);
}

.hf-ot-team__title .hf-ot-title-orange {
	color: var(--hf-orange);
}

.hf-ot-team__desc {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(226, 232, 240, 0.82);
}

.hf-ot-team__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 1100px) {
	.hf-ot-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.hf-ot-team__grid {
		grid-template-columns: 1fr;
	}
}

.hf-ot-team__cell {
	min-width: 0;
}

.hf-ot-team__empty {
	text-align: center;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

.hf-team-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--hf-radius);
	overflow: hidden;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hf-team-card__top {
	position: relative;
}

.hf-team-card__flip {
	perspective: 1200px;
}

.hf-team-card__flip[data-hf-team-no-flip] {
	perspective: none;
}

.hf-team-card__flip-inner {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
	transform-style: preserve-3d;
	transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.hf-team-card.is-flipped .hf-team-card__flip-inner {
	transform: rotateY(180deg);
}

.hf-team-card__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
	background: #0f172a;
}

.hf-team-card__face--back {
	transform: rotateY(180deg);
	display: flex;
	align-items: flex-start;
}

.hf-team-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hf-team-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.25);
	background: linear-gradient(145deg, #1e293b, #0f172a);
}

.hf-team-card__bio {
	padding: 1rem 1.1rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(248, 250, 252, 0.92);
	overflow: auto;
	max-height: 100%;
}

.hf-team-card__bio p {
	margin: 0 0 0.65rem;
}

.hf-team-card__bio p:last-child {
	margin-bottom: 0;
}

.hf-team-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.1rem 1.15rem;
	background: #000;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hf-team-card__name {
	font-family: var(--hf-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: #fff;
}

.hf-team-card__role {
	margin: 0 0 0.85rem;
	font-size: 0.875rem;
	color: rgba(226, 232, 240, 0.75);
	line-height: 1.4;
}

.hf-team-card__actions {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.hf-team-card__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.hf-team-card__icon-btn:hover,
.hf-team-card__icon-btn:focus-visible {
	background: #0a66c2;
	border-color: #0a66c2;
	color: #fff;
	transform: translateY(-1px);
}

.hf-team-card__icon-spacer {
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
}

.hf-team-card__bio-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
	padding: 0.35rem 0.5rem;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.hf-team-card__bio-toggle:hover,
.hf-team-card__bio-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	outline: none;
}

.hf-team-card__bio-label {
	white-space: nowrap;
}

.hf-team-card__svg {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.hf-team-card__flip-inner {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   About Us page
   -------------------------------------------------------------------------- */
.hf-au-page {
	background: var(--hf-bg);
}

.hf-au-banner {
	position: relative;
	display: flex;
	align-items: center;
	background-color: #0c1929;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hf-au-banner__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	pointer-events: none;
}

.hf-au-banner__accent {
	position: absolute;
	width: min(28vw, 220px);
	height: 48px;
	background: var(--hf-orange);
	opacity: 0.92;
	z-index: 1;
	pointer-events: none;
}

.hf-au-banner__accent--tl {
	top: 18%;
	left: -40px;
	transform: skewX(-28deg);
}

.hf-au-banner__accent--br {
	bottom: 12%;
	right: -50px;
	transform: skewX(-28deg);
}

.hf-au-banner__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
	max-width: min(100%, 42rem);
	text-align: left;
}

.hf-au-banner__title {
	font-family: var(--hf-display);
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 1rem;
	line-height: 1.2;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hf-au-banner__desc {
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 1.5rem;
}

.hf-au-banner__desc p {
	margin: 0 0 0.75rem;
}

.hf-au-banner .hf-mt-banner__cta {
	margin-bottom: 0;
}

.hf-au-about {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.hf-au-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

@media (max-width: 900px) {
	.hf-au-about__grid {
		grid-template-columns: 1fr;
	}
}

.hf-au-about__visual {
	position: relative;
	min-height: 280px;
}

.hf-au-about__frame {
	position: relative;
	border-radius: var(--hf-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
	z-index: 1;
}

.hf-au-about__img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.hf-au-about__placeholder {
	display: grid;
	place-items: center;
	min-height: 320px;
	background: linear-gradient(145deg, #e2e8f0, #f8fafc);
	color: var(--hf-text-muted);
}

.hf-au-about__deco {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.hf-au-about__deco--tri {
	top: -8px;
	left: -8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 48px 48px 0;
	border-color: transparent #fb923c transparent transparent;
	opacity: 0.95;
}

.hf-au-about__deco--dots {
	top: 12%;
	right: 4%;
	width: 72px;
	height: 72px;
	background: radial-gradient(circle, rgba(100, 116, 139, 0.35) 1.5px, transparent 1.6px);
	background-size: 10px 10px;
	opacity: 0.8;
}

.hf-au-about__deco--waves {
	bottom: 18%;
	right: -12px;
	width: 80px;
	height: 100px;
	border: 2px solid rgba(255, 165, 0, 0.45);
	border-radius: 40% 60% 50% 40%;
	transform: rotate(-8deg);
	opacity: 0.7;
}

.hf-au-about__deco--stripe {
	bottom: -6px;
	left: 12%;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: repeating-linear-gradient(
		-45deg,
		rgba(251, 146, 60, 0.35),
		rgba(251, 146, 60, 0.35) 4px,
		transparent 4px,
		transparent 8px
	);
	opacity: 0.85;
}

/* Left column: match testimonials section typography (.hf-services__*) */
.hf-au-about__copy .hf-services__head {
	text-align: left;
	margin: 0;
	max-width: none;
}

.hf-au-about__copy .hf-services__badge {
	margin-left: 0;
}

.hf-au-about__sub p {
	margin: 0 0 1rem;
}

.hf-au-about__sub p:last-child {
	margin-bottom: 0;
}

.hf-au-values {
	padding: clamp(2.75rem, 5vw, 4rem) 0;
	background: #f1f5f9;
}

.hf-au-values__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (max-width: 700px) {
	.hf-au-values__grid {
		grid-template-columns: 1fr;
	}
}

.hf-au-value-card {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 58%);
	background: #fff;
	border-radius: var(--hf-radius);
	overflow: hidden;
	border: 1px solid var(--hf-border);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
	min-height: 200px;
}

@media (max-width: 520px) {
	.hf-au-value-card {
		grid-template-columns: 1fr;
	}
}

.hf-au-value-card__media {
	min-height: 180px;
	background: #e2e8f0;
	overflow: hidden;
}

.hf-au-value-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 180px;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	transform: translate3d(0, 0, 0);
}

.hf-au-value-card__media:hover .hf-au-value-card__img,
.hf-au-value-card__media:focus-within .hf-au-value-card__img {
	transform: translate3d(0, -10px, 0);
}

@media (prefers-reduced-motion: reduce) {
	.hf-au-value-card__img {
		transition: none;
	}

	.hf-au-value-card__media:hover .hf-au-value-card__img,
	.hf-au-value-card__media:focus-within .hf-au-value-card__img {
		transform: none;
	}
}

.hf-au-value-card__ph {
	min-height: 180px;
	background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.hf-au-value-card__body {
	position: relative;
	padding: 1.35rem 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hf-au-value-card__num {
	position: absolute;
	bottom: 0.5rem;
	left: 0.75rem;
	font-family: var(--hf-display);
	font-size: clamp(3rem, 8vw, 4.5rem);
	font-weight: 800;
	line-height: 1;
	color: rgba(15, 23, 42, 0.06);
	pointer-events: none;
}

.hf-au-value-card__name {
	position: relative;
	font-family: var(--hf-display);
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--hf-ink);
}

.hf-au-value-card__text {
	position: relative;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
}

.hf-au-stats {
	padding: clamp(2.5rem, 4vw, 3.5rem) 0;
	background: #fff;
}

.hf-au-stats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	text-align: center;
}

@media (max-width: 900px) {
	.hf-au-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.hf-au-stats__grid {
		grid-template-columns: 1fr;
	}
}

.hf-au-stats__dots {
	display: block;
	width: 48px;
	height: 36px;
	margin: 0 auto 0.75rem;
	background: radial-gradient(circle, rgba(148, 163, 184, 0.45) 2px, transparent 2.5px);
	background-size: 10px 10px;
	opacity: 0.85;
}

.hf-au-stats__value {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0 0 0.35rem;
	font-family: var(--hf-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--hf-ink);
}

.hf-au-stats__plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	background: var(--hf-orange);
	color: #fff;
	border-radius: 4px;
	line-height: 1;
}

.hf-au-stats__label {
	margin: 0;
	font-size: 0.875rem;
	color: var(--hf-text-muted);
	line-height: 1.4;
}

.hf-au-exp {
	padding: 0;
}

.hf-au-exp__strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: min(420px, 70vh);
}

@media (max-width: 900px) {
	.hf-au-exp__strip {
		grid-template-columns: 1fr;
	}
}

.hf-au-exp__left {
	position: relative;
	background: linear-gradient(145deg, var(--hf-blue-dark) 0%, var(--hf-blue) 52%, #063a99 100%);
	color: #fff;
	overflow: hidden;
}

.hf-au-exp__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0, 89, 255, 0.12) 0%, transparent 50%);
	pointer-events: none;
}

.hf-au-exp__left-inner {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 5vw, 3.5rem);
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hf-au-exp__title {
	font-family: var(--hf-display);
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	font-weight: 800;
	margin: 0 0 1rem;
	line-height: 1.25;
}

.hf-au-exp__desc {
	margin: 0 0 1.75rem;
	font-size: 0.975rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 36rem;
}

.hf-au-exp__charts {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.hf-au-donut {
	--p: 0;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	padding: 14px;
	box-sizing: border-box;
	background: conic-gradient(var(--hf-orange) calc(var(--p) * 1%), rgba(255, 255, 255, 0.2) 0);
	flex-shrink: 0;
}

.hf-au-donut__inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--hf-blue-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.5rem;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hf-au-donut__pct {
	font-family: var(--hf-display);
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.hf-au-donut__lbl {
	font-size: 0.65rem;
	font-weight: 600;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.88);
	margin-top: 0.25rem;
	max-width: 7rem;
}

.hf-au-exp__right {
	position: relative;
	background: #e2e8f0;
	min-height: 280px;
}

.hf-au-exp__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 280px;
}

.hf-au-exp__ph {
	min-height: 280px;
	background: linear-gradient(135deg, #cbd5e1, #f1f5f9);
}

.hf-au-exp__squiggle {
	position: absolute;
	top: 10%;
	right: 6%;
	width: 40px;
	height: 120px;
	border: 2px solid rgba(239, 68, 68, 0.45);
	border-radius: 50%;
	transform: rotate(12deg);
	pointer-events: none;
	opacity: 0.7;
}

.hf-au-eng {
	position: relative;
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
	overflow: hidden;
}

.hf-au-eng__bg {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image: linear-gradient(135deg, transparent 40%, rgba(0, 89, 255, 0.04) 100%),
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 24px,
			rgba(148, 163, 184, 0.06) 24px,
			rgba(148, 163, 184, 0.06) 25px
		);
	pointer-events: none;
}

.hf-au-eng .hf-container {
	position: relative;
	z-index: 1;
}

.hf-au-eng__head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	column-gap: 2rem;
	row-gap: 0.65rem;
	align-items: start;
	margin-bottom: 2.5rem;
}

.hf-au-eng__head--with-badge .hf-au-eng__badge {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	margin-bottom: 0.35rem;
}

.hf-au-eng__head--with-badge .hf-au-eng__title {
	grid-column: 1;
	grid-row: 2;
}

.hf-au-eng__head--with-badge .hf-au-eng__intro {
	grid-column: 2;
	grid-row: 2;
}

.hf-au-eng__head:not(.hf-au-eng__head--with-badge) .hf-au-eng__title {
	grid-column: 1;
	grid-row: 1;
}

.hf-au-eng__head:not(.hf-au-eng__head--with-badge) .hf-au-eng__intro {
	grid-column: 2;
	grid-row: 1;
}

.hf-au-eng__title {
	text-align: left;
	max-width: 22rem;
	margin-bottom: 0;
}

.hf-au-eng__intro {
	text-align: left;
}

@media (max-width: 800px) {
	.hf-au-eng__head {
		grid-template-columns: 1fr;
	}

	.hf-au-eng__head .hf-services__badge,
	.hf-au-eng__head .hf-au-eng__title,
	.hf-au-eng__head .hf-au-eng__intro {
		grid-column: 1;
		grid-row: auto;
	}
}

.hf-au-eng__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 640px) {
	.hf-au-eng__grid {
		grid-template-columns: 1fr;
	}
}

.hf-au-eng-card {
	position: relative;
	border-radius: var(--hf-radius);
	border: 1px solid var(--hf-border);
	background: #fff;
	overflow: hidden;
	min-height: 200px;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.hf-au-eng-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--hf-au-eng-hover, none);
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.hf-au-eng-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.58);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
	pointer-events: none;
}

.hf-au-eng-card--has-hover:hover::before,
.hf-au-eng-card--has-hover:focus-within::before {
	opacity: 1;
}

.hf-au-eng-card--has-hover:hover::after,
.hf-au-eng-card--has-hover:focus-within::after {
	opacity: 1;
}

.hf-au-eng-card__inner {
	position: relative;
	z-index: 1;
	padding: 1.5rem 1.35rem 1.65rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: color 0.35s ease;
}

.hf-au-eng-card__ico {
	color: var(--hf-blue);
	margin-bottom: 0.85rem;
	transition: color 0.35s ease;
}

.hf-au-eng-card__name {
	font-family: var(--hf-display);
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--hf-ink);
	transition: color 0.35s ease;
}

.hf-au-eng-card__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
	flex: 1;
	transition: color 0.35s ease;
}

.hf-au-eng-card--has-hover:hover .hf-au-eng-card__ico,
.hf-au-eng-card--has-hover:focus-within .hf-au-eng-card__ico {
	color: var(--hf-orange);
}

.hf-au-eng-card--has-hover:hover .hf-au-eng-card__name,
.hf-au-eng-card--has-hover:focus-within .hf-au-eng-card__name {
	color: var(--hf-blue-soft);
}

.hf-au-eng-card--has-hover:hover .hf-au-eng-card__text,
.hf-au-eng-card--has-hover:focus-within .hf-au-eng-card__text {
	color: rgba(255, 255, 255, 0.92);
}

.hf-au-eng-card:not(.hf-au-eng-card--has-hover):hover {
	border-color: rgba(0, 89, 255, 0.25);
	box-shadow: 0 12px 36px rgba(0, 89, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Case studies archive (/case-studies/)
   -------------------------------------------------------------------------- */
.hf-csa-list {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
	background: var(--hf-bg);
}

.hf-csa-list__head {
	margin-bottom: 2rem;
}

.hf-csa-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 2.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hf-border);
}

.hf-csa-filters__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.15rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	font-family: var(--hf-display);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--hf-text-muted);
	background: #fff;
	border: 1px solid var(--hf-border);
	transition:
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.hf-csa-filters__btn:hover,
.hf-csa-filters__btn:focus-visible {
	color: var(--hf-orange);
	border-color: rgba(255, 165, 0, 0.45);
	background: rgba(255, 165, 0, 0.08);
	box-shadow: 0 4px 16px rgba(255, 165, 0, 0.12);
}

.hf-csa-filters__btn.is-active {
	color: #fff;
	background: var(--hf-orange);
	border-color: var(--hf-orange);
	box-shadow: var(--hf-glow-orange);
}

.hf-csa-filters__btn.is-active:hover {
	color: #fff;
}

.hf-csa-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 900px) {
	.hf-csa-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.hf-csa-card {
	background: #fff;
	border-radius: var(--hf-radius);
	overflow: hidden;
	border: 1px solid var(--hf-border);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hf-csa-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 20px 48px rgba(0, 71, 204, 0.12);
	}
}

.hf-csa-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #e0e7ff, #f1f5f9);
}

.hf-csa-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hf-csa-card:hover .hf-csa-card__img {
	transform: scale(1.04);
}

.hf-csa-card__placeholder {
	width: 100%;
	height: 100%;
	min-height: 10rem;
	background: radial-gradient(circle at 30% 30%, rgba(0, 89, 255, 0.12), transparent 55%),
		linear-gradient(160deg, #e2e8f0, #f8fafc);
}

.hf-csa-card__body {
	padding: 1.25rem 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.5rem;
}

.hf-csa-card__title {
	font-family: var(--hf-display);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}

.hf-csa-card__title a {
	color: var(--hf-ink);
	text-decoration: none;
}

.hf-csa-card__title a:hover {
	color: var(--hf-blue);
}

.hf-csa-card__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--hf-text-muted);
	flex: 1;
}

.hf-csa-card__btn {
	align-self: flex-start;
	margin-top: 0.35rem;
	border-radius: 10px;
	font-size: 0.9rem;
}

.hf-csa-empty {
	text-align: center;
	color: var(--hf-text-muted);
	padding: 2rem 0;
}

.hf-csa-pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.hf-csa-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hf-csa-pagination .page-numbers li {
	margin: 0;
}

.hf-csa-pagination .page-numbers a,
.hf-csa-pagination .page-numbers span {
	display: inline-flex;
	min-width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	padding: 0 0.65rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border: 1px solid var(--hf-border);
	background: #fff;
	color: var(--hf-ink);
}

.hf-csa-pagination .page-numbers a:hover {
	border-color: var(--hf-orange);
	color: var(--hf-orange);
}

.hf-csa-pagination .page-numbers .current {
	background: var(--hf-blue);
	color: #fff;
	border-color: var(--hf-blue);
}

/* --------------------------------------------------------------------------
   Single case study
   -------------------------------------------------------------------------- */
.hf-csd-hero {
	position: relative;
	padding: clamp(4rem, 12vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
	color: #fff;
	background: linear-gradient(135deg, var(--hf-blue-dark) 0%, var(--hf-blue) 55%, #063a99 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hf-csd-hero--has-image {
	background-image: linear-gradient(120deg, rgba(4, 13, 26, 0.9), rgba(0, 70, 204, 0.78)), var(--hf-csd-hero-image);
}

.hf-csd-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
	mix-blend-mode: screen;
	opacity: 0.5;
}

.hf-csd-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
}

.hf-csd-hero__kicker {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 0.75rem;
}

.hf-csd-hero__title {
	font-family: var(--hf-display);
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: -0.03em;
}

.hf-csd-hero__sub {
	font-size: 1.1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 1.75rem;
}

.hf-csd-hero__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem 1.5rem;
	margin: 0;
}

.hf-csd-hero__meta-item dt {
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 0.35rem;
}

.hf-csd-hero__meta-item dd {
	margin: 0;
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
}

.hf-csd-wrap {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 5.5rem);
	background: var(--hf-bg);
}

.hf-csd-wrap__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 3vw, 2rem);
}

.hf-csd-card {
	background: #fff;
	border-radius: var(--hf-radius-lg);
	border: 1px solid var(--hf-border);
	box-shadow: var(--hf-shadow);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.hf-csd-card__title {
	font-family: var(--hf-display);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 800;
	margin: 0 0 1.25rem;
	color: var(--hf-ink);
}

.hf-csd-card__grid--3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}

.hf-csd-kv__label {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hf-text-muted);
	margin: 0 0 0.5rem;
}

.hf-csd-kv__val {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.6;
	color: var(--hf-text);
}

.hf-csd-prose {
	font-size: 0.975rem;
	line-height: 1.7;
	color: var(--hf-text);
}

.hf-csd-prose p {
	margin: 0 0 1rem;
}

.hf-csd-prose p:last-child {
	margin-bottom: 0;
}

.hf-csd-prose ul {
	margin: 0 0 1rem 1.1rem;
	padding: 0;
}

.hf-csd-card--metrics {
	border-color: rgba(0, 89, 255, 0.2);
	box-shadow: 0 12px 40px rgba(0, 89, 255, 0.08);
}

.hf-csd-metrics .hf-csd-prose strong {
	color: var(--hf-blue);
}

.hf-csd-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	counter-reset: hfcsd;
}

.hf-csd-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 1.25rem;
	padding: 1.25rem 0 1.25rem 0.25rem;
	border-left: 2px solid rgba(0, 89, 255, 0.2);
	margin-left: 1.25rem;
	padding-left: 1.5rem;
}

.hf-csd-timeline__item:last-child {
	border-left-color: transparent;
}

.hf-csd-timeline__badge {
	position: absolute;
	left: -0.85rem;
	top: 1.35rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--hf-orange);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	display: grid;
	place-items: center;
	box-shadow: var(--hf-glow-orange);
}

.hf-csd-timeline__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--hf-ink);
}

.hf-csd-timeline__text {
	margin: 0;
	font-size: 0.925rem;
	color: var(--hf-text-muted);
	line-height: 1.55;
}

.hf-csd-visual {
	margin: 0;
	width: 100%;
	max-width: 100%;
	align-self: stretch;
	border-radius: var(--hf-radius-lg);
	overflow: hidden;
	border: 1px solid var(--hf-border);
	background: #fff;
	box-shadow: var(--hf-shadow);
}

.hf-csd-visual__img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.hf-csd-cta-block {
	background: linear-gradient(135deg, var(--hf-blue-dark), var(--hf-blue));
	border-radius: var(--hf-radius-lg);
	padding: clamp(2rem, 5vw, 3rem);
	text-align: center;
	color: #fff;
	box-shadow: var(--hf-glow-blue);
}

.hf-csd-cta-block__title {
	font-family: var(--hf-display);
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 800;
	margin: 0 0 1.25rem;
	line-height: 1.2;
}

.hf-csd-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	transform: translateY(110%);
	opacity: 0;
	visibility: hidden;
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.3s ease,
		visibility 0.3s ease;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--hf-border);
	box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.1);
	padding: 0.85rem 0;
}

.hf-csd-sticky.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.hf-csd-sticky__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.hf-csd-sticky__title {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--hf-ink);
	max-width: min(100%, 28rem);
}

@media (max-width: 600px) {
	.hf-csd-sticky__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}

/* --------------------------------------------------------------------------
   Bug Finder AI — marketing page (template: bug-finder-ai-hfinity.php)
   -------------------------------------------------------------------------- */
.hf-bf-marketing {
	font-family: var(--hf-body, 'Inter', system-ui, sans-serif);
	color: var(--hf-ink);
}

.hf-bf-marketing .hf-section {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* —— Banner —— */
.bf-banner {
	position: relative;
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
	background: linear-gradient(180deg, #f8fbff 0%, #fff 55%, #f4f7fc 100%);
}

.bf-banner__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 89, 255, 0.08), transparent 55%),
		radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 165, 0, 0.12), transparent 50%);
	pointer-events: none;
}

.bf-banner__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.bf-banner__title {
	font-family: var(--hf-display, 'Poppins', sans-serif);
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0 0 1rem;
	color: var(--hf-ink);
}

.bf-banner__desc {
	font-size: clamp(1rem, 1.35vw, 1.1rem);
	line-height: 1.65;
	color: var(--hf-ink-soft);
	margin: 0 0 1.5rem;
	max-width: 36rem;
}

.bf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.85rem 1.65rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.bf-btn--primary {
	background: linear-gradient(135deg, #ff6b00, #ff8c1a);
	color: #fff;
	box-shadow: 0 10px 28px rgba(255, 107, 0, 0.35);
}

.bf-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(255, 107, 0, 0.45);
	color: #fff;
}

.bf-btn--dark {
	background: #0a0f1a;
	color: #fff;
}

.bf-btn--dark:hover {
	background: #1a2233;
	color: #fff;
}

.bf-btn--gradient {
	background: linear-gradient(90deg, #fdb08b, #f35b7a);
	color: #fff;
	box-shadow: 0 8px 24px rgba(243, 91, 122, 0.3);
}

.bf-btn--gradient:hover {
	color: #fff;
	transform: translateY(-2px);
}

.bf-banner__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.25rem;
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.bf-banner__stat strong {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--hf-ink);
}

.bf-banner__stat span {
	font-size: 0.85rem;
	color: var(--hf-ink-soft);
}

.bf-banner__video {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #0a0f1a;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.bf-banner__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bf-banner__video--placeholder {
	background: linear-gradient(145deg, #1a2233, #0a0f1a);
	min-height: 220px;
}

@media (max-width: 900px) {
	.bf-banner__grid {
		grid-template-columns: 1fr;
	}
}

/* —— Everything in one place —— */
.bf-eop {
	background: #f6f8fc;
}

.bf-eop__head {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 2.75rem;
}

.bf-eop__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 107, 0, 0.12);
	color: #c2410c;
	font-size: 0.8rem;
	font-weight: 600;
}

.bf-eop__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.bf-eop__desc {
	margin: 0;
	color: var(--hf-ink-soft);
	line-height: 1.6;
}

.bf-eop__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.bf-eop-card {
	background: #fff;
	border-radius: 20px;
	padding: 1.5rem 1.35rem;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.bf-eop-card__icon {
	display: flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(0, 89, 255, 0.08), rgba(255, 165, 0, 0.1));
	color: var(--hf-ink);
	margin-bottom: 1rem;
}

.bf-eop-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.bf-eop-card__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--hf-ink-soft);
}

@media (max-width: 1024px) {
	.bf-eop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* —— Pricing —— */
.bf-pricing__head {
	text-align: center;
	max-width: 44rem;
	margin: 0 auto 2.5rem;
}

.bf-pricing__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.bf-pricing__desc {
	margin: 0 0 1.75rem;
	color: var(--hf-ink-soft);
	line-height: 1.6;
}

.bf-pricing__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0.25rem;
	border-radius: 999px;
	background: #eef2f8;
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.bf-pricing__toggle-btn {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0.55rem 1.15rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 999px;
	cursor: pointer;
	color: var(--hf-ink-soft);
	transition: background 0.2s ease, color 0.2s ease;
}

.bf-pricing__toggle-btn.is-active {
	background: #fff;
	color: var(--hf-ink);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.bf-pricing__discount {
	display: inline-block;
	margin-left: 0.25rem;
	padding: 0.1rem 0.45rem;
	border-radius: 6px;
	background: rgba(255, 107, 0, 0.15);
	color: #c2410c;
	font-size: 0.75rem;
	font-weight: 700;
}

.bf-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.bf-plan {
	position: relative;
	background: #fff;
	border-radius: 22px;
	padding: 1.75rem 1.5rem 2rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
	display: flex;
	flex-direction: column;
}

.bf-plan--popular {
	border-color: #ff6b00;
	box-shadow:
		0 20px 50px rgba(255, 107, 0, 0.18),
		0 0 0 1px rgba(255, 107, 0, 0.25);
	padding-top: 2.5rem;
}

.bf-plan__ribbon {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff6b00, #ff8c1a);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
}

.bf-plan__name {
	font-size: 1.2rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
}

.bf-plan__tag {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--hf-ink-soft);
}

.bf-plan__price-row {
	margin: 0 0 1.25rem;
	font-size: clamp(1.75rem, 3vw, 2.15rem);
	font-weight: 800;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15rem 0.35rem;
}

.bf-plan__currency--hide,
.bf-plan__period--hide {
	display: none !important;
}

.bf-plan__period {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hf-ink-soft);
}

.bf-plan .bf-btn {
	width: 100%;
	margin-bottom: 1.25rem;
	text-align: center;
}

.bf-plan__feat-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hf-ink-soft);
	margin: 0 0 0.65rem;
}

.bf-plan__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.92rem;
	color: var(--hf-ink);
}

.bf-plan__list li {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	margin-bottom: 0.55rem;
}

.bf-plan__check {
	flex-shrink: 0;
	color: #16a34a;
	margin-top: 0.1rem;
}

@media (max-width: 900px) {
	.bf-pricing__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
	}
}

/* —— Steps (zigzag) —— */
.bf-steps__head {
	text-align: center;
	max-width: 44rem;
	margin: 0 auto 3rem;
}

.bf-steps__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.bf-steps__desc {
	margin: 0;
	color: var(--hf-ink-soft);
	line-height: 1.6;
}

.bf-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.bf-step:last-child {
	margin-bottom: 0;
}

.bf-step--reverse {
	direction: rtl;
}

.bf-step--reverse > * {
	direction: ltr;
}

.bf-step__heading {
	font-size: clamp(1.25rem, 2.5vw, 1.55rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.bf-step__body {
	margin: 0 0 1rem;
	color: var(--hf-ink-soft);
	line-height: 1.65;
}

.bf-step__bullets {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.bf-step__bullets li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.bf-step__tick {
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.2rem;
	border-radius: 4px;
	background: #22c55e;
	position: relative;
}

.bf-step__tick::after {
	content: '';
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bf-step__frame {
	border-radius: 22px;
	padding: 10px;
	background: linear-gradient(135deg, rgba(0, 89, 255, 0.12), rgba(243, 91, 122, 0.12));
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.bf-step__frame .bf-step__img-el,
.bf-step__frame .bf-step__placeholder {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	background: #e8ecf4;
	min-height: 200px;
	object-fit: cover;
}

@media (max-width: 800px) {
	.bf-step,
	.bf-step--reverse {
		grid-template-columns: 1fr;
		direction: ltr;
	}

	.bf-step__visual {
		order: -1;
	}
}

/* —— Why choose —— */
.bf-why__head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.bf-why__badge {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 107, 0, 0.12);
	color: #c2410c;
	font-size: 0.8rem;
	font-weight: 600;
}

.bf-why__title {
	font-family: var(--hf-display);
	font-size: clamp(1.65rem, 3.5vw, 2.25rem);
	font-weight: 800;
	margin: 0;
}

.bf-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.bf-why__visual {
	position: relative;
}

.bf-why__photo-wrap {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.bf-why__photo {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.bf-why__photo--empty {
	min-height: 280px;
	background: linear-gradient(145deg, #e8ecf4, #d4dbe8);
}

.bf-why__trend {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff6b00, #ff8c1a);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.bf-why__mock {
	margin-top: -3rem;
	margin-left: 1rem;
	margin-right: 1rem;
	position: relative;
	z-index: 2;
	background: #fff;
	border-radius: 16px;
	padding: 1rem 1.1rem;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.bf-why__mock-line {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	color: var(--hf-ink-soft);
}

.bf-why__mock-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bf-why__mock-bar span {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #eef2f8;
}

.bf-why__mock-send {
	margin-left: auto;
	padding: 0.4rem 0.9rem;
	border-radius: 10px;
	border: 0;
	background: linear-gradient(135deg, #ff6b00, #ff8c1a);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: default;
}

.bf-why__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.bf-why-card {
	background: #fff;
	border-radius: 18px;
	padding: 1.25rem 1.15rem;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.bf-why-card__ico {
	display: block;
	color: var(--hf-ink);
	margin-bottom: 0.65rem;
}

.bf-why-card__title {
	font-size: 1.02rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
}

.bf-why-card__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--hf-ink-soft);
}

@media (max-width: 900px) {
	.bf-why__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.bf-why__cards {
		grid-template-columns: 1fr;
	}
}

/* —— CTA strip —— */
.bf-cta {
	position: relative;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	overflow: hidden;
}

.bf-cta__bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(186, 220, 255, 0.45), transparent 55%), #f8fbff;
	z-index: 0;
}

.bf-cta__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 40rem;
	margin: 0 auto;
}

.bf-cta__avatars {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.bf-cta__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	margin-left: -14px;
}

.bf-cta__avatar:first-child {
	margin-left: 0;
}

.bf-cta__title {
	font-family: var(--hf-display);
	font-size: clamp(1.5rem, 3.2vw, 2rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.bf-cta__desc {
	margin: 0 0 1.75rem;
	color: var(--hf-ink-soft);
	line-height: 1.6;
}

.bf-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	max-width: 36rem;
	margin: 0 auto 1rem;
}

.bf-cta__btn.bf-btn {
	min-width: 11rem;
	justify-content: center;
	text-decoration: none;
	font-weight: 700;
	border: 2px solid transparent;
	box-shadow: none;
}

.bf-cta__btn--orange {
	background: linear-gradient(135deg, var(--hf-orange), var(--hf-orange-hover)) !important;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(255, 165, 0, 0.38) !important;
}

.bf-cta__btn--orange:hover {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(255, 165, 0, 0.48) !important;
}

.bf-cta__btn--blue {
	background: linear-gradient(135deg, var(--hf-blue), var(--hf-blue-soft)) !important;
	color: #fff !important;
	box-shadow: 0 10px 28px rgba(0, 89, 255, 0.32) !important;
}

.bf-cta__btn--blue:hover {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(0, 89, 255, 0.42) !important;
}

.bf-cta__foot {
	margin: 0;
	font-size: 0.8rem;
	color: var(--hf-ink-soft);
}

.bf-cta__foot a {
	color: inherit;
	font-weight: 700;
}

