/* ======================================
   HEADER
====================================== */

.zps-header {
    position: relative;
    width: 100%;
    z-index: 999;
}

/* ── Main bar ── */
.zps-header__main {
    position: relative;
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 15;
    background: linear-gradient(180deg, rgba(1,17,43,0.60) 0%, rgba(1,17,43,0.00) 100%);
}

.zps-header__main.is-sticky {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(1,17,43,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 999;
}

.zps-header__inner {
    max-width: 1680px;
    padding: 10px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* ── Logo ── */
.zps-header__logo img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

/* ======================================
   DESKTOP NAV
====================================== */

.zps-header__nav {
    flex: 1;
    justify-content: center;
}

.fg-nav {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fg-nav a {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.fg-nav a:hover { color: #D2221A; }

.fg-nav .current-menu-item > a,
.fg-nav .current_page_item > a,
.fg-nav .current-menu-parent > a,
.fg-nav .current-menu-ancestor > a {
    color: #D2221A;
    font-weight: 600;
}

/* Dropdown */
.fg-nav .menu-item {
    position: relative;
}

.fg-nav .sub-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    min-width: 240px;
    background: rgba(1,17,43,0.97);
    border-top: 3px solid #D2221A;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
}

.fg-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fg-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400;
    white-space: nowrap;
}

.fg-nav .sub-menu a:hover {
    color: #D2221A;
    background: rgba(210,34,26,0.08);
}

/* ── Desktop CTA ── */
.fg-header-cta-btn {
    display: inline-block;
    background: #D2221A;
    color: #ffffff;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.25s ease;
    white-space: nowrap;
}

.fg-header-cta-btn:hover {
    background: #b01a13;
    color: #ffffff;
}

/* ======================================
   HAMBURGER
====================================== */

.fg-hamburger {
    background: #D2221A;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    border-radius: 4px;
}

.fg-hamburger span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    display: block;
}

/* ======================================
   MOBILE OVERLAY
====================================== */

.fg-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 2000;
    cursor: pointer;
}

/* ======================================
   MOBILE DRAWER
====================================== */

.fg-mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 380px;
    background: #01112B;
    z-index: 2001;
    overflow-y: auto;
}

.fg-mobile-drawer__inner {
    padding: 28px 24px 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Head */
.fg-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.fg-mobile-logo {
    max-height: 44px;
    width: auto;
}

.fg-mobile-close {
    width: 40px;
    height: 40px;
    background: #D2221A;
    border: none;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Mobile Nav List ── */
.fg-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fg-mobile-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fg-mobile-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fg-mobile-link {
    display: block;
    flex: 1;
    padding: 15px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fg-mobile-link:hover { color: #D2221A; }

.fg-mobile-sub-toggle {
    background: none;
    border: none;
    color: #D2221A;
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    padding: 8px 4px 8px 16px;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Submenu */
.fg-mobile-submenu {
    list-style: none;
    padding: 0 0 8px 16px;
    margin: 0;
}

.fg-mobile-submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fg-mobile-submenu li a:hover { color: #D2221A; }

/* ── Mobile CTA ── */
.fg-mobile-cta {
    margin-top: 32px;
}

.fg-mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #D2221A;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.fg-mobile-cta-btn:hover {
    background: #b01a13;
    color: #ffffff;
}

/* ── Mobile Socials ── */
.fg-mobile-socials {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
}

.fg-mobile-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fg-mobile-socials a:hover {
    border-color: #D2221A;
    color: #D2221A;
}
