.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar--scrolled, .navbar--menu-open {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(16, 42, 77, 0.1);
}
.navbar__inner {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .navbar__inner {
    padding-inline: 2rem;
  }
}
.navbar__inner {
  height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height 0.3s ease;
}
.navbar--scrolled .navbar__inner {
  height: 4.25rem;
}
.navbar__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .navbar__nav {
    display: flex;
  }
}
.navbar__link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.navbar__link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background-color: transparent;
  transition: background-color 0.25s ease;
}
.navbar__link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
.navbar__link--active {
  color: #fff;
}
.navbar__link--active::after {
  background-color: #ffcc80;
}
.navbar--scrolled .navbar__link {
  color: #54657a;
}
.navbar--scrolled .navbar__link:hover {
  color: #1565c0;
  background-color: rgba(21, 101, 192, 0.06);
}
.navbar--scrolled .navbar__link--active {
  color: #1565c0;
}
.navbar--scrolled .navbar__link--active::after {
  background-color: #f57c00;
}
.navbar__quote {
  display: none;
}
@media (min-width: 768px) {
  .navbar__quote {
    display: inline-flex;
  }
}
.navbar__toggle {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: #fff;
  border-radius: 0.5rem;
  transition: color 0.25s ease, background-color 0.25s ease;
}
@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}
.navbar--scrolled .navbar__toggle, .navbar--menu-open .navbar__toggle {
  color: #1a2330;
}
.navbar--scrolled .navbar__toggle:hover, .navbar--menu-open .navbar__toggle:hover {
  background-color: #e8f0fa;
}
.navbar__mobile {
  display: block;
  border-top: 1px solid #d2e0f0;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .navbar__mobile {
    display: none;
  }
}
.navbar__mobile nav {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .navbar__mobile nav {
    padding-inline: 2rem;
  }
}
.navbar__mobile nav {
  padding-block: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.navbar__mobile-link {
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: #54657a;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.navbar__mobile-link:hover, .navbar__mobile-link--active {
  color: #1565c0;
  background-color: rgba(21, 101, 192, 0.06);
}
.navbar__mobile-quote {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #1565c0;
  background-color: #ffe0b2;
  border-radius: 0.5rem;
}

.mobile-nav-enter-active,
.mobile-nav-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-enter-from,
.mobile-nav-leave-to {
  opacity: 0;
  transform: translateY(-8px);
}
