:root {
    --color-orange:      #e03100;
    --color-orange-h:    #c42b00;
    --color-purple:      #48209f;
    --color-purple-dark: #1a0a2e;
    --color-dark:        #0f0f0f;
    --color-white:       #ffffff;
    --color-grey-light:  #f4f4f4;
    --color-grey-mid:    #888888;
    --color-text:        #1a1a1a;

    --font-display:  'Syne', sans-serif;
    --font-body:     'DM Sans', sans-serif;

    --header-height:       80px;
    --header-height-small: 60px;
    --transition-base:     0.3s ease;
    --max-width:           1200px;
}

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: height var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
    will-change: height;
}

.site-header.scrolled {
    height: var(--header-height-small);
    background: rgba(10,10,10,0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 32px;
    gap: 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--transition-base);
}

.header-logo:hover { opacity: 0.85; }

.header-logo img {
    height: 40px;
    width: auto;
    transition: height var(--transition-base);
}

.site-header.scrolled .header-logo img { height: 30px; }

.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--color-orange);
    transition: width var(--transition-base);
}

.nav-link:hover { color: var(--color-white); }
.nav-link:hover::after { width: 100%; }

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-orange);
    text-decoration: none;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    white-space: nowrap;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    transition: background var(--transition-base), transform var(--transition-base);
}

.btn-cta:hover { background: var(--color-orange-h); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }

.header-cta { flex-shrink: 0; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--color-white);
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(320px, 85vw);
    height: calc(100dvh - var(--header-height));
    background: #0f0f0f;
    border-left: 1px solid rgba(255,255,255,0.06);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 32px 0 0;
    flex: 1;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 14px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.mobile-nav-link:hover { color: var(--color-white); padding-left: 40px; }

.mobile-menu-footer {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

.mobile-phone:hover { color: var(--color-white); }

.mobile-cta {
    width: 100%;
    padding: 14px 22px;
    font-size: 1rem;
    text-align: center;
    clip-path: none;
    border-radius: 2px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-overlay.is-visible { opacity: 1; pointer-events: all; }

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

@media (min-width: 1025px) {
    .hamburger { display: none !important; }
    .mobile-menu, .mobile-overlay { display: none !important; }
}

@media (max-width: 1024px) {
    .header-nav, .header-cta { display: none; }
    .hamburger { display: flex; }
    .header-inner { padding: 0 16px; gap: 0; }

    :root {
        --header-height: 64px;
        --header-height-small: 52px;
    }
}

@media (max-width: 374px) {
    .header-logo img { height: 28px; }
}