@charset "utf-8";

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #17262d;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(34, 57, 68, 0.13);
  box-shadow: 0 4px 18px rgba(20, 38, 47, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  color: #17262d;
  text-decoration: none;
}

.site-logo img {
  width: 225px;
  max-height: 34px;
  object-fit: contain;
}

.site-logo--text {
  display: grid;
  gap: 0;
  font-family: "DM Sans", sans-serif;
  line-height: 1.15;
}

.site-logo--text span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.site-logo--text small {
  margin-top: 3px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 10px;
  color: #3e5059;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-dark);
  outline: 0;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a.primary {
  margin-left: 4px;
  padding: 8px 13px;
  color: #fff;
  background: var(--accent);
}

.nav-links a.primary::after {
  display: none;
}

.nav-links a.primary:hover,
.nav-links a.primary:focus-visible {
  color: #fff;
  background: var(--accent-dark);
}

.nav-links a.tour-switch {
  color: var(--accent-reverse);
  border: 1px solid rgba(var(--accent-rgb-r), 0.35);
}

.nav-toggle {
  position: relative;
  z-index: 1100;
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #20343d;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.mobile-menu {
  display: none;
  padding: 7px 18px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e3e8ea;
}

.mobile-menu a {
  display: block;
  padding: 11px 8px;
  color: #293b44;
  border-bottom: 1px solid #e8edef;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu a.primary {
  margin-top: 7px;
  padding: 12px;
  color: #fff;
  background: var(--accent);
  border-bottom: 0;
  text-align: center;
}

.mobile-menu a.tour-switch {
  color: var(--accent-reverse);
}

.nav-open .mobile-menu {
  display: block;
}

.nav-open .nav-toggle .bar.top {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle .bar.mid {
  opacity: 0;
}

.nav-open .nav-toggle .bar.bottom {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-links a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 11px;
  }

  .site-logo img {
    width: 190px;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-logo img {
    width: 205px;
  }
}

@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .site-logo img {
    width: 174px;
  }

  .site-logo--text span {
    font-size: 14px;
  }
}

@media print {
  .site-nav {
    display: none !important;
  }
}
