.ds-home-custom-dev {
	box-sizing: border-box;
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin: 0;
	margin-left: -50vw;
	padding: 56px 20px 64px;
	overflow: hidden;
	text-align: center;
}

.ds-home-custom-dev__bg {
	position: absolute;
	inset: 0;
	background: #ececec url('../images/home-custom-dev/section-bg.png') center top / cover no-repeat;
	z-index: 0;
}

.ds-home-custom-dev__inner {
	position: relative;
	z-index: 1;
	max-width: 1040px;
	margin: 0 auto;
}

.ds-home-custom-dev__head {
	margin-bottom: 28px;
}

.ds-home-custom-dev__title {
	margin: 0 0 12px;
	font-size: clamp(20px, 2.1vw, 26px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
}

.ds-home-custom-dev__sub {
	margin: 0 auto;
	max-width: 720px;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
}

.ds-home-custom-dev__gallery {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(12px, 2vw, 28px);
	min-height: 240px;
	margin: 12px auto 40px;
	padding: 0 clamp(8px, 2vw, 16px);
	max-width: 880px;
}

.ds-home-custom-dev__photo-wrap {
	flex: 0 1 auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.16)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}

.ds-home-custom-dev__photo-wrap--left,
.ds-home-custom-dev__photo-wrap--center {
	height: clamp(220px, 28vw, 300px);
}

.ds-home-custom-dev__photo-wrap--right {
	height: auto;
	align-self: flex-end;
}

.ds-home-custom-dev__photo {
	display: block;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
	border-radius: 14px;
}

.ds-home-custom-dev__photo-wrap--left .ds-home-custom-dev__photo,
.ds-home-custom-dev__photo-wrap--center .ds-home-custom-dev__photo {
	height: 100%;
}

.ds-home-custom-dev__photo-wrap--right .ds-home-custom-dev__photo {
	height: auto;
	max-height: clamp(150px, 19vw, 210px);
}

.ds-home-custom-dev__photo-wrap--left {
	transform: rotate(-8deg) translateY(10px);
	z-index: 1;
}

.ds-home-custom-dev__photo-wrap--center {
	transform: translateY(10px);
	z-index: 3;
}

.ds-home-custom-dev__photo-wrap--right {
	transform: rotate(8deg) translateY(10px);
	z-index: 2;
}

.ds-home-custom-dev__form {
	max-width: 640px;
	margin: 0 auto;
	text-align: left;
}

.ds-home-custom-dev__row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.ds-home-custom-dev__form input,
.ds-home-custom-dev__form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: #333;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ds-home-custom-dev__form textarea {
	border-radius: 22px;
	resize: vertical;
	min-height: 120px;
	margin-bottom: 18px;
}

.ds-home-custom-dev__form input::placeholder,
.ds-home-custom-dev__form textarea::placeholder {
	color: #aaa;
	text-transform: lowercase;
}

.ds-home-custom-dev__form input:focus,
.ds-home-custom-dev__form textarea:focus {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

.ds-home-custom-dev__feedback {
	margin: 0 0 12px;
	font-size: 14px;
	text-align: center;
}

.ds-home-custom-dev__feedback.is-error {
	color: #b32d2e;
}

.ds-home-custom-dev__feedback.is-success {
	color: #007017;
}

.ds-home-custom-dev__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: #3A8DFF;
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
	/* WoodMart global button vars — keep label readable on hover */
	--btn-default-color: #fff;
	--btn-default-color-hover: #fff;
	--btn-accented-color: #fff;
	--btn-accented-color-hover: #fff;
	--btn-default-bgcolor: #3A8DFF;
	--btn-default-bgcolor-hover: #2f7ae0;
	--btn-accented-bgcolor: #3A8DFF;
	--btn-accented-bgcolor-hover: #2f7ae0;
	box-shadow: none;
}

.ds-home-custom-dev__submit:hover,
.ds-home-custom-dev__submit:focus,
.ds-home-custom-dev__submit:focus-visible,
.ds-home-custom-dev__submit:active {
	background: #2f7ae0 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	box-shadow: none !important;
}

.ds-home-custom-dev__submit:active {
	background: #2769c4 !important;
}

.ds-home-custom-dev__submit span {
	color: inherit;
}

.ds-home-custom-dev__submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

@media (max-width: 767px) {
	.ds-home-custom-dev {
		padding: 40px 16px 48px;
	}

	.ds-home-custom-dev__gallery {
		min-height: 160px;
		margin-bottom: 28px;
		gap: 16px;
		justify-content: center;
	}

	.ds-home-custom-dev__gallery {
		gap: 10px;
	}

	.ds-home-custom-dev__photo-wrap--left,
	.ds-home-custom-dev__photo-wrap--center {
		height: 180px;
	}

	.ds-home-custom-dev__photo-wrap--right .ds-home-custom-dev__photo {
		max-height: 130px;
	}

	.ds-home-custom-dev__photo-wrap {
		filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.14));
	}

	.ds-home-custom-dev__row--split {
		grid-template-columns: 1fr;
	}
}
