.dg-services-carousel {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 96px 20px;
	overflow: hidden;
	background: #1c1c1c;
}

.dg-services-inner {
	width: min(100%, 1420px);
	margin: 0 auto;
}

.dg-services-header {
	max-width: 920px;
	margin: 0 auto 64px;
	text-align: center;
}

.dg-services-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	margin-bottom: 34px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.dg-services-title {
	margin: 0;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", sans-serif);
	font-size: clamp(42px, 4.2vw, 56px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-wrap: balance;
}

.dg-services-subtext {
	max-width: 720px;
	margin: 28px auto 0;
	color: rgba(255, 255, 255, 0.62);
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.55;
	text-wrap: balance;
}

.dg-services-carousel-wrap {
	position: relative;
}

.dg-services-track {
	display: flex;
	gap: 28px;
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 2px 0 8px;
}

.dg-services-has-fade .dg-services-carousel-wrap::before,
.dg-services-has-fade .dg-services-carousel-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	z-index: 5;
	width: 120px;
	height: 100%;
	pointer-events: none;
}

.dg-services-has-fade .dg-services-carousel-wrap::before {
	left: 0;
	background: linear-gradient(90deg, var(--dg-services-fade-color, #1c1c1c), transparent);
}

.dg-services-has-fade .dg-services-carousel-wrap::after {
	right: 0;
	background: linear-gradient(270deg, var(--dg-services-fade-color, #1c1c1c), transparent);
}

.dg-service-card {
	position: relative;
	display: flex;
	flex: 0 0 calc((100% - 56px) / 3);
	flex-direction: column;
	min-width: 0;
	min-height: 440px;
	padding: 30px;
	scroll-snap-align: start;
	background: rgba(255, 255, 255, 0.026);
	border: 1px solid rgba(255, 255, 255, 0.085);
	border-radius: 28px;
	transition:
		border-color 0.24s ease,
		background-color 0.24s ease;
}

.dg-service-card:hover {
	border-color: rgba(17, 228, 79, 0.30);
	background: rgba(255, 255, 255, 0.034);
}

.dg-service-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 34px;
}

.dg-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: rgba(17, 228, 79, 0.10);
	border: 1px solid rgba(17, 228, 79, 0.18);
	box-shadow: 0 18px 44px rgba(17, 228, 79, 0.08);
}

.dg-service-icon img {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.dg-service-icon span {
	display: block;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: #11e44f;
	box-shadow: 0 0 28px rgba(17, 228, 79, 0.38);
}

.dg-service-card-body {
	flex: 1;
}

.dg-service-title {
	margin: 0;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", sans-serif);
	font-size: clamp(26px, 2.1vw, 36px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0;
}

.dg-service-description {
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.70);
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.55;
}

.dg-service-price {
	position: absolute;
	top: 40px;
	right: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 0;
	padding: 0 15px;
	color: #ffffff;
	background: rgba(17, 228, 79, 0.10);
	border: 1px solid rgba(17, 228, 79, 0.20);
	border-radius: 999px;
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}

.dg-service-fit {
	margin: 24px 0 0;
	padding-top: 22px;
	color: rgba(255, 255, 255, 0.54);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.dg-service-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	min-height: 44px;
	margin-top: 30px;
	padding: 0 18px;
	color: #11e44f;
	background: rgba(17, 228, 79, 0.08);
	border: 1px solid rgba(17, 228, 79, 0.28);
	border-radius: 999px;
	font-family: var(--dg-font-body, "Montserrat", sans-serif);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color 0.22s ease,
		border-color 0.22s ease,
		opacity 0.22s ease;
}

.dg-service-cta:hover,
.dg-service-cta:focus {
	color: #11e44f;
	background: rgba(17, 228, 79, 0.12);
	border-color: rgba(17, 228, 79, 0.42);
	opacity: 0.96;
	text-decoration: none;
}

.dg-service-cta i {
	display: block;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.dg-services-nav-button {
	position: absolute;
	top: 50%;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #11e44f;
	color: #0b0b0b;
	cursor: pointer;
	box-shadow: 0 18px 44px rgba(17, 228, 79, 0.18);
	transform: translateY(-50%);
	transition:
		transform 0.22s ease,
		opacity 0.22s ease,
		box-shadow 0.22s ease;
}

.dg-services-nav-button:hover {
	transform: translateY(-50%) scale(1.04);
	box-shadow: 0 20px 52px rgba(17, 228, 79, 0.26);
}

.dg-services-nav-button span {
	display: block;
	width: 12px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.dg-services-nav-prev {
	left: 12px;
}

.dg-services-nav-prev span {
	transform: rotate(-135deg);
	margin-left: 4px;
}

.dg-services-nav-next {
	right: 12px;
}

.dg-services-nav-next span {
	transform: rotate(45deg);
	margin-right: 4px;
}

.dg-services-nav-button.dg-services-nav-disabled {
	opacity: 0.28;
	pointer-events: none;
}

.dg-services-dots {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.dg-services-dot {
	display: inline-flex;
	width: 11px;
	height: 11px;
	padding: 0;
	border: 1.5px solid #11e44f;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease,
		opacity 0.2s ease;
}

.dg-services-dot.is-active {
	background: #11e44f;
}

.dg-services-dot:hover,
.dg-services-dot:focus {
	opacity: 0.86;
	transform: scale(1.08);
}

@media (max-width: 1180px) {
	.dg-service-card {
		flex-basis: calc((100% - 28px) / 2);
	}
}

@media (max-width: 767px) {
	.dg-services-carousel {
		padding: 72px 20px;
	}

	.dg-services-header {
		margin-bottom: 42px;
	}

	.dg-services-label {
		min-height: 38px;
		margin-bottom: 24px;
		padding: 0 16px;
		font-size: 13px;
	}

	.dg-services-title {
		font-size: clamp(38px, 11vw, 56px);
		line-height: 1;
		letter-spacing: 0;
	}

	.dg-services-subtext {
		margin-top: 22px;
		font-size: 15.5px;
	}

	.dg-services-track {
		overflow-x: auto;
		gap: 0;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		touch-action: pan-x;
	}

	.dg-services-track::-webkit-scrollbar {
		display: none;
	}

	.dg-service-card {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
		min-height: 420px;
		padding: 24px;
		border-radius: 24px;
	}

	.dg-service-card:hover {
		border-color: rgba(255, 255, 255, 0.085);
		background: rgba(255, 255, 255, 0.026);
	}

	.dg-service-card-top {
		margin-bottom: 28px;
	}

	.dg-service-icon {
		width: 54px;
		height: 54px;
		border-radius: 17px;
	}

	.dg-service-title {
		font-size: 30px;
		line-height: 1.08;
		letter-spacing: 0;
	}

	.dg-service-description {
		margin-top: 20px;
		font-size: 15.5px;
	}

	.dg-service-price {
		top: 32px;
		right: 24px;
		margin-top: 0;
		font-size: 14.5px;
	}

	.dg-service-fit {
		margin-top: 22px;
		font-size: 13.5px;
	}

	.dg-service-cta {
		min-height: 44px;
		margin-top: 28px;
		padding: 0 18px;
	}

	.dg-services-has-fade .dg-services-carousel-wrap::before,
	.dg-services-has-fade .dg-services-carousel-wrap::after {
		display: none;
	}

	.dg-services-nav-button {
		display: none;
	}

	.dg-services-has-dots .dg-services-dots {
		display: flex;
	}
}

/* Background consistency */
.elementor-widget-dg_services_carousel,
.elementor-widget-dg_services_carousel > .elementor-widget-container,
.dg-services-carousel,
.dg-services-inner,
.dg-services-carousel-wrap,
.dg-services-track {
	background: #1c1c1c !important;
	background-color: #1c1c1c !important;
	background-image: none !important;
}


/* ================================
   Services carousel final desktop/tablet behavior
   Desktop: static 3 cards, no fade, no nav.
   Tablet: horizontal draggable/scroll.
   Mobile: keep existing swipe + dots.
================================ */

/* No fade overlay for services cards */
.dg-services-has-fade .dg-services-carousel-wrap::before,
.dg-services-has-fade .dg-services-carousel-wrap::after {
	display: none !important;
}

/* No arrow buttons for services cards */
.dg-services-nav-button {
	display: none !important;
}

/* Desktop: clean 3-card layout */
@media (min-width: 1181px) {
	.dg-services-carousel-wrap {
		overflow: visible;
	}

	.dg-services-track {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
		overflow: visible;
		padding: 2px 0 8px;
		scroll-snap-type: none;
	}

	.dg-service-card {
		width: auto;
		flex: none;
		min-width: 0;
	}
}

/* Tablet: allow horizontal drag/scroll without arrows or fade */
@media (min-width: 768px) and (max-width: 1180px) {
	.dg-services-carousel-wrap {
		overflow: hidden;
	}

	.dg-services-track {
		overflow-x: auto;
		gap: 28px;
		padding: 2px 24px 8px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
		cursor: grab;
		user-select: none;
	}

	.dg-services-track::-webkit-scrollbar {
		display: none;
	}

	.dg-services-track.dg-services-is-dragging {
		cursor: grabbing;
		scroll-behavior: auto;
	}

	.dg-service-card {
		flex: 0 0 calc((100% - 28px) / 2);
	}
}

/* Mobile stays as swipe + dots */
@media (max-width: 767px) {
	.dg-services-track {
		cursor: auto;
	}
}
