/* Hide the mobile search everywhere */

.navV60-search-mobile {
  display: none !important;
}

/* Move logo & toggle away from screen edges */

@media (max-width: 991.98px) {
  .navV60-inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.navV60-promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navV60-promo-h);
  background: linear-gradient(90deg, #1C1C1C 0%, #2E2E2E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  z-index: 9999;
  padding: .5em 0;
  font-size: 0.86rem;
}

.navV60-promo-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.navV60-promo-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.navV60-promo-pill {
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.navV60-promo-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.navV60-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
  padding: 0.22rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navV60-promo-arrow {
  font-size: 0.9rem;
}

/* Header */

.navV60-header {
  position: fixed;
  top: var(--navV60-promo-h);
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--navV60-border);
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

.navV60-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .navV60-inner {
    flex-wrap: nowrap;
  }
}

.navV60-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.navV60-logo img {
  height: 44px;
  display: block;
}

.navV60-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.navV60-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.navV60-item {
  position: relative;
}

.navV60-link, .navV60-sub-toggle {
  border: none;
  background: none;
  font: inherit;
  color: var(--navV60-dark);
  cursor: pointer;
}

.navV60-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  text-decoration: none;
}

.navV60-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--navV60-green);
  transition: width 0.2s ease;
}

.navV60-link:hover::after, .navV60-link-active::after {
  width: 100%;
}

.navV60-caret {
  font-size: 0.74rem;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Submenus base */

.navV60-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.3rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 24px 60px rgba(15,23,42,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 40;
}

/* Mega container */

.navV60-submenu-mega {
  padding: 1rem 1.2rem 1.05rem;
  min-width: 580px;
}

.navV60-mega-row {
  display: flex;
  gap: 1.8rem;
}

.navV60-mega-col {
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.navV60-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navV60-muted);
  margin: 0 0 0.3rem;
}

.navV60-submenu-mega a {
  display: block;
  padding: 0.36rem 0.85rem;
  font-size: 0.9rem;
  color: #1f2721;
  text-decoration: none;
  border-radius: 999px;
}

.navV60-submenu-mega a:hover {
  background: rgba(40,167,69,0.08);
}

/* Simple submenu */

.navV60-submenu-simple {
  padding: 0.45rem 0.3rem;
  min-width: 230px;
}

.navV60-submenu-simple li {
  list-style: none;
}

.navV60-submenu-simple a {
  display: block;
  padding: 0.42rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 10px;
  color: #1f2721;
  text-decoration: none;
}

.navV60-submenu-simple a:hover {
  background: rgba(40,167,69,0.08);
}

/* Mega highlight column */

.navV60-mega-highlight {
  padding: 0.4rem 0.9rem;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(40,167,69,0.14), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(40,167,69,0.08);
}

.navV60-mega-desc {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #24313a;
}

.navV60-mega-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--navV60-green);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(40,167,69,0.32);
}

.navV60-mega-meta {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--navV60-muted);
}

.navV60-mega-meta a {
  color: var(--navV60-green);
  text-decoration: none;
}

/* Desktop hover open */

@media (min-width: 992px) {
  .navV60-item-has-dropdown:hover > .navV60-submenu, .navV60-item-has-dropdown:focus-within > .navV60-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
  }
}

/* Nested QBO/Industries (mobile) */

.navV60-submenu-nested {
  position: static;
  margin: 0;
  padding: 0.3rem 0 0.4rem 0;
  list-style: none;
}

.navV60-submenu-nested li a {
  padding: 0.32rem 0;
  font-size: 0.9rem;
}

/* Right cluster */

.navV60-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Search */

.navV60-search {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  padding: 0.25rem 0.9rem;
  box-shadow: 0 5px 16px rgba(15,23,42,0.05);
}

.navV60-search-icon {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-right: 0.4rem;
}

.navV60-search-input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  background: transparent;
}

.navV60-search-input::placeholder {
  color: #9aa0a6;
}

.navV60-search-desktop {
  min-width: 230px;
}

.navV60-search-mobile {
  margin-top: 0.2rem;
}

/* Phone + CTA */

.navV60-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navV60-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.navV60-cta {
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--navV60-green);
  background: var(--navV60-green);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(40,167,69,0.32);
}

/* Toggle */

.navV60-toggle {
  border: 1px solid rgba(15,23,42,0.12);
  background: #ffffff;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 1.7rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(15,23,42,0.16);
}

.navV60-toggle i {
  line-height: 1;
}

/* Mobile layout */

@media (max-width: 991.98px) {
  .navV60-inner {
    gap: 0.35rem;
  }
}

@media (max-width: 991.98px) {
  .navV60-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
    order: 3;
  }
}

@media (max-width: 991.98px) {
  .navV60-header.navV60-open .navV60-nav {
    max-height: 80vh;
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .navV60-header {
    max-height: 100vh;
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  .navV60-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.3rem 1rem;
  }
}

@media (max-width: 991.98px) {
  .navV60-link, .navV60-sub-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 991.98px) {
  .navV60-link::after {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navV60-toggle {
    display: inline-flex;
  }
}

@media (max-width: 991.98px) {
  .navV60-submenu {
    position: static;
    margin: 0.25rem 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.35rem 0 0.45rem 0.9rem;
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navV60-submenu-mega {
    padding: 0.3rem 0 0.4rem 0.9rem;
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .navV60-mega-row {
    flex-direction: column;
    gap: 0.55rem;
  }
}

@media (max-width: 991.98px) {
  .navV60-subgroup-links {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navV60-mega-highlight {
    background: none;
    box-shadow: none;
    padding: 0.2rem 0;
  }
}

@media (max-width: 991.98px) {
  .navV60-item-has-dropdown.navV60-open > .navV60-submenu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .navV60-submenu-nested {
    padding-left: 0.9rem;
    display: none;
  }
}

@media (max-width: 991.98px) {
  .navV60-subitem-has-dropdown.navV60-open > .navV60-submenu-nested {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .navV60-item-has-dropdown.navV60-open > .navV60-link .navV60-caret {
    transform: rotate(180deg);
  }
}

@media (max-width: 991.98px) {
  .navV60-subitem-has-dropdown.navV60-open > .navV60-sub-toggle .navV60-caret {
    transform: rotate(90deg);
  }
}

@media (max-width: 991.98px) {
  .navV60-search-mobile {
    order: 4;
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .navV60-right {
    order: 2;
  }
}

/* Focus outlines */

.navV60-link:focus-visible, .navV60-sub-toggle:focus-visible, .navV60-toggle:focus-visible, .navV60-cta:focus-visible, .navV60-promo-btn:focus-visible {
  outline: 2px solid var(--navV60-green);
  outline-offset: 2px;
}

/* FIX mega menu second column stacking correctly */

.navV60-subgroup-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
}

.navV60-subgroup-links a {
  display: block !important;
  width: 100% !important;
  white-space: nowrap !important;
}

/* Reduce motion */

@media (prefers-reduced-motion: reduce) {
  .navV60-header, .navV60-nav, .navV60-submenu, .navV60-link::after, .navV60-cta, .navV60-promo-btn {
    transition: none !important;
  }
}

