/**
 * Website Core — Governed Forms v1.0
 */


/* =========================================================
 * FORM SHELL — DARK EXPERIENCE v1.1
 * ========================================================= */

.nyala-form-shell {
	width: 100%;
	max-width: 1100px;
	margin-inline: auto;
}

.nyala-form-shell__title {
	max-width: 760px;
	margin: 0 0 14px;

	color: var(--nyala-white, #fff);

	font-size: clamp(40px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.nyala-form-shell__description {
	max-width: 650px;
	margin: 0 0 52px;

	color: rgba(255, 255, 255, 0.66);

	font-size: 16px;
	line-height: 1.7;
}


/* =========================================================
 * GRID
 * ========================================================= */

.nyala-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
}

.nyala-form__field {
	min-width: 0;
}

.nyala-form__field--wide,
.nyala-form__field--textarea {
	grid-column: 1 / -1;
}


/* =========================================================
 * LABEL
 * ========================================================= */

.nyala-form__label {
	display: block;
	margin: 0 0 10px;

	color: rgba(255, 255, 255, 0.88);

	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.nyala-form__required {
	margin-left: 3px;
	color: var(--nyala-yellow, #f3cd56);
}


/* =========================================================
 * CONTROLS
 * ========================================================= */

.nyala-form__control {
	display: block;

	width: 100%;
	min-height: 56px;

	padding: 14px 17px;

	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: 10px;

	outline: none;

	background: rgba(255, 255, 255, 0.055);
	color: var(--nyala-white, #fff);

	font: inherit;
	font-size: 15px;
	line-height: 1.5;

	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.nyala-form__control::placeholder {
	color: rgba(255, 255, 255, 0.34);
}

.nyala-form__control:hover {
	border-color: rgba(243, 205, 86, 0.38);
	background: rgba(255, 255, 255, 0.075);
}

.nyala-form__control:focus {
	border-color: rgba(243, 205, 86, 0.78);

	background: rgba(255, 255, 255, 0.085);

	box-shadow:
		0 0 0 3px rgba(243, 205, 86, 0.09);
}

.nyala-form__textarea {
	min-height: 154px;
	resize: vertical;
}


/* Chrome autofill */

.nyala-form__control:-webkit-autofill,
.nyala-form__control:-webkit-autofill:hover,
.nyala-form__control:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow:
		0 0 0 1000px #202b35 inset;
	caret-color: #fff;
}


/* =========================================================
 * ACTION
 * ========================================================= */

.nyala-form__actions {
	display: flex;
	align-items: center;

	margin-top: 36px;
}

.nyala-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	min-height: 54px;

	padding: 14px 24px;

	border: 0;
	border-radius: 999px;

	background: #dd403a;
	color: #fff;

	cursor: pointer;

	font: inherit;
	font-size: 15px;
	font-weight: 650;
	line-height: 1;

	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.16);

	transition:
		background-color 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}

.nyala-form__submit:hover {
	background: #c73530;

	transform: translateY(-2px);

	box-shadow:
		0 16px 34px rgba(0, 0, 0, 0.22);
}

.nyala-form__submit:focus-visible {
	outline: 3px solid rgba(243, 205, 86, 0.48);
	outline-offset: 4px;
}

.nyala-form__submit-arrow {
	color: var(--nyala-yellow, #f3cd56);

	font-size: 19px;

	transition:
		transform 180ms ease;
}

.nyala-form__submit:hover
.nyala-form__submit-arrow {
	transform: translate(3px, -3px);
}


/* =========================================================
 * EXPERIENCE FORM
 * Uses the same dark visual language as Detailed Itinerary.
 * ========================================================= */

.wc-experience-form-preview {
	position: relative;

	width: 100%;

	padding:
		var(--nyala-section-desktop, 112px)
		24px;

	overflow: hidden;

	background:
		var(--nyala-ink, #17212b);

	color:
		var(--nyala-white, #fff);
}

.wc-experience-form-preview__inner {
	position: relative;
	z-index: 1;

	width: 100%;
	max-width: 1100px;

	margin: 0 auto;
}


/*
 * Subtle ambient accent.
 * Keeps the Itinerary background language while giving
 * the consultation area a little more visual depth.
 */

.wc-experience-form-preview::after {
	content: "";

	position: absolute;

	width: 520px;
	height: 520px;

	right: -230px;
	top: -250px;

	border-radius: 50%;

	background:
		radial-gradient(
			circle,
			rgba(243, 205, 86, 0.075) 0%,
			rgba(243, 205, 86, 0.025) 42%,
			rgba(243, 205, 86, 0) 72%
		);

	pointer-events: none;
}


/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 767px) {

	.wc-experience-form-preview {
		padding: 72px 20px 78px;
	}

	.nyala-form-shell__title {
		font-size: clamp(36px, 11vw, 48px);
	}

	.nyala-form-shell__description {
		margin-bottom: 38px;

		font-size: 15px;
	}

	.nyala-form__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.nyala-form__field,
	.nyala-form__field--wide,
	.nyala-form__field--textarea {
		grid-column: 1;
	}

	.nyala-form__control {
		min-height: 54px;
	}

	.nyala-form__textarea {
		min-height: 145px;
	}

	.nyala-form__actions {
		margin-top: 30px;
	}

	.nyala-form__submit {
		width: 100%;
	}
}
