:root {
  --bamvero-header-height: 112px;
  --bamvero-header-gold: #caa268;
  --bamvero-header-gold-dark: #a9782f;
  --bamvero-header-ink: #202329;
}

body {
  padding-top: var(--bamvero-header-height) !important;
}

.bamvero-header,
.bamvero-mobile-panel {
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.bamvero-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--bamvero-header-ink);
}

.bamvero-header-container {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.bamvero-topbar {
  height: 40px;
  background: linear-gradient(90deg, #bd914e 0%, var(--bamvero-header-gold) 55%, #d2ac6d 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 650;
}

.bamvero-topbar-inner,
.bamvero-topbar-primary,
.bamvero-topbar-secondary {
  display: flex;
  align-items: center;
}

.bamvero-topbar-inner {
  height: 100%;
  justify-content: space-between;
  gap: 24px;
}

.bamvero-topbar-primary,
.bamvero-topbar-secondary {
  gap: 18px;
  white-space: nowrap;
}

.bamvero-topbar-primary {
  gap: 20px;
}

.bamvero-topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bamvero-topbar-contact svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: .9;
}

.bamvero-topbar-prompt {
  position: relative;
  padding-left: 15px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 600;
}

.bamvero-topbar-prompt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff4dc;
  transform: translateY(-50%);
}

.bamvero-topbar-secondary {
  gap: 8px;
}

.bamvero-topbar-inquiry {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-right: 4px;
  padding-right: 17px;
  font-weight: 750;
}

.bamvero-topbar-inquiry::after {
  content: "\2197";
  position: absolute;
  top: -1px;
  right: 0;
  font-size: 13px;
}

.bamvero-topbar-icon-action {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  color: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.bamvero-topbar-icon-action svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.bamvero-topbar a {
  color: #fff;
  text-decoration: none;
}

.bamvero-topbar a:hover,
.bamvero-topbar a:focus-visible {
  color: #fff;
}

.bamvero-topbar-icon-action:hover,
.bamvero-topbar-icon-action:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--bamvero-header-gold-dark);
}

.bamvero-nav-shell {
  height: 72px;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(31, 34, 39, .06);
  box-shadow: 0 8px 26px rgba(31, 34, 39, .08);
  backdrop-filter: blur(12px);
}

.bamvero-nav-row {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.bamvero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--bamvero-header-ink);
  text-decoration: none;
}

.bamvero-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 9px 22px rgba(54, 64, 45, .2);
}

.bamvero-brand > span {
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bamvero-brand > span > span {
  color: var(--bamvero-header-gold);
}

.bamvero-desktop-nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}

.bamvero-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.bamvero-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: var(--bamvero-header-ink);
  font-size: 15.5px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bamvero-nav-link::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 11px;
  height: 2px;
  background: var(--bamvero-header-gold);
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .18s ease, transform .18s ease;
}

.bamvero-nav-link:hover,
.bamvero-nav-link:focus-visible,
.bamvero-nav-link.is-active {
  color: var(--bamvero-header-gold-dark);
}

.bamvero-nav-link:hover::before,
.bamvero-nav-link:focus-visible::before,
.bamvero-nav-link.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.bamvero-nav-link.has-children::after {
  content: "+";
  margin-left: 7px;
  color: var(--bamvero-header-gold-dark);
  font-weight: 700;
}

.bamvero-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--bamvero-header-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(31, 34, 39, .16);
}

.bamvero-nav-cta:hover,
.bamvero-nav-cta:focus-visible {
  background: #111317;
}

.bamvero-dropdown {
  position: absolute;
  top: 100%;
  z-index: 1010;
  display: block;
  background: #fff;
  border-top: 3px solid var(--bamvero-header-gold);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 48px rgba(31, 34, 39, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.bamvero-nav-item:hover > .bamvero-dropdown,
.bamvero-nav-item:focus-within > .bamvero-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.bamvero-mega-menu {
  position: fixed;
  top: var(--bamvero-header-height);
  left: 50%;
  width: min(1080px, calc(100vw - 64px));
  padding: 22px 24px 24px;
  transform: translate(-50%, 10px);
}

.bamvero-nav-item:hover > .bamvero-mega-menu,
.bamvero-nav-item:focus-within > .bamvero-mega-menu {
  transform: translate(-50%, 0);
}

.bamvero-mega-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.bamvero-mega-grid section {
  min-width: 0;
}

.bamvero-mega-grid h3 {
  position: relative;
  margin: 0 0 9px;
  padding: 0 0 10px;
  color: var(--bamvero-header-ink);
  font: 700 14px/1.25 Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.bamvero-mega-grid h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--bamvero-header-gold);
}

.bamvero-mega-grid a,
.bamvero-solution-menu a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid #edf0f4;
  color: #697386;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none;
}

.bamvero-mega-grid a:hover,
.bamvero-mega-grid a:focus-visible,
.bamvero-solution-menu a:hover,
.bamvero-solution-menu a:focus-visible {
  color: var(--bamvero-header-gold-dark);
}

.bamvero-solution-menu {
  left: 0;
  width: 250px;
  padding: 14px 18px;
}

.bamvero-solution-menu a:last-child {
  border-bottom: 0;
}

.bamvero-menu-toggle,
.bamvero-mobile-panel,
.bamvero-mobile-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  .bamvero-nav-row {
    grid-template-columns: 1fr auto;
  }

  .bamvero-desktop-nav,
  .bamvero-nav-cta {
    display: none;
  }

  .bamvero-menu-toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef1f4;
    color: var(--bamvero-header-ink);
    cursor: pointer;
  }

  .bamvero-menu-toggle span,
  .bamvero-menu-toggle::before,
  .bamvero-menu-toggle::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .bamvero-menu-toggle span { top: 20px; }
  .bamvero-menu-toggle::before { top: 14px; }
  .bamvero-menu-toggle::after { top: 26px; }

  .bamvero-mobile-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1200;
    display: block;
    width: min(370px, 88vw);
    padding: 24px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 24px 70px rgba(31, 34, 39, .22);
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .bamvero-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
  }

  .bamvero-mobile-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--bamvero-header-ink);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .bamvero-mobile-panel nav > a,
  .bamvero-mobile-group a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f4;
    color: var(--bamvero-header-ink);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 650;
    text-decoration: none;
  }

  .bamvero-mobile-panel nav > a.is-active {
    color: var(--bamvero-header-gold-dark);
  }

  .bamvero-mobile-group {
    padding: 4px 0 8px 16px;
    border-left: 2px solid var(--bamvero-header-gold);
  }

  .bamvero-mobile-group a {
    padding: 9px 0;
    color: #697386;
    font-size: 13px;
    font-weight: 500;
  }

  .bamvero-mobile-panel .bamvero-mobile-cta {
    margin-top: 18px;
    padding: 13px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--bamvero-header-gold);
    color: #fff;
    text-align: center;
  }

  .bamvero-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    display: block;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  body.site-menu-open {
    overflow: hidden;
  }

  body.site-menu-open .bamvero-mobile-panel {
    transform: translateX(0);
  }

  body.site-menu-open .bamvero-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --bamvero-header-height: 96px;
  }

  .bamvero-header-container {
    width: min(100% - 28px, 400px);
  }

  .bamvero-topbar {
    height: 34px;
    font-size: 11px;
  }

  .bamvero-topbar-inner {
    justify-content: center;
  }

  .bamvero-topbar-primary {
    gap: 14px;
  }

  .bamvero-topbar-prompt,
  .bamvero-topbar-secondary {
    display: none;
  }

  .bamvero-topbar-contact {
    gap: 5px;
  }

  .bamvero-topbar-contact svg {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
  }

  .bamvero-nav-shell {
    height: 62px;
  }

  .bamvero-brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }

  .bamvero-brand > span {
    font-size: 25px;
  }
}
