:root {
    --sg-red: #d71920;
    --sg-red-dark: #ad1117;
    --sg-orange: #ff6b00;
    --sg-gold: #ffd56a;
    --sg-ink: #151923;
    --sg-muted: #667085;
    --sg-line: #ece2dc;
}

.sg-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--sg-line);
    box-shadow: 0 8px 26px rgba(103, 27, 18, 0.08);
    backdrop-filter: blur(12px);
}

.sg-header-inner {
    width: min(1240px, calc(100% - 32px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.sg-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sg-ink);
    text-decoration: none;
    font-size: 22px;
    font-weight: 950;
    white-space: nowrap;
}

.sg-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--sg-red), var(--sg-orange));
    box-shadow: 0 10px 20px rgba(215, 25, 32, 0.22);
    font-weight: 950;
}

.sg-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.sg-nav a {
    text-decoration: none;
    color: #344054;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 14px;
    font-weight: 850;
}

.sg-nav a:hover,
.sg-nav a.is-active {
    color: var(--sg-red-dark);
    background: #fff1e8;
}

.sg-contact-link {
    color: #5a2600 !important;
    background: linear-gradient(135deg, var(--sg-gold), #ffb629) !important;
    box-shadow: 0 8px 20px rgba(255, 183, 41, 0.22);
}

@media (max-width: 820px) {
    .sg-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }

    .sg-nav {
        justify-content: flex-start;
    }
}
