/* BLACK / RED / GOLD HEADER THEME */
:root {
    --header-height: 80px;

    --header-bg: rgba(5, 5, 5, 0.92);
    --header-bg-solid: #050505;
    --header-bg-deep: #000000;
    --header-border: rgba(215, 166, 41, 0.18);
    --header-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.68);

    --brand-main: #e1443f;
    --brand-hover: #ff5f56;

    --gold-main: #d7a629;
    --gold-hover: #ecc34b;

    --brand-soft: rgba(225, 68, 63, 0.14);
    --brand-soft-hover: rgba(225, 68, 63, 0.22);

    --gold-soft: rgba(215, 166, 41, 0.14);
    --gold-soft-hover: rgba(215, 166, 41, 0.22);

    --button-text: #ffffff;
    --white: #ffffff;
}

html {
    scroll-padding-top: var(--header-height);
}

body {
    padding-top: var(--header-height);
}

.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--header-bg);
}

.site-header {
    width: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--header-shadow);
    backdrop-filter: blur(16px);
}

.site-nav {
    position: relative;
    width: 100%;
}

.site-header__container {
    width: min(100% - 32px, 1180px);
    height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* LOGO */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-logo:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.site-logo__mark {
    width: 34px;
    height: 34px;
    display: inline-block;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-main) 0%, var(--gold-main) 100%);
    transform: rotate(45deg);
    box-shadow:
        0 10px 24px rgba(225, 68, 63, 0.26),
        0 0 0 1px rgba(215, 166, 41, 0.32);
}

.site-logo__mark::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: #050505;
    border: 2px solid rgba(255, 255, 255, 0.86);
}

.site-logo__text {
    color: var(--text-main);
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* DESKTOP NAV */
.site-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--gold-main);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold-hover);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

/* CONTACT BUTTON */
.site-nav__link--contact {
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--white);
    background: var(--brand-main);
    border: 1px solid rgba(225, 68, 63, 0.88);
    box-shadow: 0 12px 26px rgba(225, 68, 63, 0.22);
}

.site-nav__link--contact::after,
.site-nav__link--cta::after {
    display: none;
}

.site-nav__link--contact:hover {
    color: #050505;
    background: var(--gold-main);
    border-color: var(--gold-main);
    box-shadow: 0 14px 30px rgba(215, 166, 41, 0.24);
}

/* OPTIONAL CTA BUTTON */
.site-nav__link--cta {
    padding: 11px 20px;
    border-radius: 999px;
    color: #050505;
    background: var(--gold-main);
    border: 1px solid var(--gold-main);
    box-shadow: 0 12px 26px rgba(215, 166, 41, 0.24);
}

.site-nav__link--cta:hover {
    color: var(--white);
    background: var(--brand-main);
    border-color: var(--brand-main);
}

/* MOBILE BUTTON */
.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(215, 166, 41, 0.22);
    border-radius: 14px;
    background: rgba(215, 166, 41, 0.1);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.mobile-menu-button span {
    width: 22px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--gold-main);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}

.mobile-menu-button:hover {
    background: rgba(225, 68, 63, 0.14);
    border-color: rgba(225, 68, 63, 0.36);
}

.mobile-menu-button:hover span {
    background: var(--brand-hover);
}

.mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(215, 166, 41, 0.18);
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__inner {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mobile-menu__link:hover {
    color: var(--gold-hover);
    background: rgba(215, 166, 41, 0.1);
}

.mobile-menu__link--contact {
    color: var(--white);
    background: var(--brand-main);
}

.mobile-menu__link--contact:hover {
    color: #050505;
    background: var(--gold-main);
}

.mobile-menu__link--cta {
    justify-content: center;
    margin-top: 6px;
    color: #050505;
    background: var(--gold-main);
}

.mobile-menu__link--cta:hover {
    color: var(--white);
    background: var(--brand-main);
}

.site-logo:focus-visible,
.site-nav__link:focus-visible,
.mobile-menu-button:focus-visible,
.mobile-menu__link:focus-visible {
    outline: 4px solid rgba(215, 166, 41, 0.72);
    outline-offset: 4px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .site-nav__links {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }
}

@media (max-width: 520px) {
    :root {
        --header-height: 72px;
    }

    .site-header__container,
    .mobile-menu__inner {
        width: min(100% - 24px, 1180px);
    }

    .site-logo__mark {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .site-logo__mark::after {
        inset: 9px;
    }

    .site-logo__text {
        font-size: 18px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}
/*  */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-logo:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.site-logo__image {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
}

.site-logo__text {
    color: var(--text-main);
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
}

@media (max-width: 520px) {
    .site-logo__image {
        width: 36px;
        height: 36px;
    }

    .site-logo__text {
        font-size: 18px;
    }
}