/**
 * FlyRent — site header and menu (FlyRent_Header). Full width.
 * Loads on every page when the header is active. Hides the Elementor header.
 */
/* The Elementor / Astra header sits inside #page on most pages (not always a direct child of body). */
body.fly-hd-on #masthead, body.fly-hd-on header.site-header, body.fly-hd-on #page > header:not(.fly-hd), body.fly-hd-on .ehf-header #masthead { display: none !important; }

.fly-hd-bar, .fly-hd, .fly-hd-panel {
	--hd-blue: #0A4193; --hd-blue-700: #08326F; --hd-blue-50: #EAF0F9; --hd-red: #E2000C; --hd-red-700: #B5000A;
	--hd-navy: #061A3A; --hd-ink: #0E1B33; --hd-muted: #4A5872; --hd-line: #DCE3EE; --hd-white: #FFFFFF;
	--hd-display: 'Montserrat', 'Figtree', system-ui, sans-serif; --hd-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hd-ease: cubic-bezier(.16, 1, .3, 1);
	--hd-gutter: clamp(16px, 3.2vw, 64px);
	font-family: var(--hd-text); line-height: 1.4; -webkit-font-smoothing: antialiased; text-align: left;
}
.fly-hd-bar *, .fly-hd *, .fly-hd-panel *, .fly-hd-bar *::before, .fly-hd *::before, .fly-hd *::after { box-sizing: border-box; }
.fly-hd :where(ul), .fly-hd-panel :where(ul), .fly-hd-bar :where(p), .fly-hd :where(p) { margin: 0; padding: 0; list-style: none; }
.fly-hd a, .fly-hd-bar a, .fly-hd-panel a { text-decoration: none; }
.fly-hd :where(a, button):focus-visible, .fly-hd-panel :where(a, button):focus-visible, .fly-hd-bar a:focus-visible { outline: 3px solid var(--hd-blue); outline-offset: 2px; }
.fly-hd-panel :where(a, button):focus-visible { outline-color: var(--hd-white); }
.fly-hd .fly-icon, .fly-hd-bar .fly-icon, .fly-hd-panel .fly-icon { width: 18px; height: 18px; flex: none; }
.fly-hd-wrap { width: 100%; padding-inline: var(--hd-gutter); }

/* ── Info bar ───────────────────────────────────────────────────── */
.fly-hd-bar { background: var(--hd-navy); color: #B9C8E3; font-size: 13px; }
.fly-hd-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.fly-hd-info, .fly-hd-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 26px; }
.fly-hd-info > span, .fly-hd-links a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.fly-hd-links a { transition: color .2s ease; }
.fly-hd-links a:hover { color: var(--hd-white); }
.fly-hd-bar .fly-icon { width: 15px; height: 15px; opacity: .8; }
.fly-hd-open.is-open [data-fly-open-text]::before, .fly-hd-open.is-closed [data-fly-open-text]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #F87171; vertical-align: 1px; }
.fly-hd-open.is-open [data-fly-open-text]::before { background: #34D399; animation: fly-hd-ping 2.4s ease-out infinite; }
@media (max-width: 960px) { .fly-hd-bar { display: none; } }

/* ── Main bar ───────────────────────────────────────────────────── */
.fly-hd { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 800; background: var(--hd-white); border-bottom: 1px solid var(--hd-line); transition: transform .5s var(--hd-ease), box-shadow .35s ease; }
.fly-hd.is-scrolled { box-shadow: 0 14px 34px -22px rgba(6, 26, 58, .55); }
.fly-hd.is-hidden { transform: translateY(-110%); }
.fly-hd-inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); min-height: 92px; transition: min-height .4s var(--hd-ease); }
.fly-hd.is-scrolled .fly-hd-inner { min-height: 70px; }
.fly-hd-brand { display: flex; align-items: center; flex: none; height: 66px; transition: height .4s var(--hd-ease); }
.fly-hd.is-scrolled .fly-hd-brand { height: 50px; }
.fly-hd-brand img { display: block; height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.fly-hd-nav { flex: 1; min-width: 0; }
.fly-hd-nav > ul { display: flex; align-items: center; justify-content: center; gap: clamp(0px, .6vw, 10px); }
.fly-hd-link { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 14px clamp(10px, 1.1vw, 20px); border: 0; background: none; cursor: pointer; color: var(--hd-ink); font: 700 15.5px/1.2 var(--hd-display); letter-spacing: -0.005em; transition: color .25s ease; }
.fly-hd-link:hover, .fly-hd-nav li.is-current > .fly-hd-link, .fly-hd-nav li.is-open > .fly-hd-link { color: var(--hd-blue); }
/* One moving underline follows the hovered / current item (positioned by header.js). */
.fly-hd-ink { position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: var(--hd-red); opacity: 0; transition: transform .45s var(--hd-ease), width .45s var(--hd-ease), opacity .25s ease; pointer-events: none; }
.fly-hd-ink.is-on { opacity: 1; }
.fly-hd-caret { width: 16px; height: 16px; transition: transform .35s var(--hd-ease); }
.fly-hd-nav li.has-sub.is-open .fly-hd-caret { transform: rotate(180deg); }

/* Simple dropdown (custom menus) */
.fly-hd-nav li.has-sub:not(.has-mega) { position: relative; }
.fly-hd-sub { position: absolute; left: 50%; top: calc(100% + 8px); z-index: 5; min-width: 260px; padding: 10px; border: 1px solid var(--hd-line); border-radius: 16px; background: var(--hd-white); box-shadow: 0 28px 50px -24px rgba(6, 26, 58, .5); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .4s var(--hd-ease), visibility .25s; }
.fly-hd-nav li.has-sub.is-open > .fly-hd-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.fly-hd-sub a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--hd-ink); font: 700 15px/1.3 var(--hd-display); transition: background-color .2s ease, color .2s ease; }
.fly-hd-sub a:hover, .fly-hd-sub a[aria-current="page"] { background: var(--hd-blue-50); color: var(--hd-blue); }

/* Full-width mega panel */
.fly-hd-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 4; background: var(--hd-white); border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); box-shadow: 0 40px 60px -34px rgba(6, 26, 58, .45); opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--hd-ease), opacity .25s ease, visibility .5s; }
.fly-hd-nav li.has-mega.is-open > .fly-hd-mega { opacity: 1; visibility: visible; clip-path: inset(0 0 -60px 0); }
.fly-hd-mega-inner { display: grid; grid-template-columns: repeat(2, minmax(240px, 340px)) minmax(280px, 380px); justify-content: center; gap: clamp(24px, 4vw, 72px); padding-block: 36px 40px; }
.fly-hd-mega-inner:not(:has(.fly-hd-mega-car)) { grid-template-columns: repeat(2, minmax(240px, 340px)); }
.fly-hd-mega-inner:not(:has(.fly-hd-mega-col + .fly-hd-mega-col)) { grid-template-columns: minmax(240px, 380px) minmax(280px, 380px); }
.fly-hd-mega-title { margin-bottom: 10px; color: var(--hd-muted); font: 700 12px/1.2 var(--hd-display); letter-spacing: .14em; text-transform: uppercase; }
.fly-hd-mega-col ul { display: grid; gap: 2px; }
.fly-hd-mega-col a { position: relative; display: grid; gap: 2px; padding: 12px 40px 12px 14px; border-radius: 14px; color: var(--hd-ink); transition: background-color .25s ease, transform .4s var(--hd-ease); }
.fly-hd-mega-col a strong { font: 700 16px/1.25 var(--hd-display); }
.fly-hd-mega-col a span { color: var(--hd-muted); font-size: 14px; }
.fly-hd-mega-go { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--hd-red); opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .4s var(--hd-ease); }
.fly-hd-mega-col a:hover, .fly-hd-mega-col a[aria-current="page"] { background: var(--hd-blue-50); transform: translateX(4px); }
.fly-hd-mega-col a:hover .fly-hd-mega-go { opacity: 1; transform: none; }
.fly-hd-mega-car { display: grid; gap: 6px; padding: 14px; border-radius: 20px; background: #F2F5FA; color: var(--hd-ink); transition: transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease); }
.fly-hd-mega-car:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(10, 65, 147, .6); }
.fly-hd-mega-img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: #EAEFF7; }
.fly-hd-mega-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--hd-ease); }
.fly-hd-mega-car:hover img { transform: scale(1.05); }
.fly-hd-mega-img em { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 999px; background: var(--hd-blue); color: var(--hd-white); font: 700 11px/1 var(--hd-display); font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.fly-hd-mega-car strong { padding-inline: 4px; font: 700 16px/1.25 var(--hd-display); }
.fly-hd-mega-price { padding-inline: 4px; color: var(--hd-red); font: 600 1.5rem/1.1 var(--hd-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fly-hd-mega-price small { display: block; margin-top: 2px; color: var(--hd-muted); font: 500 12.5px/1.3 var(--hd-text); letter-spacing: 0; }

.fly-hd-actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.fly-hd-tel { display: inline-flex; align-items: center; gap: 9px; padding: 10px 4px; color: var(--hd-ink); font: 700 15px/1 var(--hd-display); font-variant-numeric: tabular-nums; transition: color .2s ease; }
.fly-hd-tel .fly-icon { color: var(--hd-blue); transition: transform .4s var(--hd-ease); }
.fly-hd-tel:hover { color: var(--hd-blue); }
.fly-hd-tel:hover .fly-icon { transform: rotate(-12deg) scale(1.1); }
.fly-hd-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 12px 0 24px; border-radius: 999px; background: var(--hd-red); color: var(--hd-white); font: 700 15px/1 var(--hd-display); white-space: nowrap; box-shadow: 0 14px 26px -14px rgba(226, 0, 12, .9); transition: background-color .2s ease, transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease); }
.fly-hd-cta .fly-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: transform .4s var(--hd-ease), background-color .2s ease; }
.fly-hd-cta:hover { background: var(--hd-red-700); transform: translateY(-2px); color: var(--hd-white); box-shadow: 0 20px 30px -14px rgba(226, 0, 12, .85); }
.fly-hd-cta:hover .fly-icon { transform: translateX(3px); background: rgba(255, 255, 255, .3); }
.fly-hd-burger { display: none; position: relative; width: 48px; height: 48px; padding: 0; border: 2px solid var(--hd-line); border-radius: 50%; background: var(--hd-white); cursor: pointer; transition: border-color .2s ease; }
.fly-hd-burger:hover { border-color: var(--hd-blue); }
.fly-hd-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--hd-ink); transition: transform .4s var(--hd-ease), opacity .2s ease; }
.fly-hd-burger span:nth-child(1) { top: 16px; } .fly-hd-burger span:nth-child(2) { top: 22px; } .fly-hd-burger span:nth-child(3) { top: 28px; }
.fly-hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fly-hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fly-hd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Reading progress: a hairline under the bar */
.fly-hd-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hd-red); transform: scaleX(var(--fly-progress, 0)); transform-origin: left; pointer-events: none; }

@media (max-width: 1280px) { .fly-hd-tel span { display: none; } .fly-hd-tel { width: 46px; height: 46px; justify-content: center; padding: 0; border: 2px solid var(--hd-line); border-radius: 50%; } }
@media (max-width: 1100px) {
	.fly-hd-nav { display: none; }
	.fly-hd-burger { display: block; }
	.fly-hd-inner { min-height: 74px; gap: 14px; }
	.fly-hd-brand { height: 54px; }
	.fly-hd.is-scrolled .fly-hd-inner { min-height: 62px; }
	.fly-hd.is-scrolled .fly-hd-brand { height: 44px; }
}
@media (max-width: 520px) {
	.fly-hd-tel { display: none; }
	.fly-hd-cta span { display: none; }
	.fly-hd-cta { width: 48px; min-height: 48px; padding: 0; }
	.fly-hd-cta .fly-icon { width: 100%; height: 100%; padding: 13px; background: none; }
	.fly-hd-brand img { max-width: 180px; }
}

/* ── Mobile panel ───────────────────────────────────────────────── */
.fly-hd-panel { position: fixed; inset: 0; z-index: 790; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: calc(var(--wp-admin--admin-bar--height, 0px) + 100px) var(--hd-gutter) calc(24px + env(safe-area-inset-bottom)); background: radial-gradient(120% 70% at 100% 0%, #123A78 0%, var(--hd-navy) 62%); color: var(--hd-white); overflow-y: auto; animation: fly-hd-panel .5s var(--hd-ease); }
.fly-hd-panel[hidden] { display: none; }
.fly-hd-panel-nav > ul { display: grid; gap: 4px; }
.fly-hd-panel-nav a, .fly-hd-panel-group > span { display: block; padding: 10px 0; color: var(--hd-white); font: 700 clamp(1.7rem, 6.4vw, 2.3rem)/1.15 var(--hd-display); letter-spacing: -0.02em; }
.fly-hd-panel-nav li { animation: fly-hd-item .65s var(--hd-ease) both; animation-delay: calc(var(--n, 0) * 70ms + 120ms); }
.fly-hd-panel-nav a[aria-current="page"] { color: #FFB3B8; }
.fly-hd-panel-group > span { color: #8FA9D6; font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 2px; }
.fly-hd-panel-group ul { display: grid; padding-left: 16px; }
.fly-hd-panel-group ul a { font-size: clamp(1.25rem, 4.8vw, 1.6rem); font-weight: 600; padding: 7px 0; }
.fly-hd-panel-foot { display: grid; gap: 10px; animation: fly-hd-item .65s var(--hd-ease) .55s both; }
.fly-hd-panel-foot .fly-hd-cta { width: 100%; padding: 0 22px; min-height: 56px; font-size: 16px; }
.fly-hd-panel-foot .fly-hd-cta span { display: inline; }
.fly-hd-panel-foot .fly-hd-cta .fly-icon { width: 24px; height: 24px; padding: 0; background: none; }
.fly-hd-call { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 999px; color: var(--hd-white); font: 700 16px/1 var(--hd-display); transition: background-color .2s ease, border-color .2s ease; }
.fly-hd-call:hover { background: rgba(255, 255, 255, .12); border-color: var(--hd-white); color: var(--hd-white); }
.fly-hd-panel-hours { color: #8FA9D6; font-size: 13.5px; text-align: center; }
html.fly-hd-lock, html.fly-hd-lock body { overflow: hidden; }

@keyframes fly-hd-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes fly-hd-panel { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes fly-hd-item { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.fly-hd, .fly-hd *, .fly-hd-panel, .fly-hd-panel *, .fly-hd-bar * { animation: none !important; transition: none !important; }
	.fly-hd.is-hidden { transform: none; }
	.fly-hd-mega { clip-path: none; }
}
@media print { .fly-hd-bar, .fly-hd, .fly-hd-panel { display: none; } }
::selection { background: #0A4193; color: #fff; }
