/* ================================
   DG Design Need Cards
================================ */

.dg-design-needs,
.dg-design-needs * {
	box-sizing: border-box;
}

.dg-design-needs {
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: 96px 20px;
	overflow: hidden;
	background: var(--dg-bg, #1c1c1c);
	color: var(--dg-text, #ffffff);
}

.dg-design-needs::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.028), transparent 27%),
		radial-gradient(circle at 86% 82%, rgba(17, 228, 79, 0.07), transparent 35%);
	pointer-events: none;
}

.dg-design-needs-inner {
	width: min(100%, 940px);
	margin: 0 auto;
}

.dg-design-needs-header {
	max-width: 900px;
	margin: 0 auto 42px;
	text-align: center;
}

.dg-design-needs-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 0 auto 30px;
	padding: 0 20px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.dg-design-needs-title {
	max-width: 900px;
	margin: 0 auto;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", Arial, sans-serif);
	font-size: clamp(42px, 4.2vw, 56px);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: 0;
	text-wrap: balance;
}

.dg-design-needs-subtext {
	max-width: 840px;
	margin: 24px auto 0;
	color: rgba(255, 255, 255, 0.62);
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.48;
	letter-spacing: 0;
	text-wrap: balance;
}

.dg-design-needs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.dg-design-needs-card {
	--dg-design-needs-card-bg: #181818;
	position: relative;
	min-width: 0;
	min-height: 202px;
	padding: 32px 32px 28px;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.08), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022) 48%, rgba(255, 255, 255, 0.045)),
		linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 42%),
		var(--dg-design-needs-card-bg);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 24px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		inset 0 -1px 0 rgba(255, 255, 255, 0.045),
		0 22px 56px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(18px) saturate(130%);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
}

.dg-design-needs-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgba(255, 255, 255, 0.055), transparent 30%);
	pointer-events: none;
}

.dg-design-needs-icon,
.dg-design-needs-card-title,
.dg-design-needs-card-text {
	position: relative;
	z-index: 1;
}

.dg-design-needs-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin-bottom: 18px;
	padding: 7px;
	overflow: hidden;
	background: #2c3b2d;
	border: 1px solid #305934;
	border-radius: 5px;
}

.dg-design-needs-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
}

.dg-design-needs-card-title {
	margin: 0;
	color: #ffffff;
	font-family: var(--dg-font-heading, "TT Firs Neue", "Montserrat", Arial, sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
}

.dg-design-needs-card-text {
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.58);
	font-family: var(--dg-font-body, "Montserrat", Arial, sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.48;
	letter-spacing: 0;
}

@media (max-width: 1024px) {
	.dg-design-needs {
		padding-top: 82px;
		padding-bottom: 82px;
	}
}

@media (max-width: 767px) {
	.dg-design-needs {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
		padding: 68px 16px;
	}

	.dg-design-needs-header {
		margin-bottom: 34px;
	}

	.dg-design-needs-label {
		min-height: 38px;
		margin-bottom: 24px;
		padding: 0 16px;
		font-size: 13px;
	}

	.dg-design-needs-title {
		font-size: clamp(34px, 10.6vw, 46px);
		line-height: 1;
	}

	.dg-design-needs-subtext {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.55;
	}

	.dg-design-needs-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.dg-design-needs-card {
		min-height: 0;
		padding: 26px 24px;
		border-radius: 22px;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.14),
			inset 0 -1px 0 rgba(255, 255, 255, 0.04),
			0 16px 42px rgba(0, 0, 0, 0.18);
		backdrop-filter: blur(14px) saturate(122%);
		-webkit-backdrop-filter: blur(14px) saturate(122%);
	}

	.dg-design-needs-icon {
		margin-bottom: 16px;
	}
}
