/* FlyOra Contact — the JS-rendered general enquiry form (ct-*) and interaction states for the
   Contact page. Layout and typography live in Elementor (fy-* / fx-* / ct-* global classes).
   Field styling mirrors the Plan My Trip planner so both forms feel like one system. */

/* ---------- Anchors ---------- */
.elementor .ct-form-sec {
	scroll-margin-top: 96px;
}

/* ---------- Direct contact cards ---------- */
.elementor .ct-reach {
	transition: border-color .3s ease, box-shadow .35s ease, transform .45s var(--fx-spring, ease);
}
.elementor .ct-reach > :first-child {
	transition: background-color .3s ease, color .3s ease, transform .5s var(--fx-spring, ease);
}
.elementor .ct-reach:hover,
.elementor .ct-reach:focus-visible {
	border-color: rgba(241, 90, 34, .45);
	box-shadow: 0 20px 36px -24px rgba(241, 90, 34, .6);
	transform: translate3d(0, -3px, 0);
}
.elementor .ct-reach:hover > :first-child,
.elementor .ct-reach:focus-visible > :first-child {
	background-color: var(--fy-orange, #F15A22);
	color: #fff;
	transform: rotate(-8deg);
}
.elementor .ct-reach:focus-visible,
.elementor .ct-path:focus-visible {
	outline: 3px solid rgba(241, 90, 34, .4);
	outline-offset: 3px;
}

/* ---------- Routing pathways ---------- */
.elementor .ct-path {
	transition: border-color .3s ease, background-color .3s ease, transform .45s var(--fx-spring, ease);
}
.elementor .ct-path:hover {
	border-color: rgba(241, 90, 34, .45);
	transform: translate3d(0, -3px, 0);
}
.elementor .ct-path > :last-child {
	transition: transform .45s var(--fx-spring, ease), color .3s ease;
}
.elementor .ct-path:hover > :last-child {
	transform: translateX(4px);
	color: var(--fy-orange-dark, #D8491A);
}

/* ---------- FAQ (Elementor accordion) ---------- */
.elementor .ct-faq details {
	border-bottom: 1px solid var(--fy-border, #E4E6EF);
}
.elementor .ct-faq summary {
	list-style: none;
}
.elementor .ct-faq summary::-webkit-details-marker {
	display: none;
}
.elementor .ct-faq summary:hover p,
.elementor .ct-faq summary:hover span {
	color: var(--fy-orange-dark, #D8491A);
}
.elementor .ct-faq .e-accordion-item-icon-base svg,
.elementor .ct-faq .e-svg-base {
	transition: transform .35s var(--fx-ease, ease);
}
.elementor .ct-faq details[open] .e-accordion-item-icon-base .e-svg-base {
	transform: rotate(45deg);
	color: var(--fy-orange, #F15A22);
}

/* ==========================================================
   Contact form (rendered by flyora-contact.js)
   ========================================================== */
.ct {
	margin: 0;
	font-family: var(--fy-font-body), sans-serif;
	color: var(--fy-text, #4B4F68);
}
.ct *,
.ct *::before,
.ct *::after {
	box-sizing: border-box;
}
.ct svg,
.ct-done svg {
	display: block;
	flex: 0 0 auto;
}
.ct [hidden],
.ct-done [hidden] {
	display: none !important;
}
.ct-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.ct-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.ct-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.ct-full {
	grid-column: 1 / -1;
}
.ct-field label {
	font-size: 14px;
	font-weight: 700;
	color: var(--fy-blue, #2C2B7C);
}
.ct-field em {
	font-style: normal;
	font-weight: 500;
	color: var(--fy-muted, #80849C);
}
.ct-req {
	color: var(--fy-orange, #F15A22);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--fy-border, #E4E6EF);
	border-radius: 14px;
	background: var(--fy-bg, #F6F7FB);
	font: 500 16px/1.3 var(--fy-font-body), sans-serif;
	color: var(--fy-ink, #181A33);
	box-shadow: none;
	transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.ct-field select {
	padding-right: 44px;
	font-weight: 600;
	cursor: pointer;
}
.ct-field textarea {
	height: auto;
	min-height: 140px;
	padding: 14px 16px;
	line-height: 1.55;
	resize: vertical;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
	color: var(--fy-muted, #80849C);
	opacity: 1;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
	outline: none;
	border-color: var(--fy-orange, #F15A22);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(241, 90, 34, .12);
}
.ct-field.is-invalid input,
.ct-field.is-invalid select,
.ct-field.is-invalid textarea {
	border-color: #E0603C;
	background: #FFF8F5;
}
.ct-select {
	position: relative;
	display: block;
}
.ct-select > svg {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	color: var(--fy-blue, #2C2B7C);
	pointer-events: none;
}
.ct-error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: #B2381A;
}
.ct-error svg {
	width: 16px;
	height: 16px;
	margin-top: 1px;
}
.ct-send-error {
	margin: 16px 0 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: #FFF3EE;
	font-size: 14px;
	line-height: 1.55;
	color: #8E2E16;
}
.ct-send-error a {
	font-weight: 700;
	color: var(--fy-orange-dark, #D8491A);
}
.ct-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-top: 22px;
}
.ct-submit {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 32px;
	border-radius: 999px;
	background: var(--fy-orange, #F15A22);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 12px 24px -12px rgba(241, 90, 34, .7);
	transition: background-color .25s ease, transform .35s var(--fx-spring, ease), box-shadow .25s ease;
}
.ct-submit svg {
	width: 18px;
	height: 18px;
	transition: transform .4s var(--fx-spring, ease);
}
.ct-submit:hover {
	background: var(--fy-orange-dark, #D8491A);
	transform: translateY(-2px);
}
.ct-submit:hover svg {
	transform: translate(3px, -3px);
}
.ct-submit:focus-visible {
	outline: 3px solid rgba(241, 90, 34, .4);
	outline-offset: 3px;
}
.ct-submit.is-busy {
	opacity: .75;
	cursor: progress;
	transform: none;
}
.ct-note {
	display: flex;
	flex: 1 1 240px;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--fy-muted, #80849C);
}
.ct-note svg {
	width: 18px;
	height: 18px;
	color: var(--fy-orange, #F15A22);
}

/* ---------- Success ---------- */
.ct-done {
	padding: 24px 0 8px;
	outline: none;
	animation: ctRise .55s var(--fx-ease, ease);
}
@keyframes ctRise {
	from { opacity: 0; transform: translate3d(0, 14px, 0); }
	to { opacity: 1; transform: none; }
}
.ct-done-mark {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 0 0 8px var(--fy-orange-soft, #FEF1EB);
}
.ct-done-mark svg {
	width: 30px;
	height: 30px;
}
.ct-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fy-orange, #F15A22);
}
.ct-done-title {
	margin: 0;
	font-family: var(--fy-font-heading), sans-serif;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.03em;
	color: var(--fy-blue, #2C2B7C);
}
.ct-done-title span {
	color: var(--fy-orange, #F15A22);
}
.ct-done-text {
	max-width: 460px;
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.65;
}
.ct-ref {
	display: inline-block;
	margin: 16px 0 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--fy-blue-soft, #EEEEF8);
	font-size: 14px;
}
.ct-ref strong {
	margin-left: 4px;
	letter-spacing: .04em;
	color: var(--fy-blue, #2C2B7C);
}
.ct-done-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}
.ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--fx-spring, ease);
}
.ct-btn svg {
	width: 18px;
	height: 18px;
}
.ct-btn-wa {
	background: var(--fy-blue, #2C2B7C);
	color: #fff;
}
.ct-btn-wa:hover {
	background: var(--fy-blue-deep, #1D1C5A);
	color: #fff;
	transform: translateY(-2px);
}
.ct-btn-outline {
	border-color: var(--fy-border, #E4E6EF);
	color: var(--fy-blue, #2C2B7C);
}
.ct-btn-outline:hover {
	border-color: var(--fy-blue, #2C2B7C);
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.ct-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.ct-submit,
	.ct-btn {
		width: 100%;
	}
	.ct-done-title {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ct *,
	.ct-done,
	.elementor .ct-reach,
	.elementor .ct-path {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------- Inline links inside Elementor text ---------- */
.elementor .ct-form-sec p a:not(.e-paragraph-link-base),
.elementor .ct-faq p a:not(.e-paragraph-link-base) {
	font-weight: 700;
	color: var(--fy-orange-dark, #D8491A);
	text-decoration: none;
}
.elementor .ct-form-sec p a:not(.e-paragraph-link-base):hover,
.elementor .ct-faq p a:not(.e-paragraph-link-base):hover {
	text-decoration: underline;
}
.elementor .ct-office p a:not(.e-paragraph-link-base) {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 154, 112, .7);
	text-underline-offset: 3px;
}

/* Comfortable touch targets for the office card's phone / WhatsApp / email links */
@media (max-width: 1024px) {
	.elementor .ct-office .e-paragraph-link-base {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}
