:root {
	--hp-primary: #4f6f9f;
	--hp-primary-dark: #405f91;
	--hp-soft: #edf3fb;
	--hp-bg: #f6f9fd;
	--hp-card: #fff;
	--hp-heading: #202530;
	--hp-text: #263142;
	--hp-muted: #667085;
	--hp-border: #dbe6f4;
	--hp-shadow: 0 24px 60px rgba(50, 73, 104, 0.12);
}

.hevkad-pallbearers-page {
	background: linear-gradient(180deg, #fff 0%, #f8fbff 48%, #fff 100%);
	padding: 32px 0 72px;
	color: var(--hp-text);
	font-family: Montserrat, Arial, sans-serif;
}

.hevkad-pallbearers-page a {
	color: inherit;
}

.hp-container {
	max-width: 1425px;
	margin: 0 auto;
	padding: 0 32px;
}

.hp-breadcrumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--hp-muted);
	margin: 0 0 20px;
}

.hp-breadcrumbs a {
	text-decoration: none;
	color: var(--hp-muted);
}

.hp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 560px;
	gap: 34px;
	align-items: stretch;
	margin: 8px 0 54px;
}

.hp-hero-content {
	background: linear-gradient(135deg, #fff 0%, #f3f7fd 100%);
	border: 1px solid var(--hp-border);
	border-radius: 34px;
	padding: 54px;
	box-shadow: var(--hp-shadow);
	position: relative;
	overflow: hidden;
}

.hp-hero-content::after {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: rgba(79, 111, 159, 0.1);
}

.hp-eyebrow {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border: 1px solid var(--hp-border);
	background: #fff;
	border-radius: 999px;
	color: var(--hp-primary-dark);
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
}

.hp-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hp-primary);
}

.hevkad-pallbearers-page h1 {
	font-size: 46px;
	line-height: 1.12;
	margin: 0 0 18px;
	color: var(--hp-heading);
	font-weight: 600;
	max-width: 760px;
}

.hp-lead {
	font-size: 18px;
	line-height: 1.7;
	color: #4f5969;
	max-width: 820px;
	margin: 0 0 28px;
}

.hp-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 28px;
}

.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 18px;
	padding: 16px 22px;
	font-size: 16px;
	font-weight: 500;
	border: 1px solid var(--hp-border);
	transition: 0.2s ease;
	min-height: 54px;
	cursor: pointer;
}

.hp-btn--primary,
.hp-btn--primary:visited,
.hp-btn--primary:hover,
.hp-btn--primary:focus,
.hp-btn--primary:active {
	background: var(--hp-primary);
	border-color: var(--hp-primary);
	color: #fff !important;
	box-shadow: 0 18px 40px rgba(79, 111, 159, 0.22);
}

.hp-btn--light {
	background: #fff;
	color: var(--hp-primary-dark);
}

.hp-mini {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
}

.hp-mini div {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 20px;
	padding: 16px;
}

.hp-mini strong {
	display: block;
	color: var(--hp-heading);
	font-size: 22px;
	line-height: 1;
	margin-bottom: 6px;
}

.hp-mini span {
	font-size: 13px;
	color: var(--hp-muted);
}

.hp-hero-photo {
	border-radius: 34px;
	overflow: hidden;
	position: relative;
	border: 1px solid var(--hp-border);
	box-shadow: var(--hp-shadow);
	min-height: 520px;
	background: #eef4fb;
	margin: 0;
}

.hp-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-hero-photo-label {
	position: absolute;
	left: 22px;
	bottom: 22px;
	right: 22px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(219, 230, 244, 0.8);
	border-radius: 24px;
	padding: 18px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}

.hp-hero-photo-label b {
	font-size: 18px;
	color: var(--hp-heading);
}

.hp-hero-photo-label span {
	font-size: 14px;
	color: var(--hp-muted);
}

.hp-section {
	margin: 0 0 58px;
}

.hp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.hp-kicker {
	font-size: 14px;
	color: var(--hp-primary-dark);
	font-weight: 600;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.hevkad-pallbearers-page h2 {
	font-size: 31px;
	line-height: 1.22;
	color: var(--hp-heading);
	font-weight: 500;
	margin: 0;
}

.hp-section-head p {
	max-width: 540px;
	margin: 0;
	color: var(--hp-muted);
	line-height: 1.6;
}

.hp-services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.hp-service-card {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 18px 46px rgba(50, 73, 104, 0.1);
	display: flex;
	flex-direction: column;
}

.hp-card-photo {
	position: relative;
	display: block;
	aspect-ratio: 1.34;
	overflow: hidden;
	background: #edf3fb;
	text-decoration: none;
}

.hp-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	display: block;
	transition: transform 0.35s ease;
}

.hp-service-card:hover .hp-card-photo img {
	transform: scale(1.035);
}

.hp-card-badge {
	position: absolute;
	left: 14px;
	top: 14px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(219, 230, 244, 0.9);
	color: var(--hp-primary-dark);
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.hp-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.hp-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hp-card-top span {
	font-size: 13px;
	color: var(--hp-muted);
	background: var(--hp-soft);
	padding: 7px 10px;
	border-radius: 999px;
}

.hp-card-top strong {
	font-size: 20px;
	color: var(--hp-heading);
	font-weight: 600;
}

.hp-card-body h3 {
	font-size: 20px;
	line-height: 1.25;
	margin: 0;
	color: var(--hp-heading);
	font-weight: 500;
}

.hp-card-body ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
	color: #596272;
	font-size: 14px;
	line-height: 1.45;
}

.hp-card-body li {
	position: relative;
	padding-left: 18px;
}

.hp-card-body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hp-primary);
}

.hp-btn--card {
	margin-top: auto;
	width: 100%;
	padding: 13px 16px;
	min-height: 48px;
	border-radius: 16px;
}

.hp-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.hp-info-card,
.hp-text-card {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 28px;
	padding: 28px;
	box-shadow: 0 16px 40px rgba(50, 73, 104, 0.08);
}

.hp-info-card h3,
.hp-text-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 500;
	color: var(--hp-heading);
}

.hp-info-card p,
.hp-text-card p {
	color: #596272;
	line-height: 1.7;
	margin: 0 0 14px;
}

.hp-list {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.hp-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: #4f5969;
	line-height: 1.55;
}

.hp-list li::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
	margin-top: 2px;
}

.hp-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.hp-step {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 26px;
	padding: 24px;
	box-shadow: 0 14px 34px rgba(50, 73, 104, 0.08);
}

.hp-step span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	border-radius: 14px;
	background: var(--hp-soft);
	align-items: center;
	justify-content: center;
	color: var(--hp-primary-dark);
	font-weight: 700;
	margin-bottom: 16px;
}

.hp-step h3 {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 500;
	color: var(--hp-heading);
}

.hp-step p {
	margin: 0;
	color: var(--hp-muted);
	line-height: 1.55;
}

.hp-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.hp-trust div {
	background: linear-gradient(180deg, #fff, #f7faff);
	border: 1px solid var(--hp-border);
	border-radius: 26px;
	padding: 24px;
	box-shadow: 0 14px 34px rgba(50, 73, 104, 0.08);
}

.hp-trust h3 {
	font-size: 18px;
	margin: 0 0 8px;
	font-weight: 500;
	color: var(--hp-heading);
}

.hp-trust p {
	margin: 0;
	color: var(--hp-muted);
	line-height: 1.55;
}

.hp-seo {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 32px;
	padding: 36px;
	box-shadow: var(--hp-shadow);
}

.hp-seo p {
	font-size: 16px;
	line-height: 1.75;
	color: #4f5969;
	margin: 0 0 14px;
}

.hp-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.hp-link {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 22px;
	padding: 18px;
	text-decoration: none;
	display: block;
	box-shadow: 0 12px 30px rgba(50, 73, 104, 0.07);
}

.hp-link strong {
	display: block;
	margin-bottom: 6px;
	color: var(--hp-heading);
	font-weight: 500;
}

.hp-link span {
	color: var(--hp-muted);
	font-size: 14px;
}

.hp-faq {
	display: grid;
	gap: 12px;
}

.hp-faq-item {
	background: #fff;
	border: 1px solid var(--hp-border);
	border-radius: 20px;
	padding: 0 20px;
	box-shadow: 0 10px 26px rgba(50, 73, 104, 0.06);
}

.hp-faq-item summary {
	cursor: pointer;
	padding: 18px 0;
	font-weight: 500;
	color: var(--hp-heading);
}

.hp-faq-item p {
	margin: 0 0 18px;
	color: var(--hp-muted);
	line-height: 1.65;
}

.hp-final {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
	border-radius: 34px;
	padding: 36px;
	color: #fff;
	box-shadow: 0 24px 60px rgba(79, 111, 159, 0.24);
}

.hp-final h2 {
	color: #fff;
	margin-bottom: 8px;
}

.hp-final p {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.6;
}

.hp-final .hp-btn {
	background: #fff;
	color: var(--hp-primary-dark) !important;
	border-color: #fff;
}

.hp-final-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hp-final .hp-btn--light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff !important;
}

/* Safeguards */
.hevkad-pallbearers-page svg,
.hevkad-pallbearers-page .hp-icon svg,
.hevkad-pallbearers-page .hp-list svg,
.hevkad-pallbearers-page .hp-btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
	display: block;
}

.hevkad-pallbearers-page .hp-btn--primary,
.hevkad-pallbearers-page a.hp-btn--primary,
.hevkad-pallbearers-page button.hp-btn--primary,
.hevkad-pallbearers-page .hp-btn--primary:hover,
.hevkad-pallbearers-page .hp-btn--primary:focus,
.hevkad-pallbearers-page .hp-btn--primary:active,
.hevkad-pallbearers-page .hp-btn--primary:visited {
	color: #fff !important;
}

.hevkad-pallbearers-page img {
	max-width: 100%;
	height: auto;
}

.hevkad-pallbearers-page .hp-card-photo img,
.hevkad-pallbearers-page .hp-hero-photo img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.hevkad-pallbearers-page .hp-card-photo img {
	object-position: center top;
}

.hevkad-pallbearers-page .hp-hero-photo img {
	object-position: center 22%;
}

@media (max-width: 1180px) {
	.hp-hero {
		grid-template-columns: 1fr;
	}

	.hp-services {
		grid-template-columns: repeat(2, 1fr);
	}

	.hp-trust,
	.hp-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 720px) {
	.hp-container {
		padding: 0 15px;
	}

	.hevkad-pallbearers-page {
		padding-top: 18px;
	}

	.hp-hero-content {
		padding: 28px;
		border-radius: 26px;
	}

	.hevkad-pallbearers-page h1 {
		font-size: 34px;
	}

	.hp-lead {
		font-size: 16px;
	}

	.hp-mini,
	.hp-services,
	.hp-info-grid,
	.hp-steps,
	.hp-trust,
	.hp-links {
		grid-template-columns: 1fr;
	}

	.hp-hero-photo {
		min-height: 360px;
		border-radius: 26px;
	}

	.hp-section-head {
		display: block;
	}

	.hp-section-head p {
		margin-top: 10px;
	}

	.hp-final {
		grid-template-columns: 1fr;
		padding: 26px;
		border-radius: 26px;
	}

	.hp-final-actions {
		width: 100%;
	}

	.hp-final .hp-btn {
		width: 100%;
	}
}
