.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.nav-shell {
  width: min(1180px, 92%);
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;
}

.brand-icon{
    width:48px;
    height:48px;
    object-fit:contain;
    flex-shrink:0;
    transform: translateY(1px);
}

.brand:hover .brand-icon{
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateY(4px);
  transform:scale(1.06) rotate(-4deg);
  filter:drop-shadow(0 0 10px rgba(34,197,94,.35));
}

.brand-text{

    font-family:"Manrope",sans-serif;

    font-size:38px;

    font-weight:900;

    letter-spacing:-0.05em;

    color:#111827;

    line-height:1;
}

.brand-text span{
    color:#22c55e;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.nav-trigger:hover {
  background: #e2e8f0;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 520px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 28px;
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  transition: 0.18s ease;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu--right {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.nav-item:hover .mega-menu--right {
  transform: translateY(0);
}

.mega-menu__header {
  padding: 4px 6px 16px;
}

.mega-menu__header strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
}

.mega-menu__header span {
  color: #64748b;
  font-size: 14px;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mega-link {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
  text-decoration: none;
  color: #0f172a;
}

.mega-link:hover {
  background: #f1f5f9;
}

.mega-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f1f5f9;
}

.mega-link strong {
  display: block;
  font-size: 15px;
  font-weight: 850;
}

.mega-link small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .nav-shell {
    height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: white;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-nav {
    position: fixed;
    top: 64px;
    left: 4%;
    right: 4%;
    z-index: 1001;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 14px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 850;
    background: #f1f5f9;
  }

  .mobile-nav hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 8px 0;
  }
}
.nav-item::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 36px;
}