:root { --floaro-header-height: 78px; }

.elementor-location-header { display: none !important; }

.floaro-global-header {
    position: sticky;
    z-index: 99990;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(22, 29, 56, .08);
    background: rgba(255, 255, 255, .91);
    box-shadow: 0 12px 34px rgba(21, 31, 65, .07);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}

.admin-bar .floaro-global-header { top: 32px; }

.floaro-global-header, .floaro-global-header * { box-sizing: border-box; }

.floaro-global-header__promo {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    background: linear-gradient(100deg, #111936 0%, #202c63 52%, #362060 100%);
}

.floaro-global-header__promo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(255, 255, 255, .88);
    font: 600 12px/1.25 Inter, Arial, sans-serif;
    text-decoration: none;
    letter-spacing: .01em;
}

.floaro-global-header__promo a:hover { color: #fff; }
.floaro-global-header__promo strong { color: #fff; font-weight: 750; }
.floaro-global-header__promo-badge {
    padding: 3px 7px;
    border: 1px solid rgba(105, 236, 191, .35);
    border-radius: 999px;
    color: #7cf1c4;
    background: rgba(42, 211, 151, .12);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.floaro-global-header__inner {
    width: min(calc(100% - 48px), 1600px);
    min-height: var(--floaro-header-height);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 162px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.floaro-global-header__brand { display: inline-flex; align-items: center; }
.floaro-global-header__brand img { display: block; width: 150px; height: auto; }

.floaro-global-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.35vw, 25px);
}

.floaro-global-header__nav a,
.floaro-global-header__login {
    position: relative;
    color: #141a31;
    font: 650 14px/1.2 Inter, Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, opacity .2s ease;
}

.floaro-global-header__nav a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3158ff, #8a35ef, #ed2aa6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.floaro-global-header__nav a:hover,
.floaro-global-header__nav a:focus-visible,
.floaro-global-header__login:hover { color: #5944eb; }
.floaro-global-header__nav a:hover::after,
.floaro-global-header__nav a:focus-visible::after { transform: scaleX(1); }

.floaro-global-header__nav a.is-active {
    padding: 8px 11px;
    border: 1px solid #dedaff;
    border-radius: 999px;
    background: #f7f5ff;
    color: #6545e7 !important;
}
.floaro-global-header__nav a.is-active::after { display: none; }

.floaro-global-header__actions { display: flex; align-items: center; gap: 18px; }

.floaro-global-header__cta {
    display: inline-flex;
    min-height: 46px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(100deg, #3657ff 0%, #8338ed 55%, #e52bab 100%);
    box-shadow: 0 10px 24px rgba(99, 55, 224, .24);
    font: 750 14px/1 Inter, Arial, sans-serif;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.floaro-global-header__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 55, 224, .31); }

.floaro-global-header__toggle { display: none; }

@media (max-width: 1120px) {
    .floaro-global-header__inner { grid-template-columns: 145px minmax(0, 1fr) auto; gap: 18px; }
    .floaro-global-header__nav { gap: 14px; }
    .floaro-global-header__nav a { font-size: 13px; }
    .floaro-global-header__nav a:nth-last-child(-n+2) { display: none; }
}

@media (max-width: 860px) {
    :root { --floaro-header-height: 70px; }
    .admin-bar .floaro-global-header { top: 46px; }
    .floaro-global-header__inner { width: min(calc(100% - 28px), 760px); grid-template-columns: 1fr auto; gap: 14px; }
    .floaro-global-header__promo { min-height: 32px; padding-inline: 12px; }
    .floaro-global-header__promo-message { display: none; }
    .floaro-global-header__promo a { gap: 7px; }
    .floaro-global-header__brand img { width: 132px; }
    .floaro-global-header__actions { gap: 12px; }
    .floaro-global-header__login { display: none; }
    .floaro-global-header__cta { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
    .floaro-global-header__toggle {
        width: 42px;
        height: 42px;
        padding: 10px;
        border: 1px solid #e1e5f0;
        border-radius: 12px;
        background: #fff;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }
    .floaro-global-header__toggle span { width: 19px; height: 2px; border-radius: 2px; background: #17203a; transition: transform .2s ease, opacity .2s ease; }
    .floaro-global-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .floaro-global-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .floaro-global-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .floaro-global-header__nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding: 14px;
        border: 1px solid #e5e8f1;
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 22px 60px rgba(18, 27, 58, .16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }
    .floaro-global-header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .floaro-global-header__nav a,
    .floaro-global-header__nav a:nth-last-child(-n+2) { display: block; padding: 13px 12px; border-radius: 10px; font-size: 14px; }
    .floaro-global-header__nav a:hover { background: #f5f4ff; }
    .floaro-global-header__nav a::after { display: none; }
    .floaro-global-header__nav a.is-active { border: 0; background: #f2efff; }
}

@media (max-width: 480px) {
    .floaro-global-header__inner { width: calc(100% - 22px); }
    .floaro-global-header__cta { padding: 0 12px; }
    .floaro-global-header__cta span { display: none; }
    .floaro-global-header__nav { grid-template-columns: 1fr; max-height: calc(100vh - 100px); overflow-y: auto; }
    .floaro-global-header__promo strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .floaro-global-header *, .floaro-global-header *::after { transition: none !important; }
}
