/* Services Section */
.home-services {
	position: relative;
	padding: 1.75rem 0 3.25rem;
	overflow: hidden;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.home-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: stretch;
}

.home-services__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"body"
		"media";
	gap: var(--spacing-md);
	height: 100%;
	padding: var(--spacing-md);
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.home-services__card:hover,
.home-services__card:focus-within {
	transform: translateY(-3px);
	border-color: var(--color-brand-primary);
	box-shadow: var(--shadow-dramatic);
}

.home-services__card--clickable {
	color: inherit;
	text-decoration: none;
}

.home-services__card--clickable:focus-visible {
	outline: 2px solid var(--color-brand-primary);
	outline-offset: var(--spacing-xs);
}

.home-services__body {
	position: relative;
	z-index: 1;
	grid-area: body;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	height: 100%;
	background: transparent;
}

.home-services__card-icon {
	position: relative;
	display: inline-flex;
	width: 58px;
	height: 58px;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(10, 73, 215, 0.16), rgba(10, 73, 215, 0.06));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.home-services__card-icon::before,
.home-services__card-icon::after,
.home-services__evidence-icon::before,
.home-services__evidence-icon::after {
	content: "";
	position: absolute;
}

.home-services__card-icon::before {
	left: 15px;
	top: 20px;
	width: 25px;
	height: 16px;
	border-radius: 3px;
	background: #0a49d7;
	box-shadow: 16px 5px 0 -6px #0a49d7;
}

.home-services__card-icon::after {
	left: 17px;
	bottom: 13px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0a49d7;
	box-shadow: 26px 0 0 #0a49d7;
}

.home-services__card--2 .home-services__card-icon::before {
	left: 15px;
	top: 28px;
	width: 34px;
	height: 8px;
	border-radius: 999px;
	transform: rotate(-35deg);
}

.home-services__card--2 .home-services__card-icon::after {
	left: 31px;
	top: 16px;
	width: 15px;
	height: 15px;
	border: 4px solid #0a49d7;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
}

.home-services__card--3 .home-services__card-icon::before {
	left: 18px;
	top: 14px;
	width: 24px;
	height: 30px;
	border-radius: 3px;
}

.home-services__card--3 .home-services__card-icon::after {
	right: 15px;
	top: 14px;
	width: 12px;
	height: 12px;
	border-radius: 0;
	background: #dbeafe;
	clip-path: polygon(0 0, 100% 100%, 0 100%);
	box-shadow: none;
}

.home-services__card--4 .home-services__card-icon::before {
	left: 18px;
	top: 16px;
	width: 22px;
	height: 22px;
	border: 4px solid #0a49d7;
	border-radius: 50%;
	background: transparent;
	box-shadow: 0 0 0 5px rgba(10, 73, 215, 0.08);
}

.home-services__card--4 .home-services__card-icon::after {
	left: 34px;
	top: 35px;
	width: 18px;
	height: 4px;
	border-radius: 999px;
	background: #0a49d7;
	box-shadow: none;
	transform: rotate(42deg);
}

.home-services__card--5 .home-services__card-icon::before {
	left: 18px;
	top: 15px;
	width: 25px;
	height: 30px;
	border-radius: 50% 50% 46% 46%;
	clip-path: polygon(50% 0, 100% 16%, 92% 72%, 50% 100%, 8% 72%, 0 16%);
}

.home-services__card--5 .home-services__card-icon::after {
	left: 25px;
	top: 25px;
	width: 12px;
	height: 7px;
	border-left: 3px solid #ffffff;
	border-bottom: 3px solid #ffffff;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transform: rotate(-45deg);
}

.home-services__card--6 .home-services__card-icon::before {
	left: 16px;
	top: 24px;
	width: 26px;
	height: 22px;
	border: 5px solid #0a49d7;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: transparent;
}

.home-services__card--6 .home-services__card-icon::after {
	left: 20px;
	top: 14px;
	width: 24px;
	height: 24px;
	border: 5px solid #0a49d7;
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
	background: transparent;
	box-shadow: 22px 20px 0 -8px #0a49d7;
}

.home-services__media {
	position: relative;
	grid-area: media;
	overflow: hidden;
	min-width: 0;
	border-radius: var(--radius-md);
	background: transparent;
}

.home-services__image {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	object-position: center;
	transition: transform var(--transition-normal);
}

.home-services__card:hover .home-services__image,
.home-services__card:focus-within .home-services__image {
	transform: scale(1.06);
}

.home-services__title {
	max-width: 100%;
	margin: 0 0 0.55rem;
	color: var(--color-text);
	font-size: 1.14rem;
	font-weight: 900;
	line-height: 1.22;
	letter-spacing: 0;
}

.home-services__excerpt {
	max-width: 100%;
	flex-grow: 1;
	margin: 0 0 1rem;
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.55;
}

.home-services__link {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 44px;
	margin-top: auto;
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	color: var(--color-brand-primary);
	font-weight: 900;
	text-decoration: none;
	transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.home-services__link::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 0.6rem;
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: rotate(45deg);
}

.home-services__link:hover,
.home-services__link:focus-visible {
	border-color: var(--color-brand-primary);
	color: var(--color-brand-primary);
	transform: translateX(2px);
}

.home-services__link:focus-visible {
	outline: 2px solid var(--color-brand-primary);
	outline-offset: var(--spacing-xs);
}

.home-services__footer {
	display: none;
}

.home-services__evidence {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 1.5rem auto 0;
	padding: 0.95rem 1.1rem;
	border-radius: 14px;
	background: linear-gradient(90deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.94));
	box-shadow: 0 12px 26px rgba(10, 38, 78, 0.08);
}

.home-services__evidence-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	padding: 0.65rem 0;
}

.home-services__evidence-item strong,
.home-services__evidence-item small {
	display: block;
}

.home-services__evidence-item strong {
	color: #071a42;
	font-size: 0.95rem;
	font-weight: 900;
}

.home-services__evidence-item small {
	color: #526985;
	font-size: 0.88rem;
	line-height: 1.35;
}

.home-services__evidence-icon {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(10, 38, 78, 0.08);
}

.home-services__evidence-icon--shield::before,
.home-services__evidence-icon--care::before {
	width: 22px;
	height: 26px;
	border: 3px solid #0a49d7;
	clip-path: polygon(50% 0, 100% 18%, 92% 66%, 50% 100%, 8% 66%, 0 18%);
}

.home-services__evidence-icon--shield::after,
.home-services__evidence-icon--care::after {
	width: 10px;
	height: 6px;
	border-left: 3px solid #0a49d7;
	border-bottom: 3px solid #0a49d7;
	transform: rotate(-45deg);
}

.home-services__evidence-icon--bolt::before {
	width: 15px;
	height: 26px;
	background: #0a49d7;
	clip-path: polygon(55% 0, 100% 0, 65% 42%, 100% 42%, 35% 100%, 48% 55%, 0 55%);
}

.home-services__evidence-icon--cost::before {
	width: 24px;
	height: 24px;
	border: 3px solid #0a49d7;
	border-radius: 50%;
}

.home-services__evidence-icon--cost::after {
	width: 10px;
	height: 8px;
	border-left: 3px solid #0a49d7;
	border-bottom: 3px solid #0a49d7;
	transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.home-services__card,
	.home-services__image,
	.home-services__link {
		transition: none;
	}

	.home-services__card:hover,
	.home-services__card:focus-within,
	.home-services__link:hover,
	.home-services__link:focus-visible,
	.home-services__card:hover .home-services__image,
	.home-services__card:focus-within .home-services__image {
		transform: none;
	}
}

@media (min-width: 768px) {
	.home-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-services__card {
		grid-template-columns: 1fr;
	}

	.home-services__evidence {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-inline: 1.35rem;
	}

	.home-services__evidence-item:nth-child(odd) {
		border-right: 1px solid rgba(10, 73, 215, 0.12);
	}

	.home-services__evidence-item:nth-child(even) {
		padding-left: 1.3rem;
	}
}

@media (min-width: 1024px) {
	.home-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-services__card {
		grid-template-columns: minmax(0, 1fr) minmax(140px, 42%);
		grid-template-areas: "body media";
	}

	.home-services__media::before {
		content: "";
		position: absolute;
		inset: 0 auto 0 0;
		z-index: 1;
		width: var(--spacing-lg);
		pointer-events: none;
		background: linear-gradient(to right, var(--color-white), transparent);
	}

	.home-services__image {
		min-height: 100%;
	}

	.home-services__title {
		font-size: 1.28rem;
	}

	.home-services__evidence {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		max-width: calc(100% - 3rem);
	}

	.home-services__evidence-item {
		padding: 0.35rem 1.25rem;
	}

	.home-services__evidence-item:nth-child(odd),
	.home-services__evidence-item:not(:last-child) {
		border-right: 1px solid rgba(10, 73, 215, 0.12);
	}

	.home-services__evidence-item:nth-child(even) {
		padding-left: 1.25rem;
	}
}

@media (min-width: 1280px) {
	.home-services__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-services {
		padding: 1rem 0 2.5rem;
	}

	.home-services__card {
		grid-template-columns: 1fr;
		padding: 1.1rem;
	}

	.home-services__media {
		min-height: 180px;
	}

	.home-services__title,
	.home-services__excerpt {
		max-width: 100%;
	}
}
