.marketing-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(68, 42, 27, 0.13);
    background: rgba(250, 246, 239, 0.9);
    box-shadow: 0 8px 28px rgba(58, 36, 22, 0.05);
    backdrop-filter: blur(18px);
}

.marketing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    gap: 22px;
    margin: 0 auto;
    padding: 10px 0;
}

.marketing-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    color: #2e211b;
    text-decoration: none;
}

.marketing-brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, #392920 0%, #80542f 58%, #62756c 100%);
    box-shadow: 0 14px 24px rgba(65, 46, 31, 0.15);
}

.marketing-brand-mark svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #fffaf1;
    stroke-width: 2.5;
}

.marketing-brand-name {
    color: #2e211b;
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
}

.marketing-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    color: #78695f;
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.marketing-nav-links a {
    position: relative;
    padding: 8px 0;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.marketing-nav-links a:not(.marketing-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #c58a3a, #58756a);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.marketing-nav-links a:hover,
.marketing-nav-links a:focus-visible {
    color: #2e211b;
}

.marketing-nav-links a:hover::after,
.marketing-nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.marketing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: linear-gradient(135deg, #9b642d 0%, #c58a3a 52%, #7d5635 100%);
    box-shadow: 0 14px 26px rgba(139, 94, 53, 0.2);
    color: #fff !important;
    font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marketing-nav-links .marketing-cta::after {
    display: none;
}

.marketing-cta:hover,
.marketing-cta:focus-visible {
    box-shadow: 0 18px 30px rgba(139, 94, 53, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1080px) {
    .marketing-nav-links {
        gap: 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 980px) {
    .marketing-nav-links {
        display: none;
    }
}

@media (max-width: 700px) {
    .marketing-nav {
        min-height: 68px;
        gap: 12px;
        padding: 8px 0;
    }

    .marketing-brand {
        gap: 10px;
    }

    .marketing-brand-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 13px;
    }

    .marketing-brand-name {
        font-size: 2rem;
        letter-spacing: -0.06em;
    }

    .marketing-cta {
        min-height: 42px;
        padding: 0 15px;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marketing-nav-links a,
    .marketing-cta {
        transition: none;
    }
}
