.pph-contact-form-wrap {
	width: 100%;
}

.pph-contact-form {
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.32);
	border-radius: 8px;
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
	color: var(--pph-content-text, #334155);
	padding: clamp(22px, 3vw, 34px);
}

.pph-contact-form__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pph-contact-field {
	display: grid;
	gap: 7px;
	margin: 0;
}

.pph-contact-field--full {
	grid-column: 1 / -1;
}

.pph-contact-field label {
	color: var(--pph-heading-color, #101828);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
}

.pph-contact-field input,
.pph-contact-field select,
.pph-contact-field textarea {
	appearance: none;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.55);
	border-radius: 8px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--pph-heading-color, #101828);
	font: inherit;
	line-height: 1.45;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.pph-contact-field textarea {
	min-height: 170px;
	resize: vertical;
}

.pph-contact-field select {
	background-image:
		linear-gradient(45deg, transparent 50%, currentColor 50%),
		linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position:
		calc(100% - 20px) 50%,
		calc(100% - 15px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 40px;
}

.pph-contact-field input:focus,
.pph-contact-field select:focus,
.pph-contact-field textarea:focus {
	border-color: var(--pph-accent, #3157d5);
	box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.14);
	outline: none;
}

.pph-contact-submit {
	align-items: center;
	background: var(--pph-button-background, linear-gradient(135deg, var(--pph-accent, #3157d5), var(--pph-accent-2, #0f766e)));
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--pph-button-font, inherit);
	font-size: 1rem;
	font-weight: var(--pph-button-weight, 700);
	justify-content: center;
	line-height: 1.2;
	margin-top: 18px;
	min-height: 48px;
	padding: 0 22px;
	text-decoration: none;
}

.pph-contact-submit:hover,
.pph-contact-submit:focus-visible {
	filter: brightness(0.96);
	outline: none;
}

.pph-contact-notice {
	border-radius: 8px;
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 0 0 16px;
	padding: 13px 15px;
}

.pph-contact-notice.is-success {
	background: #ecfdf3;
	border: 1px solid #b7e4ca;
	color: #065f46;
}

.pph-contact-notice.is-error {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #9f1239;
}

.pph-contact-notice ul {
	margin: 8px 0 0 20px;
	padding: 0;
}

.pph-contact-form__trap {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

@media (max-width: 720px) {
	.pph-contact-form__grid {
		grid-template-columns: 1fr;
	}

	.pph-contact-submit {
		width: 100%;
	}
}
