/* ---------------------------------------------------------
   Home page "Our services": cards open a details panel
   under their row (js/services.js)
--------------------------------------------------------- */
#servicesGrid .service-card {
	cursor: pointer;
}

#servicesGrid .service-card:focus-visible {
	outline: 3px solid rgba(27, 54, 93, 0.3);
	outline-offset: 3px;
}

#servicesGrid .service-card.is-open {
	border: 2px solid #1b365d;
	transform: none;
}

#servicesGrid .service-card.is-open .icon-box {
	background-color: #fca311;
	color: #ffffff;
}

.service-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	color: #185fa5;
	font-size: 0.82rem;
	font-weight: 600;
}

.service-more i {
	font-size: 0.7rem;
	transition: transform 0.25s ease;
}

.service-card.is-open .service-more i {
	transform: rotate(180deg);
}

.service-detail {
	overflow: hidden;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(18, 37, 67, 0.1);
	animation: serviceDetailIn 0.3s ease;
}

@keyframes serviceDetailIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

.service-detail-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 60px 20px 24px;
	background: #1b365d;
	color: #ffffff;
}

.service-detail-icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #fca311;
	color: #1b365d;
	font-size: 1.3rem;
}

.service-detail-head h4 {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 1.2rem;
	font-weight: 700;
}

.service-detail-head p {
	margin: 0;
	color: #c9d4e6;
	font-size: 0.92rem;
}

.service-detail-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.service-detail-close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.service-detail-body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding: 22px 24px 8px;
}

.service-detail-body h6 {
	margin: 0 0 12px;
	color: #1b365d;
	font-size: 0.98rem;
	font-weight: 700;
}

.service-detail-get,
.service-detail-how {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-detail-get li,
.service-detail-how li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	color: #51627c;
	font-size: 0.92rem;
	line-height: 1.5;
}

.service-detail-get i {
	margin-top: 4px;
	color: #1d9e75;
}

.service-detail-how span {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e6f1fb;
	color: #0c447c;
	font-size: 0.8rem;
	font-weight: 700;
}

.service-detail-note {
	margin: 10px 24px 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: #faeeda;
	color: #633806;
	font-size: 0.86rem;
}

.service-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 18px 24px 24px;
}

.service-detail-cta,
.service-detail-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.service-detail-cta {
	background: #1b365d;
	color: #ffffff;
}

.service-detail-cta:hover {
	background: #2c5282;
	color: #ffffff;
}

.service-detail-wa {
	background: #e1f5ee;
	color: #085041;
}

.service-detail-wa:hover {
	background: #cdeee1;
	color: #085041;
}

@media (max-width: 767px) {
	.service-more {
		margin-top: 8px;
	}

	.service-detail-head {
		align-items: flex-start;
		padding: 18px 54px 18px 18px;
	}

	.service-detail-icon {
		width: 44px;
		height: 44px;
	}

	.service-detail-body {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 18px 18px 4px;
	}

	.service-detail-note {
		margin: 8px 18px 0;
	}

	.service-detail-actions {
		padding: 16px 18px 20px;
	}

	.service-detail-cta,
	.service-detail-wa {
		flex: 1;
		justify-content: center;
	}
}
