.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 12px;
  border-radius: 16px;
  position: relative;
  width: 56px;
  height: 56px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1001;
  overflow: hidden;
}

.hamburger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(202, 168, 138, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.hamburger:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(202, 168, 138, 0.3);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(202, 168, 138, 0.2);
}

.hamburger:hover::before {
  opacity: 1;
}

.hamburger:active {
  transform: translateY(-1px) scale(1.02);
}

.hamburger svg {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger svg path {
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hamburger:hover svg path {
  stroke: #caa88a;
  filter: drop-shadow(0 2px 8px rgba(202, 168, 138, 0.4));
}

.hamburger.active {
  background: rgba(202, 168, 138, 0.2);
  border-color: rgba(202, 168, 138, 0.4);
}

.hamburger.active .burger-line {
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active .x-line {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.mobile-menu {
  position: fixed;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 2000;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 32px 24px;
  background: linear-gradient(135deg, 
    rgba(15, 17, 24, 0.98), 
    rgba(25, 28, 40, 0.98)
  );
  border-top: 1px solid rgba(202, 168, 138, 0.2);
  transform-origin: top;
  transform: scaleY(0.95) translateY(-20px);
  opacity: 0;
  backdrop-filter: blur(30px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(202, 168, 138, 0.1);
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.show {
  display: flex;
  animation: amazingMenuReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes amazingMenuReveal {
  0% {
    transform: scaleY(0.95) translateY(-20px);
    opacity: 0;
  }
  50% {
    transform: scaleY(1.02) translateY(-5px);
    opacity: 0.8;
  }
  100% {
    transform: scaleY(1) translateY(0);
    opacity: 1;
  }
}

.mobile-menu a {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(202, 168, 138, 0.1), 
    transparent
  );
  transition: left 0.6s ease;
}

.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #caa88a, #e6c8a8);
  transition: width 0.4s ease;
}

.mobile-menu a:hover {
  color: #caa88a;
  transform: translateX(6px);
  background: rgba(202, 168, 138, 0.05);
}

.mobile-menu a:hover::before {
  left: 100%;
}

.mobile-menu a:hover::after {
  width: 100%;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.mobile-dropdown-trigger::after {
  content: '';
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23caa88a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-dropdown.active .mobile-dropdown-trigger::after {
  transform: rotate(180deg);
  filter: brightness(1.2);
}

.mobile-dropdown-menu {
  display: none;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.4),
    rgba(202, 168, 138, 0.08)
  );
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  border: 1px solid rgba(202, 168, 138, 0.15);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(202, 168, 138, 0.1);
  
  touch-action: pan-y;
  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  display: block;
  animation: amazingDropdownReveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes amazingDropdownReveal {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-dropdown-category {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(202, 168, 138, 0.1);
}

.mobile-dropdown-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mobile-dropdown-category h4 {
  color: #caa88a;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  position: relative;
  padding-left: 12px;
}

.mobile-dropdown-category h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 12px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #caa88a, transparent);
}

.mobile-dropdown-category ul {
  list-style: none;
  padding-left: 16px;
  margin: 0;
}

.mobile-dropdown-category li {
  margin-bottom: 6px;
}

.mobile-dropdown-category li:last-child {
  margin-bottom: 0;
}

.mobile-dropdown-category a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
  letter-spacing: normal;
  border-bottom: none;
  padding: 12px 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: block;
  
  min-height: 44px;
  line-height: 1.4;
  
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  
  touch-action: manipulation;
}

.mobile-dropdown-category a:hover {
  color: #caa88a;
  background: rgba(202, 168, 138, 0.1);
  transform: translateX(4px);
}

.mobile-dropdown-category a:active {
  background: rgba(202, 168, 138, 0.2);
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .hamburger {
    width: 60px;
    height: 60px;
    padding: 16px;
  }
  
  .hamburger svg {
    width: 28px;
    height: 28px;
  }
  
  .mobile-menu {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    width: 52px;
    height: 52px;
    padding: 14px;
  }
  
  .hamburger svg {
    width: 24px;
    height: 24px;
  }
  
  .mobile-menu {
    padding: 18px;
  }
  
  .mobile-menu a {
    padding: 16px 0;
    font-size: 0.9rem;
  }
  
  .mobile-dropdown-menu {
    max-height: 55vh;
  }
}

@media (max-width: 700px) {
  
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  
  #business-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    height: 80px !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    min-height: 48px;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1001 !important;
    order: 3;
    flex-shrink: 0;
  }
  
  .hamburger svg {
    width: 22px;
    height: 22px;
  }
  
  .btn-ai {
    display: none;
  }
  
  .logo {
    order: 1;
    flex-shrink: 0;
    max-width: 50% !important;
  }
  
  .logo-img {
    width: 150px;
    height: 54px;
    max-width: 100% !important;
    height: auto !important;
  }
  
  .mobile-menu {
    padding: 16px;
    top: 80px;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  .mobile-menu a {
    padding: 14px 0;
    font-size: 0.85rem;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .mobile-dropdown-menu {
    max-height: 50vh;
    padding: 16px;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(202, 168, 138, 0.3) transparent;
  }
  
  .mobile-dropdown-category a {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    
    min-height: 48px;
    padding: 14px 16px;
    
    -webkit-tap-highlight-color: rgba(202, 168, 138, 0.2);
  }
}

@media (max-width: 480px) {
  #business-bar {
    padding: 0 12px !important;
    height: 70px !important;
  }
  
  .logo-img {
    width: 120px;
    height: 43px;
    max-width: 100% !important;
  }
  
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 10px;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 1001 !important;
  }
  
  .hamburger svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-menu {
    padding: 14px;
    top: 70px;
  }
  
  .mobile-menu a {
    padding: 12px 0;
    font-size: 0.8rem;
  }
  
  .mobile-dropdown-menu {
    max-height: 45vh;
    padding: 14px;
  }
}

@media (max-width: 360px) {
  #business-bar {
    padding: 0 8px !important;
    height: 65px !important;
  }
  
  .logo-img {
    width: 100px;
    height: 36px;
    max-width: 100% !important;
  }
  
  .hamburger {
    width: 40px;
    height: 40px;
    padding: 8px;
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1001 !important;
  }
  
  .hamburger svg {
    width: 18px;
    height: 18px;
  }
  
  .mobile-menu {
    top: 65px;
    padding: 12px;
  }
  
  .mobile-dropdown-menu {
    max-height: 40vh;
    padding: 12px;
  }
}

@supports (-webkit-touch-callout: none) {
  .hamburger {
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-menu {
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
  }
}

@supports (-webkit-appearance: none) and (not (overflow: -webkit-marquee)) {
  .mobile-menu {
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
  }
}

@media (prefers-contrast: high) {
  .hamburger {
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.9);
  }
  
  .mobile-menu {
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.98);
  }
  
  .hamburger svg path {
    stroke: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hamburger,
  .hamburger svg,
  .hamburger svg path,
  .mobile-menu,
  .mobile-menu a,
  .mobile-dropdown-menu {
    transition: none !important;
    animation: none !important;
  }
  
  .menu-item-entrance {
    animation: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  .hamburger {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .mobile-menu {
    background: linear-gradient(135deg, 
      rgba(10, 12, 18, 0.98), 
      rgba(20, 23, 35, 0.98)
    );
  }
}

.hamburger:hover svg path {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(202, 168, 138, 0.05),
    transparent 50%
  );
  pointer-events: none;
}

.mobile-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.mobile-dropdown-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(202, 168, 138, 0.3);
  border-radius: 3px;
}

.mobile-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(202, 168, 138, 0.5);
}

.hamburger:focus-visible {
  outline: 2px solid #caa88a;
  outline-offset: 2px;
}

.mobile-menu a:focus-visible {
  outline: 2px solid #caa88a;
  outline-offset: 2px;
  background: rgba(202, 168, 138, 0.1);
}
