/* Pet Service Cards — base styles */

.psc-wrapper {
	width: 100%;
}

.psc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 24px;
	column-gap: 24px;
}

.psc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	background: #ffffff;
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
	will-change: transform;
}

.psc-card:hover {
	/* transform handled by Elementor "Lift Card on Hover" control */
}

.psc-card-image {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
	flex-shrink: 0;
}

.psc-card-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.psc-card:hover .psc-card-image img {
	transform: scale(1.06);
}

.psc-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(20, 10, 40, 0.18);
	z-index: 2;
}

.psc-badge i,
.psc-badge svg {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #2A1B69;
}

.psc-card-body {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding: 24px;
	flex-grow: 1;
}

.psc-card-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.psc-number {
	font-size: 26px;
	font-weight: 800;
	color: #FFA323;
	line-height: 1;
	margin: 0 0 2px;
}

.psc-title {
	font-size: 19px;
	font-weight: 700;
	color: #2E1158;
	line-height: 1.3;
	margin: 0;
}

.psc-desc {
	font-size: 14px;
	color: #6B5E7A;
	line-height: 1.55;
	margin: 0;
}

.psc-arrow {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #2E1158;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	transform: rotate(0deg) scale(1);
}

.psc-arrow i,
.psc-arrow svg {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #ffffff;
	transition: color 0.35s ease;
}

/* Hover rotate/scale and background-color changes are controlled
   via Elementor's Style tab (see widget controls). Defaults below
   only apply if no Elementor override is present. */
.psc-card[data-rotate="yes"]:hover .psc-arrow {
	background-color: #FFA323;
	transform: rotate(45deg) scale(1.1);
}

.psc-card[data-rotate="yes"]:hover .psc-arrow i,
.psc-card[data-rotate="yes"]:hover .psc-arrow svg {
	color: #2E1158;
}

/* Responsive fallback (in case Elementor responsive controls aren't customised) */
@media (max-width: 1024px) {
	.psc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.psc-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.psc-card-body {
		flex-direction: row;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psc-card,
	.psc-card-image img,
	.psc-arrow {
		transition: none !important;
	}
}
