.hv3-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: #0b0c10;
  color: #f5f7fa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hv3-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hv3-left,
.hv3-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hv3-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.hv3-brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.hv3-nav {
  display: block;
}

.hv3-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hv3-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hv3-nav-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 160ms ease;
}

.hv3-nav-link:hover,
.hv3-nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hv3-mega-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.hv3-mega-toggle:focus-visible,
.hv3-mega-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hv3-chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.hv3-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #131721;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.hv3-mega-inner {
  display: block;
}

.hv3-mega-col h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.hv3-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.hv3-mega-list a,
.hv3-mega-list span {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #f5f7fa;
  transition: background 160ms ease;
}

.hv3-mega-list a:hover,
.hv3-mega-list a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hv3-nav--desktop .hv3-nav-item--mega:hover > .hv3-mega,
.hv3-nav--desktop .hv3-nav-item--mega:focus-within > .hv3-mega,
.hv3-nav--desktop .hv3-nav-item--mega.is-open > .hv3-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hv3-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hv3-plate {
  display: flex;
}

.hv3-plate .plate-search {
  background: #f4c03f;
  border-radius: 12px;
  padding: 4px;
}

.hv3-plate .plate-ui {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4c03f;
  border-radius: 10px;
}

.hv3-plate .plate-eu {
  background: #1b4db8;
  color: #fff;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.hv3-plate .plate-input {
  border: 0;
  background: transparent;
  padding: 6px 8px;
  min-width: 90px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.hv3-plate .plate-button {
  border: 0;
  background: #0b0c10;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.hv3-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hv3-contact-stack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hv3-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  transition: background 160ms ease;
  font-weight: 600;
}

.hv3-btn:hover,
.hv3-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hv3-btn-primary {
  background: #f4c03f;
  color: #0b0c10;
}

.hv3-btn-primary:hover,
.hv3-btn-primary:focus-visible {
  background: #ffd66a;
}

.hv3-btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hv3-btn-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hv3-burger {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: none;
}

.hv3-mobile-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1100;
}

.hv3-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 14, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.hv3-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88vw, 360px);
  background: #0f131a;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 220ms ease;
  padding: 18px 16px 24px;
  overflow-y: auto;
}

.hv3-drawer-close {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 12px;
}

.hv3-drawer-close span {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.hv3-drawer-close span::before,
.hv3-drawer-close span::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hv3-drawer-close span::before {
  transform: rotate(45deg);
}

.hv3-drawer-close span::after {
  transform: rotate(-45deg);
}

.hv3-nav--mobile .hv3-nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.hv3-nav--mobile .hv3-nav-item {
  flex-direction: column;
  align-items: stretch;
}

.hv3-nav--mobile .hv3-nav-link {
  padding: 10px 12px;
}

.hv3-nav--mobile .hv3-mega-toggle {
  align-self: flex-start;
  margin-left: 6px;
}

.hv3-nav--mobile .hv3-mega {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  background: transparent;
  border: 0;
  padding: 6px 0 0 12px;
  box-shadow: none;
  display: none;
}

.hv3-nav--mobile .hv3-nav-item--mega.is-open > .hv3-mega {
  display: block;
}

html.menu-open .hv3-mobile-layer {
  pointer-events: auto;
}

html.menu-open .hv3-overlay {
  opacity: 1;
  visibility: visible;
}

html.menu-open .hv3-drawer {
  transform: translateX(0);
  visibility: visible;
}

@media (min-width: 1024px) {
  .hv3-mobile-layer {
    display: none;
  }

  .hv3-nav--desktop {
    display: block;
  }

  .hv3-burger {
    display: none;
  }
}

@media (max-width: 1023px) {
  .hv3-inner {
    padding: 10px 16px;
  }

  .hv3-nav--desktop {
    display: none;
  }

  .hv3-mobile-layer {
    display: block;
  }

  .hv3-burger {
    display: inline-flex;
  }

  .hv3-cta-group {
    display: none;
  }

  .hv3-plate {
    display: none;
  }
}
