/* =============================================================
   header-footer-gng.css
   W-WEBSOFT Theme — Interactive Header + Redesigned Footer
   모든 페이지에 로드 (홈페이지 전용 home-gng.css와 분리)
   설계 원칙:
     - 이 파일은 CSS(디자인)만 담당
     - JS(인터랙션)는 head.php / tail.php에 분리
     - 기존 기능 클래스(.is-scrolled, .is-open 등)는 그대로 활용
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   0. 디자인 토큰
   ───────────────────────────────────────────────────────────── */
:root {
  --hf-accent: #0055cc;
  --hf-accent-light: #4fa0ff;
  --hf-text: #10213d;
  --hf-text-soft: #5a6580;
  --hf-line: #dde5f1;
  --hf-surface: #ffffff;
  --hf-ft-bg: #f5f8ff;
  --hf-ft-bg2: #ffffff;
  --hf-ft-text: #0f1f3d;
  --hf-ft-soft: #4a637a;
  --hf-ft-line: rgba(37, 99, 235, 0.12);
  --hf-ft-accent: #2563eb;
  --hf-progress-color: linear-gradient(90deg, #0055cc 0%, #4fa0ff 100%);
  --hf-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --hf-spring: cubic-bezier(0.32, 1.08, 0.52, 0.98);
}


/* =============================================================
   1. HEADER — 스크롤 진행 바
   CSS custom prop --scroll-progress는 head.php JS가 업데이트
   ============================================================= */
.site-header--gng::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: var(--hf-progress-color);
  transition: width 0.12s linear;
  z-index: 10;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}


/* =============================================================
   2. HEADER — 전환 애니메이션 (기존 is-scrolled 클래스 활용)
   ============================================================= */
/* 헤더 fixed: sticky 대신 position:fixed 사용으로 스크롤 추적 안정화 */
body {
  padding-top: 86px; /* 헤더 높이 보정 (site.css header-inner--gng height: 86px) */
}
@media (max-width: 860px) {
  body {
    padding-top: 52px;  /* 모바일 헤더 높이 보정 */
    padding-bottom: calc(60px + env(safe-area-inset-bottom)); /* 앱 바 높이 보정 — 콘텐츠 가림 방지 */
  }
}

.site-header--gng {
  /* fixed 포지셔닝으로 sticky 미작동 문제 해결 */
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  will-change: transform;
  /* mix-blend-mode 커서가 헤더 안 텍스트에 영향 주지 않도록 격리 */
  isolation: isolate;
  transition:
    background 0.4s var(--hf-easing),
    border-color 0.3s var(--hf-easing),
    box-shadow 0.3s var(--hf-easing),
    backdrop-filter 0.4s var(--hf-easing),
    transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

/* 스크롤 후: 그림자 */
.site-header--gng.is-scrolled {
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.1);
}
.site-header--gng.is-hidden {
  transform: translateY(-110%);
  box-shadow: none;
  pointer-events: none;
}
/* 메뉴 열린 상태에서는 절대 숨기지 않음 */
.menu-open .site-header--gng.is-hidden {
  transform: none;
  pointer-events: auto;
}

/* ── 헤더 하단 Wave 애니메이션 ── */
.hdr-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  overflow: hidden;
  pointer-events: none;
  z-index: 8; /* scroll-progress-bar(z:10) 아래 */
}
.hdr-wave::before,
.hdr-wave::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 250%;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 10'%3E%3Cpath d='M0,5 C100,0 200,10 300,5 C400,0 500,10 600,5 C700,0 800,10 800,5 L800,10 L0,10 Z' fill='rgba(0%2C85%2C204%2C0.22)'/%3E%3C/svg%3E");
  background-size: 220px 10px;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  animation: hf-wave-anim 3.8s linear infinite;
}
.hdr-wave::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 10'%3E%3Cpath d='M0,6 C133,1 267,11 400,6 C533,1 667,11 800,6 L800,10 L0,10 Z' fill='rgba(79%2C160%2C255%2C0.15)'/%3E%3C/svg%3E");
  background-size: 320px 10px;
  animation: hf-wave-anim 6s linear infinite reverse;
  bottom: -3px;
}
@keyframes hf-wave-anim {
  from { transform: translateX(0); }
  to   { transform: translateX(20%); }
}
/* 홈 비스크롤(다크 배경): 흰 파도 */
.page-home .site-header--gng:not(.is-scrolled) .hdr-wave::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 10'%3E%3Cpath d='M0,5 C100,0 200,10 300,5 C400,0 500,10 600,5 C700,0 800,10 800,5 L800,10 L0,10 Z' fill='rgba(255%2C255%2C255%2C0.14)'/%3E%3C/svg%3E");
}
.page-home .site-header--gng:not(.is-scrolled) .hdr-wave::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 10'%3E%3Cpath d='M0,6 C133,1 267,11 400,6 C533,1 667,11 800,6 L800,10 L0,10 Z' fill='rgba(255%2C255%2C255%2C0.08)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .hdr-wave::before, .hdr-wave::after { animation: none; }
}


/* =============================================================
   3. HEADER — 브랜드 / 로고 인터랙션
   ============================================================= */
.site-header--gng .brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s;
}
.site-header--gng .brand:hover {
  opacity: 0.82;
}
.site-header--gng .brand-logo {
  transition: opacity 0.22s, transform 0.22s var(--hf-easing);
}
.site-header--gng .brand:hover .brand-logo {
  transform: scale(1.04);
}

/* 홈페이지 스크롤 전: 브랜드텍스트 흰색 */
.page-home .site-header--gng:not(.is-scrolled) .brand-text {
  color: rgba(255, 255, 255, 0.95);
}
/* 스크롤 후 또는 서브: 진한 색 */
.site-header--gng.is-scrolled .brand-text,
.page-sub .site-header--gng .brand-text {
  color: var(--hf-text);
}


/* =============================================================
   4. HEADER — 네비게이션 정렬 + 링크 호버 + has-children 인디케이터
   ============================================================= */

@media (min-width: 861px) {

  /* ── 네비게이션 센터 정렬 ── */
  .site-header--gng .site-nav {
    justify-content: center !important;
  }

  /* ── 메뉴 아이콘 반드시 숨김 (비트맵이콘 표시 방지) ── */
  .site-header--gng .site-nav .menu-link-icon {
    display: none !important;
  }

  /* ── 1차 메뉴 링크 기본 ── */
  .site-header--gng .site-nav .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
    color: var(--hf-text) !important;   /* site.css 미디어쿼리 규칙 충돌 방지 */
    transition: color 0.20s var(--hf-easing);
  }

  /* 홈 비스크롤: 다크 배경 → 흰색 텍스트 */
  .page-home .site-header--gng:not(.is-scrolled) .site-nav .menu-item > a {
    color: rgba(255, 255, 255, 0.92) !important;
  }
  /* 홈 스크롤 후 + 서브 페이지: 다크 텍스트 */
  .page-home .site-header--gng.is-scrolled .site-nav .menu-item > a,
  .page-sub .site-header--gng .site-nav .menu-item > a {
    color: var(--hf-text) !important;
  }

  /* ── 언더라인 애니메이션 — scaleX 방식 ── */
  .site-header--gng .site-nav .menu-level-1 > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--hf-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.26s var(--hf-easing);
  }
  .site-header--gng .site-nav .menu-level-1 > .menu-item:hover > a::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
  /* 홈 비스크롤: 흰색 언더라인 */
  .page-home .site-header--gng:not(.is-scrolled) .site-nav .menu-level-1 > .menu-item > a::after {
    background: rgba(255, 255, 255, 0.85);
  }

  /* 2·3단 메뉴 항목: 언더라인 없음 */
  .site-header--gng .site-nav .menu-level-2 .menu-item > a::after,
  .site-header--gng .site-nav .menu-level-3 .menu-item > a::after {
    display: none !important;
  }

  /* ── 1차 메뉴 호버 텍스트 색 ── */
  .site-header--gng .site-nav .menu-level-1 > .menu-item:hover > a {
    color: var(--hf-accent) !important;
  }
  /* 홈 비스크롤 hover: 순수 흰색 */
  .page-home .site-header--gng:not(.is-scrolled) .site-nav .menu-level-1 > .menu-item:hover > a {
    color: #ffffff !important;
    opacity: 1;
  }

  /* ── has-children chevron 인디케이터 ── */
  .site-header--gng .site-nav .menu-level-1 > .has-children > a .menu-link-label {
    display: inline-flex;
    align-items: center;
    gap: 0;
  }
  .site-header--gng .site-nav .menu-level-1 > .has-children > a .menu-link-label::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    border-radius: 0 0 1px 0;
    transform: translateY(-2px) rotate(45deg);
    margin-left: 6px;
    opacity: 0.55;
    transition:
      transform 0.22s var(--hf-easing),
      opacity 0.22s;
    flex-shrink: 0;
  }
  /* hover / 드롭다운 오픈: 위로 회전 */
  .site-header--gng .site-nav .menu-level-1 > .has-children:hover > a .menu-link-label::after {
    transform: translateY(1px) rotate(225deg);
    opacity: 1;
  }
  /* 홈 비스크롤: 흰색 chevron */
  .page-home .site-header--gng:not(.is-scrolled) .site-nav
      .menu-level-1 > .has-children > a .menu-link-label::after {
    border-color: rgba(255, 255, 255, 0.75);
  }
  .page-home .site-header--gng:not(.is-scrolled) .site-nav
      .menu-level-1 > .has-children:hover > a .menu-link-label::after {
    border-color: #ffffff;
    opacity: 1;
  }

  /* ── 드롭다운 패널 리뉴얼 — 화이트 카드 ── */
  .site-header--gng .site-nav .menu-level-2,
  .site-header--gng .site-nav .menu-level-3 {
    min-width: 180px;
    padding: 8px 6px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.04),
      0 12px 40px rgba(0, 0, 0, 0.12),
      0 2px 0 rgba(0, 85, 204, 0.04) inset;
  }
  .site-header--gng .site-nav .menu-level-2 .menu-item > a,
  .site-header--gng .site-nav .menu-level-3 .menu-item > a {
    display: block !important;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--hf-text) !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.16s, color 0.16s, transform 0.16s var(--hf-spring);
  }
  .site-header--gng .site-nav .menu-level-2 .menu-item > a:hover,
  .site-header--gng .site-nav .menu-level-3 .menu-item > a:hover {
    background: rgba(0, 85, 204, 0.07) !important;
    color: var(--hf-accent) !important;
    transform: translateX(3px);
  }

  /* ── [충돌 해소] site.css #site-nav ID 규칙 재정의 ──────────────────
     site.css 에 #site-nav ID + !important 로 작성된 hover·pill 규칙이 존재하여
     hfg.css 클래스 선택자 규칙이 무시되는 문제 수정 (보고서: docs/nav-css-conflict-report-20260226.md)
     해결: .site-header--gng #site-nav (명시도 1-1-0) > site.css #site-nav (1-0-0) 로 승리
     ─────────────────────────────────────────────────────────────────── */

  /* CF-01: site.css pill 형태(padding:0 14px; border-radius:999px) 리셋 */
  .site-header--gng #site-nav .menu-level-1 > .menu-item > a {
    padding: 10px 0 !important;
    border-radius: 0 !important;
    min-height: unset !important;
    gap: 0 !important;
    background: transparent !important;
  }

  /* CF-02~CF-04: site.css hover background(rgba 28%)/color(#fff)/transform/shadow 리셋 */
  .site-header--gng #site-nav .menu-level-1 > .menu-item:hover > a,
  .site-header--gng #site-nav .menu-level-1 > .menu-item:focus-within > a {
    background: transparent !important;
    color: var(--hf-accent) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* 홈 비스크롤 — hover 흰색 */
  .page-home .site-header--gng:not(.is-scrolled) #site-nav .menu-level-1 > .menu-item:hover > a,
  .page-home .site-header--gng:not(.is-scrolled) #site-nav .menu-level-1 > .menu-item:focus-within > a {
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* CF-05: site.css page-sub hover(#e8f0ff / #184acb) 리셋 */
  .page-sub .site-header--gng #site-nav .menu-level-1 > .menu-item:hover > a,
  .page-sub .site-header--gng #site-nav .menu-level-1 > .menu-item:focus-within > a {
    background: transparent !important;
    color: var(--hf-accent) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* CF-07: site.css 드롭다운 hover(#eff5ff / #1a4fd8) 리셋 */
  .site-header--gng #site-nav .menu-level-2 .menu-item > a:hover,
  .site-header--gng #site-nav .menu-level-2 .menu-item > a:focus-visible,
  .site-header--gng #site-nav .menu-level-3 .menu-item > a:hover,
  .site-header--gng #site-nav .menu-level-3 .menu-item > a:focus-visible {
    background: rgba(0, 85, 204, 0.07) !important;
    color: var(--hf-accent) !important;
    transform: translateX(3px);
  }
}


/* =============================================================
   5. HEADER — 현재 페이지 활성 메뉴 표시 (.is-current)
   ============================================================= */
@media (min-width: 861px) {
  .site-header--gng .site-nav .menu-item.is-current > a {
    color: var(--hf-accent) !important;
  }
  .page-home .site-header--gng:not(.is-scrolled) .site-nav .menu-item.is-current > a {
    color: #ffffff !important;
    opacity: 1;
  }
  /* 활성 언더라인: 항상 표시 */
  .site-header--gng .site-nav .menu-level-1 > .menu-item.is-current > a::after {
    transform: scaleX(1) !important;
    transform-origin: left center;
    background: var(--hf-accent);
  }
  .page-home .site-header--gng:not(.is-scrolled) .site-nav
      .menu-level-1 > .menu-item.is-current > a::after {
    background: rgba(255, 255, 255, 0.9);
  }
}


/* =============================================================
   6. HEADER — CTA 버튼 인터랙션 (다크/라이트 적응형)
   ============================================================= */
.site-header--gng .header-cta {
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s var(--hf-easing),
    border-color 0.25s var(--hf-easing),
    color 0.25s var(--hf-easing),
    transform 0.18s var(--hf-spring),
    box-shadow 0.25s var(--hf-easing);
  z-index: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.2) !important;
  color: var(--hf-text) !important;
  background: transparent !important;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* 채움 슬라이드 */
.site-header--gng .header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hf-text);
  opacity: 0;
  transition: opacity 0.22s var(--hf-easing);
  z-index: -1;
}
.site-header--gng .header-cta:hover::before { opacity: 1; }
.site-header--gng .header-cta:hover {
  color: #fff !important;
  border-color: var(--hf-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.site-header--gng .header-cta:active {
  transform: translateY(0);
  box-shadow: none;
}
/* 홈 비스크롤(다크 배경): 흰 테두리 CTA */
.page-home .site-header--gng:not(.is-scrolled) .header-cta {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
.page-home .site-header--gng:not(.is-scrolled) .header-cta::before {
  background: rgba(255, 255, 255, 0.12);
}
.page-home .site-header--gng:not(.is-scrolled) .header-cta:hover {
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* =============================================================
   7. HEADER — 햄버거 버튼 X 애니메이션
   ============================================================= */
.site-header--gng .menu-toggle span {
  display: block;
  transform-origin: center;
  transition: transform 0.26s var(--hf-easing), opacity 0.2s;
}
/* .menu-open 상태(body): 햄버거 → X 변환 */
.menu-open .site-header--gng .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-open .site-header--gng .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-open .site-header--gng .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* =============================================================
   8. HEADER — 모바일 메뉴 슬라이드 인 (스프링 이징)
   ============================================================= */
@media (max-width: 860px) {
  .site-nav {
    /* 기존: transform translateX는 common-ui.css에서 제어, 여기서는 transition만 오버라이드 */
    transition: transform 0.38s var(--hf-spring), visibility 0.38s !important;
  }

  /* 모바일 메뉴 배경 오버레이 페이드 */
  #menu-backdrop {
    transition: opacity 0.3s var(--hf-easing) !important;
  }
}


/* =============================================================
   9. HEADER — 알림/프로필 팝업 부드러운 등장
   ============================================================= */
.profile-panel,
.notify-panel {
  animation: none; /* 기존 애니메이션 제거 후 */
  transform-origin: top right;
  transition: opacity 0.2s var(--hf-easing), transform 0.2s var(--hf-easing);
}


/* =============================================================
   10. FOOTER — 인터랙티브 리디자인 v2
   기존 #ft.site-footer 컨테이너는 유지, 내부 HTML 재구성
   클래스 접두사 ftg- (footer-gng)
   ============================================================= */

/* ── 스크롤 리빌 키프레임 ── */
@keyframes ftgRevealUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ftgGlowPulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 0.85; }
}
@keyframes ftgGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 기존 footer 스타일 덮어쓰기 */
#ft.site-footer {
  background: var(--hf-ft-bg);
  color: var(--hf-ft-text);
  border-top: none;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

/* 상단 글로우 보더 (animated gradient) */
#ft.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0055cc 30%, #3a85ff 50%, #0055cc 70%, transparent 100%);
  background-size: 200% 100%;
  animation: ftgGradientShift 4s ease infinite;
  opacity: 0.9;
}

/* 배경 방사형 글로우 (블루) — 상단 중앙 */
#ft.site-footer::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  width: 700px;
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.10) 0%, transparent 70%);
  pointer-events: none;
  animation: ftgGlowPulse 6s ease-in-out infinite;
  z-index: 0;
}

/* 미묘한 도트 패턴 */
#ft.site-footer .ftg-wrap {
  position: relative;
  z-index: 1;
}
#ft.site-footer .ftg-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* 기존 클래스 초기화 (이전 HTML 구조용) */
.ft-top,
.ft-bottom,
.ft_info,
#ft-logo,
#ft_link,
.ft_cnt {
  all: unset;
  display: none !important;
}


/* ─────────────────────────────────────────────────────────────
   10-A 새 푸터 래퍼
   ───────────────────────────────────────────────────────────── */
.ftg-wrap {
  padding: 72px 0 0;
}


/* ─────────────────────────────────────────────────────────────
   10-B 스크롤 리빌 애니메이션
   JS가 .is-visible 을 추가하면 각 컬럼이 순차 등장
   ───────────────────────────────────────────────────────────── */
.ftg-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--hf-easing), transform 0.65s var(--hf-easing);
}
.ftg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* 스태거 딜레이 */
.ftg-reveal:nth-child(1) { transition-delay: 0s; }
.ftg-reveal:nth-child(2) { transition-delay: 0.10s; }
.ftg-reveal:nth-child(3) { transition-delay: 0.20s; }
.ftg-reveal:nth-child(4) { transition-delay: 0.28s; }


/* ─────────────────────────────────────────────────────────────
   10-C 새 푸터 그리드: 3컬럼 (브랜드 | 바로가기 | 회사정보)
   ───────────────────────────────────────────────────────────── */
.ftg-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--hf-ft-line);
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .ftg-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px 40px;
  }
}

@media (max-width: 860px) {
  .ftg-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
}


/* ─────────────────────────────────────────────────────────────
   10-D 브랜드 컬럼
   ───────────────────────────────────────────────────────────── */
.ftg-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 로고 */
.ftg-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ftg-logo:hover { opacity: 0.82; }

.ftg-logo img {
  height: 38px;
  width: auto;
  filter: none;
  opacity: 0.88;
  transition: opacity 0.2s, transform 0.22s var(--hf-easing);
}
.ftg-logo:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.ftg-logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f1f3d;
}

/* 슬로건 — 그라디언트 텍스트 */
.ftg-tagline {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--hf-ft-soft);
  margin: 0;
  position: relative;
}

/* 연락처 칩 */
.ftg-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: max-content;
}
.ftg-chip {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f1f3d;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(37,99,235,0.2);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.08), 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 0.22s, transform 0.22s var(--hf-spring), box-shadow 0.22s, color 0.22s;
  position: relative;
  overflow: hidden;
}
.ftg-chip::after {
  content: '→';
  margin-left: auto;
  font-size: 0.8rem;
  color: #2563eb;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s var(--hf-easing);
}
.ftg-chip:hover {
  border-color: rgba(37,99,235,0.45);
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.16), 0 2px 6px rgba(0,0,0,0.06);
}
.ftg-chip:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 칩 아이콘 버블 */
.ftg-chip-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.08));
  border: 1px solid rgba(37,99,235,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #2563eb;
  flex-shrink: 0;
  transition: background 0.22s, box-shadow 0.22s, transform 0.22s var(--hf-spring), color 0.22s;
}
.ftg-chip:hover .ftg-chip-icon {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  transform: scale(1.1) rotate(-6deg);
}

/* 칩 텍스트 레이어 */
.ftg-chip-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.ftg-chip-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b82a0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ftg-chip:hover .ftg-chip-sub {
  color: rgba(37,99,235,0.7);
}

/* CTA 버튼 */
.ftg-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  background-size: 200% 200%;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 85, 204, 0.35);
  transition: transform 0.22s var(--hf-spring), box-shadow 0.22s, background-position 0.4s;
  align-self: flex-start;
  animation: ftgGradientShift 4s ease infinite;
}
.ftg-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 85, 204, 0.50);
  color: #fff;
  text-decoration: none;
}
.ftg-cta-btn:active {
  transform: translateY(0) scale(0.97);
}
.ftg-cta-btn i {
  font-size: 0.9rem;
  transition: transform 0.22s var(--hf-spring);
}
.ftg-cta-btn:hover i {
  transform: translateX(3px);
}

/* SNS 아이콘 */
.ftg-sns {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.ftg-sns-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.18);
  background: rgba(37,99,235,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hf-ft-soft);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s, background 0.22s, transform 0.22s var(--hf-spring), box-shadow 0.22s;
}
.ftg-sns-link:hover {
  transform: translateY(-3px) scale(1.1);
}
/* SNS 플랫폼별 호버 컬러 */
.ftg-sns-link[aria-label="카카오채널"]:hover {
  background: #FEE500;
  border-color: #FEE500;
  color: #391B1B;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.35);
}
.ftg-sns-link[aria-label="네이버 블로그"]:hover {
  background: #03C75A;
  border-color: #03C75A;
  color: #fff;
  box-shadow: 0 4px 14px rgba(3, 199, 90, 0.35);
}
.ftg-sns-link[aria-label="인스타그램"]:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-color: #fd1d1d;
  color: #fff;
  box-shadow: 0 4px 14px rgba(253, 29, 29, 0.3);
}
.ftg-sns-link[aria-label="유튜브"]:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}


/* ─────────────────────────────────────────────────────────────
   10-E 링크 컬럼 공통
   ───────────────────────────────────────────────────────────── */
.ftg-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(37,99,235,0.14);
  position: relative;
}
/* 타이틀 하단 액센트 라인 */
.ftg-col-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--hf-ft-accent);
  border-radius: 2px;
}

.ftg-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ftg-links li a {
  font-size: 0.9rem;
  color: var(--hf-ft-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 0;
  position: relative;
  transition: color 0.2s, padding-left 0.2s var(--hf-easing);
  overflow: hidden;
}
.ftg-links li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hf-ft-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--hf-easing);
  opacity: 0.6;
}
.ftg-links li a::after {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s var(--hf-easing);
  margin-left: auto;
  color: var(--hf-ft-accent);
}
.ftg-links li a:hover {
  color: #2563eb;
  padding-left: 6px;
}
.ftg-links li a:hover::before { transform: scaleX(1); }
.ftg-links li a:hover::after  { opacity: 1; transform: translateX(0); }


/* ─────────────────────────────────────────────────────────────
   10-F 회사정보 컬럼 (dl 형식)
   ───────────────────────────────────────────────────────────── */
.ftg-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 14px;
}
.ftg-dl dt {
  font-size: 0.73rem;
  color: var(--hf-ft-soft);
  white-space: nowrap;
  font-weight: 600;
  opacity: 0.75;
}
.ftg-dl dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--hf-ft-text);
  word-break: keep-all;
  transition: color 0.18s;
}
.ftg-dl dd:hover { color: #2563eb; }

/* 사업자등록번호 조회 링크 */
.ftg-bizno-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.22);
  border-radius: 5px;
  padding: 2px 7px;
  text-decoration: none;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.ftg-bizno-link:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────
   사업자 상태조회 모달
   ───────────────────────────────────────────────────────────── */
.ftg-bizno-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ftg-bizno-modal[hidden] { display: none; }

.ftg-bizno-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 61, 0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.ftg-bizno-modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(37,99,235,0.18);
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  animation: biznoModalIn 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes biznoModalIn {
  from { opacity:0; transform:scale(0.88) translateY(16px); }
  to   { opacity:1; transform:scale(1)    translateY(0); }
}

.ftg-bizno-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #4a637a;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.ftg-bizno-modal-close:hover { background: #e0eaff; color: #2563eb; }

/* 로딩 */
.ftg-bizno-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  color: #4a637a;
  font-size: 0.9rem;
}
.ftg-bizno-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(37,99,235,0.15);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: biznoSpin 0.7s linear infinite;
}
@keyframes biznoSpin { to { transform: rotate(360deg); } }

/* 결과 */
.ftg-bizno-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.ftg-bizno-result.is-active  .ftg-bizno-result-badge { background:#dcfce7; color:#15803d; }
.ftg-bizno-result.is-pause   .ftg-bizno-result-badge { background:#fef9c3; color:#92400e; }
.ftg-bizno-result.is-closed  .ftg-bizno-result-badge { background:#fee2e2; color:#b91c1c; }
.ftg-bizno-result.is-unknown .ftg-bizno-result-badge { background:#f1f5f9; color:#475569; }

.ftg-bizno-result-title {
  font-size: 0.82rem;
  color: #4a637a;
  margin-bottom: 12px;
}

.ftg-bizno-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  margin-bottom: 16px;
}
.ftg-bizno-result-table th,
.ftg-bizno-result-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(37,99,235,0.08);
  text-align: left;
}
.ftg-bizno-result-table th {
  color: #4a637a;
  font-weight: 600;
  width: 36%;
  background: #f5f8ff;
  border-radius: 4px 0 0 4px;
}
.ftg-bizno-result-table td { color: #0f1f3d; }

.ftg-bizno-result-note {
  font-size: 0.72rem;
  color: #6b82a0;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 오류 */
.ftg-bizno-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  color: #b91c1c;
  font-size: 0.9rem;
  text-align: center;
}
.ftg-bizno-error i { font-size: 1.8rem; }

/* body 스크롤 잠금 */
body.bizno-modal-open { overflow: hidden; }


/* ─────────────────────────────────────────────────────────────
   10-G 하단 바: 저작권 + 정책링크 + 패밀리사이트
   ───────────────────────────────────────────────────────────── */
.ftg-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0 32px;
  position: relative;
  z-index: 1;
}

.ftg-copy {
  font-size: 0.78rem;
  color: var(--hf-ft-soft);
  opacity: 0.8;
}

.ftg-policy {
  display: flex;
  gap: 20px;
}
.ftg-policy a {
  font-size: 0.78rem;
  color: var(--hf-ft-soft);
  text-decoration: none;
  position: relative;
  transition: color 0.18s;
}
.ftg-policy a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--hf-ft-accent);
  transition: right 0.22s var(--hf-easing);
}
.ftg-policy a:first-child {
  font-weight: 700;
  color: #0f1f3d;
}
.ftg-policy a:hover { color: var(--hf-ft-accent); }
.ftg-policy a:hover::after { right: 0; }

/* 패밀리사이트 */
#ft.site-footer .family-site-container {
  position: relative;
}
#ft.site-footer #family-site-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.18);
  background: rgba(37,99,235,0.05);
  color: var(--hf-ft-soft);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
#ft.site-footer #family-site-toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) translateY(-2px);
  transition: transform 0.22s;
  flex-shrink: 0;
}
#ft.site-footer #family-site-toggle[aria-expanded="true"]::after {
  transform: rotate(135deg) translateY(-2px);
}
#ft.site-footer #family-site-toggle:hover {
  border-color: rgba(37, 99, 235, 0.40);
  color: #2563eb;
  background: rgba(37, 99, 235, 0.09);
}

#ft.site-footer .family-site-list {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #ffffff;
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: 10px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.22s var(--hf-easing), transform 0.22s var(--hf-easing), visibility 0.22s;
  z-index: 40;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0,0,0,0.08);
}
#ft.site-footer .family-site-list.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#ft.site-footer .family-site-list li a {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  color: var(--hf-ft-text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
#ft.site-footer .family-site-list li a:hover {
  background: rgba(37,99,235,0.07);
  color: var(--hf-ft-accent);
  padding-left: 22px;
}


/* =============================================================
   11. FOOTER — 퀵플로팅 버튼 (qconsult-fab 디자인 통일)
   ============================================================= */
.ft-quick-container {
  position: fixed;
  right: 24px;
  bottom: 88px;               /* 화면 하단에서 여백 */
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-quick-fab-link,
.ft-quick-fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 85, 204, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s var(--hf-spring), box-shadow 0.22s var(--hf-easing);
  position: relative;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ft-quick-fab-link:hover,
.ft-quick-fab-btn:hover {
  transform: scale(1.09) translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 85, 204, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18);
}
.ft-quick-fab-link:active,
.ft-quick-fab-btn:active {
  transform: scale(0.95);
}

/* 카카오톡 버튼 스타일 */
.ft-quick-fab-link--kakao {
  background: #FEE500;
  color: #391B1B;
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
}
.ft-quick-fab-link--kakao:hover {
  background: #ffd900;
  color: #391B1B;
  box-shadow: 0 6px 24px rgba(254, 229, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.18);
}

/* 툴팁 */
.ft-quick-fab-link[data-tooltip]::before,
.ft-quick-fab-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(13, 22, 40, 0.92);
  color: rgba(220, 232, 255, 0.95);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
}
.ft-quick-fab-link:hover[data-tooltip]::before,
.ft-quick-fab-btn:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}


/* =============================================================
   12. 반응형
   ============================================================= */
@media (max-width: 860px) {
  /* ── 간략화: 패딩 축소 ── */
  .ftg-wrap {
    padding-top: 32px;
  }

  /* ── 그리드: 세로 간격 축소 + 하단 패딩 줄임 ── */
  .ftg-grid {
    gap: 20px;
    padding-bottom: 24px;
  }

  /* ── 바로가기 컬럼 숨김 (모바일 메뉴에서 접근 가능) ── */
  .ftg-grid > .ftg-col:nth-child(2) {
    display: none;
  }

  /* ── 브랜드 컬럼: 간격 축소 + 슬로건 숨김 ── */
  .ftg-brand {
    gap: 12px;
  }
  .ftg-tagline {
    display: none;
  }

  /* ── 연락처 칩: 수평 2열 배치 ── */
  .ftg-chips {
    flex-direction: row;
    max-width: 100%;
    gap: 8px;
  }
  .ftg-chip {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    gap: 9px;
  }
  .ftg-chip-label span:not(.ftg-chip-sub) {
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ftg-chip::after {
    display: none; /* 화살표 숨김 */
  }

  /* ── CTA 문의 버튼 숨김 (모바일은 FAB으로 대체) ── */
  .ftg-cta-btn {
    display: none;
  }

  /* ── SNS 간격 조정 ── */
  .ftg-sns {
    margin-top: 0;
  }

  /* ── 회사정보 dl: 대표자·통신판매업 행 숨김 ── */
  .ftg-dl {
    gap: 7px 10px;
  }
  .ftg-dl dt:nth-child(3),
  .ftg-dl dd:nth-child(4),
  .ftg-dl dt:nth-child(9),
  .ftg-dl dd:nth-child(10) {
    display: none;
  }

  /* ── 하단 바 간략화 ── */
  .ftg-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 24px;
  }
  .ftg-policy {
    gap: 14px;
  }

  /* ── 패밀리사이트 숨김 (모바일 비중요) ── */
  .family-site-container {
    display: none;
  }

  /* ── 퀵플로팅 ── */
  .ft-quick-container {
    right: 16px;
    bottom: 80px;             /* app-control-dock 위 (dock 높이 약 56px + 여백) */
    display: flex;            /* 모바일에서도 표시 */
  }
  .ft-quick-container > li:not(.ft-fab-qconsult-item) {
    display: none;            /* 모바일: qconsult 아이콘만 표시 */
  }
  .ft-quick-fab-link,
  .ft-quick-fab-btn {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .ftg-logo img {
    height: 30px;
  }
  .ftg-logo-text {
    font-size: 0.95rem;
  }
  /* 칩 아이콘만 표시 (텍스트 숨김) */
  .ftg-chip-label {
    display: none;
  }
  .ftg-chip-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.88rem;
  }
  .ftg-chip {
    justify-content: center;
    padding: 11px;
    flex: 0 0 auto;
  }
}


/* =============================================================
   13. HEADER — MENU 트리거 버튼 (오버레이 열기)
   ============================================================= */

/* 버튼 기본 — 다크/라이트 적응형 */
.nav-overlay-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 40px;
  background: transparent;
  color: var(--hf-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.25s var(--hf-easing),
    background 0.25s var(--hf-easing),
    color 0.25s var(--hf-easing),
    transform 0.18s var(--hf-spring),
    box-shadow 0.25s var(--hf-easing);
  position: relative;
  overflow: hidden;
}
/* 스크롤 후/서브: 다크 */
.site-header--gng.is-scrolled .nav-overlay-trigger,
.page-sub .site-header--gng .nav-overlay-trigger {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--hf-text);
}
/* 홈 비스크롤: 흰 테두리 + 흰 아이콘 */
.page-home .site-header--gng:not(.is-scrolled) .nav-overlay-trigger {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.92);
}
.nav-overlay-trigger:hover {
  border-color: var(--hf-text);
  background: var(--hf-text);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.page-home .site-header--gng:not(.is-scrolled) .nav-overlay-trigger:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.nav-overlay-trigger:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 두 줄 바 아이콘 */
.not-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
  flex-shrink: 0;
}
.not-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.26s var(--hf-easing), opacity 0.2s, width 0.22s var(--hf-easing);
}
.not-bars span:first-child {
  width: 100%;
}
.not-bars span:last-child {
  width: 65%;
}
/* 오버레이 열림 상태 */
.nav-overlay-open .nav-overlay-trigger .not-bars span:first-child {
  transform: translateY(5.75px) rotate(45deg);
  width: 100%;
}
.nav-overlay-open .nav-overlay-trigger .not-bars span:last-child {
  transform: translateY(-5.75px) rotate(-45deg);
  width: 100%;
}
.not-text {
  font-size: inherit;
  line-height: 1;
}

/* 모바일에서 기존 .menu-toggle과 충돌 방지 — 오버레이 트리거 우선 */
@media (max-width: 860px) {
  .nav-overlay-trigger {
    padding: 7px 11px 7px 9px;
    gap: 5px;
    font-size: 0.65rem;
  }
  /* 기존 hamburger는 숨기고 MENU 버튼 사용 */
  .site-header--gng .menu-toggle {
    display: none;
  }
}

/* 데스크탑: site-nav 가로 링크가 보이므로 MENU 오버레이 트리거 숨김 */
@media (min-width: 861px) {
  .nav-overlay-trigger {
    display: none;
  }
}


/* =============================================================
   14. HEADER — 시각적 강화 v2 (다크 홈 / 라이트 글래스 스크롤)
   ============================================================= */

/* ── 홈 비스크롤: 다크 엘레강트 ── */
.page-home .site-header--gng:not(.is-scrolled) {
  background: rgba(5, 10, 28, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

/* ── 스크롤 후 / 서브: 밝은 프로스트 글래스 ── */
.site-header--gng.is-scrolled,
.page-sub .site-header--gng {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(200%);
  -webkit-backdrop-filter: blur(22px) saturate(200%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04);
}

/* ── header-inner 간격 ── */
.header-inner--gng {
  gap: 0 !important;
  justify-content: space-between;
}

.site-header--gng .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── 브랜드 텍스트: 스크롤 후/서브 = 다크, 홈 비스크롤 = 흰색 ── */
.site-header--gng .brand-text {
  color: var(--hf-text);
  transition: color 0.35s var(--hf-easing);
}
.page-home .site-header--gng:not(.is-scrolled) .brand-text {
  color: rgba(255, 255, 255, 0.95);
}
/* ── 브랜드 로고: 다크 SVG → 홈비스크롤 white invert ── */
.site-header--gng .brand-logo {
  filter: none;
  transition: filter 0.35s var(--hf-easing), height 0.3s var(--hf-easing);
}
.page-home .site-header--gng:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}
.site-header--gng.is-scrolled .brand-logo,
.page-sub .site-header--gng .brand-logo {
  filter: none;
}


/* =============================================================
   15. FULLSCREEN OVERLAY Nav
   ============================================================= */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  pointer-events: none;
  isolation: isolate;
}

/* 배경 레이어 */
.nav-overlay-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 9, 20, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.5s var(--hf-easing);
}

/* 패널 — Light — 오른쪽에서 슬라이드 인 */
.nav-overlay-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(520px, 100vw);
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.14) transparent;
}
.nav-overlay-panel::-webkit-scrollbar {
  width: 3px;
}
.nav-overlay-panel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.14);
  border-radius: 2px;
}

/* 열림 상태 */
.nav-overlay[aria-hidden="false"] {
  pointer-events: auto;
}
.nav-overlay[aria-hidden="false"] .nav-overlay-backdrop {
  opacity: 1;
}
.nav-overlay[aria-hidden="false"] .nav-overlay-panel {
  transform: translateX(0);
}

/* ── 배경 데코 오브젝트 ── */
.nop-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.nop-deco-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.nop-deco-orb--1 {
  width: 360px;
  height: 360px;
  left: -100px;
  top: -100px;
  background: radial-gradient(circle, rgba(59, 130, 246, .09) 0%, rgba(99, 102, 241, .06) 55%, transparent 100%);
  opacity: 0;
}
.nop-deco-orb--2 {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: 18%;
  background: radial-gradient(circle, rgba(139, 92, 246, .07) 0%, rgba(99, 102, 241, .05) 55%, transparent 100%);
  opacity: 0;
}
.nop-deco-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.5) 70%, transparent 100%);
}

/* 내부 콘텐츠는 deco 위에 */
.nav-overlay-top,
.nop-status-bar,
.nav-overlay-nav,
.nop-cta-banner,
.nop-footer {
  position: relative;
  z-index: 1;
}

/* 패널 상단 헤더 (로고 + 닫기) */
.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* 오버레이 내부 브랜드 */
.nav-overlay-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-overlay-brand img {
  height: 28px;
  width: auto;
  filter: none;
  opacity: 1;
}
.nav-overlay-brand span {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-text);
}

/* 닫기 버튼 */
.nav-overlay-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.04);
  color: rgba(15,31,61,.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.22s var(--hf-spring), border-color 0.18s, color 0.18s;
}
.nav-overlay-close:hover {
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.22);
  transform: rotate(90deg);
  color: var(--hf-text);
}
.nav-overlay-close svg {
  pointer-events: none;
}

/* ── 상태 표시 바 ── */
.nop-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 36px 14px;
  flex-shrink: 0;
}
.nop-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: nop-pulse 2.4s ease-in-out infinite;
}
@keyframes nop-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  60%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.nop-status-text {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,31,61,.38);
}

/* 내비 링크 영역 */
.nav-overlay-nav {
  flex: 1;
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
}

/* 각 링크 — Light */
.nov-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  text-decoration: none;
  color: rgba(15, 31, 61, 0.55);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: color 0.2s, padding-left 0.22s var(--hf-easing), background 0.2s;
  position: relative;
  overflow: hidden;
}
.nov-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--hf-accent), #7c3aed);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s var(--hf-spring);
  border-radius: 0 2px 2px 0;
}
.nov-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.nov-item:hover {
  color: var(--hf-text);
  padding-left: 46px;
  background: rgba(0, 85, 204, 0.04);
}
.nov-item:hover::before {
  transform: scaleY(1);
}

/* 링크 왼쪽 텍스트 */
.nov-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nov-item-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--hf-accent);
  opacity: 0.7;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.nov-item-label {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hf-text);
}
.nov-item-sub {
  font-size: 0.75rem;
  color: rgba(15, 31, 61, 0.4);
  margin-top: 2px;
  font-weight: 400;
}

/* 오른쪽 화살표 */
.nov-item-arrow {
  font-size: 1.1rem;
  color: rgba(15, 31, 61, 0.2);
  transition: transform 0.22s var(--hf-spring), color 0.2s;
  flex-shrink: 0;
}
.nov-item:hover .nov-item-arrow {
  transform: translate(4px, -4px);
  color: var(--hf-accent);
}

/* 서브메뉴 그룹 레이블 */
.nov-group-label {
  padding: 20px 36px 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 31, 61, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nov-group-label:first-child {
  padding-top: 16px;
}

/* ── CTA 배너 ── */
.nop-cta-banner {
  flex-shrink: 0;
  margin: 4px 24px 20px;
  background: linear-gradient(135deg, rgba(0,85,204,.06) 0%, rgba(99,102,241,.05) 100%);
  border: 1px solid rgba(0,85,204,.14);
  border-radius: 16px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.nop-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.6) 0%, transparent 55%);
  pointer-events: none;
}
.nop-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nop-cta-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nop-cta-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-accent);
  opacity: 0.75;
}
.nop-cta-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--hf-text);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.nop-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,85,204,.32);
  transition: box-shadow 0.18s, transform 0.15s var(--hf-spring);
}
.nop-cta-btn:hover {
  box-shadow: 0 6px 20px rgba(0,85,204,.45);
  transform: translateY(-1px);
  color: #fff;
}

/* ── nop-footer 하단 래퍼 ── */
.nop-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* nav-overlay 인증 영역 — Light */
.nav-overlay-auth {
  flex-shrink: 0;
  padding: 16px 28px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 85, 204, 0.03);
}
.noa-user-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.noa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 85, 204, 0.1);
  border: 2px solid rgba(0, 85, 204, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  color: var(--hf-accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.noa-avatar img {
  width: 44px;
  height: 44px;
  max-width: 44px;
  max-height: 44px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}
.noa-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.noa-user-info strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hf-text);
}
.noa-user-info span {
  font-size: 0.73rem;
  color: rgba(15, 31, 61, 0.45);
}
.noa-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.noa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s var(--hf-spring), box-shadow 0.18s;
  white-space: nowrap;
}
.noa-btn--login {
  background: rgba(0,0,0,.04);
  color: var(--hf-text);
  border: 1.5px solid rgba(0,0,0,.12);
}
.noa-btn--login:hover {
  background: rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.2);
  color: var(--hf-text);
  transform: translateY(-1px);
}
.noa-btn--register {
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 12px rgba(0,85,204,.3);
}
.noa-btn--register:hover {
  box-shadow: 0 4px 18px rgba(0,85,204,.45);
  transform: translateY(-1px);
  color: #fff;
}
.noa-btn--mypage {
  background: rgba(0,0,0,.04);
  color: var(--hf-text);
  border: 1.5px solid rgba(0,0,0,.12);
  flex: 1;
  justify-content: center;
}
.noa-btn--mypage:hover {
  background: rgba(0,0,0,.08);
  color: var(--hf-text);
  transform: translateY(-1px);
}
.noa-btn--logout {
  background: rgba(193, 17, 17, 0.06);
  color: #c11111;
  border: 1.5px solid rgba(193, 17, 17, 0.2);
}
.noa-btn--logout:hover {
  background: rgba(193, 17, 17, 0.12);
  color: #a00e0e;
  transform: translateY(-1px);
}

/* ── nop-bottom: 소셜 + 카피라이트 ── */
.nop-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px 28px;
  border-top: 1px solid rgba(0,0,0,.07);
  gap: 12px;
}
.nop-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nop-social-link {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,31,61,.45);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s var(--hf-spring);
}
.nop-social-link:hover {
  background: rgba(0,85,204,.07);
  border-color: rgba(0,85,204,.2);
  color: var(--hf-accent);
  transform: translateY(-2px);
}
.nav-overlay-copy {
  font-size: 0.68rem;
  color: rgba(15, 31, 61, 0.3);
  margin: 0;
  letter-spacing: 0.03em;
}

/* 모바일 패널 풀스크린 */
@media (max-width: 520px) {
  .nav-overlay-panel {
    width: 100vw;
  }
  .nov-item-label {
    font-size: 1.25rem;
  }
  .nav-overlay-top {
    padding: 22px 20px 18px;
  }
  .nop-status-bar { padding: 8px 20px 10px; }
  .nav-overlay-nav { padding: 6px 0 12px; }
  .nov-item {
    padding: 15px 20px;
  }
  .nov-item:hover { padding-left: 28px; }
  .nov-group-label { padding: 16px 20px 6px; }
  .nop-cta-banner { margin: 4px 16px 16px; }
  .nav-overlay-auth { padding: 14px 20px 16px; }
  .noa-btns {
    flex-direction: column;
    gap: 8px;
  }
  .noa-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
  }
  .nop-bottom { padding: 12px 20px 24px; }
  .nop-cta-inner { flex-wrap: wrap; }
  .nop-cta-btn { width: 100%; justify-content: center; }
}

/* =============================================================
   16. prefers-reduced-motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .nav-overlay-panel,
  .nav-overlay-backdrop,
  .nav-overlay-trigger,
  .nav-overlay-close,
  .nov-item {
    transition: none !important;
  }
}


/* =============================================================
   17. 서브페이지 — B&W 톤앤매너 통일
   ============================================================= */

/* sub-hero: 오버레이를 순수 다크(중립)로 변경 */
.page-sub .sub-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.60) 55%,
    rgba(0, 0, 0, 0.78) 100%
  ) !important;
}

/* 서브 비주얼 폴백 배경: 기존 SVG 위에 순수 블랙 베이스 */
.page-sub .sub-hero-media {
  background-color: #111111;
}

/* 서브-히어로 최소 높이 + 패딩 여유 */
.page-sub .sub-hero {
  min-height: 260px;
}

/* 서브페이지 본문 컨테이너 배경 */
.page-sub {
  background: #f4f4f6;
}

/* 게시판/문의폼 등에서 표면 카드 스타일 */
.page-sub .gw-sub-surface,
.page-sub .board-content-surface {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

/* 서브 페이지 헤더 하단 여백 보정 */
.page-sub .site-header--gng {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* 서브페이지 breadcrumb 개선 */
.sub-hero-breadcrumb span {
  opacity: 0.7;
}

/* 반응형: 서브히어로 모바일 */
@media (max-width: 860px) {
  .page-sub .sub-hero {
    min-height: 200px;
  }
  .sub-hero-inner {
    padding-bottom: 32px;
  }
}


/* =============================================================
   18. HEADER — 헤더 버튼 그룹 (웹표준 44px 전면 개편)
   ============================================================= */

/* 로고 ↔ 내비게이션 간격 */
.header-inner--gng {
  gap: 36px !important;
}
.site-header--gng .brand {
  flex-shrink: 0;
}

/* ── header-actions 기본 정렬 ── */
.site-header--gng .header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   독립 아이콘 버튼 — 44px 웹표준 (관리자 등)
   ───────────────────────────────────────────────────────────── */
.hdr-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.18s var(--hf-easing),
    border-color 0.18s,
    color 0.18s,
    transform 0.15s var(--hf-spring),
    box-shadow 0.18s;
}
.hdr-icon-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.60);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}
/* 스크롭 후 / 서브페이지 */
.site-header--gng.is-scrolled .hdr-icon-btn,
.page-sub .site-header--gng .hdr-icon-btn {
  background: rgba(0, 85, 204, 0.07);
  border-color: rgba(0, 85, 204, 0.24);
  color: var(--hf-accent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--gng.is-scrolled .hdr-icon-btn:hover,
.page-sub .site-header--gng .hdr-icon-btn:hover {
  background: rgba(0, 85, 204, 0.13);
  border-color: rgba(0, 85, 204, 0.38);
  color: var(--hf-accent);
  box-shadow: 0 4px 16px rgba(0, 85, 204, 0.22);
  transform: translateY(-1px);
}

/* ── 로그아웃 폼 래퍼 ── */
.hdr-logout-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────────────────────────
   사용자 그룹 — 2026 Standalone Icon Row (그룹화 없음)
   각 요소는 독립 버튼, pill/border 없음
   ───────────────────────────────────────────────────────────── */

/* ── 컨테이너: 순수 flex row ── */
.hdr-user-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* pill 완전 제거 */
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── 아바타 칩 — 40px 독립 원형, aurora ring ── */
.gng-avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  /* aurora gradient ring */
  border: 2.5px solid transparent;
  background:
    linear-gradient(135deg, #dce8f8, #b8d1ef) padding-box,
    linear-gradient(135deg, #0055cc 0%, #7c3aed 80%, #06b6d4 100%) border-box;
  box-shadow:
    0 2px 12px rgba(0, 85, 204, 0.20),
    0 1px 4px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.22s var(--hf-spring),
    box-shadow 0.22s;
}
.gng-avatar-chip:hover {
  transform: scale(1.10);
  box-shadow:
    0 4px 20px rgba(0, 85, 204, 0.30),
    0 0 0 4px rgba(0, 85, 204, 0.10);
}
.gng-avatar-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gng-avatar-chip span {
  font-size: 0.85rem;
  font-weight: 800;
  color: #2a5090;
  line-height: 1;
  user-select: none;
}

/* ── 알림 버튼 — 40px 독립 사각 pill ── */
.gng-notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.20s,
    border-color 0.20s,
    color 0.20s,
    transform 0.20s var(--hf-spring),
    box-shadow 0.20s;
}
.gng-notify-btn:hover {
  background: rgba(255, 255, 255, 0.30);
  border-color: rgba(255, 255, 255, 0.50);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
/* 스크롤 후 / 서브페이지 */
.site-header--gng.is-scrolled .gng-notify-btn,
.page-sub .site-header--gng .gng-notify-btn {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--hf-text-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
.site-header--gng.is-scrolled .gng-notify-btn:hover,
.page-sub .site-header--gng .gng-notify-btn:hover {
  background: #fff;
  border-color: rgba(0, 85, 204, 0.28);
  color: var(--hf-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 85, 204, 0.16);
}

/* ── 알림 배지 — gradient + pulse ── */
.hdr-user-group .notify-count,
.gng-notify-btn .notify-count {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.50rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  border: 2px solid transparent;
  /* border도 흰색으로 — is-scrolled 구분 */
  box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(239, 68, 68, 0.45);
  animation: hf-badge-pulse 2.6s ease-in-out infinite;
}
/* 스크롤 후 배지 테두리 배경 보정 */
.site-header--gng.is-scrolled .gng-notify-btn .notify-count,
.page-sub .site-header--gng .gng-notify-btn .notify-count {
  box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(239, 68, 68, 0.38);
}
@keyframes hf-badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(239, 68, 68, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 2px #fff,
      0 3px 14px rgba(239, 68, 68, 0.68),
      0 0 0 5px rgba(239, 68, 68, 0.10);
  }
}

/* ── 구분선 + 로그아웃 래퍼 (pill 구분선 제거) ── */
.hdr-user-group .hdr-logout-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border-left: none;
}

/* ── 로그아웃 버튼 — 40px 독립 사각 pill (notify와 동일 스타일) ── */
.hdr-user-group .hdr-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
  transition:
    background 0.20s,
    border-color 0.20s,
    color 0.20s,
    transform 0.20s var(--hf-spring),
    box-shadow 0.20s;
}
.hdr-user-group .hdr-logout-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.42);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.24);
}
/* 스크롤 후 / 서브페이지 */
.site-header--gng.is-scrolled .hdr-user-group .hdr-logout-btn,
.page-sub .site-header--gng .hdr-user-group .hdr-logout-btn {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(0, 0, 0, 0.10);
  color: var(--hf-text-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}
.site-header--gng.is-scrolled .hdr-user-group .hdr-logout-btn:hover,
.page-sub .site-header--gng .hdr-user-group .hdr-logout-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.30);
  color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.18);
}
.hdr-user-group .hdr-logout-btn .bi {
  font-size: 1.1rem;
  line-height: 1;
}

/* 로그아웃 텍스트 숨김 */
.hdr-user-group .hdr-btn-label {
  display: none;
}
.hdr-btn-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ── pill 내부 hdr-icon-btn 오버라이드 (관리자 버튼) ── */
.hdr-user-group .hdr-icon-btn {
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.90);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hdr-user-group .hdr-icon-btn:hover {
  background: rgba(239, 68, 68, 0.20);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.22);
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .hdr-user-group .notify-count,
  .gng-notify-btn .notify-count {
    animation: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   로그인 / 회원가입 버튼 — 44px 웹표준
   ───────────────────────────────────────────────────────────── */
.hdr-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.18s var(--hf-easing),
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.15s var(--hf-spring);
  /* 기본: glass ghost (스크롤 전 다크 배경) */
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hdr-auth-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.26);
}
/* 스크롤 후/서브: 밀은 배경 */
.site-header--gng.is-scrolled .hdr-auth-btn:not(.hdr-auth-btn--outline),
.page-sub .site-header--gng .hdr-auth-btn:not(.hdr-auth-btn--outline) {
  border-color: rgba(0, 85, 204, 0.30);
  color: var(--hf-accent);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--gng.is-scrolled .hdr-auth-btn:not(.hdr-auth-btn--outline):hover,
.page-sub .site-header--gng .hdr-auth-btn:not(.hdr-auth-btn--outline):hover {
  background: rgba(0, 85, 204, 0.07);
  border-color: rgba(0, 85, 204, 0.42);
  color: var(--hf-accent);
  transform: translateY(-1px);
  box-shadow: 0 3px 14px rgba(0, 85, 204, 0.16);
}
/* 회원가입: 그라디언트 filled */
.hdr-auth-btn--outline {
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 16px rgba(0, 85, 204, 0.36);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hdr-auth-btn--outline:hover {
  background: linear-gradient(135deg, #004ab5 0%, #2978ff 100%);
  box-shadow: 0 5px 22px rgba(0, 85, 204, 0.54);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
/* 스크롤 후/서브: 회원가입 그라디언트 항상 유지 */
.site-header--gng.is-scrolled .hdr-auth-btn--outline,
.page-sub .site-header--gng .hdr-auth-btn--outline {
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 16px rgba(0, 85, 204, 0.32);
}
.site-header--gng.is-scrolled .hdr-auth-btn--outline:hover,
.page-sub .site-header--gng .hdr-auth-btn--outline:hover {
  background: linear-gradient(135deg, #004ab5 0%, #2978ff 100%);
  box-shadow: 0 5px 24px rgba(0, 85, 204, 0.54);
  transform: translateY(-2px);
}

/* 데스크탑 전용 숨김 */
.site-header--gng .mobile-center-logo { display: none; }
.site-header--gng .menu-toggle { display: none; }

@media (max-width: 860px) {
  .hdr-user-group { display: none; }
  .hdr-logout-form { display: none; }
  .hdr-auth-btn { display: none; }

  /* ── 모바일: site-nav 숨김 (오버레이 드로어 사용) ── */
  .site-header--gng .site-nav {
    display: none;
  }

  /* ── 모바일: header-actions 숨김 (데스크탑 인증/CTA 전용) ── */
  .site-header--gng .header-actions {
    display: none !important;
  }

  /* ── 모바일: header-inner — flex + 높이 52px, 함버거 웰측 정렬 ── */
  .site-header--gng .header-inner--gng {
    display: flex !important;
    height: 52px !important;
    min-height: 52px !important;
    position: relative;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* ── 모바일: brand — 절대 중앙 배치 ── */
  .site-header--gng .brand {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: auto;
  }
  .site-header--gng .brand .brand-text {
    display: none;
  }
  .site-header--gng .brand .brand-logo {
    height: 32px;
    width: auto;
  }

  /* nav-overlay-trigger → 모바일 함버거 버튼 (44px 웹표준) */
  .site-header--gng .nav-overlay-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
    gap: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    letter-spacing: 0;
    font-size: 0;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    transition:
      background 0.18s var(--hf-easing),
      border-color 0.18s var(--hf-easing),
      box-shadow 0.18s var(--hf-easing),
      transform 0.15s var(--hf-spring);
  }
  /* 홈 페이지 스크롤 전: 다크 배경 대응 → 반전 */
  .page-home .site-header--gng:not(.is-scrolled) .nav-overlay-trigger {
    background: rgba(10, 16, 30, 0.55);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
  }
  .site-header--gng .nav-overlay-trigger:active {
    transform: scale(0.93);
  }
  .site-header--gng .nav-overlay-trigger .not-text {
    display: none;
  }
  .site-header--gng .nav-overlay-trigger .not-bars {
    width: 20px;
    gap: 5px;
  }
  /* 3번째 줄 추가 (::after 사용) */
  .site-header--gng .nav-overlay-trigger .not-bars::after {
    content: '';
    display: block;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    width: 75%;
    transition: transform 0.26s var(--hf-easing), opacity 0.2s, width 0.22s var(--hf-easing);
  }
  .site-header--gng .nav-overlay-trigger .not-bars span:last-child {
    width: 75%;
  }
  /* 오버레이 열림: 모바일 3줄 → X 변환 */
  .nav-overlay-open .site-header--gng .nav-overlay-trigger {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.16);
    color: var(--hf-text);
  }
  .nav-overlay-open .site-header--gng .nav-overlay-trigger .not-bars span:first-child {
    transform: translateY(6.5px) rotate(45deg);
    width: 100%;
  }
  .nav-overlay-open .site-header--gng .nav-overlay-trigger .not-bars span:last-child {
    opacity: 0;
    transform: scaleX(0);
    width: 100%;
  }
  .nav-overlay-open .site-header--gng .nav-overlay-trigger .not-bars::after {
    opacity: 1;
    width: 100%;
    transform: translateY(-6.5px) rotate(-45deg);
  }
}


/* =============================================================
   19. 퀵 상담 — 플로팅 FAB + 모달
   ============================================================= */

/* FAB 버튼 — ft-quick-container 안에서 렌더링 (position:fixed 제거) */
.qconsult-fab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 85, 204, 0.38), 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s var(--hf-spring), box-shadow 0.22s var(--hf-easing);
  font-size: 1.4rem;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.qconsult-fab:hover {
  transform: scale(1.09);
  box-shadow: 0 6px 28px rgba(0, 85, 204, 0.48), 0 3px 8px rgba(0, 0, 0, 0.20);
}
.qconsult-fab:active {
  transform: scale(0.95);
}
@media (max-width: 860px) {
  .qconsult-fab {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}

/* 모달 오버레이 */
.qconsult-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--hf-easing);
}
.qconsult-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

/* 반투명 백드롭 */
.qconsult-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* 모달 컨테이너 */
.qconsult-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.20), 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s var(--hf-spring);
  scrollbar-width: thin;
  scrollbar-color: #cdd5e0 transparent;
}
.qconsult-modal.is-open .qconsult-dialog {
  transform: translateY(0) scale(1);
}

/* 헤더 영역 */
.qconsult-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 0;
}
.qconsult-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hf-text);
  line-height: 1.25;
  margin: 0 0 4px;
}
.qconsult-sub {
  font-size: 0.82rem;
  color: var(--hf-text-soft);
  margin: 0;
}
.qconsult-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  color: var(--hf-text-soft);
  font-size: 1rem;
  cursor: pointer;
  margin-top: -2px;
  transition: background 0.15s, color 0.15s;
}
.qconsult-close:hover {
  background: rgba(0, 0, 0, 0.10);
  color: var(--hf-text);
}

/* 폼 */
.qconsult-form {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qconsult-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .qconsult-row--2 {
    grid-template-columns: 1fr;
  }
}
.qconsult-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.qconsult-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hf-text-soft);
  letter-spacing: 0.01em;
}
.qconsult-field label span[aria-hidden] { color: #c11111; }
.qconsult-field input,
.qconsult-field select,
.qconsult-field textarea {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #d8dfe8;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--hf-text);
  background: #f8fafd;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  line-height: 1.5;
  box-sizing: border-box;
}
.qconsult-field input:focus,
.qconsult-field select:focus,
.qconsult-field textarea:focus {
  border-color: var(--hf-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 85, 204, 0.10);
}
.qconsult-field textarea {
  resize: vertical;
  min-height: 90px;
}

/* 동의 체크박스 */
.qconsult-agree {
  font-size: 0.8rem;
  color: var(--hf-text-soft);
}
.qconsult-agree label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.5;
}
.qconsult-agree input[type=checkbox] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--hf-accent);
  width: 15px;
  height: 15px;
}
.qconsult-agree a {
  color: var(--hf-accent);
  text-decoration: underline;
}

/* 제출 버튼 */
.qconsult-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #0055cc 0%, #3a85ff 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.16s var(--hf-easing), box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(0, 85, 204, 0.30);
}
.qconsult-submit:hover { opacity: 0.90; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 85, 204, 0.36); }
.qconsult-submit:active { transform: translateY(0); }
.qconsult-submit:disabled { opacity: 0.60; cursor: not-allowed; transform: none; }

/* 에러 메시지 */
.qconsult-error {
  margin: 0;
  padding: 10px 14px;
  background: #fff1f1;
  border: 1px solid #ffd0d0;
  border-radius: 7px;
  font-size: 0.84rem;
  color: #b91c1c;
}

/* ★ hidden 속성이 CSS display 에 의해 무시되는 버그 수정 */
.qconsult-form[hidden] { display: none !important; }
.qconsult-success[hidden] { display: none !important; }

/* 성공 화면 */
.qconsult-success {
  padding: 40px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.qconsult-success-icon {
  font-size: 3rem;
  color: #16a34a;
  line-height: 1;
}
.qconsult-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hf-text);
  margin: 0;
}
.qconsult-success p {
  font-size: 0.9rem;
  color: var(--hf-text-soft);
  margin: 0;
  line-height: 1.7;
}
.qconsult-close-ok {
  margin-top: 6px;
  padding: 10px 28px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--hf-text);
  transition: background 0.16s, color 0.16s;
}
.qconsult-close-ok:hover { background: var(--hf-text); color: #fff; }

/* body scroll lock */
.qconsult-body-lock {
  overflow: hidden !important;
}
