.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--salvo-white);
  border-bottom: 1px solid rgba(0, 66, 130, 0.12);
  box-shadow: 0 8px 30px rgba(0, 34, 72, 0.07);
}

.salvo-js .site-header {
  opacity: 0;
  transform: translateY(-10px);
}

.salvo-js.salvo-loaded .site-header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.site-header__inner {
  width: var(--container);
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  transition: height 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: clamp(130px, 14vw, 176px);
  height: auto;
  transition: width 220ms ease;
}

.header-cta {
  min-height: 40px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 0.92rem;
  color: var(--salvo-white);
  background: var(--salvo-blue);
  border: 1px solid var(--salvo-transparent);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    font-size 220ms ease,
    background 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--salvo-blue-dark);
}

.site-header.is-compact .site-header__inner {
  height: var(--header-compact-height);
}

.site-header.is-compact .brand img {
  width: clamp(108px, 11vw, 142px);
}

.site-header.is-compact .header-cta {
  min-height: 34px;
  padding: 0.48rem 0.78rem;
  font-size: 0.74rem;
}

@media (max-width: 760px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .brand img {
    width: 112px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0.56rem 0.72rem;
    font-size: 0.74rem;
  }

  .site-header.is-compact .brand img {
    width: 100px;
  }

  .site-header.is-compact .header-cta {
    min-height: 32px;
    padding: 0.42rem 0.64rem;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__inner,
  .brand img,
  .header-cta,
  .salvo-js .site-header {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
