/* Shared header/footer system across all pages. Playbook is the visual reference. */

body>nav,
nav#mainNav,
nav#nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 60px !important;
    height: 68px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid #d8e6ed !important;
    transition: box-shadow 0.3s !important;
}

.nav-logo {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.4rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #0d1f2d !important;
    text-decoration: none !important;
}

.nav-logo img {
    height: 2.6rem !important;
    width: auto !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.nav-logo span {
    color: #2abfaa !important;
}

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

.nav-links a {
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #2a3d50 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2abfaa !important;
}

.nav-cta {
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    background: #2abfaa !important;
    color: #ffffff !important;
    padding: 11px 26px !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
}

.nav-cta:hover {
    background: #1f9e8c !important;
}

body>footer {
    background: #0d0d0d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 2rem 3.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
}

.foot-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
}

.brand-name {
    display: flex !important;
    align-items: center !important;
    gap: 0.15rem !important;
}

.foot-logo {
    height: 2rem !important;
    width: 2rem !important;
    object-fit: contain !important;
    mix-blend-mode: lighten !important;
}

.foot-name {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 1.1rem !important;
    color: #f5f0e8 !important;
    letter-spacing: 0.1em !important;
}

.foot-name span {
    color: #2abfaa !important;
}

.foot-tag {
    font-size: 0.73rem !important;
    color: rgba(253, 252, 252, 0.767) !important;
    margin-top: 0.18rem !important;
    text-align: left !important;
}

.foot-legal {
    font-size: 0.7rem !important;
    color: rgba(230, 230, 230, 0.38) !important;
    text-align: right !important;
}

@media (max-width: 768px) {

    body>nav,
    nav#mainNav,
    nav#nav {
        padding: 0 20px !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-cta {
        display: none !important;
    }

    body>footer {
        flex-direction: column !important;
        gap: 0.8rem !important;
        text-align: center !important;
        padding: 1.5rem 1.2rem !important;
    }

    .foot-brand {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .brand-name {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .foot-legal,
    .foot-tag {
        text-align: center !important;
    }
}

/* ── Hamburger button ─────────────────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 210;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0d1f2d;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex !important;
    }
}

/* ── Mobile full-screen menu ──────────────────────────── */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 199;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow-y: auto;
}

.nav-mobile-menu.open {
    display: flex !important;
}

.nav-mobile-menu a {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2a3d50;
    text-decoration: none;
    padding: 18px 40px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #d8e6ed;
    transition: color 0.2s, background 0.2s;
}

.nav-mobile-menu a:first-child {
    border-top: 1px solid #d8e6ed;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
    color: #2abfaa;
    background: #f0faf9;
}

.nav-mobile-cta {
    margin-top: 24px !important;
    background: #2abfaa !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 16px 48px !important;
    border-radius: 2px !important;
    width: auto !important;
    letter-spacing: 0.12em !important;
}