/* ==========================================================
   DESIGN WIZ TECH — DIGITAL GROWTH SYSTEM
   Scoped to .dgs-page
========================================================== */

.dgs-page {
	--dgs-blue: #275df5;
	--dgs-blue-dark: #173ccf;
	--dgs-ink: #111827;
	--dgs-muted: #5f6f85;
	--dgs-line: #dfe6ef;
	--dgs-soft: #f4f7fb;
	--dgs-white: #ffffff;
	--dgs-dark: #0c1324;
	--dgs-radius: 24px;

	color: var(--dgs-ink);
	background: var(--dgs-white);
	overflow: hidden;
}

.dgs-page *,
.dgs-page *::before,
.dgs-page *::after {
	box-sizing: border-box;
}

.dgs-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.dgs-section {
	padding: 100px 0;
}

.dgs-eyebrow {
	margin: 0 0 18px;
	color: var(--dgs-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.dgs-section-heading {
	max-width: 760px;
	margin-bottom: 54px;
}

.dgs-section-heading h2,
.dgs-why h2,
.dgs-diagnosis h2 {
	margin: 0 0 20px;
	color: var(--dgs-ink);
	font-size: clamp(34px, 4.3vw, 58px);
	line-height: 1.02;
	letter-spacing: -.045em;
}

.dgs-section-heading > p:last-child {
	margin: 0;
	color: var(--dgs-muted);
	font-size: 19px;
	line-height: 1.7;
}


/* ==========================================================
   HERO
========================================================== */

.dgs-hero {
	padding: 108px 0 92px;
	background:
		radial-gradient(
			circle at 85% 12%,
			rgba(39, 93, 245, .10),
			transparent 28%
		),
		linear-gradient(
			180deg,
			#ffffff 0%,
			#f8faff 100%
		);
}

.dgs-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(340px, .72fr);
	gap: 80px;
	align-items: center;
}

.dgs-hero h1 {
	max-width: 820px;
	margin: 0;
	color: var(--dgs-ink);
	font-size: clamp(50px, 6.3vw, 86px);
	line-height: .96;
	letter-spacing: -.06em;
}

.dgs-hero-intro {
	max-width: 760px;
	margin: 30px 0 0;
	color: var(--dgs-muted);
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.6;
}

.dgs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 38px;
}

.dgs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 750;
	text-decoration: none;
	transition:
		transform .18s ease,
		background-color .18s ease,
		border-color .18s ease;
}

.dgs-button:hover {
	transform: translateY(-2px);
}

.dgs-button-primary {
	color: #ffffff;
	background: var(--dgs-blue);
}

.dgs-button-primary:hover {
	color: #ffffff;
	background: var(--dgs-blue-dark);
}

.dgs-button-secondary {
	color: var(--dgs-ink);
	background: #ffffff;
	border-color: var(--dgs-line);
}

.dgs-button-secondary:hover {
	color: var(--dgs-blue);
	border-color: var(--dgs-blue);
}

.dgs-trust-line {
	margin: 24px 0 0;
	color: var(--dgs-muted);
	font-size: 14px;
}

.dgs-hero-system {
	padding: 38px;
	border: 1px solid rgba(39, 93, 245, .13);
	border-radius: 32px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 28px 80px rgba(20, 40, 90, .10);
}

.dgs-system-card-main {
	padding: 25px 26px;
	margin-bottom: 14px;
	border-radius: 20px;
	color: #ffffff;
	background: var(--dgs-blue);
}

.dgs-system-card-main span {
	display: block;
	font-size: 13px;
	opacity: .8;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.dgs-system-card-main strong {
	display: block;
	margin-top: 5px;
	font-size: 34px;
	line-height: 1.1;
}

.dgs-system-flow {
	display: grid;
	gap: 8px;
}

.dgs-system-flow span {
	position: relative;
	padding: 13px 16px 13px 43px;
	border: 1px solid var(--dgs-line);
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	background: var(--dgs-white);
}

.dgs-system-flow span::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dgs-blue);
	transform: translateY(-50%);
}

.dgs-hero-system > p {
	margin: 20px 2px 0;
	color: var(--dgs-muted);
	font-size: 14px;
	line-height: 1.6;
}


/* ==========================================================
   PROOF / EXPERIENCE BAND
========================================================== */

.dgs-proof-band {
	padding: 0 0 72px;
	background: #f8faff;
}

.dgs-proof-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--dgs-line);
	border-bottom: 1px solid var(--dgs-line);
}

.dgs-stat {
	min-height: 155px;
	padding: 30px 26px;
	border-right: 1px solid var(--dgs-line);
}

.dgs-stat:last-child {
	border-right: 0;
}

.dgs-stat-number {
	display: block;
	margin-bottom: 12px;
	color: var(--dgs-blue);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.045em;
	font-variant-numeric: tabular-nums;
}

.dgs-stat span {
	display: block;
	max-width: 190px;
	color: var(--dgs-muted);
	font-size: 14px;
	line-height: 1.55;
}


/* ==========================================================
   PROBLEM CARDS
========================================================== */

.dgs-problems {
	background: #ffffff;
}

.dgs-problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.dgs-problem-card {
	min-height: 250px;
	padding: 30px;
	border: 1px solid var(--dgs-line);
	border-radius: var(--dgs-radius);
	background: #ffffff;
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease;
}

.dgs-problem-card:hover {
	transform: translateY(-4px);
	border-color: rgba(39, 93, 245, .30);
	box-shadow: 0 18px 45px rgba(20, 40, 80, .07);
}

.dgs-card-number {
	display: inline-block;
	margin-bottom: 44px;
	color: var(--dgs-blue);
	font-size: 13px;
	font-weight: 800;
}

.dgs-problem-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.dgs-problem-card p {
	margin: 0;
	color: var(--dgs-muted);
	line-height: 1.65;
}


/* ==========================================================
   DIAGNOSTIC MODEL
========================================================== */

.dgs-model {
	color: #ffffff;
	background: var(--dgs-dark);
}

.dgs-section-heading-light h2,
.dgs-model .dgs-section-heading h2 {
	color: #ffffff;
}

.dgs-model .dgs-section-heading > p:last-child {
	color: #aeb9ca;
}


/* ==========================================================
   DIGITAL GROWTH SYSTEM DIAGRAM
========================================================== */

.dgs-growth-map {
	margin-top: 58px;
}


/* Journey */

.dgs-growth-track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 22px;
	overflow: hidden;
	background: rgba(255, 255, 255, .025);
}

.dgs-growth-node {
	position: relative;
	min-height: 285px;
	padding: 28px 24px;
	border-right: 1px solid rgba(255, 255, 255, .14);
}

.dgs-growth-node:last-child {
	border-right: 0;
}

.dgs-growth-index {
	display: block;
	margin-bottom: 28px;
	color: #7799ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
}


/* Abstract node visual */

.dgs-growth-icon {
	position: relative;
	width: 46px;
	height: 46px;
	margin-bottom: 32px;
	border: 1px solid rgba(117, 152, 255, .45);
	border-radius: 50%;
}

.dgs-growth-icon::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: rgba(117, 152, 255, .15);
}

.dgs-growth-icon span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7598ff;
	transform: translate(-50%, -50%);
}


/* Horizontal connection arrows */

.dgs-growth-node:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 48px;
	right: -13px;
	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 26px;
	height: 26px;

	color: #7598ff;
	border-radius: 50%;
	background: var(--dgs-dark);

	font-size: 15px;
}

.dgs-growth-node h3 {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 21px;
}

.dgs-growth-node p {
	margin: 0;
	color: #aeb9ca;
	font-size: 14px;
	line-height: 1.6;
}


/* ==========================================================
   DWT DIAGNOSIS LAYER
========================================================== */

.dgs-growth-diagnosis {
	display: grid;
	grid-template-columns: 175px 1fr;
	align-items: center;
	gap: 28px;

	margin-top: 18px;
	padding: 22px 26px;

	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 18px;

	background: rgba(255, 255, 255, .045);
}

.dgs-growth-diagnosis-label {
	color: #7598ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .10em;
	text-transform: uppercase;
}

.dgs-growth-diagnosis-flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	gap: 18px;
}

.dgs-growth-diagnosis-flow div span {
	display: block;
	margin-bottom: 5px;
	color: #8f9bb0;
	font-size: 12px;
}

.dgs-growth-diagnosis-flow div strong {
	display: block;
	color: #ffffff;
	font-size: 16px;
}

.dgs-diagnosis-arrow {
	color: #7598ff;
	font-size: 21px;
}


/* ==========================================================
   BUSINESS OUTCOME
========================================================== */

.dgs-growth-outcome {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;

	margin-top: 18px;
	padding: 28px 30px;

	border-radius: 18px;
	background: var(--dgs-blue);
}

.dgs-growth-outcome span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.dgs-growth-outcome strong {
	display: block;
	color: #ffffff;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.1;
	letter-spacing: -.03em;
}

.dgs-growth-outcome p {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 15px;
	line-height: 1.6;
}


/* ==========================================================
   CAPABILITIES
========================================================== */

.dgs-capabilities {
	background: var(--dgs-soft);
}

.dgs-capability-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

.dgs-capability-card {
	grid-column: span 2;
	min-height: 220px;
	padding: 30px;
	border: 1px solid var(--dgs-line);
	border-radius: var(--dgs-radius);
	background: #ffffff;
}

.dgs-capability-card:nth-child(4),
.dgs-capability-card:nth-child(5) {
	grid-column: span 3;
}

.dgs-capability-card h3 {
	margin: 0 0 18px;
	font-size: 24px;
	line-height: 1.15;
}

.dgs-capability-card p {
	margin: 0;
	color: var(--dgs-muted);
	line-height: 1.65;
}


/* ==========================================================
   WHY DWT
========================================================== */

.dgs-why {
	background: #ffffff;
}

.dgs-why-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 90px;
}

.dgs-why-points {
	border-top: 1px solid var(--dgs-line);
}

.dgs-why-item {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 28px;
	padding: 28px 0;
	border-bottom: 1px solid var(--dgs-line);
}

.dgs-why-item h3,
.dgs-why-item p {
	margin: 0;
}

.dgs-why-item h3 {
	font-size: 18px;
}

.dgs-why-item p {
	color: var(--dgs-muted);
	line-height: 1.65;
}


/* ==========================================================
   PROCESS
========================================================== */

.dgs-process {
	background: #f8faff;
}

.dgs-process-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.dgs-process-grid article {
	position: relative;
	min-height: 260px;
	padding: 28px;
	border: 1px solid var(--dgs-line);
	border-radius: 20px;
	background: #ffffff;
}

.dgs-process-grid article > span {
	display: block;
	margin-bottom: 60px;
	color: var(--dgs-blue);
	font-size: 13px;
	font-weight: 800;
}

.dgs-process-grid h3 {
	margin: 0 0 12px;
	font-size: 22px;
}

.dgs-process-grid p {
	margin: 0;
	color: var(--dgs-muted);
	font-size: 15px;
	line-height: 1.6;
}


/* ==========================================================
   DIAGNOSIS CTA
========================================================== */

.dgs-diagnosis {
	background: #eef3ff;
}

.dgs-diagnosis-grid {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: 80px;
	align-items: start;
}

.dgs-large-copy {
	margin: 0 0 30px;
	color: var(--dgs-muted);
	font-size: 19px;
	line-height: 1.7;
}

.dgs-check-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dgs-check-list li {
	position: relative;
	padding: 11px 0 11px 32px;
	color: var(--dgs-ink);
	font-weight: 650;
}

.dgs-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 10px;
	color: var(--dgs-blue);
	font-weight: 900;
}


/* ==========================================================
   DGS LEAD FORM
========================================================== */

.dgs-form-wrap {
	padding: 32px;

	border: 1px solid var(--dgs-line);
	border-radius: 24px;

	background: #ffffff;

	box-shadow:
		0 18px 50px rgba(20, 40, 80, .08);
}

.dgs-form-wrap form {
	max-width: none;
}

.dgs-form-wrap h2,
.dgs-form-wrap h3,
.dgs-form-wrap .dwt-form-title {
	color: var(--dgs-ink) !important;
}

.dgs-form-wrap label {
	display: block;
	margin-bottom: 8px;

	color: var(--dgs-ink) !important;

	font-size: 14px;
	font-weight: 700;
}

.dgs-form-wrap input,
.dgs-form-wrap select,
.dgs-form-wrap textarea {
	width: 100%;

	color: var(--dgs-ink) !important;

	background: #f8faff !important;

	border: 1px solid #d5deeb !important;
	border-radius: 14px !important;
}

.dgs-form-wrap input::placeholder,
.dgs-form-wrap textarea::placeholder {
	color: #8793a5 !important;
	opacity: 1;
}

.dgs-form-wrap input:focus,
.dgs-form-wrap select:focus,
.dgs-form-wrap textarea:focus {
	background: #ffffff !important;

	border-color: var(--dgs-blue) !important;

	outline: 3px solid rgba(39, 93, 245, .12) !important;
}

.dgs-form-wrap button,
.dgs-form-wrap input[type="submit"] {
	width: auto;
	min-height: 50px;

	padding: 13px 24px;

	color: #ffffff !important;

	background: var(--dgs-blue) !important;

	border: 0 !important;
	border-radius: 999px !important;

	font-weight: 750;
	cursor: pointer;
}

.dgs-form-wrap button:hover,
.dgs-form-wrap input[type="submit"]:hover {
	background: var(--dgs-blue-dark) !important;
}

.dgs-form-wrap p,
.dgs-form-wrap small {
	color: var(--dgs-muted) !important;
}


/* ==========================================================
   FINAL NOTE
========================================================== */

.dgs-final-note {
	padding: 28px 0 50px;
	background: #eef3ff;
}

.dgs-final-note p {
	margin: 0;
	text-align: center;
	color: var(--dgs-muted);
}

.dgs-final-note a {
	color: var(--dgs-blue);
	font-weight: 700;
}


/* ==========================================================
   RESPONSIVE — TABLET
========================================================== */

@media (max-width: 1050px) {

	.dgs-hero-grid,
	.dgs-why-grid,
	.dgs-diagnosis-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.dgs-hero-system {
		max-width: 700px;
	}

	.dgs-problem-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dgs-capability-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dgs-capability-card,
	.dgs-capability-card:nth-child(4),
	.dgs-capability-card:nth-child(5) {
		grid-column: auto;
	}

	.dgs-process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

}


/* ==========================================================
   RESPONSIVE — DIAGRAM / STATS
========================================================== */

@media (max-width: 900px) {

	.dgs-proof-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dgs-stat:nth-child(2) {
		border-right: 0;
	}

	.dgs-stat:nth-child(1),
	.dgs-stat:nth-child(2) {
		border-bottom: 1px solid var(--dgs-line);
	}


	/* Journey becomes vertical */

	.dgs-growth-track {
		grid-template-columns: 1fr;
	}

	.dgs-growth-node {
		min-height: auto;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .14);
	}

	.dgs-growth-node:last-child {
		border-bottom: 0;
	}

	.dgs-growth-node:not(:last-child)::after {
		content: "↓";
		top: auto;
		right: 28px;
		bottom: -13px;
	}


	/* Diagnosis */

	.dgs-growth-diagnosis {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.dgs-growth-diagnosis-flow {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.dgs-diagnosis-arrow {
		transform: rotate(90deg);
		transform-origin: center;
	}


	/* Outcome */

	.dgs-growth-outcome {
		grid-template-columns: 1fr;
		gap: 18px;
	}

}


/* ==========================================================
   RESPONSIVE — MOBILE
========================================================== */

@media (max-width: 700px) {

	.dgs-container {
		width: min(100% - 28px, 1180px);
	}

	.dgs-section {
		padding: 72px 0;
	}

	.dgs-hero {
		padding: 76px 0 64px;
	}

	.dgs-hero h1 {
		font-size: clamp(44px, 13vw, 64px);
	}

	.dgs-hero-intro {
		font-size: 18px;
	}

	.dgs-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.dgs-button {
		width: 100%;
	}

	.dgs-hero-system {
		padding: 24px;
		border-radius: 24px;
	}

	.dgs-problem-grid,
	.dgs-capability-grid,
	.dgs-process-grid {
		grid-template-columns: 1fr;
	}

	.dgs-process-grid article > span,
	.dgs-card-number {
		margin-bottom: 36px;
	}

	.dgs-why-item {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.dgs-section-heading {
		margin-bottom: 38px;
	}

	.dgs-problem-card,
	.dgs-capability-card,
	.dgs-process-grid article {
		min-height: auto;
	}

	.dgs-form-wrap {
		padding: 22px;
	}

}


/* ==========================================================
   RESPONSIVE — SMALL MOBILE
========================================================== */

@media (max-width: 600px) {

	.dgs-proof-grid {
		grid-template-columns: 1fr;
	}

	.dgs-stat {
		min-height: auto;

		border-right: 0;
		border-bottom: 1px solid var(--dgs-line);
	}

	.dgs-stat:last-child {
		border-bottom: 0;
	}

	.dgs-stat span {
		max-width: none;
	}

}


/* ==========================================================
   ACCESSIBILITY — REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

	.dgs-button,
	.dgs-problem-card {
		transition: none;
	}

	.dgs-button:hover,
	.dgs-problem-card:hover {
		transform: none;
	}

}

/* ==========================================================
   DGS — SUCCESS / CONFIRMATION MESSAGE
========================================================== */

.dgs-form-wrap .dwt-lead-success {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #b7e4c7;
	border-radius: 14px;
	background: #ecfdf3;
	color: #166534 !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
	box-shadow: 0 4px 14px rgba(22, 101, 52, 0.06);
}

.dgs-form-wrap .dwt-lead-success a {
	color: #166534 !important;
	text-decoration: underline;
	font-weight: 700;
}

.dgs-form-wrap .dwt-lead-success::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	border-radius: 50%;
	background: #166534;
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	vertical-align: middle;
}