/* ═══════════════════════════════════════════════════════════
   PRAYAG PANDITS — ENQUIRY FORM STYLES
   Floating label (Air India / Material Design outlined text field).
   Label starts as placeholder inside the field, animates up
   to sit ON the top border with a white background notch.
   ═══════════════════════════════════════════════════════════ */

.ppn-enq-form {
	max-width: 480px;
	margin: 0 auto;
}

.ppn-enq-form__hd {
	text-align: center;
	margin-bottom: 24px;
}

.ppn-enq-form__hd h3 {
	font-family: var(--ppn-font-heading, 'Source Serif 4', Georgia, serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ppn-charcoal, #222);
	margin: 0 0 6px;
}

.ppn-enq-form__hd p {
	font-size: 0.88rem;
	color: var(--ppn-text-muted, #666);
	margin: 0;
	line-height: 1.5;
}

.ppn-enq-form__field {
	position: relative;
	margin-bottom: 20px;
}

.ppn-enq-form__field input,
.ppn-enq-form__field select,
.ppn-enq-form__field textarea {
	width: 100%;
	padding: 16px;
	font-family: var(--ppn-font-body, 'Inter', sans-serif);
	font-size: 0.95rem;
	color: var(--ppn-charcoal, #222);
	background: #fff;
	border: 1.5px solid #c4b8a8;
	border-radius: 10px;
	transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
	min-height: 56px;
	box-sizing: border-box;
}

.ppn-enq-form__field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23444'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.ppn-enq-form__field textarea {
	resize: vertical;
	min-height: 100px;
}

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

.ppn-enq-form__field--textarea label {
	top: 20px;
	transform: none;
}

.ppn-enq-form__field input:focus,
.ppn-enq-form__field select:focus,
.ppn-enq-form__field textarea:focus {
	outline: none;
	border-color: var(--ppn-maroon, #960000);
	box-shadow: 0 0 0 3px rgba(150, 0, 0, 0.06);
}

.ppn-enq-form__field input:focus ~ label,
.ppn-enq-form__field select:focus ~ label,
.ppn-enq-form__field textarea:focus ~ label,
.ppn-enq-form__field input:not(:placeholder-shown) ~ label,
.ppn-enq-form__field textarea:not(:placeholder-shown) ~ label,
.ppn-enq-form__field select ~ label {
	top: 0;
	transform: translateY(-50%);
	font-size: 0.72rem;
	font-weight: 600;
	background: #fff;
	padding: 0 6px;
	left: 12px;
}

.ppn-enq-form__field input:focus ~ label,
.ppn-enq-form__field select:focus ~ label,
.ppn-enq-form__field textarea:focus ~ label {
	color: var(--ppn-maroon, #960000);
}

.ppn-enq-form__field input:not(:placeholder-shown) ~ label,
.ppn-enq-form__field textarea:not(:placeholder-shown) ~ label,
.ppn-enq-form__field select ~ label {
	color: var(--ppn-charcoal, #222);
}

/* Keep help checkboxes out of the floating-label field treatment. */
.ppn-enq-form .ppn-enq-form__help label {
	position: static;
	display: inline-flex !important;
	align-items: center;
	width: auto;
	padding: 0;
	line-height: 1.25;
	color: var(--ppn-near-black, #1a1a1a);
	pointer-events: auto;
}

.ppn-enq-form .ppn-enq-form__help input[type="checkbox"] {
	flex: 0 0 16px;
	width: 16px !important;
	height: 16px !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 1.5px solid rgba(26, 26, 26, 0.28);
	border-radius: 4px;
	box-shadow: none;
	-webkit-appearance: checkbox;
	appearance: auto;
}

.ppn-enq-form__next,
.ppn-enq-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 28px;
	font-family: var(--ppn-font-heading, 'Source Serif 4', Georgia, serif);
	font-size: 0.9rem;
	font-weight: 700;
	color: #fff;
	background: var(--ppn-maroon, #960000);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	min-height: 52px;
	transition: background 0.2s, transform 0.15s;
	margin-top: 8px;
	letter-spacing: 0.02em;
}

.ppn-enq-form__next:hover,
.ppn-enq-form__submit:hover {
	background: var(--ppn-maroon-hover, #7e0000);
	transform: translateY(-1px);
}

.ppn-enq-form__next:disabled,
.ppn-enq-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.ppn-enq-form__back {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	font-family: var(--ppn-font-heading, 'Source Serif 4', Georgia, serif);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ppn-charcoal, #222);
	background: #fff;
	border: 1.5px solid #c4b8a8;
	border-radius: 10px;
	cursor: pointer;
	min-height: 48px;
	transition: border-color 0.2s;
}

.ppn-enq-form__back:hover {
	border-color: var(--ppn-charcoal, #222);
}

.ppn-enq-form__row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	margin-top: 8px;
}

.ppn-enq-form__context-note {
	margin: -8px 0 18px;
	padding: 8px 12px;
	border: 1px solid rgba(232, 115, 26, 0.18);
	border-radius: 14px;
	background: rgba(232, 115, 26, 0.07);
	color: rgba(111, 0, 0, 0.78);
	font-size: 0.78rem;
	line-height: 1.45;
}

.ppn-altcha-shell {
	position: relative;
	isolation: isolate;
	justify-self: start;
	overflow: hidden;
	box-sizing: border-box;
	width: min(100%, 1080px);
	margin-top: 16px;
	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);
	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,
.ppn-altcha-widget--visible,
.ppn-altcha-widget {
	display: block;
	width: 100%;
}

.ppn-altcha-shell__widget {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	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 {
	--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;
	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-enq-form__result {
	text-align: center;
	padding: 24px;
	border-radius: 10px;
	font-size: 0.92rem;
	line-height: 1.5;
}

.ppn-enq-form__result--ok {
	background: rgba(34, 197, 94, 0.08);
	color: #16a34a;
	border: 1px solid rgba(34, 197, 94, 0.2);
}

.ppn-enq-form__result--ok strong {
	display: block;
	font-family: var(--ppn-font-heading, 'Source Serif 4', Georgia, serif);
	font-size: 1rem;
	margin-bottom: 4px;
}

.ppn-enq-form__result--err {
	background: rgba(220, 38, 38, 0.06);
	color: #dc2626;
	border: 1px solid rgba(220, 38, 38, 0.15);
}

.ppn-enq-form__trust {
	text-align: center;
	font-size: 0.75rem;
	color: var(--ppn-text-muted, #666);
	margin-top: 16px;
	line-height: 1.5;
}

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

.ppn-enq-form__step {
	animation: ppnFormFadeIn 0.3s ease;
}

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

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

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

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

@media (max-width: 480px) {
	.ppn-enq-form__hd h3 {
		font-size: 1.05rem;
	}

	.ppn-enq-form__field input,
	.ppn-enq-form__field select,
	.ppn-enq-form__field textarea {
		font-size: 16px;
	}

	.ppn-enq-form__next,
	.ppn-enq-form__submit {
		font-size: 0.88rem;
		padding: 14px 20px;
	}

	.ppn-enq-form__row {
		grid-template-columns: 1fr;
	}

	.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__widget {
		justify-self: stretch;
		max-width: 100%;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	.ppn-altcha-shell__meta {
		padding-left: 14px;
	}

	.ppn-altcha-widget {
		--altcha-max-width: 100%;
	}

	.ppn-altcha-shell__hint {
		font-size: 0.8rem;
	}

	.ppn-altcha-shell__eyebrow {
		font-size: 0.66rem;
	}
}

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