.topbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.88);
  z-index: 2000;
  box-sizing: border-box;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  overflow: visible;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.logo-link,
.nav-center,
.nav-actions,
.nav-right-mobile {
  display: flex;
  align-items: center;
}

.logo-link {
  flex: 0 0 auto;
  gap: 10px;
  padding: 0;
  color: #006847;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 54px;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.16));
}

.logo {
  color: #006847;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-center {
  position: absolute;
  left: 50%;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 500px);
  overflow: visible;
  white-space: nowrap;
  transform: translateX(-50%);
}

.nav-actions {
  flex: 0 0 auto;
  gap: 12px;
  margin-left: auto;
}

.nav-link,
.nav-dropdown-toggle,
.nav-dropdown-link,
.topbar-secondary-button,
.topbar-button-primary,
.translate-icon-mobile,
.mobile-nav-link {
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
}

.nav-link,
.nav-dropdown-toggle,
.nav-dropdown-link,
.mobile-nav-link {
  color: #1f2937;
}

.nav-link {
  font-weight: 600;
  transition: color 0.16s ease;
}

.nav-link:hover {
  color: #006847;
}

.nav-dropdown {
  position: relative;
  margin-bottom: -6px;
  padding-bottom: 6px;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker,
.mobile-nav-accordion > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: all 0.14s ease;
  -webkit-appearance: none;
  appearance: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2100;
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 240px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-link {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  color: #006847;
  background: #f8fafc;
}

.nav-dropdown-link-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
  padding: 14px 42px 14px 14px;
  border: 1px solid rgba(0, 104, 71, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.08), rgba(244, 201, 93, 0.18)),
    #fff;
  color: #0f3f2f;
  white-space: normal;
}

.nav-dropdown-link-featured::after {
  content: '->';
  position: absolute;
  top: 14px;
  right: 14px;
  color: #006847;
  font-size: 0.8rem;
  font-weight: 900;
  transition: transform 0.18s ease;
}

.nav-dropdown-link-featured:hover {
  border-color: rgba(0, 104, 71, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.12), rgba(244, 201, 93, 0.24)),
    #fff;
}

.nav-dropdown-link-featured:hover::after {
  transform: translateX(2px);
}

.nav-dropdown-link-kicker {
  color: #6b7280;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-dropdown-link-title {
  color: #0f3f2f;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.nav-dropdown-link-copy {
  max-width: 190px;
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.topbar-secondary-button,
.topbar-button-primary {
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}

.topbar-secondary-button {
  background: #6b8ca3;
  box-shadow: 0 10px 22px rgba(107, 140, 163, 0.16);
}

.topbar-button-primary {
  background: #006847;
  box-shadow: 0 12px 24px rgba(0, 104, 71, 0.16);
  white-space: nowrap;
}

.nav-right-mobile {
  display: none;
  gap: 12px;
}

.translate-icon-mobile {
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  color: #6b8ca3;
  font-weight: 700;
  background: rgba(107, 140, 163, 0.12);
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: #1f2937;
}

.mobile-nav-backdrop,
.mobile-nav-sheet {
  display: none;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 106px 0 0;
  z-index: 1998;
  background: rgba(17, 24, 39, 0.34);
  backdrop-filter: blur(4px);
}

.mobile-nav-sheet {
  position: fixed;
  top: 114px;
  left: 12px;
  right: 12px;
  z-index: 1999;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: auto;
  height: auto;
  max-height: calc(100vh - 128px);
  padding: 22px;
  overflow-y: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-nav-sheet.open {
  display: flex;
}

.mobile-nav-title {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-nav-featured {
  padding-top: 8px;
  border-top: 0;
}

.mobile-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(0, 104, 71, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 104, 71, 0.1), rgba(244, 201, 93, 0.18)),
    #fff;
  color: #0f3f2f;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.mobile-hub-card::after {
  content: '->';
  position: absolute;
  top: 18px;
  right: 18px;
  color: #006847;
  font-weight: 900;
}

.mobile-hub-eyebrow {
  color: #006847;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-hub-title {
  color: #0f3f2f;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}

.mobile-hub-copy {
  max-width: 28rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.mobile-nav-accordion {
  gap: 0;
}

.mobile-nav-group-title {
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
  list-style: none;
  cursor: pointer;
}

.mobile-nav-accordion > summary::after {
  content: '+';
  color: #6b7280;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.16s ease, color 0.16s ease;
}

.mobile-nav-accordion[open] > summary::after {
  content: '\2212';
  color: #006847;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  font-weight: 600;
}

.mobile-nav-button {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
}

.floating-phone-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 1800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 104, 71, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #006847;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0.72;
  transition:
    width 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.floating-phone-link:hover,
.floating-phone-link:focus-visible {
  width: 154px;
  border-color: rgba(0, 104, 71, 0.28);
  box-shadow: 0 16px 34px rgba(0, 104, 71, 0.14);
  opacity: 1;
  transform: translateY(-1px);
}

.floating-phone-link svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.floating-phone-text {
  max-width: 0;
  overflow: hidden;
  color: #0f3f2f;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.2s ease,
    opacity 0.16s ease;
}

.floating-phone-link:hover .floating-phone-text,
.floating-phone-link:focus-visible .floating-phone-text {
  max-width: 96px;
  opacity: 1;
}

@media (min-width: 901px) {
  .topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
  }

  .nav-center {
    position: static;
    left: auto;
    width: auto;
    max-width: none;
    gap: 6px;
    padding: 6px;
    justify-self: center;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
    transform: none;
  }

  .nav-link,
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
  }

  .nav-link:hover,
  .nav-dropdown-toggle:hover,
  .nav-dropdown[open] .nav-dropdown-toggle {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-actions {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 16px;
  }

  .nav-center,
  .nav-actions {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
    margin-left: auto;
  }

  .topbar-inner {
    padding: 0 14px;
  }

  .logo-link {
    padding: 0;
  }

  .logo-img {
    height: 46px;
    max-width: 52px;
  }

  .logo {
    font-size: 1.15rem;
  }
}

@media (max-width: 520px) {
  .floating-phone-link {
    left: 14px;
    bottom: 82px;
    width: 42px;
    height: 42px;
  }

  .floating-phone-link:hover,
  .floating-phone-link:focus-visible {
    width: 42px;
  }

  .floating-phone-link:hover .floating-phone-text,
  .floating-phone-link:focus-visible .floating-phone-text {
    max-width: 0;
    opacity: 0;
  }

  .logo-img {
    height: 42px;
    max-width: 48px;
  }

  .logo {
    font-size: 1.05rem;
  }
}
