.demo-form-section {
	padding: 1.5rem 0 0;
}

#footer__cta .demo-form-section {
	margin-top: 0.5rem;
}

#footer__cta .demo-form-wrapper {
	text-align: left;
}

#footer__cta .demo-form__submit {
	margin-top: 0.5rem;
}

.demo-form-wrapper {
	max-width: 520px;
	margin: 0 auto;
}

.demo-form-title {
	margin: 0 0 1.75rem;
	text-align: center;
}

.demo-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.demo-form__field {
	position: relative;
}

.demo-form__label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: Raleway, sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #1b1b1b;
}

.demo-form__input,
.demo-form__select,
.demo-form__textarea {
	width: 100%;
	font-family: Raleway, sans-serif;
	color: #1b1b1b;
	font-size: 17px;
	box-shadow: none;
	border-radius: 12px;
	border: 2px solid #b2b2b2;
	padding: 0 20px;
	background-color: #fff;
	transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.demo-form__input,
.demo-form__select {
	height: 50px;
	line-height: 50px;
}

.demo-form__input::placeholder,
.demo-form__textarea::placeholder {
	color: #999;
}

.demo-form__input:focus,
.demo-form__select:focus,
.demo-form__textarea:focus {
	outline: none;
	box-shadow: 0 0 4px -2px #000;
	border-color: #ccc;
}

.demo-form__input.is-error,
.demo-form__select.is-error,
.demo-form__textarea.is-error {
	border-color: #dc3545;
}

.demo-form__select {
	appearance: none;
	padding-right: 2.75rem;
	cursor: pointer;
}

.demo-form__select:invalid {
	color: #999;
}

.demo-form__select option {
	color: #1b1b1b;
}

.demo-form__select-wrap {
	position: relative;
}

.demo-form__select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.25rem;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #1b1b1b;
	border-bottom: 2px solid #1b1b1b;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.demo-form__textarea {
	min-height: 100px;
	height: 100px;
	line-height: 24px;
	padding: 10px 20px;
	resize: vertical;
}

.demo-form__error {
	margin: 0.35rem 0 0;
	padding: 0 0.25rem;
	color: #dc3545;
	font-family: Figtree, sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

.demo-form__submit {
	width: 100%;
	margin-top: 0.5rem;
	margin-bottom: 0 !important;
}

.demo-form__submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.demo-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.demo-form-success {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.5rem;
	border: 2px solid #b2b2b2;
	border-radius: 12px;
	background: #fff;
	text-align: center;
}

.demo-form-success.is-visible {
	display: flex;
}

.demo-form-success__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.25rem;
	border: 2px solid #1db14c;
	border-radius: 999px;
	background: rgba(29, 177, 76, 0.08);
	color: #1db14c;
}

.demo-form-success__title {
	margin: 0;
	font-family: Raleway, sans-serif;
	font-size: 1.5rem;
	font-weight: 800;
	color: #1b1b1b;
}

.demo-form-success__text {
	max-width: 26rem;
	margin: 1rem 0 0;
	color: #1b1b1b;
	font-family: Figtree, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

.demo-form-success__text a {
	color: #1db14c;
	font-weight: 800;
	text-decoration: none;
}

.demo-form-success__text a:hover {
	color: #126f30;
	text-decoration: underline;
}
