.contact-intro {
	max-width: 680px;
	margin: 0 auto 32px;
	padding: 0 16px;
	line-height: 1.9;
	color: #5f5a66;
}

.contact-form-wrap {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 16px 64px;
}

.contact-form__summary {
	margin-bottom: 24px;
	padding: 14px 16px;
	border-left: 4px solid #b8385f;
	border-radius: 8px;
	background: #fbeef2;
	color: #7a2440;
	line-height: 1.7;
}

.contact-form__summary p {
	margin: 0;
}

.contact-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__field {
	display: grid;
	gap: 8px;
	margin-bottom: 24px;
}

.contact-form__field--check {
	gap: 6px;
}

.contact-form__label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 600;
	color: #2e2b33;
}

.contact-form__req,
.contact-form__opt {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.contact-form__req {
	background: #b8385f;
	color: #ffffff;
}

.contact-form__opt {
	background: #ece9ee;
	color: #5f5a66;
}

.contact-form__input {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #cfc7cc;
	border-radius: 10px;
	background: #ffffff;
	color: #2e2b33;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input--textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-form__input:focus {
	outline: none;
	border-color: #b8385f;
	box-shadow: 0 0 0 3px rgba(184, 56, 95, 0.2);
}

.contact-form__input[aria-invalid="true"] {
	border-color: #b8385f;
	background: #fff8fa;
}

.contact-form__error {
	margin: 0;
	color: #a12a4a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

.contact-form__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.7;
	cursor: pointer;
}

.contact-form__check input {
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	flex-shrink: 0;
	accent-color: #b8385f;
}

.contact-form__check a {
	color: #b8385f;
}

.contact-form__actions {
	margin-top: 32px;
	text-align: center;
}

.contact-form__submit {
	width: 100%;
	min-height: 52px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: #2e2b33;
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.contact-form__submit:hover {
	background: #1f1c22;
}

.contact-form__submit:active {
	transform: translateY(1px);
}

.contact-form__submit:focus-visible {
	outline: 3px solid rgba(184, 56, 95, 0.35);
	outline-offset: 3px;
}

@media (min-width: 960px) {
	.contact-form__submit {
		width: auto;
		min-width: 280px;
	}
}

.contact-form__success {
	max-width: 680px;
	margin: 0 auto 32px;
	padding: 16px 18px;
	border-left: 4px solid #2e2b33;
	border-radius: 8px;
	background: #f4f4f6;
	color: #2e2b33;
	line-height: 1.8;
}

.contact-form__success p {
	margin: 0;
}

.contact-form__submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}
