/* Fly World — Footer V1.1 (permanent 4-column architecture). Scoped to .fwf; reuses the site's loaded Manrope / Cormorant Garamond. */

/* Hide Blocksy's default footer while this plugin is active (deactivation restores it). */
body.fwf-active #footer.ct-footer { display: none !important; }

/* Blog posts: trim Blocksy's bottom content spacing (96 / 64px) above the footer. */
body.fwf-active.single-post .ct-container-full[data-vertical-spacing*="bottom"] { padding-bottom: 56px; }

.fwf, .fwf * { box-sizing: border-box; }

.fwf {
	--fwf-ivory: #F8F6F1;
	--fwf-gold: #C59335;
	--fwf-gold-soft: #D8AD59;
	--fwf-muted: rgba(248,246,241,.68);
	--fwf-rule: rgba(248,246,241,.10);
	position: relative;
	isolation: isolate;
	width: 100%;
	margin: 0;
	padding: 96px 0 0;
	background-color: #030f22;
	background-image:
		radial-gradient(circle at 90% 0%, rgba(197,147,53,.07), transparent 32%),
		linear-gradient(180deg, #04162f 0%, #030f22 220px, #030f22 100%);
	color: var(--fwf-ivory);
	font-family: "Manrope", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Restrained gold hairline at the top edge */
.fwf::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(197,147,53,.42) 22%, rgba(197,147,53,.42) 78%, transparent);
	pointer-events: none;
}

.fwf__inner { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }

/* Brand ~34%, Explore Dubai ~23%, Travel & Holidays ~18%, Company & Help ~25% */
.fwf__grid {
	display: grid;
	grid-template-columns: minmax(0, 3.4fr) minmax(0, 2.35fr) minmax(0, 1.8fr) minmax(0, 2.45fr);
	gap: 48px 48px;
	padding-bottom: 76px;
}

.fwf a { color: inherit; text-decoration: none; }
.fwf a:focus-visible { outline: 2px solid var(--fwf-gold); outline-offset: 3px; border-radius: 4px; }

.fwf-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fwf-icon--fill { fill: currentColor; stroke: none; }

.fwf-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Brand */
.fwf__brand { padding-right: 16px; }
.fwf__logo { display: inline-block; line-height: 0; }
.fwf__logo-img { display: block; width: 236px; max-width: 100%; height: auto; }
.fwf__wordmark { font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1; font-weight: 600; }

.fwf .fwf__positioning {
	max-width: 380px;
	margin: 28px 0 0;
	font-size: 15.5px;
	line-height: 1.75;
	color: var(--fwf-muted);
}

.fwf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

.fwf__wa {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 8px 24px 8px 18px;
	border: 1px solid rgba(197,147,53,.48);
	border-radius: 999px;
	background: rgba(255,255,255,.045);
	box-shadow: inset 0 1px rgba(255,255,255,.07);
	transition: transform .28s ease, border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.fwf__wa .fwf-icon { width: 22px; height: 22px; color: var(--fwf-gold-soft); }
.fwf__wa-text { display: flex; flex-direction: column; line-height: 1.2; }
.fwf__wa-label { font-size: 14px; font-weight: 700; color: var(--fwf-ivory); }
.fwf__wa-number { margin-top: 3px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--fwf-muted); }
.fwf__wa:hover, .fwf__wa:focus-visible {
	border-color: rgba(216,173,89,.9);
	background: rgba(255,255,255,.08);
	transform: translateY(-2px);
	box-shadow: inset 0 1px rgba(255,255,255,.09), 0 14px 30px rgba(0,0,0,.28);
}

.fwf__plan {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 700;
	color: var(--fwf-ivory);
	background-image: linear-gradient(var(--fwf-gold), var(--fwf-gold));
	background-repeat: no-repeat;
	background-size: 34px 1px;
	background-position: 0 calc(50% + 12px);
	transition: background-size .3s ease, color .25s ease;
}
.fwf__plan .fwf-icon { width: 15px; height: 15px; color: var(--fwf-gold-soft); transition: transform .3s ease; }
.fwf__plan:hover { background-size: calc(100% - 25px) 1px; color: #fff; }
.fwf__plan:hover .fwf-icon { transform: translate(2px, -2px); }

/* Column headings */
.fwf .fwf__heading {
	margin: 4px 0 18px;
	padding: 0;
	font-family: "Manrope", sans-serif;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--fwf-gold);
}

/* Navigation groups: compact editorial links */
.fwf__links { list-style: none; margin: 0; padding: 0; }
.fwf__links li { margin: 0; }
.fwf__links a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 2px 0;
	font-family: "Cormorant Garamond", serif;
	font-size: 18.5px;
	line-height: 1.25;
	font-weight: 600;
	color: rgba(248,246,241,.9);
	transition: color .25s ease;
}
.fwf__links a:hover { color: var(--fwf-gold-soft); }

/* Contact block (beneath Company & Help) */
.fwf__contact-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--fwf-rule); }
.fwf .fwf__subheading {
	margin: 0 0 12px;
	padding: 0;
	font-family: "Manrope", sans-serif;
	font-size: 10.5px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(248,246,241,.52);
}
.fwf__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fwf__contact li { margin: 0; }
.fwf__contact a,
.fwf__address {
	display: inline-flex;
	align-items: flex-start;
	gap: 11px;
	min-height: 32px;
	padding: 5px 0;
	font-style: normal;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--fwf-ivory);
	overflow-wrap: anywhere;
}
.fwf__contact a { align-items: center; transition: color .25s ease; }
.fwf__contact a:hover { color: var(--fwf-gold-soft); }
.fwf__contact .fwf-icon { color: var(--fwf-gold); }
.fwf__address .fwf-icon { margin-top: 4px; }
.fwf__address span { color: var(--fwf-muted); }

/* Lower bar */
.fwf__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding: 22px 0 26px;
	border-top: 1px solid var(--fwf-rule);
}
.fwf .fwf__copyright { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(248,246,241,.58); }
.fwf__legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; }
.fwf__legal-links li { margin: 0; }
.fwf__legal-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: rgba(248,246,241,.7); transition: color .25s ease; }
.fwf__legal-links a:hover { color: var(--fwf-ivory); }

/* Laptop */
@media (max-width: 1280px) {
	.fwf__inner { width: min(1180px, calc(100% - 48px)); }
	.fwf__grid { column-gap: 40px; }
	.fwf__brand { padding-right: 0; }
}

/* Tablet: brand full width, then the three navigation groups */
@media (max-width: 1024px) {
	.fwf { padding-top: 80px; }
	.fwf__inner { width: min(920px, calc(100% - 44px)); }
	.fwf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; padding-bottom: 64px; }
	.fwf__brand {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 0 40px;
		padding-bottom: 44px;
		border-bottom: 1px solid var(--fwf-rule);
	}
	.fwf__brand .fwf__logo,
	.fwf__brand .fwf__positioning { grid-column: 1; }
	.fwf__actions { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; margin-top: 0; }
}

/* Narrow tablet: Explore + Travel side by side, Company & Help (links | contact) below */
@media (max-width: 860px) {
	.fwf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fwf__col--company { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
	.fwf__col--company .fwf__contact-block { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Mobile: single column, simple stacking */
@media (max-width: 767px) {
	.fwf { padding-top: 64px; }
	.fwf__inner { width: calc(100% - 30px); }
	.fwf__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 44px; }
	.fwf__brand { display: block; padding-bottom: 40px; }
	.fwf__logo-img { width: 210px; }
	.fwf .fwf__positioning { margin-top: 22px; font-size: 15px; }
	.fwf__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
	.fwf__wa { justify-content: center; }
	.fwf__plan { justify-content: center; align-self: center; }
	.fwf__plan:hover { background-size: 34px 1px; }
	.fwf .fwf__heading { margin-bottom: 8px; }
	.fwf__links a { min-height: 44px; font-size: 20px; }
	.fwf__col--company { display: block; }
	.fwf__col--company .fwf__contact-block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--fwf-rule); }
	.fwf__contact a, .fwf__address { min-height: 44px; font-size: 15.5px; }
	.fwf__bar { flex-direction: column; align-items: flex-start; gap: 0; padding: 18px 0 22px; }
	.fwf .fwf__copyright { padding: 10px 0 4px; }
}

@media (max-width: 390px) {
	.fwf__inner { width: calc(100% - 22px); }
}

@media (prefers-reduced-motion: reduce) {
	.fwf__wa, .fwf__plan, .fwf__plan .fwf-icon, .fwf__links a, .fwf__contact a, .fwf__legal-links a { transition: none; }
	.fwf__wa:hover, .fwf__wa:focus-visible { transform: none; }
}
