/* Stravum Builder — Service Card widget.
   Sensible dark-surface defaults so a freshly dropped card already looks like
   the rest of the site; every value here is overridable by the widget's own
   style controls (which compile to a higher-specificity .st-el-{uid} rule).

   The card is a flex column and the link is margin-top:auto, so a row of
   cards inside a Container with align_items:stretch keeps every "Learn More"
   on the same baseline no matter how uneven the copy is. */

.st-svc {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	padding: 32px 28px;
	background: #191c23;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* A whisper of accent light that only shows on hover — depth without a
   library, and it never intercepts pointer events. */
.st-svc::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 80% at 50% 0%, rgba(253, 91, 56, 0.10) 0%, rgba(253, 91, 56, 0) 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.st-svc:hover {
	border-color: rgba(253, 91, 56, 0.45);
	transform: translateY(-4px);
}

.st-svc:hover::before {
	opacity: 1;
}

.st-svc > * {
	position: relative;
	z-index: 1;
}

/* Icon tile — mirrors .st-ib-icon so Icon Box and Service Card read as one family. */
.st-svc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fd5b38;
	background: rgba(253, 91, 56, 0.1);
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 20px;
	transition: background-color 0.25s ease;
}

.st-svc-icon .material-symbols-outlined {
	font-size: 28px;
	line-height: 1;
}

.st-svc:hover .st-svc-icon {
	background: rgba(253, 91, 56, 0.18);
}

.st-svc-title {
	color: #ffffff;
	margin: 0 0 10px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}

.st-svc-desc {
	color: #a9adc1;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

/* Capability chips. */
.st-svc-tags {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.st-svc-tag {
	display: inline-flex;
	align-items: center;
	color: #c4c7cf;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	padding: 5px 11px;
	font-family: "Geist", sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
	white-space: nowrap;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.st-svc:hover .st-svc-tag {
	border-color: rgba(253, 91, 56, 0.28);
}

/* Bottom-anchored link. */
.st-svc-link {
	margin-top: auto;
	padding-top: 22px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	color: #ffb4a4;
	text-decoration: none;
	font-family: "Geist", sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.25s ease, gap 0.25s ease;
}

.st-svc-link-icon {
	font-size: 17px;
	line-height: 1;
	transition: transform 0.25s ease;
}

.st-svc:hover .st-svc-link,
.st-svc-link:hover {
	color: #fd5b38;
}

.st-svc:hover .st-svc-link-icon {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.st-svc,
	.st-svc::before,
	.st-svc-icon,
	.st-svc-tag,
	.st-svc-link,
	.st-svc-link-icon {
		transition: none;
	}

	.st-svc:hover {
		transform: none;
	}

	.st-svc:hover .st-svc-link-icon {
		transform: none;
	}
}
