.dlvxcf {
	--dlvxcf-text: #18212b;
	--dlvxcf-muted: #68727d;
	--dlvxcf-border: #dfe4e8;
	--dlvxcf-border-focus: #a77943;
	--dlvxcf-surface: #fff;
	--dlvxcf-soft: #f7f8f8;
	--dlvxcf-button: #17232e;
	--dlvxcf-button-hover: #a77943;
	--dlvxcf-danger: #a72f2f;
	width: 100%;
	color: var(--dlvxcf-text);
	font: inherit;
}

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

.dlvxcf__form {
	position: relative;
	width: 100%;
	padding: clamp(22px, 3vw, 40px);
	border: 1px solid var(--dlvxcf-border);
	border-radius: 24px;
	background: var(--dlvxcf-surface);
	box-shadow: 0 20px 60px rgba(23, 35, 46, .07);
	transition: opacity .25s ease, transform .25s ease;
}

.dlvxcf__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.dlvxcf__field {
	display: grid;
	gap: 9px;
	min-width: 0;
}

.dlvxcf__field--message {
	margin-top: 20px;
}

.dlvxcf__label {
	color: var(--dlvxcf-text);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	letter-spacing: .01em;
}

.dlvxcf__label b {
	color: #a77943;
	font-weight: 700;
}

.dlvxcf input[type="text"],
.dlvxcf input[type="email"],
.dlvxcf input[type="tel"],
.dlvxcf select,
.dlvxcf textarea {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 13px 16px;
	border: 1px solid var(--dlvxcf-border);
	border-radius: 12px;
	outline: 0;
	background: var(--dlvxcf-soft);
	color: var(--dlvxcf-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.45;
	box-shadow: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.dlvxcf select {
	appearance: none;
	padding-right: 46px;
	background-image: linear-gradient(45deg, transparent 50%, #68727d 50%), linear-gradient(135deg, #68727d 50%, transparent 50%);
	background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.dlvxcf textarea {
	min-height: 150px;
	resize: vertical;
}

.dlvxcf input:focus,
.dlvxcf select:focus,
.dlvxcf textarea:focus {
	border-color: var(--dlvxcf-border-focus);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(167, 121, 67, .10);
}

.dlvxcf input::placeholder,
.dlvxcf textarea::placeholder {
	color: #939ba3;
	opacity: 1;
}

.dlvxcf__consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	margin-top: 20px;
	color: var(--dlvxcf-muted);
	font-size: 13px;
	line-height: 1.55;
	cursor: pointer;
}

.dlvxcf__consent input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--dlvxcf-button);
}

.dlvxcf__consent a {
	color: var(--dlvxcf-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dlvxcf__footer {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
}

.dlvxcf__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	margin: 0;
	padding: 14px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--dlvxcf-button);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.dlvxcf__submit:hover,
.dlvxcf__submit:focus-visible {
	background: var(--dlvxcf-button-hover);
	color: #fff;
	transform: translateY(-1px);
}

.dlvxcf__submit:disabled {
	cursor: wait;
	opacity: .68;
	transform: none;
}

.dlvxcf__submit svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dlvxcf__note {
	margin: 0;
	color: var(--dlvxcf-muted);
	font-size: 12px;
	line-height: 1.45;
	text-align: right;
}

.dlvxcf__status {
	margin: 0 0 20px;
	padding: 13px 15px;
	border: 1px solid rgba(167, 47, 47, .22);
	border-radius: 10px;
	background: rgba(167, 47, 47, .06);
	color: var(--dlvxcf-danger);
	font-size: 14px;
	line-height: 1.45;
}

.dlvxcf__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.dlvxcf__form.is-submitting {
	opacity: .82;
}

.dlvxcf__form.is-complete {
	display: grid;
	place-items: center;
	min-height: 430px;
}

.dlvxcf__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 570px;
	margin: auto;
	padding: 30px 10px;
	text-align: center;
}

.dlvxcf__success-icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin-bottom: 24px;
	border: 1px solid rgba(167, 121, 67, .38);
	border-radius: 50%;
	background: rgba(167, 121, 67, .08);
	color: #a77943;
}

.dlvxcf__success-icon svg {
	width: 31px;
	height: 31px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dlvxcf__success h3 {
	margin: 0;
	color: var(--dlvxcf-text);
	font: inherit;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.dlvxcf__success p {
	max-width: 500px;
	margin: 14px 0 0;
	color: var(--dlvxcf-muted);
	font-size: 16px;
	line-height: 1.65;
}

@media (max-width: 767px) {
	.dlvxcf__form {
		padding: 20px;
		border-radius: 18px;
	}

	.dlvxcf__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.dlvxcf__field--message,
	.dlvxcf__consent {
		margin-top: 16px;
	}

	.dlvxcf__footer {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	.dlvxcf__submit {
		width: 100%;
	}

	.dlvxcf__note {
		text-align: left;
	}

	.dlvxcf__form.is-complete {
		min-height: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dlvxcf__form,
	.dlvxcf__submit,
	.dlvxcf input,
	.dlvxcf select,
	.dlvxcf textarea {
		transition: none;
	}
}
