/**
 * NHF Zakelijke Financiering - scoped styles.
 * Alles staat onder .nhf-lp zodat het thema/andere plugins niet beïnvloed worden.
 * Kleuren en knop-stijl zijn overgenomen uit de originele Unbounce stylesheet.
 */

.nhf-lp {
	--nhf-primary: #98197f;
	--nhf-primary-hover: #bc2fa0;
	--nhf-dark: #14161b;
	--nhf-dark-2: #1d1322;
	--nhf-text: #1f2430;
	--nhf-text-light: #5b6373;
	--nhf-border: #ccc;
	--nhf-bg-alt: #f7f7fa;
	--nhf-radius-input: 10px;
	--nhf-radius-btn: 7px;

	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var( --nhf-text );
	font-size: 16px;
	line-height: 1.6;
}

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

.nhf-lp h1, .nhf-lp h2, .nhf-lp h3,
.nhf-lp input, .nhf-lp select, .nhf-lp textarea, .nhf-lp button {
	font-family: inherit;
	color: inherit;
}

.nhf-lp a {
	color: inherit;
}

/* Secties altijd edge-to-edge laten lopen, ook als de pagebuilder (Elementor)
   de shortcode in een smallere/centered container plaatst. */
.nhf-lp__top-gradient,
.nhf-lp__section,
.nhf-lp__stats {
	width: 100vw;
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
}

/* Header + hero delen 1 doorlopend gradient (anders rekt een 135deg-hoek
   in 2 losse boxen met sterk verschillende hoogte niet gelijk uit en
   ontstaat er een zichtbare naad). */
.nhf-lp__top-gradient {
	background: linear-gradient( 135deg, #14161f 0%, #241a2b 55%, #321a35 100% );
}

/* ---------- Hero ---------- */

.nhf-lp__hero {
	color: #fff;
	padding: 64px 24px 100px;
}

.nhf-lp__header {
	padding: 18px 24px;
}

.nhf-lp__header-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
}

.nhf-lp__logo-link {
	display: inline-flex;
	align-items: center;
}

.nhf-lp__logo {
	height: 56px !important;
	width: auto !important;
	max-width: none !important;
	display: block;
}

.nhf-lp__hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	gap: 48px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.nhf-lp__hero-text {
	flex: 1 1 460px;
}

.nhf-lp__hero-text h1 {
	font-size: 2.7rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
}

.nhf-lp__lead {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 0 12px;
}

.nhf-lp__hero-text p {
	color: rgba( 255, 255, 255, 0.85 );
	margin: 0 0 20px;
}

.nhf-lp__microcopy {
	font-size: 0.85rem;
	color: rgba( 255, 255, 255, 0.65 );
	font-style: italic;
	margin: 10px 0 0;
}

.nhf-lp__checklist-card {
	background: #fff;
	color: var( --nhf-text );
	border-radius: 16px;
	padding: 28px 32px;
	box-shadow: 0 20px 50px rgba( 0, 0, 0, 0.3 );
	flex: 1 1 340px;
	max-width: 480px;
	border-top: 4px solid var( --nhf-primary );
}

.nhf-lp__checklist-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nhf-lp__checklist-card li {
	position: relative;
	padding-left: 32px;
	font-weight: 600;
	font-size: 0.88rem;
	min-height: 22px;
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.nhf-lp__checklist-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY( -50% );
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background-color: var( --nhf-dark );
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 13 9.5 18.5 20 6'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	flex-shrink: 0;
}

/* ---------- Buttons ---------- */
/* Alle knoppen met de primaire (roze) achtergrond hebben altijd witte tekst. */

.nhf-lp__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var( --nhf-radius-btn );
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
	font-family: inherit;
}

.nhf-lp__btn--primary,
.nhf-lp__btn--primary:visited {
	background: var( --nhf-primary );
	border-color: var( --nhf-primary );
	color: #fff !important;
}

.nhf-lp__btn--primary:hover,
.nhf-lp__btn--primary:focus-visible {
	background: var( --nhf-primary-hover );
	border-color: var( --nhf-primary-hover );
	color: #fff !important;
}

.nhf-lp__btn--primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	color: #fff !important;
}

/* [hidden] heeft anders te weinig specificiteit t.o.v. .nhf-lp__btn { display: inline-flex }
   waardoor verborgen stap-knoppen (Terug/Volgende/Verstuur) alsnog zichtbaar bleven. */
.nhf-lp__btn[hidden] {
	display: none !important;
}

.nhf-lp__hero-cta {
	margin-bottom: 8px;
}

/* Stap-navigatieknoppen (Terug / Volgende / Verstuur) - vaste maat zoals het origineel */

.nhf-lp__button-group {
	display: flex;
	gap: 20px;
	margin-top: 16px;
}

.nhf-lp__button-group .nhf-lp__btn {
	width: 150px;
	height: 50px;
	font-size: 18px;
	flex: 0 0 auto;
}

/* ---------- Content sections ---------- */

.nhf-lp__section {
	padding: 64px 24px;
	background: #fff;
}

.nhf-lp__section-inner {
	max-width: 760px;
	margin: 0 auto;
}

.nhf-lp__section h2 {
	position: relative;
	font-size: 1.7rem;
	font-weight: 800;
	margin: 48px 0 18px;
	padding-top: 18px;
}

.nhf-lp__section h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: var( --nhf-primary );
}

.nhf-lp__section h2:first-child {
	margin-top: 0;
}

.nhf-lp__section > .nhf-lp__section-inner > p {
	color: var( --nhf-text-light );
	margin: 0 0 16px;
}

.nhf-lp__bullets {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nhf-lp__bullets li {
	position: relative;
	padding-left: 22px;
	color: var( --nhf-text );
}

.nhf-lp__bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var( --nhf-primary );
}

/* ---------- Stats: zakelijk en stevig, geen "los lijstje" ---------- */

.nhf-lp__stats {
	background: linear-gradient( 160deg, #11131a 0%, #1c1320 100% );
	color: #fff;
	padding: 56px 24px;
	border-top: 4px solid var( --nhf-primary );
}

.nhf-lp__stats-inner {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.nhf-lp__stats h3 {
	margin: 0 0 36px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba( 255, 255, 255, 0.6 );
}

.nhf-lp__stats-grid {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
}

.nhf-lp__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 8px 48px;
	border-left: 1px solid rgba( 255, 255, 255, 0.14 );
}

.nhf-lp__stat:first-child {
	border-left: none;
}

.nhf-lp__stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.nhf-lp__stat-icon svg {
	width: 22px;
	height: 22px;
}

.nhf-lp__stat-number {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.nhf-lp__stat-label {
	font-size: 0.85rem;
	color: rgba( 255, 255, 255, 0.65 );
	max-width: 160px;
}

/* ---------- Form ---------- */

.nhf-lp__form-section {
	background: var( --nhf-bg-alt );
}

.nhf-lp__form-inner {
	max-width: 640px;
}

.nhf-lp__form {
	background: #fff;
	border-radius: 16px;
	border-top: 4px solid var( --nhf-primary );
	padding: 36px;
	box-shadow: 0 10px 40px rgba( 20, 20, 30, 0.1 );
	margin-top: 24px;
}

.nhf-lp__step {
	display: none;
	flex-direction: column;
}

.nhf-lp__step.is-active {
	display: flex;
}

.nhf-lp__step label {
	font-weight: 600;
	font-size: 0.95rem;
	margin: 18px 0 6px;
}

.nhf-lp__step label:first-of-type {
	margin-top: 0;
}

.nhf-lp__step input[type="text"],
.nhf-lp__step input[type="email"],
.nhf-lp__step input[type="tel"],
.nhf-lp__step select,
.nhf-lp__step textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var( --nhf-border );
	border-radius: var( --nhf-radius-input );
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	color: var( --nhf-text );
}

.nhf-lp__step textarea {
	height: 110px;
	resize: vertical;
}

.nhf-lp__step input:focus,
.nhf-lp__step select:focus,
.nhf-lp__step textarea:focus {
	outline: none;
	border-color: var( --nhf-primary );
	box-shadow: 0 0 0 3px rgba( 152, 25, 127, 0.15 );
}

.nhf-lp__step input.is-error,
.nhf-lp__step select.is-error,
.nhf-lp__step textarea.is-error {
	border-color: #d33;
	box-shadow: 0 0 0 3px rgba( 220, 40, 40, 0.12 );
}

.nhf-lp__step input:disabled {
	background: var( --nhf-bg-alt );
	color: var( --nhf-text-light );
}

.nhf-lp__currency-field {
	position: relative;
	width: 100%;
}

.nhf-lp__currency-field input {
	padding-left: 32px !important;
}

.nhf-lp__currency-prefix {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY( -50% );
	color: var( --nhf-text-light );
	font-weight: 600;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.nhf-lp__currency-field.is-disabled .nhf-lp__currency-prefix {
	opacity: 0;
}

.nhf-lp__checkbox-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.nhf-lp__checkbox-row input {
	width: 18px;
	height: 18px;
}

.nhf-lp__error {
	color: #c0263a;
	font-size: 0.85rem;
	margin-top: 6px;
}

.nhf-lp__error-banner {
	background: #fdecec;
	border: 1px solid #f3b9bf;
	color: #9c1c2e;
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.nhf-lp__progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 28px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var( --nhf-text-light );
}

.nhf-lp__progress-container {
	margin-top: 8px;
	height: 10px;
	border-radius: 10px;
	background: #e0e0e0;
	overflow: hidden;
}

.nhf-lp__progress-bar {
	height: 100%;
	width: 20%;
	background: var( --nhf-primary );
	border-radius: 10px;
	transition: width 0.3s ease;
}

.nhf-lp__spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba( 255, 255, 255, 0.4 );
	border-top-color: #fff;
	border-radius: 50%;
	animation: nhf-lp-spin 0.7s linear infinite;
}

@keyframes nhf-lp-spin {
	to {
		transform: rotate( 360deg );
	}
}

.nhf-lp__btn--primary.is-loading {
	cursor: wait;
}

.nhf-lp__disclaimer {
	font-size: 0.8rem;
	color: var( --nhf-text-light );
	margin: 32px 0 8px;
	max-width: 640px;
}

/* ---------- Responsive ---------- */

@media ( max-width: 760px ) {
	.nhf-lp__hero {
		padding: 40px 16px 64px;
	}

	.nhf-lp__hero-text h1 {
		font-size: 2rem;
	}

	.nhf-lp__header {
		padding: 14px 16px;
	}

	.nhf-lp__logo {
		height: 38px !important;
	}

	.nhf-lp__hero-inner {
		flex-direction: column;
		gap: 24px;
	}

	.nhf-lp__hero-text,
	.nhf-lp__checklist-card {
		flex: none;
	}

	.nhf-lp__checklist-card {
		max-width: 100%;
	}

	.nhf-lp__checklist-card li {
		white-space: normal;
	}

	.nhf-lp__section {
		padding: 40px 16px;
	}

	.nhf-lp__section + .nhf-lp__section {
		padding-top: 24px;
	}

	.nhf-lp__stats-grid {
		flex-direction: column;
		gap: 28px;
	}

	.nhf-lp__stat {
		border-left: none;
		padding: 0;
	}

	.nhf-lp__form {
		padding: 24px;
	}

	.nhf-lp__disclaimer {
		margin-top: 48px;
	}
}

@media ( max-width: 480px ) {
	.nhf-lp__button-group {
		flex-wrap: wrap;
		gap: 12px;
	}

	.nhf-lp__button-group .nhf-lp__btn {
		flex: 1 1 calc( 50% - 6px );
		max-width: 48%;
		width: auto;
		height: 50px;
		font-size: 16px;
	}
}
