/**
 * SFD Hero Pricing Block
 * Combines hero section with integrated pricing cards that overlap
 */

/* Main wrapper */
.sfd-hero-pricing {
	position: relative;
	margin-bottom: 40px;
	overflow-x: hidden;
	max-width: 100vw;
}

/* Hero section */
.sfd-hero-pricing__hero {
	position: relative;
	min-height: 25vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	/* Subtle grey gradient wash */
	background: linear-gradient(to bottom, #f5f5f5 0%, #ececec 100%);
	margin-bottom: -120px; /* Pull cards up to overlap */
	overflow: hidden;
}

.sfd-hero-pricing__overlay {
	position: absolute;
	inset: 0;
	background: transparent;
	pointer-events: none;
	overflow: hidden;
}

/* 3 softly floating background blobs like the footer */
.sfd-hero-pricing__overlay::before,
.sfd-hero-pricing__overlay::after,
.sfd-hero-pricing__hero::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	opacity: 0.2;
	mix-blend-mode: multiply;
	animation: float 20s ease-in-out infinite;
}

/* Large pink blob (bottom-left) */
.sfd-hero-pricing__overlay::before {
	width: 420px;
	height: 420px;
	background: #EE728E;
	bottom: -100px;
	left: -120px;
	animation-delay: 0s;
}

/* Large green blob (top-right) */
.sfd-hero-pricing__overlay::after {
	width: 380px;
	height: 380px;
	background: #8CD933;
	top: -80px;
	right: -100px;
	animation-delay: -6s;
}

/* Small yellow blob (middle) */
.sfd-hero-pricing__hero::after {
	width: 240px;
	height: 240px;
	background: #FFE066;
	bottom: 20%;
	right: 25%;
	animation-delay: -12s;
}

/* Centre colour-shifting blob */
.sfd-hero-pricing__hero::before {
	content: '';
	position: absolute;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.22;
	mix-blend-mode: multiply;
	filter: blur(48px);
	animation: blob-colour-shift 10s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes blob-colour-shift {
	0%   { background: #EE728E; }
	25%  { background: #8CD933; }
	50%  { background: #F9B233; }
	75%  { background: #4A9FDB; }
	100% { background: #EE728E; }
}

@keyframes float {
	0%   { transform: translate(0, 0); }
	25%  { transform: translate(12px, -8px); }
	50%  { transform: translate(-6px, 10px); }
	75%  { transform: translate(8px, 4px); }
	100% { transform: translate(0, 0); }
}

.sfd-hero-pricing__inner {
	position: relative;
	z-index: 1;
	padding-top: 2rem;
	padding-bottom: 2rem;
	width: 100%;
	text-align: center;
}

.sfd-hero-pricing__content {
	max-width: 700px;
	margin: 0 auto;
}

.sfd-hero-pricing .sfd-program-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: transparent;
	border: 1px solid #262626;
	margin-bottom: 14px;
	font-family: 'Nunito', sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #262626;
}

.sfd-hero-pricing .sfd-program-breadcrumb__parent {
	color: #262626;
	opacity: 1;
}

.sfd-hero-pricing .sfd-program-breadcrumb__sep {
	color: #262626;
	opacity: 0.55;
}

.sfd-hero-pricing .sfd-program-breadcrumb__current {
	color: #262626;
}


.sfd-program-breadcrumb--center {
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16px;
}

.sfd-hero-pricing__headline {
	font-family: 'Nunito', sans-serif;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	line-height: 1.1;
	color: #262626;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.sfd-hero-pricing__sub {
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	color: #4a4a4a;
	line-height: 1.6;
	margin: 0;
}

.sfd-hero-pricing__sub strong {
	color: #262626;
}

/* ──────────────────────────────────────────────────────────
   Hero guarantee note, wraps the text + "Cancel anytime"
   Renders below the subtext on /pricing/ and /packages/
   The wrap has a semi-transparent white background.
   "Cancel anytime" gets a pink asterisk prefix via ::before.
   ────────────────────────────────────────────────────────── */
.sfd-hero-pricing__note-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 20px auto 24px;
	padding: 5px 14px;
	flex-wrap: wrap;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	line-height: 1.4;
	background-color: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 999px;
}

.sfd-hero-pricing__note-text {
	display: inline-block;
	color: inherit;
}

/* "Cancel anytime", plain text, pink asterisk prefix */
.sfd-hero-pricing__note {
	display: inline;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	line-height: 1.4;
	color: inherit;
}

.sfd-hero-pricing__note::before {
	content: '*';
	color: #EE728E;
	margin-right: 2px;
}

@media (max-width: 600px) {
	.sfd-hero-pricing__note-wrap {
		font-size: 0.8rem;
		flex-direction: column;
		gap: 6px;
		padding: 5px 14px;
		border-radius: 16px;
	}
	.sfd-hero-pricing__note {
		font-size: 0.8rem;
	}
}

/* Pricing cards wrapper - sits above hero, pulled upward */
.sfd-hero-pricing .sfd-pricing-cards-wrap {
	position: relative;
	z-index: 30;
	margin-top: -40px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.sfd-hero-pricing__hero {
		min-height: 25vh;
		margin-bottom: -80px;
	}

	.sfd-hero-pricing__inner {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.sfd-hero-pricing__content {
		max-width: 100%;
	}

	.sfd-program-breadcrumb {
		font-size: 10px;
		padding: 4px 8px;
		margin-bottom: 14px;
	}

	/* Reduce blob sizes on mobile so they don't overlap and overflow */
	.sfd-hero-pricing__overlay::before {
		width: 120px;
		height: 120px;
		bottom: -30px;
		left: -40px;
	}

	.sfd-hero-pricing__overlay::after {
		width: 100px;
		height: 100px;
		top: -30px;
		right: -30px;
	}

	.sfd-hero-pricing__hero::after {
		width: 70px;
		height: 70px;
		bottom: 10%;
		right: 15%;
	}

	.sfd-hero-pricing__hero::before {
		width: 140px;
		height: 140px;
	}
}

.sfd-hero-pricing--no-cards .sfd-hero-pricing__hero {
	margin-bottom: 0;
}

/* Trust bar, smaller text for results page */
.sfd-trust-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem 0.8rem;
	font-size: 0.8rem;
	color: #262626;
}

.sfd-trust-bar__stars {
	display: flex;
	align-items: center;
	gap: 1px;
}

.sfd-trust-bar__dot {
	color: #262626;
	font-size: 1.1rem;
}

.sfd-trust-bar__item {
	font-size: 0.8rem;
}
