﻿.wf-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1100;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.90) 62%, rgba(8, 10, 14, 0.00) 100%);
    backdrop-filter: blur(10px);
}

.wf-topbar {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    background: rgba(13, 14, 18, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.wf-topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.wf-topbar-left,
.wf-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wf-topbar-link,
.wf-topbar-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wf-text-soft);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.28s ease;
}

    .wf-topbar-link:hover {
        color: var(--wf-text);
    }

.wf-topbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.10);
}

.wf-topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .wf-topbar-social a {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--wf-text);
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    }

        .wf-topbar-social a:hover {
            transform: translateY(-2px);
            border-color: rgba(154, 205, 196, 0.20);
            background: rgba(255,255,255,0.08);
        }

.wf-topbar-portals {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .wf-topbar-portals a {
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--wf-text);
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        font-size: 0.82rem;
        font-weight: 700;
        transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
    }

        .wf-topbar-portals a:hover,
        .wf-topbar-portals a.active {
            transform: translateY(-2px);
            border-color: rgba(196, 135, 54, 0.28);
            background: rgba(196, 135, 54, 0.10);
        }

.wf-nav-wrap {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    padding-top: 14px;
    padding-bottom: 10px;
    transition: padding 0.3s ease;
}

    .wf-nav-wrap.is-scrolled {
        padding-top: 8px;
        padding-bottom: 8px;
    }

.wf-navbar {
    min-height: 82px;
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(20, 24, 33, 0.96) 0%, rgba(13, 16, 23, 0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wf-nav-wrap.is-scrolled .wf-navbar {
    box-shadow: 0 24px 60px rgba(0,0,0,0.34);
    border-color: rgba(196, 135, 54, 0.16);
}

.wf-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

    .wf-brand:hover {
        text-decoration: none;
    }

.wf-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 135, 54, 0.18), rgba(154, 205, 196, 0.08)), rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--wf-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    transition: transform 0.28s ease;
}

.wf-brand:hover .wf-brand-mark {
    transform: translateY(-2px);
}

.wf-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .wf-brand-copy strong {
        font-family: 'Manrope', sans-serif;
        font-size: 1.12rem;
        letter-spacing: -0.03em;
        color: var(--wf-text);
        font-weight: 800;
    }

    .wf-brand-copy small {
        margin-top: 5px;
        color: var(--wf-text-faint);
        font-size: 0.71rem;
        letter-spacing: 0.20em;
        text-transform: uppercase;
        font-weight: 700;
    }

.wf-nav-center {
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.wf-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
}

    .wf-nav-links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 9px;
        border-radius: 14px;
        color: var(--wf-text-soft);
        font-size: 0.84rem;
        font-weight: 720;
        transition: color 0.28s ease, background 0.28s ease, transform 0.28s ease;
    }

        .wf-nav-links a::after {
            content: "";
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: 8px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--wf-primary), var(--wf-accent));
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.28s ease;
        }

        .wf-nav-links a:hover,
        .wf-nav-links a.active {
            color: var(--wf-text);
            background: rgba(255,255,255,0.04);
            transform: translateY(-1px);
        }

            .wf-nav-links a:hover::after,
            .wf-nav-links a.active::after {
                transform: scaleX(1);
            }

.wf-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wf-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

    .wf-nav-btn:hover {
        transform: translateY(-2px);
    }

.wf-nav-btn-soft {
    color: var(--wf-text);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

    .wf-nav-btn-soft:hover,
    .wf-nav-btn-soft.active {
        background: rgba(255,255,255,0.08);
        border-color: rgba(154, 205, 196, 0.20);
    }

.wf-nav-btn-primary {
    color: #0f1014;
    background: linear-gradient(135deg, #d9af75 0%, #c48736 52%, #e7be87 100%);
    box-shadow: 0 16px 36px rgba(196, 135, 54, 0.24);
}

    .wf-nav-btn-primary:hover,
    .wf-nav-btn-primary.active {
        box-shadow: 0 22px 44px rgba(196, 135, 54, 0.30);
    }

.wf-mobile-toggle {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.28s ease, border-color 0.28s ease;
}

    .wf-mobile-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--wf-text);
        transition: transform 0.28s ease, opacity 0.28s ease;
    }

    .wf-mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .wf-mobile-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .wf-mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

.wf-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1085;
    background: rgba(5, 6, 8, 0.58);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

    .wf-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

.wf-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 420px);
    height: 100vh;
    z-index: 1090;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.34s ease, opacity 0.34s ease, visibility 0.34s ease;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(24, 26, 31, 0.98) 0%, rgba(11, 12, 15, 1) 100%);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -18px 0 48px rgba(0,0,0,0.34);
    overflow: hidden;
}

    .wf-mobile-panel.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

.wf-mobile-head,
.wf-mobile-body {
    position: relative;
    z-index: 2;
}

.wf-mobile-head {
    min-height: 84px;
    padding: 18px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wf-brand-mobile .wf-brand-mark {
    width: 48px;
    height: 48px;
}

.wf-mobile-close {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--wf-text);
    font-size: 1rem;
}

.wf-mobile-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 18px 28px;
}

.wf-mobile-contact {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

    .wf-mobile-contact a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 52px;
        padding: 0 16px;
        border-radius: 16px;
        color: var(--wf-text);
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
    }

.wf-mobile-links {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

    .wf-mobile-links a {
        min-height: 56px;
        padding: 0 16px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--wf-text);
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        font-weight: 700;
    }

.wf-mobile-portals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .45rem;
    margin-bottom: .85rem;
}

    .wf-mobile-portals a {
        min-height: 38px;
        padding: .5rem .35rem;
        border-radius: 12px;
        font-size: .80rem;
        font-weight: 800;
        line-height: 1;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--wf-text);
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
    }

.wf-mobile-cta .wf-nav-btn {
    width: 100%;
}

@media (max-width: 1399.98px) {
    .wf-topbar {
        display: none !important;
    }
}



/* =========================================
   FINAL DESKTOP NAV FIT FIX
   Keeps all nav links on one line and switches to mobile before wrapping.
========================================= */
@media (min-width: 1400px) and (max-width: 1699.98px) {
    .wf-navbar {
        grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
        gap: 12px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .wf-brand {
        gap: 12px;
    }

    .wf-brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .wf-brand-copy strong {
        font-size: 1.04rem;
    }

    .wf-brand-copy small {
        font-size: 0.66rem;
        letter-spacing: 0.16em;
    }

    .wf-nav-links a {
        min-height: 40px;
        padding-left: 7px;
        padding-right: 7px;
        font-size: 0.79rem;
        border-radius: 12px;
    }

    .wf-nav-actions {
        gap: 8px;
    }

    .wf-nav-btn {
        min-height: 44px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 0.84rem;
        border-radius: 15px;
    }
}

@media (max-width: 1399.98px) {
    .wf-navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .wf-nav-center,
    .wf-nav-actions {
        display: none !important;
    }

    .wf-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 1199.98px) {
    .wf-navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .wf-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 767.98px) {
    .wf-nav-wrap {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .wf-navbar {
        min-height: 72px;
        padding: 10px 12px;
        border-radius: 22px;
    }

    .wf-brand {
        gap: 10px;
    }

    .wf-brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .wf-brand-copy strong {
        font-size: 1rem;
    }

    .wf-brand-copy small {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
}

/* =========================================
   FINAL NAVBAR STABILITY FIX
   Prevents shaking/blinking caused by scroll padding + hover transforms.
========================================= */
.wf-header {
    -webkit-backdrop-filter: blur(10px);
    transform: translateZ(0);
    will-change: auto;
}

.wf-topbar,
.wf-navbar {
    -webkit-backdrop-filter: blur(16px);
}

.wf-nav-wrap,
.wf-nav-wrap.is-scrolled {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
    transition: none !important;
}

.wf-navbar,
.wf-nav-links a,
.wf-nav-btn,
.wf-brand-mark,
.wf-topbar-social a,
.wf-topbar-portals a {
    transform: none !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

    .wf-nav-links a:hover,
    .wf-nav-links a.active,
    .wf-nav-btn:hover,
    .wf-brand:hover .wf-brand-mark,
    .wf-topbar-social a:hover,
    .wf-topbar-portals a:hover,
    .wf-topbar-portals a.active {
        transform: none !important;
    }

.wf-brand:hover .wf-brand-mark {
    border-color: rgba(196, 135, 54, 0.24);
    background: linear-gradient(135deg, rgba(196, 135, 54, 0.22), rgba(154, 205, 196, 0.10)), rgba(255,255,255,0.055);
}

.wf-nav-links a::after {
    transform-origin: center;
    will-change: transform;
}

.wf-mobile-panel,
.wf-mobile-overlay,
.wf-mobile-toggle span {
    will-change: transform, opacity;
}

@media (max-width: 767.98px) {
    .wf-nav-wrap,
    .wf-nav-wrap.is-scrolled {
        padding-top: 10px !important;
        padding-bottom: 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-header *,
    .wf-mobile-panel,
    .wf-mobile-overlay {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================
   FINAL ONE-LINE NAVBAR OVERRIDES
   Paste-safe override for Willsfly full-width desktop navbar.
========================================= */
@media (min-width: 1400px) {
    .wf-navbar {
        grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto !important;
    }

    .wf-nav-center {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .wf-nav-links {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        width: 100%;
        min-width: 0;
    }

        .wf-nav-links li,
        .wf-nav-links a {
            flex: 0 0 auto;
            white-space: nowrap !important;
        }

        .wf-nav-links a {
            padding-left: clamp(6px, .52vw, 10px) !important;
            padding-right: clamp(6px, .52vw, 10px) !important;
            font-size: clamp(.78rem, .66vw, .86rem) !important;
        }

    .wf-nav-actions {
        flex-shrink: 0 !important;
    }
}

/* =========================================================
   FINAL WILLSFLY LOGO — TRANSPARENT NAVBAR FIT
========================================================= */

.wf-brand-mark.wf-brand-logo {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px !important;
    overflow: visible !important;
}

.wf-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25); /* makes it bigger */
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
}

.wf-brand:hover .wf-brand-logo img {
    transform: scale(1.05);
    filter: brightness(1.18) saturate(1.12);
}

.wf-brand-mobile .wf-brand-logo img {
    width: 118%;
    height: 118%;
}

@media (max-width: 767.98px) {
    .wf-brand-mark.wf-brand-logo {
        padding: 3px !important;
    }

    .wf-brand-logo img {
        width: 112%;
        height: 112%;
    }
}

/* MOBILE CONTACT — EMAIL + PHONE SIDE BY SIDE */
.wf-mobile-contact-two {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .wf-mobile-contact-two a {
        min-height: 52px;
        padding: 0 12px;
        justify-content: center;
    }

        .wf-mobile-contact-two a span {
            font-size: .82rem;
            white-space: nowrap;
        }

@media (max-width: 430px) {
    .wf-mobile-contact-two {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE CONTACT — INLINE SINGLE CARD
========================================= */

.wf-mobile-contact-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient( 180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02) );
    border: 1px solid rgba(255,255,255,0.08);
}

/* each item */
.wf-contact-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e6ebf5;
    text-decoration: none;
    white-space: nowrap;
}

    /* icons */
    .wf-contact-inline i {
        color: #d6a760;
        font-size: 0.9rem;
    }

/* divider */
.wf-contact-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.15);
}

/* SMALL MOBILE FIX */
@media (max-width: 420px) {

    .wf-mobile-contact-inline {
        flex-direction: column;
        gap: 6px;
    }

    .wf-contact-divider {
        display: none;
    }
}

/* =========================================
   HAMBURGER → X ANIMATION
========================================= */

.wf-mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all .3s ease;
}

    /* lines */
    .wf-mobile-toggle span {
        width: 18px;
        height: 2px;
        background: #e6ebf5;
        border-radius: 2px;
        transition: all .35s ease;
    }

    /* ACTIVE → X */
    .wf-mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .wf-mobile-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .wf-mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }