
.hkns-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
.hkns-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.hkns-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: #0f172a;
}
.hkns-logo-image {
  height: 45px; width: auto; display: block;
}
.hkns-logo-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.5px;
}
.hkns-logo-hangyeol {
  color: #7B4F2E;
}
.hkns-logo-ns {
  color: #4A7C3F;
}
.hkns-nav { display: flex; align-items: center; gap: 0; height: 100%; }
.hkns-nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.hkns-nav-link {
  padding: 0 24px; font-size: 0.92rem; font-weight: 600;
  color: #334155; height: 100%;
  display: flex; align-items: center;
  transition: color 0.2s; text-decoration: none; white-space: nowrap;
}
.hkns-nav-link:hover { color: #6366f1; }
.hkns-sub-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  padding: 8px 0; min-width: 160px;
  opacity: 0; visibility: hidden;
  transition: all 0.25s;
}
.hkns-has-sub:hover .hkns-sub-menu { opacity: 1; visibility: visible; }
.hkns-sub-menu a {
  display: block; padding: 10px 24px;
  font-size: 0.86rem; color: #64748b;
  text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.hkns-sub-menu a:hover { background: #f1f5f9; color: #6366f1; }

/* 헤더 우측 액션 영역 */
.hkns-header-actions {
  display: flex; align-items: center; gap: 8px;
}

/* 채팅 아이콘 버튼 */
.hkns-chat-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.08));
  color: #6366f1; border: none; cursor: pointer;
  transition: all 0.3s;
}
.hkns-chat-btn:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(59,130,246,0.18));
  transform: scale(1.08);
}
.hkns-chat-btn .material-icons { font-size: 20px; }

/* 전화 버튼 */
.hkns-header-cta {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.08));
  color: #6366f1; font-size: 0.82rem; font-weight: 600;
  transition: all 0.3s; text-decoration: none;
}
.hkns-header-cta:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(59,130,246,0.14));
}

.hkns-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hkns-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: #334155; border-radius: 1px; transition: all 0.3s;
}
@media (max-width: 768px) {
  .hkns-mobile-toggle { display: flex; }
  .hkns-header-cta { display: none; }
  .hkns-chat-btn { display: none; }
  .hkns-logo-image { height: 36px; }
  .hkns-logo-text { font-size: 0.95rem; }
  .hkns-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; height: auto;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e5e7eb; padding: 8px 0;
  }
  .menu-open .hkns-nav { display: flex; }
  .hkns-nav-item { height: auto; flex-direction: column; width: 100%; }
  .hkns-nav-link { padding: 14px 24px; height: auto; }
  .hkns-sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; background: #f8fafc; padding: 0;
  }
  .hkns-sub-menu a { padding: 10px 40px; }
}
