#mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1700;
  height: 64px;
  padding: 0 12px;
  background: #1e1e1e;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mobile-panel .mobile-panel-burger {
  display: inline-flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#mobile-panel .mobile-panel-burger span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

#mobile-panel .mobile-panel-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 180px;
  overflow: hidden;
}

#mobile-panel .logo-image {
  display: block;
  width: 100%;
  height: 34px;
  max-width: 180px;
  background: url('/assets/images/logo-mobile.png') left center / contain no-repeat;
}

#mobile-panel .mobile-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

#mobile-panel .mobile-panel-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#mobile-panel .mobile-panel-call svg {
  display: block;
  width: 20px;
  height: 20px;
}

#mobile-panel .mobile-panel-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25a9ff 0%, #0f7bdb 100%);
  box-shadow: 0 10px 24px rgba(15, 123, 219, 0.28);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#mobile-panel .mobile-panel-lead:hover {
  color: #fff;
  background: linear-gradient(135deg, #37b0ff 0%, #1584e5 100%);
  box-shadow: 0 12px 28px rgba(15, 123, 219, 0.32);
  transform: translateY(-1px);
}

#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1699;
  background: linear-gradient(180deg, rgba(7, 14, 26, 0.28) 0%, rgba(7, 14, 26, 0.6) 100%);
  backdrop-filter: blur(8px);
}

#mobile-menu.is-open {
  display: block !important;
}

#mobile-menu .menu-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
  color: #314257;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(18, 36, 61, 0.08);
  padding: 0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

#mobile-menu .mobile-menu-body {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  width: min(88vw, 364px);
  padding: 72px 20px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

#mobile-menu .mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#mobile-menu .mobile-menu-nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 151, 246, 0.06);
  color: #1f2a37;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

#mobile-menu .mobile-menu-nav a:hover {
  color: #1697f6;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 123, 219, 0.12);
  transform: translateX(2px);
}

#mobile-menu .mobile-menu-meta {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(28, 87, 170, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#mobile-menu .mobile-menu-address {
  display: flex;
  padding-bottom: 13px;
  flex-direction: column;
  gap: 4px;
  border: 0;
  border-bottom: 1px solid rgba(28, 87, 170, 0.12);
  color: #1f2a37;
}

#mobile-menu .mobile-menu-address span {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

#mobile-menu .mobile-menu-address strong {
  color: #1f2a37;
  font-size: 16px;
  line-height: 1.35;
}

#mobile-menu .mobile-menu-address:hover strong {
  color: #1697f6;
}

#mobile-menu .mobile-menu-phone {
  font-size: 20px;
  font-weight: 900;
  color: #1f2a37;
  border: 0;
}

#mobile-menu .mobile-menu-callback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  color: #1697f6;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 0;
}

#mobile-menu .mobile-menu-callback-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

#mobile-menu .mobile-menu-callback-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

#mobile-menu .mobile-menu-note {
  font-size: 13px;
  line-height: 1.5;
  color: #667085;
}

#mobile-menu .mobile-menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#mobile-menu .mobile-menu-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: #f3f8fd;
  color: #07233e;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(22, 151, 246, 0.06);
}

#mobile-menu .mobile-menu-actions img {
  width: 22px;
  height: 22px;
}

@media (max-width: 420px) {
  #mobile-panel {
    padding: 0 10px;
    gap: 8px;
  }

  #mobile-panel .mobile-panel-logo {
    max-width: 132px;
  }

  #mobile-panel .logo-image {
    height: 30px;
    max-width: 132px;
  }

  #mobile-panel .mobile-panel-actions {
    gap: 6px;
  }

  #mobile-panel .mobile-panel-call {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  #mobile-panel .mobile-panel-lead {
    padding: 0 10px;
    font-size: 10px;
  }

  #mobile-menu .menu-close {
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  #mobile-menu .mobile-menu-body {
    top: 8px;
    left: 8px;
    bottom: 8px;
    width: min(94vw, 344px);
    padding: 64px 16px 18px;
    border-radius: 22px;
  }

  #mobile-menu .mobile-menu-nav a {
    min-height: 52px;
    padding: 0 16px;
    font-size: 17px;
  }

  #mobile-menu .mobile-menu-meta {
    padding: 16px;
    border-radius: 18px;
  }

  #mobile-menu .mobile-menu-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #site {
    padding-top: 64px !important;
  }
}
