/* V28 grouped navigation: product discovery → business solutions → proof → support. */

.nav28-desktop {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.nav28-group {
  position: relative;
}

.nav28-group-trigger,
.nav28-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink, #392d2b);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.nav28-group-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform .18s ease;
}

.nav28-group-trigger:hover,
.nav28-support-link:hover,
.nav28-group.is-active > .nav28-group-trigger,
.nav28-group.is-open > .nav28-group-trigger,
.nav28-support-link.is-active {
  background: #f9e6df;
  color: #934c3d;
}

.nav28-group.is-open > .nav28-group-trigger svg {
  transform: rotate(180deg);
}

.nav28-dropdown {
  position: absolute;
  top: calc(100% + 11px);
  left: 50%;
  z-index: 70;
  width: 292px;
  padding: 9px;
  border: 1px solid #e5ded6;
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 20px 55px rgba(57, 45, 43, .15);
  transform: translateX(-50%);
}

.nav28-group[data-nav28-group="why"] .nav28-dropdown {
  left: auto;
  right: 0;
  transform: none;
}

.nav28-dropdown::before {
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.nav28-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 9px;
  color: #4c3d38;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.nav28-item:hover,
.nav28-item:focus-visible {
  background: #f8efe9;
  color: #934c3d;
}

.nav28-item-arrow {
  color: #b57c68;
  font-size: 12px;
}

.nav28-language-slot {
  display: flex;
  align-items: center;
}

.nav28-language-slot .site-language-control {
  min-height: 40px;
  padding: 0 7px;
  border-color: #e5ded6;
  background: #fffdf9;
  color: #4c3d38;
}

.nav28-language-slot .site-language-control select {
  min-width: 76px;
  max-width: 94px;
  color: inherit;
  font-size: 11px;
}

.nav28-language-slot .site-language-control svg {
  color: #9b6654;
}

.nav28-quote-short {
  display: none;
}

.compare-trigger[hidden] {
  display: none !important;
}

.nav28-compare-visible {
  animation: nav28-compare-in .2s ease-out;
}

.nav28-mobile-inner {
  display: grid;
  gap: 8px;
}

.nav28-mobile-group {
  overflow: hidden;
  border: 1px solid #e5ded6;
  border-radius: 12px;
  background: #fffdf9;
}

.nav28-mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  color: #392d2b;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.nav28-mobile-group summary::-webkit-details-marker {
  display: none;
}

.nav28-mobile-group summary > span:last-child {
  color: #a95d47;
  font-size: 18px;
  font-weight: 400;
  transition: transform .18s ease;
}

.nav28-mobile-group[open] summary > span:last-child {
  transform: rotate(45deg);
}

.nav28-mobile-group.is-active summary {
  background: #f9e6df;
  color: #934c3d;
}

.nav28-mobile-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 8px 8px;
}

.nav28-mobile .nav28-item.mobile-nav-btn {
  display: flex;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 11px;
  border-radius: 9px;
  background: #faf6f0;
  font-size: 11px;
}

.nav28-mobile-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #edf3ed;
  color: #355d4a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav28-mobile-support.is-active {
  box-shadow: inset 0 0 0 1px #789687;
}

@keyframes nav28-compare-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1179px) {
  .desktop-nav.nav28-desktop {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
  }

  .mobile-nav.nav28-mobile:not(.hidden) {
    display: block !important;
    padding: 12px 24px 18px;
  }

  .nav28-language-slot .site-language-control select {
    max-width: 78px;
  }
}

@media (min-width: 1180px) {
  .mobile-toggle {
    display: none !important;
  }

  .mobile-nav.nav28-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nav-inner {
    gap: 5px;
  }

  .header-actions {
    gap: 4px;
  }

  .nav28-quote-label {
    display: none;
  }

  .nav28-quote-short {
    display: inline;
  }

  .quote-trigger {
    padding-inline: 8px;
  }

  .nav28-language-slot .site-language-control {
    min-height: 36px;
    padding-inline: 4px;
  }

  .nav28-language-slot .site-language-control svg {
    display: none;
  }

  .nav28-language-slot .site-language-control select {
    min-width: 58px;
    max-width: 68px;
    padding-right: 16px;
    font-size: 11px;
  }

  .mobile-nav.nav28-mobile:not(.hidden) {
    padding: 10px 16px 16px;
  }

  .nav28-mobile-items {
    grid-template-columns: 1fr;
  }

  .nav28-mobile .nav28-item.mobile-nav-btn {
    font-size: 12px;
  }
}
