/* Premium Service Cards (JustNew) */
.hps-wrap { width: 100%; }
.hps-wrap *, .hps-wrap *::before, .hps-wrap *::after { box-sizing: border-box; }
.hps-grid {
	--hps-cols: 3; --hps-gap: 24px; --hps-icon: 48px; --hps-border: rgba(13,46,92,.08); --hps-hover: #229F05;
	display: grid; grid-template-columns: repeat(var(--hps-cols), minmax(0, 1fr)); gap: var(--hps-gap); align-items: stretch;
}
.hps-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0;
	padding: 28px; background: #fff; border-radius: 6px; border: 2px solid var(--hps-border);
	transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease;
}
.hps-card:hover, .hps-card:focus-within { border-color: var(--hps-hover); box-shadow: 0 calc(var(--hps-sb, 40px) * .45) var(--hps-sb, 40px) calc(var(--hps-sb, 40px) * -.3) var(--hps-shadow-c, rgba(13,46,92,.28)); }
.hps-lift .hps-card:hover, .hps-lift .hps-card:focus-within { transform: translateY(-6px); }

.hps-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: var(--hps-icon); height: var(--hps-icon); border-radius: 8px; background: #229F05; color: #fff;
	font-size: calc(var(--hps-icon) * .42); line-height: 1; margin-bottom: 4px;
	transition: background-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.hps-icon i { line-height: 1; }
.hps-icon svg { width: 1em; height: 1em; fill: currentColor; }
.hps-card:hover .hps-icon { transform: scale(1.06) rotate(-4deg); }

.hps-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: #0D2E5C; }
.hps-desc { margin: 0; font-size: 14px; line-height: 1.65; color: #4b5a70; }
.hps-more {
	margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #229F05; text-decoration: none;
}
.hps-desc + .hps-more { margin-top: auto; }
.hps-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.hps-arrow { width: 14px; height: 14px; transition: transform .3s ease; }
.hps-card:hover .hps-arrow { transform: translateX(5px); }

/* scroll-in */
.hps-grid[data-animate="yes"] .hps-card { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease; transition-delay: calc(var(--hps-i, 0) * 80ms), calc(var(--hps-i, 0) * 80ms), 0ms, 0ms; }
.hps-grid[data-animate="yes"] .hps-card.is-in { opacity: 1; transform: none; }
.hps-grid[data-animate="yes"].hps-lift .hps-card.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
	.hps-grid[data-animate="yes"] .hps-card { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 767px) { .hps-card { padding: 22px; } }

/* ---------- Sector cards: coloured top bar, no icon ---------- */
.hps-sector { --hps-bar-a: #229F05; --hps-bar-b: #0D2E5C; --hps-bar-h: 3px; --hps-bar-hh: 6px; }
.hps-sector .hps-card { overflow: hidden; gap: 10px; border: 1px solid var(--hps-border); padding-top: calc(var(--hps-bar-h) + 22px); }
.hps-sector .hps-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--hps-bar-h); z-index: 2;
	background: var(--hps-bar, #229F05); transition: height .3s ease;
}
.hps-sector .hps-card:hover, .hps-sector .hps-card:focus-within { border-color: var(--hps-border); }
.hps-sector .hps-card:hover::before, .hps-sector .hps-card:focus-within::before { height: var(--hps-bar-hh); }
.hps-sector .hps-card:hover .hps-title { color: var(--hps-bar, #229F05) !important; }
.hps-sector .hps-title { transition: color .3s ease; }
