﻿/* Version: v1.3.0 (2026-08-04) | Nav overlap fix · CTA pointer-events */
/* Author: Cursor Agent */

.hl-mobile-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 7.2rem;
  padding: 0.38rem 0.55rem;
  border: 1.5px solid #8795a8;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.hl-mobile-lang span:nth-child(2) {
  max-width: 3.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hl-mobile-lang i {
  color: #6b7280;
  font-size: 0.55rem;
}

.hl-mobile-brochure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.38rem 0.7rem;
  border: none;
  border-radius: 999px;
  background: #0f5c61;
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 92, 97, 0.22);
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.hl-mobile-brochure:hover {
  background: #148a8f;
  box-shadow: 0 6px 16px rgba(15, 92, 97, 0.28);
}

.hl-mobile-brochure:active {
  background: #0a4549;
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(15, 92, 97, 0.18);
}

.hl-mobile-logo-img {
  height: 1.65rem;
  width: auto;
  display: block;
}

.hl-pc-bar {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.hl-pc-bar--saas {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 2.75rem;
}

.hl-pc-logo {
  z-index: 1;
  height: 100%;
  align-self: stretch;
}

.hl-pc-logo-img {
  height: 2.85rem;
  width: auto;
  max-height: 44px;
  display: block;
  object-fit: contain;
}

/* CTA 열은 GNB보다 위 — transform된 메뉴가 제안서 버튼을 가로채지 않게 */
.hl-pc-right {
  min-width: 0;
  position: relative;
  z-index: 40;
  pointer-events: auto;
}

.hl-gnb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hl-gnb--saas {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(2.5rem);
}

.hl-gnb-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  border: 1.5px solid #8795a8;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  font-family: inherit;
  cursor: pointer;
  pointer-events: auto;
}

.hl-gnb-item:hover {
  border-color: #0f5c61;
  background: #f0fafa;
  box-shadow: 0 6px 16px rgba(15, 92, 97, 0.12);
  transform: translateY(-1px);
}

.hl-gnb-item:active {
  background: #0f5c61;
  border-color: #0f5c61;
  color: #fff;
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(15, 92, 97, 0.2);
}

.hl-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.5rem 0.95rem;
  border: 2px solid #8795a8;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hl-cta-btn i { font-size: 0.72rem; color: #6b7280; }

.hl-cta-btn:hover {
  background: #f9fafb;
  border-color: #0f5c61;
  color: #0f5c61;
  transform: translateY(-1px);
}

.hl-cta-btn--brand {
  border-color: #0f5c61;
  background: #0f5c61;
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 92, 97, 0.2);
}

.hl-cta-btn--brand i { color: #a7f3d0; }

.hl-cta-btn--brand:hover {
  background: #148a8f;
  border-color: #148a8f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 92, 97, 0.28);
  transform: translateY(-1px);
}

.hl-cta-btn--brand:active {
  background: #0a4549;
  border-color: #0a4549;
  transform: translateY(0) scale(0.98);
}

.hl-cta-lang { padding-left: 0.8rem; padding-right: 0.8rem; }

.hl-cta-consult-short { display: none; }

@media (max-width: 1280px) {
  .hl-cta-consult-full { display: none; }
  .hl-cta-consult-short { display: inline; }
  .hl-gnb--saas { padding-left: 0; padding-right: 0; transform: translateX(1.25rem); }
  .hl-gnb-item { padding: 0.38rem 0.72rem; font-size: 0.82rem; }
  .hl-cta-btn { padding: 0.45rem 0.75rem; font-size: 0.78rem; }
  .hl-pc-bar, .hl-pc-bar--saas { column-gap: 1.25rem; }
  .hl-pc-logo-img { height: 2.55rem; max-height: 40px; }
}

.hl-cta-sales {
  border-color: #8795a8;
  color: #0f172a;
}

.hl-cta-sales:hover {
  border-color: #0f5c61;
  color: #0f5c61;
}

.hl-mobile-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.hl-mobile-nav a,
.hl-mobile-nav button {
  min-width: 0;
  min-height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.15rem;
  border: 1.5px solid #8795a8;
  border-radius: 11px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  word-break: keep-all;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.hl-mobile-nav a:active,
.hl-mobile-nav button:active {
  background: #0f5c61;
  border-color: #0f5c61;
  color: #fff;
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(15, 92, 97, 0.18);
}

.hl-mobile-nav-accent {
  border-color: #0f5c61 !important;
  background: #0f5c61 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(15, 92, 97, 0.2) !important;
}

html {
  scroll-padding-top: 5.5rem;
}

@media (max-width: 767px) {
  html { scroll-padding-top: 6.2rem; }
}
