/**
 * Loving Digitals – Funeral Home Partner page styles.
 * Scoped under .ld-fhp so it never leaks into the theme/homepage.
 */

.ld-fhp {
	--ld-navy: #0b1f3a;
	--ld-navy-2: #102a4c;
	--ld-navy-deep: #071528;
	--ld-gold: #c9a227;
	--ld-gold-2: #d9b73f;
	--ld-white: #ffffff;
	--ld-cream: #f7f5ef;
	--ld-ink: #1c2733;
	--ld-muted: #5b6774;
	--ld-line: #e4e7ec;
	--ld-radius: 12px;
	--ld-shadow: 0 12px 36px rgba(11, 31, 58, 0.12);

	color: var(--ld-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

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

.ld-fhp .ld-fhp-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.ld-fhp .ld-fhp-container--narrow {
	max-width: 780px;
}

.ld-fhp .ld-fhp-section {
	padding: 72px 0;
}

.ld-fhp .ld-fhp-h2 {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	color: var(--ld-navy);
	text-align: center;
	margin: 0 0 12px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ld-fhp .ld-fhp-h2--light {
	color: var(--ld-white);
}

.ld-fhp .ld-fhp-h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	background: var(--ld-gold);
	margin: 18px auto 0;
	border-radius: 3px;
}

/* ---------- Buttons ---------- */
.ld-fhp .ld-fhp-btn {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
	letter-spacing: 0.02em;
}

.ld-fhp .ld-fhp-btn--lg {
	padding: 18px 40px;
	font-size: 18px;
}

.ld-fhp .ld-fhp-btn--gold {
	background: var(--ld-gold);
	color: var(--ld-navy-deep);
}

.ld-fhp .ld-fhp-btn--gold:hover {
	background: var(--ld-gold-2);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}

.ld-fhp .ld-fhp-btn--ghost {
	background: transparent;
	color: var(--ld-white);
	border-color: rgba(255, 255, 255, 0.6);
}

.ld-fhp .ld-fhp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--ld-white);
}

/* ---------- Hero ---------- */
.ld-fhp .ld-fhp-hero {
	background: radial-gradient(1200px 600px at 70% -10%, var(--ld-navy-2) 0%, var(--ld-navy) 45%, var(--ld-navy-deep) 100%);
	color: var(--ld-white);
	padding: 96px 0 88px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ld-fhp .ld-fhp-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--ld-gold), transparent);
}

.ld-fhp .ld-fhp-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 13px;
	color: var(--ld-gold-2);
	margin: 0 0 14px;
	font-weight: 600;
}

.ld-fhp .ld-fhp-hero__title {
	font-size: clamp(36px, 6vw, 60px);
	line-height: 1.05;
	margin: 0 0 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.ld-fhp .ld-fhp-hero__subtitle {
	font-size: clamp(18px, 2.4vw, 23px);
	max-width: 760px;
	margin: 0 auto 22px;
	color: #e7ecf3;
	font-weight: 500;
}

.ld-fhp .ld-fhp-hero__copy {
	max-width: 680px;
	margin: 0 auto 34px;
	color: #c6d0dd;
	font-size: 17px;
}

.ld-fhp .ld-fhp-hero__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- How it works ---------- */
.ld-fhp .ld-fhp-how {
	background: var(--ld-white);
}

.ld-fhp .ld-fhp-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 44px;
}

.ld-fhp .ld-fhp-step {
	background: var(--ld-cream);
	border: 1px solid var(--ld-line);
	border-radius: var(--ld-radius);
	padding: 28px 22px;
	text-align: center;
}

.ld-fhp .ld-fhp-step__num {
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 50%;
	background: var(--ld-navy);
	color: var(--ld-gold);
	font-weight: 800;
	font-size: 22px;
	margin: 0 auto 16px;
}

.ld-fhp .ld-fhp-step__title {
	font-size: 18px;
	color: var(--ld-navy);
	margin: 0 0 10px;
	font-weight: 700;
}

.ld-fhp .ld-fhp-step__text {
	font-size: 15px;
	color: var(--ld-muted);
	margin: 0;
}

/* ---------- Pricing ---------- */
.ld-fhp .ld-fhp-pricing {
	background: linear-gradient(160deg, var(--ld-navy) 0%, var(--ld-navy-deep) 100%);
	color: var(--ld-white);
	text-align: center;
}

.ld-fhp .ld-fhp-pricing__rate {
	margin: 36px auto 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ld-fhp .ld-fhp-pricing__label {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 13px;
	color: var(--ld-gold-2);
	font-weight: 600;
}

.ld-fhp .ld-fhp-pricing__amount {
	font-size: clamp(56px, 10vw, 84px);
	font-weight: 800;
	color: var(--ld-gold);
	line-height: 1;
}

.ld-fhp .ld-fhp-pricing__per {
	font-size: 16px;
	color: #c6d0dd;
}

.ld-fhp .ld-fhp-pricing__tagline {
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
	color: var(--ld-white);
	margin: 20px 0 8px;
}

.ld-fhp .ld-fhp-pricing__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 36px auto;
	max-width: 860px;
}

.ld-fhp .ld-fhp-pricecard {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: var(--ld-radius);
	padding: 22px 14px;
}

.ld-fhp .ld-fhp-pricecard__charge {
	font-size: 30px;
	font-weight: 800;
	color: var(--ld-white);
}

.ld-fhp .ld-fhp-pricecard__meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #aab7c6;
	margin: 2px 0 12px;
}

.ld-fhp .ld-fhp-pricecard__keep {
	font-size: 18px;
	font-weight: 700;
	color: var(--ld-gold-2);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 10px;
}

.ld-fhp .ld-fhp-pricing__notes {
	max-width: 640px;
	margin: 0 auto;
	color: #d5deea;
}

.ld-fhp .ld-fhp-pricing__notes p {
	margin: 8px 0;
}

.ld-fhp .ld-fhp-fineprint {
	font-size: 13px;
	color: #9fb0c2;
	font-style: italic;
}

/* ---------- What's included ---------- */
.ld-fhp .ld-fhp-included {
	background: var(--ld-cream);
}

.ld-fhp .ld-fhp-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
	margin-top: 44px;
}

.ld-fhp .ld-fhp-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--ld-white);
	border: 1px solid var(--ld-line);
	border-left: 4px solid var(--ld-gold);
	border-radius: 10px;
	padding: 18px 18px;
	box-shadow: 0 2px 8px rgba(11, 31, 58, 0.04);
}

.ld-fhp .ld-fhp-feature__icon {
	font-size: 24px;
	line-height: 1;
	flex: 0 0 auto;
}

.ld-fhp .ld-fhp-feature__label {
	font-weight: 600;
	color: var(--ld-navy);
	font-size: 15.5px;
}

.ld-fhp .ld-fhp-included__note {
	max-width: 720px;
	margin: 40px auto 0;
	text-align: center;
	color: var(--ld-muted);
	font-size: 15px;
	background: var(--ld-white);
	border: 1px dashed var(--ld-line);
	border-radius: 10px;
	padding: 18px 22px;
}

/* ---------- Equipment ownership ---------- */
.ld-fhp .ld-fhp-equipment {
	background: var(--ld-white);
}

.ld-fhp .ld-fhp-equipcard {
	background: var(--ld-cream);
	border: 1px solid var(--ld-line);
	border-left: 4px solid var(--ld-navy);
	border-radius: 12px;
	padding: 24px 26px;
	margin-top: 22px;
}

.ld-fhp .ld-fhp-equipcard__title {
	color: var(--ld-navy);
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px;
}

.ld-fhp .ld-fhp-equiplist {
	margin: 0;
	padding-left: 20px;
}

.ld-fhp .ld-fhp-equiplist li {
	margin-bottom: 8px;
	color: var(--ld-ink);
}

.ld-fhp .ld-fhp-fineprint--dark {
	color: var(--ld-navy);
	font-weight: 600;
	font-style: italic;
}

/* ---------- Terms page ---------- */
.ld-fhp.ld-fhp-terms-page .ld-fhp-h2 {
	text-align: left;
}

.ld-fhp.ld-fhp-terms-page .ld-fhp-h2::after {
	margin-left: 0;
}

.ld-fhp .ld-fhp-terms-version {
	color: var(--ld-muted);
	font-weight: 600;
	margin-top: 4px;
}

.ld-fhp .ld-fhp-terms-block {
	margin-top: 22px;
}

.ld-fhp .ld-fhp-terms-h {
	color: var(--ld-navy);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px;
}

/* ---------- Form ---------- */
.ld-fhp .ld-fhp-formwrap {
	background: var(--ld-white);
}

.ld-fhp .ld-fhp-formwrap__lead {
	text-align: center;
	color: var(--ld-muted);
	margin: 0 0 32px;
}

.ld-fhp .ld-fhp-form {
	background: var(--ld-cream);
	border: 1px solid var(--ld-line);
	border-radius: 16px;
	padding: 36px;
	box-shadow: var(--ld-shadow);
}

.ld-fhp .ld-fhp-fieldset {
	border: none;
	margin: 0 0 28px;
	padding: 0;
}

.ld-fhp .ld-fhp-legend {
	font-size: 20px;
	font-weight: 700;
	color: var(--ld-navy);
	padding: 0 0 14px;
	margin-bottom: 18px;
	border-bottom: 2px solid var(--ld-gold);
	width: 100%;
}

.ld-fhp .ld-fhp-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.ld-fhp .ld-fhp-row--3 {
	grid-template-columns: 2fr 1fr 1fr;
}

.ld-fhp .ld-fhp-field {
	margin-bottom: 18px;
}

.ld-fhp .ld-fhp-field--full {
	grid-column: 1 / -1;
}

.ld-fhp .ld-fhp-field label,
.ld-fhp .ld-fhp-grouplabel {
	display: block;
	font-weight: 600;
	color: var(--ld-navy);
	margin-bottom: 8px;
	font-size: 15.5px;
}

.ld-fhp .ld-fhp-req {
	color: #b3261e;
}

.ld-fhp .ld-fhp-form input[type="text"],
.ld-fhp .ld-fhp-form input[type="email"],
.ld-fhp .ld-fhp-form input[type="tel"],
.ld-fhp .ld-fhp-form input[type="url"],
.ld-fhp .ld-fhp-form select,
.ld-fhp .ld-fhp-form textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	border: 1.5px solid #cfd6df;
	border-radius: 9px;
	background: var(--ld-white);
	color: var(--ld-ink);
	font-family: inherit;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
	min-height: 52px;
}

.ld-fhp .ld-fhp-form textarea {
	min-height: 110px;
	resize: vertical;
}

.ld-fhp .ld-fhp-form input:focus,
.ld-fhp .ld-fhp-form select:focus,
.ld-fhp .ld-fhp-form textarea:focus {
	outline: none;
	border-color: var(--ld-gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.ld-fhp .ld-fhp-choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ld-fhp .ld-fhp-choices--inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px;
}

.ld-fhp .ld-fhp-radio,
.ld-fhp .ld-fhp-check {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--ld-white);
	border: 1.5px solid #cfd6df;
	border-radius: 9px;
	padding: 12px 16px;
	cursor: pointer;
	font-weight: 500;
	color: var(--ld-ink);
	min-height: 50px;
}

.ld-fhp .ld-fhp-choices--inline .ld-fhp-radio {
	flex: 1 1 auto;
	min-width: 120px;
	justify-content: center;
}

.ld-fhp .ld-fhp-radio input,
.ld-fhp .ld-fhp-check input {
	width: 20px;
	height: 20px;
	accent-color: var(--ld-navy);
	flex: 0 0 auto;
}

.ld-fhp .ld-fhp-agree {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	background: var(--ld-white);
	border: 1.5px solid #cfd6df;
	border-radius: 10px;
	padding: 16px 18px;
	cursor: pointer;
}

.ld-fhp .ld-fhp-agree input {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	accent-color: var(--ld-navy);
	flex: 0 0 auto;
}

.ld-fhp .ld-fhp-agree--optional {
	background: #eef1f5;
	border-style: dashed;
}

/* Honeypot — kept out of the visual + tab flow. */
.ld-fhp .ld-fhp-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ld-fhp .ld-fhp-submit {
	text-align: center;
	margin-top: 8px;
}

.ld-fhp .ld-fhp-submit .ld-fhp-btn {
	width: 100%;
	max-width: 420px;
}

.ld-fhp .ld-fhp-errors {
	background: #fdecea;
	border: 1px solid #f5c2bd;
	border-left: 4px solid #b3261e;
	color: #7a1a14;
	border-radius: 9px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.ld-fhp .ld-fhp-errors ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

/* ---------- Final CTA ---------- */
.ld-fhp .ld-fhp-cta {
	background: linear-gradient(135deg, var(--ld-navy-2) 0%, var(--ld-navy-deep) 100%);
	color: var(--ld-white);
	text-align: center;
	padding: 72px 0;
}

.ld-fhp .ld-fhp-cta__title {
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 800;
	margin: 0 0 14px;
	color: var(--ld-white);
}

.ld-fhp .ld-fhp-cta__text {
	max-width: 640px;
	margin: 0 auto 28px;
	color: #c6d0dd;
	font-size: 18px;
}

/* ---------- Success ---------- */
.ld-fhp .ld-fhp-success {
	background: radial-gradient(1000px 500px at 50% -20%, var(--ld-navy-2) 0%, var(--ld-navy) 55%, var(--ld-navy-deep) 100%);
	color: var(--ld-white);
	padding: 110px 0;
	text-align: center;
}

.ld-fhp .ld-fhp-success__inner {
	max-width: 680px;
}

.ld-fhp .ld-fhp-success__badge {
	width: 84px;
	height: 84px;
	line-height: 84px;
	border-radius: 50%;
	background: var(--ld-gold);
	color: var(--ld-navy-deep);
	font-size: 44px;
	font-weight: 800;
	margin: 0 auto 26px;
}

.ld-fhp .ld-fhp-success__title {
	font-size: clamp(28px, 4.4vw, 42px);
	font-weight: 800;
	margin: 0 0 18px;
}

.ld-fhp .ld-fhp-success__text {
	font-size: 19px;
	color: #d5deea;
	margin: 0 0 30px;
}

.ld-fhp .ld-fhp-success__brand {
	font-weight: 700;
	color: var(--ld-gold-2);
}

.ld-fhp .ld-fhp-success__brand span {
	font-weight: 400;
	font-style: italic;
	color: #aab7c6;
	font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.ld-fhp .ld-fhp-steps {
		grid-template-columns: repeat(2, 1fr);
	}
	.ld-fhp .ld-fhp-pricing__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.ld-fhp {
		font-size: 16px;
	}
	.ld-fhp .ld-fhp-section {
		padding: 52px 0;
	}
	.ld-fhp .ld-fhp-container {
		padding: 0 18px;
	}
	.ld-fhp .ld-fhp-hero {
		padding: 68px 0 60px;
	}
	.ld-fhp .ld-fhp-row,
	.ld-fhp .ld-fhp-row--3 {
		grid-template-columns: 1fr;
	}
	.ld-fhp .ld-fhp-steps {
		grid-template-columns: 1fr;
	}
	.ld-fhp .ld-fhp-pricing__grid {
		grid-template-columns: 1fr 1fr;
	}
	.ld-fhp .ld-fhp-form {
		padding: 22px 18px;
	}
	.ld-fhp .ld-fhp-choices--inline {
		flex-direction: column;
	}
	.ld-fhp .ld-fhp-hero__actions .ld-fhp-btn {
		width: 100%;
	}
	.ld-fhp .ld-fhp-submit .ld-fhp-btn {
		max-width: 100%;
	}
}
