.ppn-footer-form {
	background: linear-gradient(180deg, var(--ppn-bg, #f7f2ea) 0%, var(--ppn-bg-cream, #fff8ef) 100%);
	padding: 48px 0;
	border-top: 1px solid rgba(0,0,0,0.06);
}

.ppn-footer-form-inner {
	max-width: 900px;
	margin: 0 auto;
}

.ppn-footer-form-header {
	text-align: center;
	margin-bottom: 28px;
}

.ppn-footer-form-header span {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(68,68,68,0.5);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.ppn-footer-form-header h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--ppn-maroon-deep, #6f0000);
}

.ppn-enquiry-form {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: stretch;
}

.ppn-ft-field {
	position: relative;
}

.ppn-ft-field.has-error input {
	border-color: #b42318;
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.ppn-ft-field.has-error > label {
	color: #8f1f16;
}

.ppn-ft-error {
	display: none;
	margin: 6px 4px 0;
	color: #8f1f16;
	font-size: 0.76rem;
	line-height: 1.35;
}

.ppn-ft-field.has-error .ppn-ft-error {
	display: block;
}

.ppn-ft-progressive[hidden],
.ppn-ft-progress-note[hidden] {
	display: none !important;
}

.ppn-enquiry-form:not(.ppn-footer-expanded) .ppn-altcha-shell {
	display: none !important;
}

.ppn-ft-progressive {
	animation: ppnFooterStepReveal 0.24s ease;
}

.ppn-ft-progress-note {
	grid-column: 1 / -1;
	position: relative;
	margin: -2px 0 2px;
	padding: 10px 14px 10px 44px;
	border: 1px dashed rgba(111, 0, 0, 0.16);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 250, 244, 0.9), rgba(247, 242, 234, 0.7));
	color: rgba(68, 68, 68, 0.72);
	font-size: 0.8rem;
	line-height: 1.45;
}

.ppn-ft-progress-note::before {
	position: absolute;
	top: 50%;
	left: 18px;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: rgba(232, 115, 26, 0.78);
	box-shadow: 0 0 0 5px rgba(232, 115, 26, 0.1);
	content: "";
	transform: translateY(-50%);
}

.ppn-ft-field input {
	width: 100%;
	padding: 16px 16px 8px;
	border: 1.5px solid rgba(0,0,0,0.08);
	border-radius: var(--ppn-radius-ms, 12px);
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	color: rgb(68, 68, 68);
	background: var(--ppn-white, #ffffff);
	outline: none;
	min-height: 52px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ppn-ft-field input:focus {
	border-color: var(--ppn-maroon, #960000);
	box-shadow: 0 0 0 3px rgba(150,0,0,0.08);
}

.ppn-ft-field > label {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-family: 'Inter', sans-serif;
	font-size: 0.88rem;
	font-weight: 400;
	color: rgba(68,68,68,0.45);
	pointer-events: none;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	padding: 0 4px;
	line-height: 1;
}

.ppn-ft-field > input:focus ~ label,
.ppn-ft-field > input:not(:placeholder-shown) ~ label {
	top: 0;
	transform: translateY(-50%);
	font-size: 0.68rem;
	font-weight: 600;
	background: var(--ppn-white, #ffffff);
	padding: 0 6px;
	left: 12px;
}

.ppn-ft-field > input:focus ~ label {
	color: var(--ppn-maroon, #960000);
}

.ppn-ft-field > input:not(:placeholder-shown) ~ label {
	color: rgb(68, 68, 68);
}

.ppn-ft-field select {
	width: 100%;
	padding: 20px 40px 10px 16px;
	min-height: 52px;
	border: 1.5px solid rgba(0,0,0,0.08);
	border-radius: var(--ppn-radius-ms, 12px);
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	color: rgb(68, 68, 68);
	background-color: var(--ppn-white, #ffffff);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1.25L6 6.25L11 1.25'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	appearance: none;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ppn-ft-field select:focus {
	border-color: var(--ppn-maroon, #960000);
	box-shadow: 0 0 0 3px rgba(150,0,0,0.08);
}

.ppn-ft-field--select > label,
.ppn-ft-field--month > label {
	top: 0;
	transform: translateY(-50%);
	font-size: 0.68rem;
	font-weight: 600;
	color: rgb(68, 68, 68);
	background: var(--ppn-white, #ffffff);
	padding: 0 6px;
	left: 12px;
}

.ppn-ft-field--month input[type="date"],
.ppn-ft-field--month input {
	padding-top: 20px;
	padding-bottom: 10px;
	min-height: 52px;
	color-scheme: light;
}

.ppn-ft-help {
	grid-column: 1 / -1;
	margin: 4px 0;
	position: static;
}

.ppn-ft-context-note {
	grid-column: 1 / -1;
	margin: -2px 0 2px;
	padding: 8px 12px;
	border: 1px solid rgba(232, 115, 26, 0.18);
	border-radius: 999px;
	background: rgba(232, 115, 26, 0.07);
	color: rgba(111, 0, 0, 0.78);
	font-size: 0.78rem;
	line-height: 1.4;
}

.ppn-ft-reassurance {
	grid-column: 1 / -1;
	margin-top: -4px;
	color: rgba(68, 68, 68, 0.68);
	font-size: 0.78rem;
	line-height: 1.45;
}

.ppn-ft-help-hint {
	font-size: 12px;
	color: rgba(68,68,68,0.65);
	margin-bottom: 8px;
}

.ppn-ft-help-options {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
}

.ppn-ft-help-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: rgba(0,0,0,0.03);
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 999px;
	cursor: pointer;
	position: static;
	transform: none;
	pointer-events: auto;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ppn-ft-help-option:hover {
	background: rgba(232,115,26,0.08);
	border-color: rgba(232,115,26,0.35);
}

.ppn-ft-help-option input {
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	accent-color: var(--ppn-saffron, #e8731a);
	box-shadow: none;
}

.ppn-ft-help-option:has(input:checked) {
	background: rgba(232,115,26,0.14);
	border-color: rgba(232,115,26,0.55);
	font-weight: 600;
}

.ppn-altcha-shell {
	grid-column: 1 / -1;
	position: relative;
	isolation: isolate;
	justify-self: start;
	overflow: hidden;
	box-sizing: border-box;
	width: min(100%, 1080px);
	border-radius: 22px;
	border: 1px solid rgba(111, 0, 0, 0.14);
	background:
		radial-gradient(circle at 12% 0%, rgba(232, 115, 26, 0.18), transparent 32%),
		linear-gradient(135deg, rgba(255, 250, 244, 0.98) 0%, rgba(247, 242, 234, 0.94) 100%);
	box-shadow: 0 18px 46px rgba(111, 0, 0, 0.09);
	margin-top: 8px;
	padding: 24px;
}

.ppn-altcha-shell::before {
	position: absolute;
	inset: 0 24px auto 24px;
	z-index: 0;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, var(--ppn-maroon, #960000), var(--ppn-saffron, #e8731a), rgba(25, 185, 111, 0.76));
	content: "";
}

.ppn-altcha-shell::after {
	position: absolute;
	right: -90px;
	bottom: -120px;
	z-index: 0;
	width: 240px;
	height: 240px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(111, 0, 0, 0.1), transparent 68%);
	content: "";
}

.ppn-altcha-shell--stealth,
.ppn-altcha-widget--stealth {
	display: none;
}

.ppn-altcha-shell--visible {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	align-items: center;
	gap: 20px;
	animation: ppnAltchaReveal 0.22s ease;
}

.ppn-altcha-shell__meta {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 8px;
	align-content: center;
	min-width: 0;
	padding: 8px 0 8px 24px;
}

.ppn-altcha-shell__eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	gap: 7px;
	border-radius: 999px;
	background: rgba(111, 0, 0, 0.08);
	padding: 5px 11px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(111, 0, 0, 0.86);
}

.ppn-altcha-shell__eyebrow::before {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #19b96f;
	box-shadow: 0 0 0 4px rgba(25, 185, 111, 0.12);
	content: "";
}

.ppn-altcha-shell__hint {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(68, 68, 68, 0.76);
	max-width: 48ch;
}

.ppn-altcha-shell__widget {
	position: relative;
	z-index: 1;
	display: block;
	box-sizing: border-box;
	width: 100%;
	justify-self: end;
	max-width: 360px;
	padding: 6px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.48);
	box-shadow: inset 0 0 0 1px rgba(111, 0, 0, 0.08);
}

.ppn-altcha-widget--visible {
	display: block;
	width: 100%;
}

.ppn-altcha-widget {
	--altcha-border-radius: 14px;
	--altcha-border-width: 1px;
	--altcha-color-active: var(--ppn-maroon, #960000);
	--altcha-color-base: rgba(255, 255, 255, 0.82);
	--altcha-color-border: rgba(111, 0, 0, 0.18);
	--altcha-color-border-focus: var(--ppn-maroon, #960000);
	--altcha-color-footer-bg: rgba(111, 0, 0, 0.035);
	--altcha-color-text: rgb(68, 68, 68);
	--altcha-max-width: 330px;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	filter: drop-shadow(0 10px 18px rgba(111, 0, 0, 0.08));
}

.ppn-altcha-shell__widget altcha-widget {
	box-sizing: border-box;
	max-width: 100%;
}

.ppn-enquiry-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 32px;
	background: var(--ppn-maroon, #960000);
	color: var(--ppn-white, #ffffff);
	border: none;
	border-radius: var(--ppn-radius-pill, 999px);
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.ppn-enquiry-form button:hover {
	background: var(--ppn-maroon-hover, #7d1f1f);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(150,0,0,0.2);
}

.ppn-footer-noscript {
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(150,0,0,0.06);
	color: var(--ppn-maroon, #960000);
	font-size: 0.88rem;
	line-height: 1.5;
}

#ppnFooterResult.ppn-footer-result {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 18px;
	text-align: center;
	line-height: 1.5;
}

#ppnFooterResult.ppn-footer-result--ok {
	border: 1px solid rgba(34, 197, 94, 0.22);
	background: rgba(34, 197, 94, 0.08);
	color: #137a39;
}

#ppnFooterResult.ppn-footer-result--err {
	border: 1px solid rgba(220, 38, 38, 0.16);
	background: rgba(220, 38, 38, 0.06);
	color: #b42318;
}

#ppnFooterResult .ppn-footer-result__title {
	display: block;
	margin-bottom: 6px;
	color: inherit;
	font-weight: 700;
}

#ppnFooterResult .ppn-footer-result__next {
	margin: 0;
	color: rgba(68, 68, 68, 0.76);
	font-size: 0.88rem;
}

@media (max-width: 768px) {
	.ppn-footer-form { padding: 32px 0; }
	.ppn-footer-form-header h3 { font-size: 1.3rem; }
	.ppn-enquiry-form { grid-template-columns: 1fr; }
	.ppn-enquiry-form button { min-height: 44px; }
	.ppn-altcha-shell { width: 100%; padding: 22px 18px 18px; }
	.ppn-altcha-shell::before { inset-inline: 18px; }
	.ppn-altcha-shell--visible { grid-template-columns: 1fr; gap: 14px; }
	.ppn-altcha-shell__meta { padding-left: 14px; }
	.ppn-altcha-shell__widget { justify-self: stretch; max-width: 100%; padding: 0; background: transparent; box-shadow: none; }
	.ppn-altcha-widget { --altcha-max-width: 100%; }
}

@media (max-width: 480px) {
	.ppn-footer-form { padding: 32px 0; }
	.ppn-footer-form-header h3 { font-size: 1.1rem; }
	.ppn-enquiry-form button { width: 100%; min-height: 48px; }
	#ppnFooterBtn { width: calc(100% - 62px); }
	.ppn-ft-field input { min-height: 52px; }
	.ppn-ft-error { font-size: 0.74rem; }
	.ppn-ft-reassurance { padding-right: 62px; }
	.ppn-ft-context-note { border-radius: 14px; font-size: 0.74rem; }
	.ppn-altcha-shell__hint { font-size: 0.8rem; }
	.ppn-altcha-shell__eyebrow { font-size: 0.66rem; }
}

@keyframes ppnAltchaReveal {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ppnFooterStepReveal {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppn-altcha-shell--visible,
	.ppn-ft-progressive {
		animation: none;
	}
}
