.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 70px;
  color: #3d3d3d;
  background: #f2f2f2;
  border-bottom: 1px solid rgba(0, 83, 85, 0.16);
}

.site-header .nav-links {
  animation: menu-content-in 180ms ease-out both;
  transition: opacity 140ms ease, transform 140ms ease;
}

.site-header .nav-links.is-leaving {
  opacity: 0;
  transform: translateY(-3px);
}

@keyframes menu-content-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header .nav-links {
  color: #3d3d3d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.site-header .nav-links > a:not(.nav-monitoring) {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.site-header .header-action {
  min-width: 216px;
  min-height: 48px;
  padding: 12px 20px;
  color: #f2f2f2;
  background: #005355;
  border: 1px solid #005355;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 83, 85, 0.18);
  font-size: 0.92rem;
  line-height: 1;
}

.site-header .header-action:hover {
  color: #f2f2f2;
  background: #232323;
  border-color: #232323;
}

.site-header .nav-monitoring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 16px;
  color: #005355;
  background: #f2f2f2;
  border: 2px solid #005355;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header .nav-monitoring::after {
  display: none;
}

.site-header .nav-monitoring:hover {
  color: #f2f2f2;
  background: #005355;
  transform: translateY(-1px);
}

.site-header .nav-monitoring[aria-current="page"] {
  color: #005355;
  background: #f2f2f2;
  font-weight: 600;
}

@media (min-width: 1120px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(216px, 1fr);
    gap: 28px;
    height: 70px;
    padding: 8px clamp(18px, 4vw, 72px);
  }

  .site-header .brand {
    display: flex;
    width: 180px;
    height: 54px;
    align-items: center;
    justify-content: flex-start;
  }

  .site-header .brand img,
  .site-header .main-brand img {
    width: auto;
    max-width: 160px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
  }

  .main-site-header .main-brand img {
    max-width: 132px;
    max-height: 46px;
  }

  .site-header .nav-links {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 14px;
  }

  .site-header .header-action {
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .site-header .header-action {
    min-width: 48px;
    min-height: 44px;
    padding: 10px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links {
    animation: none;
    transition: none;
  }
}
