/* First Chapter Travel – trip request forms. Palette taken from the YOOtheme style. */
.fct-form-wrap {
	--fct-navy: #032843;
	--fct-navy-dark: #021c30;
	--fct-ink: #22313d;
	--fct-muted: #5d6d7a;
	--fct-paper: #fffcf8;
	--fct-cream: #f6f2eb;
	--fct-mist: #dce7ee;
	--fct-line: #c9d5de;
	--fct-error: #b3213f;
	--fct-ok: #2f7d4f;
	--fct-serif: "Libre Baskerville", Georgia, serif;
	--fct-sans: "Open Sans", "Source Sans Pro", Arial, sans-serif;
	max-width: 880px;
	margin: 32px 0;
	color: var(--fct-ink);
	font-family: var(--fct-sans);
}
.fct-form-wrap *,
.fct-form-wrap *::before,
.fct-form-wrap *::after { box-sizing: border-box; }

.fct-form,
.fct-success {
	position: relative;
	background: var(--fct-paper);
	border: 1px solid var(--fct-mist);
	border-top: 3px solid var(--fct-navy);
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(3, 40, 67, .04), 0 18px 40px -24px rgba(3, 40, 67, .25);
	padding: clamp(22px, 4vw, 44px);
}

/* Sections */
.fct-section + .fct-section {
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid var(--fct-mist);
}
.fct-form-wrap .fct-section-title {
	font-family: var(--fct-serif);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.3;
	color: var(--fct-navy);
	margin: 0 0 4px;
	text-transform: none;
	letter-spacing: 0;
}
.fct-form-wrap .fct-section-intro {
	margin: 0;
	font-size: 15px;
	color: var(--fct-muted);
}
.fct-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 24px;
	margin-top: 20px;
}
.fct-field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.fct-field--half { grid-column: span 1; }
@media (max-width: 640px) {
	.fct-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.fct-field--half { grid-column: 1 / -1; }
}

/* Labels */
.fct-form-wrap .fct-label {
	display: block;
	float: none;
	width: auto;
	padding: 0;
	margin: 0 0 7px;
	font-family: var(--fct-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--fct-navy);
}
.fct-req { color: var(--fct-error); margin-left: 2px; }
.fct-optional {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fct-muted);
}
.fct-form-wrap .fct-help { margin: 6px 0 0; font-size: 14px; color: var(--fct-muted); }
.fct-form-wrap fieldset .fct-help { margin: -2px 0 10px; }

/* Text controls */
.fct-form input[type="text"],
.fct-form input[type="email"],
.fct-form input[type="tel"],
.fct-form input[type="number"],
.fct-form select,
.fct-form textarea {
	display: block;
	width: 100%;
	max-width: none;
	height: 50px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid var(--fct-line);
	border-radius: 4px;
	background: #fff;
	color: var(--fct-ink);
	font-family: var(--fct-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	box-shadow: inset 0 1px 2px rgba(3, 40, 67, .04);
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.fct-form textarea { height: auto; min-height: 150px; padding: 13px 15px; resize: vertical; }
.fct-form select {
	padding-right: 42px;
	cursor: pointer;
	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 d='M1 1.5l5 5 5-5' fill='none' stroke='%23032843' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.fct-form select:invalid { color: var(--fct-muted); }
.fct-form select option { color: var(--fct-ink); }
.fct-form ::placeholder { color: #8d9aa5; opacity: 1; }
.fct-form input:hover,
.fct-form select:hover,
.fct-form textarea:hover { border-color: #a7b5c0; }
.fct-form input:focus,
.fct-form select:focus,
.fct-form textarea:focus {
	outline: none;
	border-color: var(--fct-navy);
	box-shadow: 0 0 0 3px rgba(3, 40, 67, .14);
}

/* Choice chips (checkbox groups and radios) */
.fct-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.fct-choice { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.fct-choice input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}
.fct-choice span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 17px;
	border: 1px solid var(--fct-line);
	border-radius: 999px;
	background: #fff;
	color: var(--fct-ink);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
	user-select: none;
}
.fct-choice span::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	border: 1.5px solid #a7b5c0;
	border-radius: 3px;
	background: #fff center / 11px no-repeat;
	transition: inherit;
}
.fct-choice--radio span::before { border-radius: 50%; }
.fct-choice:hover span { border-color: var(--fct-navy); }
.fct-choice input:checked + span {
	background: var(--fct-navy);
	border-color: var(--fct-navy);
	color: var(--fct-paper);
}
.fct-choice input:checked + span::before {
	border-color: var(--fct-paper);
	background-color: var(--fct-paper);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.5l3.2 3L11 1.5' fill='none' stroke='%23032843' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fct-choice--radio input:checked + span::before {
	background-image: none;
	box-shadow: inset 0 0 0 3px var(--fct-paper);
	background-color: var(--fct-navy);
}
.fct-choice input:focus-visible + span { outline: 2px solid var(--fct-navy); outline-offset: 2px; }

/* Newsletter consent */
.fct-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border-radius: 4px;
	background: var(--fct-cream);
	cursor: pointer;
	font-size: 15px;
	line-height: 1.5;
}
.fct-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fct-consent-box {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border: 1.5px solid #a7b5c0;
	border-radius: 3px;
	background: #fff center / 13px no-repeat;
}
.fct-consent input:checked + .fct-consent-box {
	border-color: var(--fct-navy);
	background-color: var(--fct-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.5l3.2 3L11 1.5' fill='none' stroke='%23fffcf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fct-consent input:focus-visible + .fct-consent-box { outline: 2px solid var(--fct-navy); outline-offset: 2px; }

/* Errors */
.fct-form-wrap .fct-error { margin: 7px 0 0; font-size: 14px; color: var(--fct-error); }
.fct-field.is-invalid input,
.fct-field.is-invalid select,
.fct-field.is-invalid textarea,
.fct-field.is-invalid .fct-choice span { border-color: var(--fct-error); }
.fct-alert,
.fct-status:not(:empty) {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-left: 3px solid var(--fct-error);
	background: #fbeef1;
	color: var(--fct-error);
	font-size: 15px;
}
.fct-status:not(:empty) { margin: 20px 0 0; }

/* Actions */
.fct-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid var(--fct-mist);
}
.fct-form .fct-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 34px;
	border: 0;
	border-radius: 2px;
	background: var(--fct-navy);
	color: var(--fct-paper);
	font-family: var(--fct-sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .03em;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}
.fct-form .fct-submit:hover { background: var(--fct-navy-dark); }
.fct-form .fct-submit:active { transform: translateY(1px); }
.fct-form .fct-submit:focus-visible { outline: 2px solid var(--fct-navy); outline-offset: 3px; }
.fct-form .fct-submit[disabled] { opacity: .75; cursor: progress; }
.fct-form .fct-submit[disabled]::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 252, 248, .35);
	border-top-color: var(--fct-paper);
	border-radius: 50%;
	animation: fct-spin .8s linear infinite;
}
@keyframes fct-spin { to { transform: rotate(360deg); } }
.fct-form-wrap .fct-privacy { flex: 1 1 260px; margin: 0; font-size: 14px; color: var(--fct-muted); }
.fct-form-wrap .fct-privacy a { color: var(--fct-navy); text-decoration: underline; }
@media (max-width: 640px) {
	.fct-form .fct-submit { width: 100%; }
}

/* Success */
.fct-success { text-align: center; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 56px); outline: none; }
.fct-success-icon { width: 56px; height: 56px; color: var(--fct-ok); margin: 0 auto 18px; display: block; }
.fct-form-wrap .fct-success-title {
	font-family: var(--fct-serif);
	font-weight: 400;
	font-size: 26px;
	color: var(--fct-navy);
	margin: 0 0 12px;
}
.fct-success p { max-width: 520px; margin: 0 auto; font-size: 17px; }

/* Honeypot */
.fct-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.fct-form-wrap * { transition: none !important; animation: none !important; }
}
