.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 350ms ease, opacity 350ms ease;
}

.sticky-header.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.sticky-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
    width: min(calc(100% - 40px), 1200px);
    margin-inline: auto;
}

.sticky-header__brand {
    display: block;
    flex-shrink: 0;
}

.sticky-header__brand img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.sticky-header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.sticky-header__nav a {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 200ms ease;
}

.sticky-header__nav a:hover,
.sticky-header__nav a:focus-visible {
    color: var(--color-accent);
}

.sticky-header__cta {
    flex-shrink: 0;
    padding: 8px 18px;
    background: var(--color-accent);
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 200ms ease, color 200ms ease;
}

.sticky-header__cta:hover,
.sticky-header__cta:focus-visible {
    background: #fff;
    color: #000;
}

.sticky-header__toggle {
    display: none;
    position: relative;
}

.sticky-header__toggle summary {
    display: grid;
    width: 40px;
    height: 40px;
    place-content: center;
    gap: 5px;
    cursor: pointer;
    background: var(--color-accent);
    list-style: none;
}

.sticky-header__toggle summary::-webkit-details-marker {
    display: none;
}

.sticky-header__toggle summary span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
}

.sticky-header__toggle[open] summary span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.sticky-header__toggle[open] summary span:nth-child(2) {
    opacity: 0;
}

.sticky-header__toggle[open] summary span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.sticky-header__toggle nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(300px, calc(100vw - 40px));
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.sticky-header__toggle ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sticky-header__toggle li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sticky-header__toggle a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
    transition: background-color 200ms ease;
}

.sticky-header__toggle a:hover,
.sticky-header__toggle a:focus-visible {
    background: var(--color-accent);
}

@media (max-width: 1024px) {
    .sticky-header__nav {
        display: none;
    }

    .sticky-header__cta {
        display: none;
    }

    .sticky-header__toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    .sticky-header__inner {
        height: 56px;
    }

    .sticky-header__brand img {
        height: 28px;
    }
}
