:root {
    --header-height: 100px;
    --accent: #111;
    --nav-gap: 28px;
}

/* Header */
.site-header {
    position: fixed;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 20px;
    z-index: 60;
    width: 100%;

    background: transparent;
    transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo img {
    height: 36px;
    display: block
}

/* Desktop nav */
.nav {
    display: flex;
    gap: var(--nav-gap);
    align-items: center
}

.nav a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 8px 6px;
    font-weight: 700;
}

.nav.white a {
    color: #fff !important;
}

.nav a:hover {
    opacity: 0.8
}


/* Controls */
.cta {
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600
}


/* Hamburger (mobile) */
.hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    border-radius: 8px
}

.hamburger svg {
    width: 28px;
    height: 28px;
    color: #000
}

.hamburger.white svg {
    color: #fff;
}

.mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(6px);
    z-index: 55;
    padding: 40px 40px 60px;
    height: fit-content;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.open {
    background: rgba(0,0,0,0.4);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu .links {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    font-size: 18px;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 20px 6px;
}


@media (max-width: 880px) {
    .nav {
        display: none
    }

    .hamburger {
        display: inline-flex;
        z-index: 1000;
    }

    .hamburger.close {
        color: #fff;
        font-weight: 700;
    }

    .mobile-menu a {
        font-size: 16px;
        font-weight: 500;
        border-bottom: 2px solid var(--accent);
    }
}

.logo {
    position: relative;
}

.logo img {
    display: none;
    aspect-ratio: 151 / 36;
}

.logo img.active {
    display: block;
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px
    }

    .logo img {
        height: 30px
    }

    .mobile-menu a {
        font-size: 16px
    }
}

.content-main {
    padding-top: var(--header-height) !important;
}