/* Services Section Widget — base structural styles.
   Colors, typography, spacing etc. are controlled live from the
   Elementor Style tab; this file only sets up structure/layout so
   the widget still looks correct even before any style is touched. */

.ssw-services-section {
	width: 100%;
}

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

.ssw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #14161c;
	border-radius: 12px;
	overflow: hidden;
	transition-property: transform, background-color, box-shadow;
	transition-duration: 300ms;
	transition-timing-function: ease;
}

.ssw-card-image {
	position: relative;
	width: 100%;
	height: 180px;
	overflow: hidden;
}

.ssw-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 400ms ease;
}

.ssw-card-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.ssw-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e35c1f;
	border-radius: 30%;
}

.ssw-badge i,
.ssw-badge svg {
	color: #ffffff;
	fill: #ffffff;
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
}

.ssw-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ssw-title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #ffffff;
	transition: color 300ms ease;
}

.ssw-divider {
	width: 32px;
	height: 2px;
	background-color: #e35c1f;
	margin: 0 0 12px;
}

.ssw-description {
	font-size: 14px;
	line-height: 1.6;
	color: #9aa1ac;
	margin: 0 0 16px;
}

.ssw-description p {
	margin: 0 0 10px;
}

.ssw-description p:last-child {
	margin-bottom: 0;
}

.ssw-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #e35c1f;
	text-decoration: none;
	cursor: pointer;
	margin-top: auto;
	width: fit-content;
	transition: color 250ms ease;
}

.ssw-button i,
.ssw-button svg {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* Responsive fallback (Elementor's own responsive controls on
   `columns` will override this at each active breakpoint) */
@media (max-width: 1024px) {
	.ssw-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ssw-grid {
		grid-template-columns: 1fr;
	}
}
