.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    min-height: var(--topbar-h);
    background: rgba(7, 46, 31, 0.95);
    color: var(--brand-sand);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: 0.75rem clamp(1rem, 2.5vw, 2.25rem);
    z-index: 100;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    flex-wrap: wrap;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

.topbar--hidden {
    transform: translateY(calc(-1 * var(--topbar-h)));
}

.topbar__brand {
    text-align: left;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.topbar__brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.topbar__brand h1 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
}

.topbar__brand p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.topbar__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.topbar__nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.topbar__burger {
    display: none;
    background: none;
    border: none;
    color: var(--brand-sand);
    flex: 0 0 auto;
    cursor: pointer;
    padding: 0.5rem;
}

.topbar__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: transform 0.2s ease;
}

.topbar__nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar__nav > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.8rem;
    margin-bottom: -0.8rem;
}

.topbar__nav-link {
    color: var(--brand-sand);
    opacity: 0.9;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar__nav-link--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
}

.topbar__nav-link--icon svg {
    display: block;
}

.topbar__nav > ul > li + li::before {
    content: "";
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    transform: translateY(1px);
}

.topbar__nav-sub {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(7, 46, 31, 0.95);
    padding: 0.85rem 0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    gap: 0;
}

.topbar__nav > ul > li:hover .topbar__nav-sub {
    display: flex;
}

.topbar__nav-sub li {
    padding: 0.8rem 0;
}

.topbar__nav-sub a {
    display: block;
    padding: 0 1.5rem;
    text-decoration: none;
    color: var(--brand-sand);
    opacity: 0.85;
    font-weight: 500;
}

.topbar__nav-sub a:hover,
.topbar__nav-sub a:focus-visible {
    opacity: 1;
}

.topbar--hero-visible .topbar__cta {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.topbar__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 2s ease, transform 2s ease;
}

.topbar__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    text-decoration: none;
    color: #3f2e08;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer{
  background: rgba(7, 46, 31, 0.95);
  color: var(--brand-sand);
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.site-footer__columns{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.site-footer__column--center{
  display: flex;
  justify-content: center;
}

.site-footer__column--right{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
}

.site-footer__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__links li{
  display: flex;
  align-items: center;
  position: relative;
}

.site-footer__links li + li::before{
  content: "";
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.5);
  position: absolute;
  left: calc(-0.5 * clamp(1rem, 4vw, 2.5rem));
  top: 50%;
  transform: translateY(-50%);
}

.site-footer__links a{
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-footer__column--right a{
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible,
.site-footer__column--right a:hover,
.site-footer__column--right a:focus-visible{
  opacity: 1;
}

@media (max-width: 960px) {
  .site-footer{
    padding: 1rem;
  }

  .site-footer__columns{
    grid-template-columns: 1fr;
    row-gap: 0.7rem;
  }

  .site-footer__column--left{
    display: none;
  }

  .site-footer__column--center{
    display: flex;
    justify-content: center;
  }

  .site-footer__column--right{
    justify-content: center;
  }

  .site-footer__links{
    gap: clamp(0.5rem, 2.2vw, 0.9rem);
    letter-spacing: 0.05em;
    font-size: 0.88rem;
  }

  .site-footer__links li + li::before{
    left: calc(-0.5 * clamp(0.5rem, 2.2vw, 0.9rem));
  }
}

@media (max-width: 900px) {
    .topbar {
        flex-direction: row;
        align-items: center;
        padding: 0.85rem 1rem;
    }

    .topbar__burger {
        margin-left: auto;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }

    .topbar__nav {
        position: fixed;
        inset: var(--topbar-h) 0 auto 0;
        background: rgba(7,46,31,0.98);
        padding: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        justify-content: flex-start;
    }

    .topbar--open .topbar__nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .topbar__nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .topbar__nav > ul > li + li::before {
        display: none;
    }

    .topbar__nav > ul > li {
        padding: 0;
        margin: 0;
    }

    .topbar__nav-link {
        display: block;
        width: 100%;
        font-size: 1.15rem;
        padding: 0.35rem 0;
    }

    .topbar__cta {
        display: none;
    }

    .topbar__nav-sub {
        display: none;
    }

}
