/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3px;
  margin-right: 10px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lang-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy);
}

/* 중국어 폰트 설정 */
[data-lang="zh"] body,
[data-lang="zh"] .section-title,
[data-lang="zh"] .hero-title,
[data-lang="zh"] .card-title {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', var(--font-sans);
}

/* 언어 전환 중 깜빡임 방지 */
[data-translating] * {
  transition: opacity 0.15s ease;
}

/* ── 언어별 표시/숨김 ── */
/* 기본: 둘 다 숨김 (JS가 초기화되기 전) */
.ko-only { display: none !important; }
.zh-only { display: none !important; }

/* 한국어 활성화 시 */
[data-lang="ko"] .ko-only { display: flex !important; }
[data-lang="ko"] .zh-only { display: none !important; }

/* 중국어 활성화 시 */
[data-lang="zh"] .zh-only { display: flex !important; }
[data-lang="zh"] .ko-only { display: none !important; }

/* ── 플로팅 문의 버튼 ── */
.float-contact-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  text-align: center;
  gap: 2px;
}
.float-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.32);
}
.float-kakao {
  background: #FEE500;
  color: #3A1D1D;
}
.float-wechat {
  background: #07C160;
  color: #fff;
}
.float-contact-btn .float-icon {
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .float-contact-btn {
    width: 52px;
    height: 52px;
    bottom: 70px;
    right: 16px;
    font-size: 0.65rem;
  }
  .float-contact-btn .float-icon {
    font-size: 1.2rem;
  }
}
