/*=====================================================*/
/*  VERSA CLOUD ERP — MAIN NAVIGATION                  */
/*  Markup: navigation-bar.php  ·  Behaviour: js/nav.js */
/*                                                     */
/*  Legacy hooks kept on purpose (other templates       */
/*  target them): .vce-navbar, .vce-logo,               */
/*  .menu__desktop, .menu__mob-side-navigation          */
/*=====================================================*/

:root {
  --vnav-h: 80px;
  --vnav-h-sm: 68px;
  --vnav-ink: #0A0A0A;
  --vnav-accent: #FD8200;
  --vnav-accent-soft: rgba(253, 130, 0, 0.14);
  --vnav-text: rgba(255, 255, 255, 0.82);
  --vnav-text-strong: #FFF;
  --vnav-muted: rgba(255, 255, 255, 0.52);
  --vnav-line: rgba(255, 255, 255, 0.09);
  --vnav-panel: rgba(18, 18, 19, 0.94);
  --vnav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vnav-font: Montserrat, Raleway, sans-serif;
  /* Masked arrow, so it inherits the colour of whatever reveals it. */
  --vnav-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

/*----------------------------*/
/* THEME OPT-OUT              */
/*----------------------------*/
/* universal/theme.css paints every span/p/heading --vce-default-black, which
   is invisible on this dark bar. Opt out once and let each component rule
   below own its colour. :where() contributes no specificity, so these stay at
   (0,1,0) and lose the tie to every rule that follows. */
.vce-navbar :where(span, p, b, small, h1, h2, h3, h4, h5, h6),
.menu__mob-side-navigation :where(span, p, b, small, h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

/* Same file sets a:visited --vce-secondary at (0,1,1), which outranks a plain
   class. Each nav link restates its own colour at matching specificity. */
.vce-navbar .vce-logo:visited,
.menu__mob-side-navigation .vce-logo:visited {
  color: transparent;
}

.vnav__link:visited,
.vnav__card:visited,
.vnav__feature:visited,
.vnav-m-link:visited {
  color: var(--vnav-text);
}

.vnav-m-row:visited {
  color: var(--vnav-text-strong);
}

.vnav__col-head:visited {
  color: var(--vnav-muted);
}

.vnav__panel-link:visited,
.vnav__btn--ghost:visited {
  color: var(--vnav-accent);
}

.vnav__btn--solid:visited {
  color: #fff;
}

/* Keyboard focus, in brand rather than the UA default blue. */
.vce-navbar :focus-visible,
.menu__mob-side-navigation :focus-visible {
  outline: 2px solid var(--vnav-accent);
  outline-offset: 3px;
}

/*----------------------------*/
/* BAR                        */
/*----------------------------*/
.vce-navbar {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--vnav-h);
  margin: 0;
  padding: 0 24px;
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  font-family: var(--vnav-font);
  transition: height 0.45s var(--vnav-ease), background 0.45s ease,
    border-color 0.45s ease, box-shadow 0.45s ease;
}

.vce-navbar.is-scrolled {
  height: var(--vnav-h-sm);
  background: rgba(8, 8, 8, 0.94);
  border-bottom-color: var(--vnav-line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* An open panel needs the solid bar behind it even at scroll-top. */
.vce-navbar.is-open {
  background: rgba(8, 8, 8, 0.94);
  border-bottom-color: var(--vnav-line);
}

.vnav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1366px;
  height: 100%;
  margin: 0 auto;
}

/* Reading-progress hairline welded to the bottom edge of the bar. */
.vnav__progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vnav-accent), #ffb057);
  transform: scaleX(var(--vnav-read, 0));
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.vce-navbar.is-scrolled .vnav__progress {
  opacity: 1;
}

/*----------------------------*/
/* LOGO                       */
/*----------------------------*/
.vce-navbar .vce-logo,
.menu__mob-side-navigation .vce-logo {
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: 208px;
  height: 38px;
  font-size: 0;
  text-decoration: none;
  outline: 0;
  background-image: url(/wp-content/themes/versaccounts/assets/images/Versa-Cloud-ERP-Logo.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  transition: transform 0.4s var(--vnav-ease), opacity 0.3s ease;
}

.vce-navbar .vce-logo:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.vce-navbar.is-scrolled .vce-logo {
  max-width: 188px;
  height: 34px;
}

/*----------------------------*/
/* DESKTOP MENU               */
/*----------------------------*/
.menu__desktop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

/* The travelling highlight behind whichever item is hovered/focused. */
.vnav__pill {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--vnav-pill-w, 0);
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  transform: translate(var(--vnav-pill-x, 0), -50%) scaleX(var(--vnav-pill-s, 0.6));
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s var(--vnav-ease), width 0.42s var(--vnav-ease),
    opacity 0.28s ease;
}

.menu__desktop.is-tracking .vnav__pill {
  opacity: 1;
  --vnav-pill-s: 1;
}

.vnav__item {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
}

.vnav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--vnav-text);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 11px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.vnav__link:hover,
.vnav__link:focus-visible,
.vnav__item.is-open .vnav__link {
  color: var(--vnav-text-strong);
  text-decoration: none;
}

.vnav__ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.4s var(--vnav-ease), color 0.25s ease;
}

.vnav__link:hover .vnav__ico {
  transform: translateY(-1px) rotate(-6deg);
}

.vnav__chev {
  width: 13px;
  height: 13px;
  margin-left: -1px;
  color: var(--vnav-muted);
  transition: transform 0.4s var(--vnav-ease), color 0.25s ease;
}

.vnav__item.is-open .vnav__chev {
  color: var(--vnav-accent);
  transform: rotate(180deg);
}

/* Current section: a lit dot under the label. */
.vnav__link.is-current {
  color: var(--vnav-text-strong);
}

.vnav__link.is-current::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--vnav-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px 1px rgba(253, 130, 0, 0.8);
}

/* AI entry point gets a gradient wordmark so it reads as the new thing. */
.vnav__link--ai .vnav__ico {
  color: var(--vnav-accent);
}

.vnav__link--ai .vnav__label {
  background: linear-gradient(92deg, #fff 0%, #ffd6a8 45%, var(--vnav-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vnav__link--ai:hover .vnav__ico {
  transform: scale(1.12) rotate(8deg);
}

/*----------------------------*/
/* DROPDOWN PANELS            */
/*----------------------------*/
.vnav__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% - 4px);
  left: var(--vnav-panel-x, 0);
  width: var(--vnav-panel-w, 300px);
  padding: 14px;
  background: var(--vnav-panel);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--vnav-line);
  border-radius: 20px;
  box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.985);
  transform-origin: 50% 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.42s var(--vnav-ease),
    visibility 0s linear 0.32s;
}

.vnav__item.is-open .vnav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.28s ease, transform 0.5s var(--vnav-ease),
    visibility 0s linear 0s;
}

/* Invisible bridge so the pointer can cross the gap bar → panel. */
.vnav__panel::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 0;
  left: 0;
  height: 14px;
}

.vnav__grid {
  display: grid;
  gap: 4px;
}

/*----------------------------*/
/* PANEL ITEM CARDS           */
/*----------------------------*/
.vnav__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  color: var(--vnav-text);
  text-decoration: none;
  border-radius: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: background 0.28s ease, opacity 0.4s ease,
    transform 0.45s var(--vnav-ease);
}

.vnav__item.is-open .vnav__card {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 26ms);
}

.vnav__card:hover,
.vnav__card:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--vnav-text);
  text-decoration: none;
}

.vnav__card-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--vnav-accent);
  background: var(--vnav-accent-soft);
  border: 1px solid rgba(253, 130, 0, 0.22);
  border-radius: 10px;
  transition: transform 0.42s var(--vnav-ease), background 0.28s ease,
    border-color 0.28s ease;
}

.vnav__card-ico svg {
  width: 18px;
  height: 18px;
}

.vnav__card:hover .vnav__card-ico {
  background: var(--vnav-accent);
  border-color: var(--vnav-accent);
  color: #fff;
  transform: translateY(-2px) rotate(-5deg);
}

.vnav__card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vnav__card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--vnav-text-strong);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* The arrow slides out of the title on hover. */
.vnav__card-title::after {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.28s ease, transform 0.38s var(--vnav-ease);
  -webkit-mask: var(--vnav-arrow) center / contain no-repeat;
  mask: var(--vnav-arrow) center / contain no-repeat;
}

.vnav__card:hover .vnav__card-title::after {
  opacity: 1;
  transform: translateX(0);
}

.vnav__card-desc {
  color: var(--vnav-muted);
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/*----------------------------*/
/* MEGA PANEL (AI HUB)        */
/*----------------------------*/
.vnav__panel--mega {
  padding: 18px;
}

.vnav__mega {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.vnav__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vnav__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px 12px;
  color: var(--vnav-muted);
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.vnav__col-head:hover,
.vnav__col-head:focus-visible {
  color: var(--vnav-text-strong);
  text-decoration: none;
}

.vnav__col-head::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--vnav-accent);
  flex-shrink: 0;
}

.vnav__col + .vnav__col {
  border-left: 1px solid var(--vnav-line);
  padding-left: 16px;
}

/* Feature column: the "Beyond ERP" showcase tile. */
.vnav__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 100%;
  padding: 24px 20px;
  color: var(--vnav-text);
  text-decoration: none;
  background: radial-gradient(
      130% 100% at 0% 0%,
      rgba(253, 130, 0, 0.26) 0%,
      transparent 58%
    ),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--vnav-line);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: border-color 0.3s ease, transform 0.5s var(--vnav-ease),
    opacity 0.4s ease;
}

.vnav__item.is-open .vnav__feature {
  opacity: 1;
  transform: none;
}

.vnav__feature:hover {
  border-color: rgba(253, 130, 0, 0.5);
  color: var(--vnav-text);
  text-decoration: none;
}

/* Slow orbiting glow — the panel feels alive without demanding attention. */
.vnav__feature::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -40%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(253, 130, 0, 0.4), transparent 68%);
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.55;
  animation: vnav-orbit 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vnav-orbit {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-26px, 30px) scale(1.14);
  }
}

.vnav__feature-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  color: #fff;
  background: var(--vnav-accent);
  border-radius: 12px;
  box-shadow: 0 10px 26px -6px rgba(253, 130, 0, 0.7);
  transition: transform 0.45s var(--vnav-ease);
}

.vnav__feature-ico svg {
  width: 21px;
  height: 21px;
}

.vnav__feature:hover .vnav__feature-ico {
  transform: translateY(-3px) rotate(-8deg);
}

.vnav__feature-kicker {
  position: relative;
  color: var(--vnav-accent);
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vnav__feature-title {
  position: relative;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.vnav__feature-desc {
  position: relative;
  color: var(--vnav-muted);
  font-family: Raleway, sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}

.vnav__feature-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.vnav__feature-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--vnav-ease);
}

.vnav__feature:hover .vnav__feature-more svg {
  transform: translateX(5px);
}

/* Panel footer strip: hub-level shortcut. */
.vnav__panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px 2px;
  border-top: 1px solid var(--vnav-line);
}

.vnav__panel-note {
  color: var(--vnav-muted);
  font-family: Raleway, sans-serif;
  font-size: 12px;
}

.vnav__panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vnav-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.vnav__panel-link:hover {
  color: var(--vnav-accent);
  text-decoration: none;
}

.vnav__panel-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--vnav-ease);
}

.vnav__panel-link:hover svg {
  transform: translateX(5px);
}

/*----------------------------*/
/* CTAs                       */
/*----------------------------*/
.vnav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vnav__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  font-family: var(--vnav-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 12px;
  border: 1.5px solid var(--vnav-accent);
  overflow: hidden;
  transition: transform 0.35s var(--vnav-ease), background 0.3s ease,
    color 0.3s ease, box-shadow 0.35s ease;
}

.vnav__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.vnav__btn--ghost {
  color: var(--vnav-accent);
  background: transparent;
}

.vnav__btn--ghost:hover {
  color: #fff;
  background: var(--vnav-accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.vnav__btn--solid {
  color: #fff;
  background: var(--vnav-accent);
  box-shadow: 0 8px 22px -8px rgba(253, 130, 0, 0.9);
}

.vnav__btn--solid:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(253, 130, 0, 0.95);
}

/* Light sweep across the primary CTA on hover. */
.vnav__btn--solid::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.65s var(--vnav-ease);
}

.vnav__btn--solid:hover::after {
  left: 130%;
}

.vnav__btn--solid .vnav__btn-arrow {
  transition: transform 0.4s var(--vnav-ease);
}

.vnav__btn--solid:hover .vnav__btn-arrow {
  transform: translateX(4px);
}

/*----------------------------*/
/* BURGER                     */
/*----------------------------*/
.vnav__burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--vnav-line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s var(--vnav-ease);
}

.vnav__burger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.vnav__burger:active {
  transform: scale(0.94);
}

.vnav__burger-box {
  display: grid;
  gap: 5px;
  width: 20px;
}

.vnav__burger-box span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s var(--vnav-ease), opacity 0.25s ease,
    width 0.4s var(--vnav-ease);
}

.vnav__burger-box span:nth-child(2) {
  width: 70%;
  justify-self: end;
}

.vnav__burger:hover .vnav__burger-box span:nth-child(2) {
  width: 100%;
}

/*----------------------------*/
/* MOBILE DRAWER              */
/*----------------------------*/
.vnav-scrim {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(6, 6, 8, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.vnav-scrim.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.menu__mob-side-navigation {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  max-height: 100vh;
  padding: 0;
  background: #0B0B0C;
  border-left: 1px solid var(--vnav-line);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.6);
  font-family: var(--vnav-font);
  transform: translateX(102%);
  transition: transform 0.52s var(--vnav-ease);
  overscroll-behavior: contain;
}

.menu__mob-side-navigation.is-open {
  transform: translateX(0);
}

.vnav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--vnav-line);
}

.menu__mob-side-navigation .vce-logo {
  max-width: 170px;
  height: 32px;
}

.vnav-drawer__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--vnav-line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.4s var(--vnav-ease);
}

.vnav-drawer__close:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(90deg);
}

.vnav-drawer__close svg {
  width: 17px;
  height: 17px;
}

.vnav-drawer__body {
  flex: 1;
  padding: 10px 16px 26px;
  overflow-y: auto;
}

.vnav-m-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.vnav-m-item:last-of-type {
  border-bottom: 0;
}

/* Rows enter in sequence when the drawer opens. */
.vnav-m-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 8px;
  color: var(--vnav-text-strong);
  font-family: var(--vnav-font);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateX(18px);
  transition: color 0.25s ease;
}

.menu__mob-side-navigation.is-open .vnav-m-row {
  animation: vnav-row-in 0.5s var(--vnav-ease) forwards;
  animation-delay: calc(90ms + var(--i, 0) * 45ms);
}

@keyframes vnav-row-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.vnav-m-row:hover,
.vnav-m-row:focus-visible {
  color: var(--vnav-accent);
  text-decoration: none;
}

.vnav-m-row .vnav__ico {
  width: 18px;
  height: 18px;
  color: var(--vnav-accent);
}

.vnav-m-row__text {
  flex: 1;
}

.vnav-m-row__chev {
  width: 16px;
  height: 16px;
  color: var(--vnav-muted);
  transition: transform 0.4s var(--vnav-ease), color 0.25s ease;
}

.vnav-m-item.is-open .vnav-m-row__chev {
  color: var(--vnav-accent);
  transform: rotate(180deg);
}

.vnav-m-row--ai .vnav-m-row__text {
  background: linear-gradient(92deg, #fff 0%, #ffd6a8 50%, var(--vnav-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid-rows collapse: animates cleanly without measuring heights in JS. */
.vnav-m-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--vnav-ease);
}

.vnav-m-item.is-open .vnav-m-sub {
  grid-template-rows: 1fr;
}

.vnav-m-sub__clip {
  overflow: hidden;
}

.vnav-m-sub__inner {
  padding: 2px 0 14px 8px;
}

.vnav-m-group {
  margin: 10px 0 2px;
  padding-left: 8px;
  color: var(--vnav-muted);
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vnav-m-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  color: var(--vnav-text);
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 11px;
  border-left: 2px solid transparent;
  transition: background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, padding-left 0.3s var(--vnav-ease);
}

.vnav-m-link:hover,
.vnav-m-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--vnav-accent);
  padding-left: 14px;
  text-decoration: none;
}

.vnav-m-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--vnav-accent);
}

.vnav-drawer__actions {
  display: grid;
  gap: 10px;
  flex-shrink: 0;
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--vnav-line);
}

.vnav-drawer__actions .vnav__btn {
  width: 100%;
  height: 50px;
}

/*----------------------------*/
/* RESPONSIVE                 */
/*----------------------------*/
@media (max-width: 1279px) {
  .vnav__link {
    padding: 10px 11px;
    font-size: 13.5px;
  }

  .vnav__btn {
    height: 42px;
    padding: 0 14px;
    font-size: 12.5px;
  }
}

@media (max-width: 1099px) {
  .menu__desktop,
  .vnav__actions {
    display: none;
  }

  .vnav__burger {
    display: grid;
  }
}

@media (max-width: 767px) {
  .vce-navbar {
    padding: 0 16px;
  }

  .menu__mob-side-navigation {
    width: 100%;
    border-left: 0;
  }
}

/*----------------------------*/
/* MOTION PREFERENCES         */
/*----------------------------*/
@media (prefers-reduced-motion: reduce) {
  .vce-navbar,
  .vce-navbar *,
  .menu__mob-side-navigation,
  .menu__mob-side-navigation * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .vnav-m-row {
    opacity: 1;
    transform: none;
  }
}
