/*
 * Shared hero kit (inc/hero-art.php). Used by every page hero: homepage,
 * Services + landing pages, Pricing, About, Contact.
 */
.dp-hk, .dp-hk * {
	box-sizing: border-box;
}
.dp-hk {
	--dp-hk-bg: #F3F5F9;
	--dp-hk-navy: #0B1734;
	--dp-hk-red: #D72E2E;
	--dp-hk-red-dark: #B82525;
	--dp-hk-muted: #475569;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px 50px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
	/* Same height on every page (desktop) */
	min-height: 620px;
	/* Full-bleed background: a spread shadow paints edge to edge and
	   clip-path trims it, neither adds scrollable width. The -50px top
	   covers GeneratePress's .site-content padding (30px on mobile). */
	background: var(--dp-hk-bg);
	box-shadow: 0 0 0 100vmax var(--dp-hk-bg);
	clip-path: inset(-50px -100vmax 0);
}
.dp-hk > * {
	min-width: 0;
}

/* Same top spacing on every hero page: drop GeneratePress's .site-content
   top padding wherever a hero is present, so the hero sits right under the
   header. The clip-path no longer needs to reach up into that padding.
   Browsers without :has() keep the original padding + -50px clip above. */
.site-content:has(.dp-hk) {
	padding-top: 0 !important;
}
.site-content:has(.dp-hk) .dp-hk {
	clip-path: inset(0 -100vmax 0);
}

/* Dot clusters */
.dp-hk-dots {
	position: absolute;
	width: 120px;
	height: 56px;
	background-image: radial-gradient(rgba(11,23,52,0.18) 2px, transparent 2.5px);
	background-size: 14px 14px;
	pointer-events: none;
}
.dp-hk-dots--top { top: -30px; left: 44%; }
.dp-hk-dots--bottom { bottom: 14px; left: 22%; }

/* Eyebrow / breadcrumb pill */
.dp-hk-eyebrow {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.4;
	color: var(--dp-hk-navy);
	text-transform: uppercase;
	background: #ffffff;
	border-radius: 999px;
	padding: 8px 18px 8px 12px;
	box-shadow: 0 4px 14px rgba(11,23,52,0.06);
	margin-bottom: 22px;
}
/* Breadcrumb parts match the homepage eyebrow exactly (theme link styles
   were making Home / parent render larger than the current page) */
.dp-hk-eyebrow a,
.dp-hk-eyebrow strong,
.dp-hk-eyebrow .dp-hk-sep {
	font-size: 13px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 600 !important;
}
.dp-hk-eyebrow a {
	color: #64748B !important;
	text-decoration: none !important;
}
.dp-hk-eyebrow a:hover {
	color: var(--dp-hk-red) !important;
}
.dp-hk-eyebrow .dp-hk-sep {
	color: #CBD5E1;
}
.dp-hk-eyebrow strong {
	color: var(--dp-hk-navy);
	font-weight: 700;
}
.dp-hk-eyebrow-icon {
	position: relative;
	width: 24px;
	height: 14px;
	flex-shrink: 0;
}
.dp-hk-eyebrow-icon::before,
.dp-hk-eyebrow-icon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}
.dp-hk-eyebrow-icon::before { left: 0; background: var(--dp-hk-red); }
.dp-hk-eyebrow-icon::after { left: 10px; background: var(--dp-hk-navy); clip-path: inset(0 0 0 50%); }

/* Headline */
.dp-hk-headline {
	font-size: clamp(2.1rem, 4.6vw, 3.1rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--dp-hk-navy);
	margin: 0 0 20px;
}
.dp-hk-accent {
	color: var(--dp-hk-red);
	background: linear-gradient(transparent 70%, rgba(215,46,46,0.14) 70%, rgba(215,46,46,0.14) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
/* Bold one-liner under the H1 (same as the homepage tagline) */
.dp-hk-tagline {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--dp-hk-navy);
	max-width: 540px;
	margin: 0 0 12px;
}
.dp-hk-text p,
p.dp-hk-text {
	font-size: 17px;
	line-height: 1.65;
	color: var(--dp-hk-muted);
	max-width: 540px;
	margin: 0 0 18px;
}

/* Buttons */
.dp-hk-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 30px;
	margin-top: 28px;
}
.dp-hk-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 28px;
	border-radius: 999px;
	background-color: var(--dp-hk-red);
	color: #ffffff !important;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(215,46,46,0.25);
	transition: background-color 0.3s ease;
}
.dp-hk-btn:hover {
	background-color: #c72525;
}
.dp-hk-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--dp-hk-red);
	font-size: 18px;
	transition: transform 0.3s ease;
}
.dp-hk-btn:hover .dp-hk-btn-arrow {
	transform: translateX(3px);
}
.dp-hk-link {
	color: var(--dp-hk-navy) !important;
	font-weight: 600;
	font-size: 16px;
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 6px;
	transition: color 0.2s ease;
}
.dp-hk-link:hover {
	color: var(--dp-hk-red-dark) !important;
}

/* ---- Visual column ---- */
.dp-hk-visual {
	position: relative;
	padding: 0 0 30px;
}
.dp-hk-backdrop {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 62%;
	height: 58%;
	background: var(--dp-hk-navy);
	border-radius: 28px 28px 28px 90px;
	pointer-events: none;
}
.dp-hk-panel {
	position: absolute;
	left: 0;
	bottom: 20px;
	width: 52%;
	height: 46%;
	border-radius: 90px 28px 28px 28px;
	background-color: #FBE4E4;
	background-image: radial-gradient(rgba(215,46,46,0.35) 1.6px, transparent 2px);
	background-size: 14px 14px;
	pointer-events: none;
}
.dp-hk-art {
	position: relative;
	z-index: 1;
	margin-left: 40px;
	padding: 28px;
	background: #ffffff;
	border-radius: 28px 28px 28px 90px;
	box-shadow: 0 24px 50px rgba(11,23,52,0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 340px;
}
.dp-hk-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.dp-hk-sparkle {
	position: absolute;
	z-index: 3;
	color: var(--dp-hk-red);
	pointer-events: none;
}
.dp-hk-sparkle svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.dp-hk-sparkle--lg { width: 30px; height: 30px; bottom: 40px; right: 6px; }
.dp-hk-sparkle--sm { width: 16px; height: 16px; bottom: 76px; right: 36px; }

/* Info card overlapping the bottom of the illustration */
.dp-hk-card {
	position: relative;
	z-index: 2;
	width: calc(100% - 64px);
	margin-top: -110px;
}

/* Short note card overlapping the bottom of the illustration (same on every page) */
.dp-hk-note {
	position: relative;
	z-index: 2;
	width: calc(100% - 64px);
	margin: -56px 0 0 !important;
	background: #ffffff;
	border: 1px solid rgba(11,23,52,0.08);
	border-left: 4px solid var(--dp-hk-red);
	border-radius: 14px;
	padding: 16px 22px;
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	box-shadow: 0 18px 40px rgba(11,23,52,0.12);
}

/* Rotating CTA badge */
.dp-hk-badge {
	position: absolute;
	z-index: 4;
	left: -8px;
	top: 34px;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	background: var(--dp-hk-navy);
	border: 4px solid var(--dp-hk-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(11,23,52,0.22);
}
.dp-hk-badge-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: dp-hk-spin 14s linear infinite;
}
.dp-hk-badge-ring text {
	fill: #ffffff;
	font-size: 11px;
	font-weight: 700;
}
.dp-hk-badge-core {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--dp-hk-red);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: transform 0.3s ease;
}
.dp-hk-badge:hover .dp-hk-badge-core {
	transform: rotate(-45deg);
}
@keyframes dp-hk-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.dp-hk-badge-ring { animation: none; }
}
/* Small laptops / tablet landscape: narrower columns, so slightly smaller
   headline and art keep the hero at the same 620px height */
@media (min-width: 901px) and (max-width: 1140px) {
	.dp-hk { gap: 40px; }
	.dp-hk-headline { font-size: 2.45rem; }
	.dp-hk-text p, p.dp-hk-text { font-size: 16px; }
	.dp-hk-art { height: 280px; margin-left: 24px; }
	.dp-hk-card { width: calc(100% - 40px); margin-top: -90px; }
}
@media (max-width: 900px) {
	.dp-hk {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-bottom: 60px;
		min-height: 0;
	}
	.dp-hk-art { height: 300px; }
	.dp-hk-dots--top { left: auto; right: 10px; }
}
@media (max-width: 768px) {
	.dp-hk {
		clip-path: inset(-30px -100vmax 0);
		padding-top: 10px;
	}
}
@media (max-width: 600px) {
	.dp-hk {
		padding-left: 0;
		padding-right: 0;
	}
	.dp-hk-visual { padding: 0 0 10px; }
	.dp-hk-art {
		margin-left: 0;
		height: 240px;
		padding: 18px;
		border-radius: 22px 22px 22px 60px;
	}
	.dp-hk-backdrop { top: -10px; right: -6px; border-radius: 22px 22px 22px 60px; }
	.dp-hk-panel { display: none; }
	.dp-hk-card,
	.dp-hk-note {
		width: calc(100% - 20px);
		margin: -36px 0 0 10px !important;
	}
	.dp-hk-badge {
		left: auto;
		right: -4px;
		top: -18px;
		width: 88px;
		height: 88px;
	}
	.dp-hk-badge-core { width: 34px; height: 34px; font-size: 17px; }
	.dp-hk-sparkle--lg { bottom: auto; top: -14px; right: auto; left: 10px; }
	.dp-hk-sparkle--sm { bottom: auto; top: 18px; right: auto; left: 40px; }
}

/* ---- "I OPTIMISE FOR" marquee band, straight after every hero ---- */
.dp-hk-marquee {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
@media (max-width: 600px) {
	.dp-hk-marquee { padding: 0; }
}
.dp-surf-tagstrip {
	--dp-surf-navy: #0B1734;
	background: var(--dp-surf-navy);
	color: #ffffff;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
	padding: 20px 0;
	margin-bottom: 60px;
	/* Full-bleed band without adding scrollable width */
	box-shadow: 0 0 0 100vmax var(--dp-surf-navy);
	clip-path: inset(0 -100vmax);
}
.dp-surf-tagstrip-label {
	background: #D72E2E;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 9px 18px;
	border-radius: 999px;
	flex-shrink: 0;
	white-space: nowrap;
}
.dp-surf-tagstrip-viewport {
	overflow: hidden;
	flex: 1 1 auto;
	min-width: 0;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.dp-surf-tagstrip-track {
	display: flex;
	width: max-content;
	animation: dp-surf-tagstrip-scroll 30s linear infinite;
}
.dp-surf-tagstrip:hover .dp-surf-tagstrip-track {
	animation-play-state: paused;
}
.dp-surf-tagstrip-set {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	flex-shrink: 0;
}
@keyframes dp-surf-tagstrip-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.dp-surf-tag {
	display: inline-flex;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
	color: #ffffff;
	font-size: 22px;
	font-weight: 600;
	white-space: nowrap;
}
/* Four-point sparkle between items */
.dp-surf-tag::after {
	content: "";
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	background: #EB4D4D;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.4 5.6 11.4 12 12-6.4.6-11.4 5.6-12 12-.6-6.4-5.6-11.4-12-12C6.4 11.4 11.4 6.4 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
	.dp-surf-tagstrip-track {
		animation: none;
	}
}
@media (max-width: 600px) {
	.dp-surf-tagstrip {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 18px 0;
	}
	.dp-surf-tagstrip-viewport { width: 100%; }
	.dp-surf-tag { font-size: 18px; gap: 24px; padding-right: 24px; }
	.dp-surf-tag::after { width: 18px; height: 18px; }
}
