.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(251, 227, 238, 0.12);
  background: rgba(63, 13, 36, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  min-height: var(--header-height);
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: var(--font-weight-bold);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(48px, 4vw, 64px);
  height: clamp(48px, 4vw, 64px);
  border-radius: var(--radius-full);
  color: var(--primary-dark);
  background: var(--accent-pink);
  box-shadow: var(--shadow-lg);
  font-size: 23px;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1.25;
}

.brand-name {
  font-size: 20px;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: var(--extra-small);
  font-weight: var(--font-weight-regular);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 227, 238, 0.42) transparent;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.desktop-nav::-webkit-scrollbar {
  height: 4px;
}

.desktop-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(251, 227, 238, 0.42);
}

.desktop-nav.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  font-size: var(--small);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-trigger:hover,
.nav-link.active,
.nav-trigger.active {
  color: var(--text-primary);
  background: rgba(164, 49, 99, 0.38);
}

.mega-menu {
  position: fixed;
  top: calc(var(--header-height) + 8px);
  left: 50%;
  z-index: 60;
  width: min(720px, calc(100vw - 32px));
  padding: var(--spacing-lg);
  border: 1px solid rgba(251, 227, 238, 0.14);
  border-radius: var(--radius-lg);
  background: #4a1230;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: var(--transition-base);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-title {
  margin-bottom: var(--spacing-md);
  color: var(--accent-pink);
  font-weight: var(--font-weight-bold);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-sm);
}

.mega-link {
  min-height: 86px;
  padding: var(--spacing-md);
  border: 1px solid rgba(251, 227, 238, 0.12);
  border-radius: var(--radius-md);
  background: rgba(63, 13, 36, 0.62);
  transition: var(--transition-fast);
}

.mega-link:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.mega-link strong {
  display: block;
}

.mega-link span {
  color: var(--text-muted);
  font-size: var(--small);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.social-icon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  color: var(--accent-pink);
  background: rgba(90, 22, 57, 0.4);
  border: 1px solid var(--depth-border);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05), var(--shadow-sm);
  text-decoration: none;
  transform: translateY(0);
  transition: transform var(--transition-3d), background-color var(--transition-3d), border-color var(--transition-3d), color var(--transition-3d), box-shadow var(--transition-3d);
}

.social-icon:hover,
.social-icon:focus-visible {
  color: #fff;
  background: rgba(164, 49, 99, 0.6);
  border-color: rgba(251, 227, 238, 0.4);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), var(--shadow-md), 0 0 10px rgba(164, 49, 99, 0.3);
  outline: none;
  transform: translateY(-3px);
}

.social-icon:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.social-icon__glyph,
.social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.social-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .social-icon-row {
  gap: 9px;
}

.site-header .social-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.site-header .social-icon__glyph,
.site-header .social-icon svg {
  width: 16px;
  height: 16px;
}

.phone-link {
  color: var(--text-secondary);
  font-size: var(--small);
  white-space: nowrap;
}

.phone-number {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.menu-toggle {
  display: none;
  width: auto;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-inline: 10px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background: rgba(251, 227, 238, 0.1);
  cursor: pointer;
}

.menu-toggle-icon {
  font-size: 20px;
  line-height: 1;
}

.menu-toggle-label {
  font-size: var(--extra-small);
  font-weight: var(--font-weight-semibold);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  height: auto;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 28px));
  border-bottom: 1px solid rgba(251, 227, 238, 0.12);
  background: #3f0d24;
  box-shadow: var(--shadow-xl);
  touch-action: pan-y;
}

.mobile-drawer.open {
  display: block;
}

@media (max-width: 1199px) {
  body.menu-open .site-header {
    backdrop-filter: none;
  }
}

@media (max-width: 767px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
    direction: ltr;
    overflow: hidden;
  }

  .brand-mark {
    order: 2;
    flex: 0 0 auto;
  }

  .brand-text {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    direction: rtl;
    overflow: hidden;
    text-align: right;
  }

  .brand-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
  }

  .menu-toggle {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .social-icon__glyph,
  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

.mobile-nav {
  padding: var(--spacing-md);
}

.mobile-nav a,
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: transparent;
  text-align: right;
  cursor: pointer;
}

.mobile-nav a:hover,
.mobile-accordion-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.mobile-submenu {
  display: none;
  padding: 2px 14px 12px;
}

.mobile-submenu.open {
  display: grid;
  gap: 4px;
}

.mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 var(--spacing-md) var(--spacing-md);
  overflow: hidden;
}

.mobile-contact {
  padding: 0 var(--spacing-md) var(--spacing-lg);
  color: var(--text-muted);
  font-size: var(--small);
}
