/* =============================================
   샤오통 XiaoTong — global.css
   공통 컴포넌트 (푸터, TOP버튼 등)
   ============================================= */

/* ── TOP 버튼 ── */
#topBtn {
    position: fixed; bottom: 32px; right: 32px; z-index: 999;
    width: 48px; height: 48px; border-radius: 50%;
    background: #E8192C; color: white; border: none; cursor: pointer;
    display: none; /* JS에서 'flex'로 전환 */
    align-items: center; justify-content: center;
    font-size: 20px; line-height: 1; padding: 0; text-align: center;
    box-shadow: 0 4px 20px rgba(232,25,44,0.4);
    transition: transform 0.2s, opacity 0.2s;
  }
  #topBtn:hover { transform: translateY(-3px); }
  
  /* ── FOOTER ── */
  footer { background: #0d0d0d; }
  
  .footer-top {
    max-width: 1200px; margin: 0 auto;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: 200px 1fr 220px 240px;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  
  /* 로고 */
  .ft-logo-name {
    font-size: 22px; font-weight: 900; color: #E8192C;
    letter-spacing: -0.5px; margin-bottom: 4px;
  }
  .ft-logo-zh {
    font-family: 'Noto Serif SC', serif;
    font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 6px;
  }
  .ft-logo-company {
    font-size: 11px; color: rgba(255,255,255,0.25); margin-bottom: 24px;
    padding-left:7px;
  }
  .ft-sns { display: flex; gap: 10px; }
  .ft-sns a {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; text-decoration: none;
    transition: background 0.2s;
  }
  .ft-sns a:hover { background: #E8192C; }
  
  /* 회사정보 */
  .ft-info-title,
  .ft-cs-title,
  .ft-cta-title {
    font-size: 10px; letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase; margin-bottom: 18px;
  }
  .ft-info ul { list-style: none; }
  .ft-info ul li {
    font-size: 12px; color: rgba(255,255,255,0.4);
    line-height: 1.5; margin-bottom: 7px;
    display: flex; gap: 10px;
  }
  .ft-info ul li span {
    color: rgba(255,255,255,0.2);
    min-width: 110px; flex-shrink: 0;
  }
  
  /* 고객센터 */
  .ft-cs-num {
    font-size: 22px; font-weight: 900; color: white; margin-bottom: 14px;
  }
  .ft-cs-hours { list-style: none; }
  .ft-cs-hours li {
    font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8;
  }
  .ft-cs-hours li span {
    color: rgba(255,255,255,0.2); margin-right: 8px;
  }
  .ft-cs-holiday {
    display: inline-block; margin-top: 10px;
    font-size: 10px; color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    padding: 4px 10px; border-radius: 4px;
  }
  
  /* CTA */
  .ft-cta-label {
    font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px;
  }
  .ft-cta-sub {
    font-size: 12px; color: rgba(255,255,255,0.35);
    line-height: 1.6; margin-bottom: 20px;
  }
  .ft-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #E8192C; color: white; border: none;
    padding: 14px 20px; border-radius: 6px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    width: 100%; text-decoration: none;
    transition: background 0.2s;
  }
  .ft-cta-btn:hover { background: #B8101F; }
  
  /* 하단 바 */
  .footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding: 20px 48px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-bottom p {
    font-size: 11px; color: rgba(255,255,255,0.2);
  }
  .ft-links { display: flex; gap: 20px; }
  .ft-links a {
    font-size: 11px; color: rgba(255,255,255,0.25);
    text-decoration: none; transition: color 0.2s;
  }
  .ft-links a:hover { color: white; }
  
  /* ── 반응형 ── */
  @media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 768px) {
    .footer-top    { grid-template-columns: 1fr; padding: 48px 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 24px; }
    #topBtn        { bottom: 20px; right: 20px; }
  }




/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 25px 48px;
    display: flex; justify-content: space-between; align-items: center;
  }
  
  /* 로고 */
  .nav-logo {
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
  }
  .nav-logo img {
    height: 60px; width: auto;
    display: block; object-fit: contain;
  }
  .nav-logo span {
    font-size: 20px; font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: -0.3px;
  }
  
  /* 우측 버튼 묶음 */
  .nav-links {
    display: flex; align-items: center; gap: 8px;
  }
  
  /* 외곽선 버튼 */
  .nav-btn-outline {
    display: inline-flex; align-items: center;
    padding: 9px 18px; border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.15);
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,0.65); text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .nav-btn-outline:hover {
    border-color: rgba(255,255,255,0.4);
    color: white;
  }
  
  /* 채운 버튼 */
  .nav-btn-fill {
    display: inline-flex; align-items: center;
    padding: 9px 18px; border-radius: 6px;
    background: #E8192C;
    font-size: 13px; font-weight: 700;
    color: white; text-decoration: none;
    transition: background 0.2s;
  }
  .nav-btn-fill:hover { background: #B8101F; }
  
  /* 반응형 */
  @media (max-width: 768px) {
    .nav-inner { padding: 14px 24px; }
    .nav-logo span { display: none; }
    .nav-btn-outline { display: none; } /* 모바일에선 채운 버튼만 */
  }