@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

/* ============================================================
   UNOWEL SAMPLE C — Dark Fintech Theme
   ============================================================ */

:root {
  --primary-bg:   #050c18;
  --secondary-bg: #07101f;
  --bg-card:      #0c1829;
  --bg-card2:     #0f1e33;
  --accent:       #0ea5e9;
  --accent-hv:    #0284c7;
  --text:         #dde8f5;
  --muted:        #6e8da8;
  --border:       rgba(14,165,233,.15);
  --border2:      rgba(255,255,255,.07);
  --border-hv:    rgba(14,165,233,.35);
  --gold:         #D4A843;
  --sh:           0 4px 24px rgba(0,0,0,.5);
  --sh-glow:      0 0 20px rgba(14,165,233,.18);
  --r:            6px;
  --r-lg:         10px;
  --header-h:     68px;
  --sidebar-w:    220px;
  --wrap:         1160px;
  --t:            .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'Inter','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  color: var(--text);
  background: var(--primary-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(14,165,233,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}
h1, h2, h3, h4, h5 {
  font-family: 'Outfit','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  font-weight: 600;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(5,12,24,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.hd-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  height: 100%;
  display: flex; align-items: center; gap: 40px;
}
.logo a      { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main   { font-family: 'Outfit',sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.5px; color: var(--accent); text-shadow: 0 0 16px rgba(14,165,233,.5); }
.logo-sub    { display: none; }

/* 네비게이션 */
.gnb { flex: 1; }
.gnb ul { display: flex; gap: 2px; }
.gnb ul li a {
  display: block; padding: 8px 16px;
  font-size: 14px; font-weight: 400; color: var(--muted);
  border-radius: var(--r);
  transition: background var(--t), color var(--t);
}
.gnb ul li a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.gnb ul li a.on    { color: var(--accent); }

/* 헤더 액션 버튼 */
.hd-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-hd {
  padding: 6px 16px; font-size: 13px; font-weight: 500;
  border-radius: var(--r); transition: all var(--t);
  cursor: pointer; border: none; display: inline-block;
}
.btn-hd-line { background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--muted); }
.btn-hd-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-hd-fill { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-hd-fill:hover { background: var(--accent-hv); }
.hd-welcome { font-size: 13px; color: var(--muted); padding: 0 4px; }

/* ============================================================
   HERO (메인 전용)
   ============================================================ */
.hero {
  background-color: var(--primary-bg);
  background-image:
    linear-gradient(to bottom, rgba(5,12,24,.30) 0%, rgba(5,12,24,.55) 100%),
    url('../images/unowel_calm_bg.png');
  background-size: cover;
  background-position: center;
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  position: relative; z-index: 1;
  display: block;
}
.hero-text { max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.4);
  color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 26px;
}
.hero h1 {
  font-size: 42px; font-weight: 700; line-height: 1.3;
  color: #fff; margin-bottom: 20px; letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc {
  font-size: 15px; color: var(--muted);
  margin-bottom: 38px; line-height: 1.9;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-a {
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  transition: all var(--t); display: inline-block;
}
.btn-a:hover { background: var(--accent-hv); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,.35); }
.btn-a-mts { background: var(--gold); }
.btn-a-mts:hover { background: #c89a38; box-shadow: 0 6px 20px rgba(212,168,67,.35); }
.btn-b {
  background: transparent; color: var(--text);
  padding: 13px 28px; border-radius: var(--r);
  font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.22);
  transition: all var(--t); display: inline-block;
}
.btn-b:hover { border-color: var(--accent); color: var(--accent); }

/* 히어로 차트 (다크 테마에서는 숨김) */
.hero-chart { display: none; }

/* ============================================================
   QUICK MENU
   ============================================================ */
.quick {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.quick-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.q-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  transition: background var(--t); cursor: pointer;
  text-decoration: none; color: inherit;
  position: relative;
}
.q-item:last-child { border-right: none; }
.q-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t);
}
.q-item:hover::after { transform: scaleX(1); }
.q-item:hover { background: rgba(14,165,233,.06); }
.q-item:hover .q-icon {
  background: rgba(14,165,233,.15); color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(14,165,233,.25);
  transform: translateY(-2px);
}
.q-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--muted);
  transition: all var(--t);
}
.q-label { font-size: 13px; font-weight: 600; color: var(--text); }
.q-desc  { font-size: 11px; color: var(--muted); text-align: center; }

/* ============================================================
   게시판 섹션 (메인)
   ============================================================ */
.boards { padding: 50px 0; background: var(--primary-bg); }
.boards-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.bc {
  background: var(--secondary-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}
.bc:hover { border-color: var(--border-hv); }
.bc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(20,27,38,.5);
}
.bc-ttl {
  font-size: 14px; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 8px;
}
.bc-more { font-size: 12px; color: var(--muted); transition: color var(--t); }
.bc-more:hover { color: var(--accent); }
.bc-list { padding: 4px 0; }
.bc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.bc-row:last-child { border-bottom: none; }
.bc-row:hover { background: rgba(14,165,233,.05); }
.bc-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text); flex: 1; min-width: 0;
}
.bc-title a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); transition: color var(--t); }
.bc-title a:hover { color: var(--accent); }
.bc-title a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .4; flex-shrink: 0; }
.new-badge {
  font-size: 10px; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 1px 5px; border-radius: 3px; flex-shrink: 0;
}
.bc-date { font-size: 11px; color: var(--muted); flex-shrink: 0; margin-left: 10px; }

/* ============================================================
   HTS 배너
   ============================================================ */
.hts-banner {
  background: linear-gradient(135deg, #0c1829 0%, #07101f 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 42px 0;
}
.hts-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hts-dual { gap: 0; }
.hts-block { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 40px; }
.hts-block:first-child { padding-left: 0; border-right: 1px solid var(--border); }
.hts-block:last-child  { padding-right: 0; }
.hts-txt { color: var(--text); }
.hts-txt h2 { font-size: 20px; font-weight: 600; margin-bottom: 6px; color: #fff; }
.hts-txt p  { font-size: 13px; color: var(--muted); }
.btn-dl {
  background: var(--accent); color: #fff;
  padding: 13px 30px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: all var(--t); display: inline-block;
}
.btn-dl:hover { background: var(--accent-hv); transform: translateY(-2px); }
.btn-dl-mts { background: var(--gold); color: #fff; }
.btn-dl-mts:hover { background: #c89a38; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #050c18;
  border-top: 1px solid var(--border);
  padding: 44px 0 28px; font-size: 12px;
  color: var(--muted);
}
.ft-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ft-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.ft-logo { font-family: 'Outfit',sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ft-info { line-height: 2.1; }
.ft-nav ul { display: flex; flex-direction: column; gap: 8px; }
.ft-nav ul li a { color: var(--muted); transition: color var(--t); }
.ft-nav ul li a:hover { color: var(--text); }
.ft-nav ul li:first-child a { color: rgba(255,255,255,.75); font-weight: 600; }
.ft-copy { color: rgba(255,255,255,.2); font-size: 11px; }

/* ============================================================
   SUB 페이지 공통
   ============================================================ */
.sub-hero {
  background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 42px 0;
}
.sub-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sub-hero h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.sub-hero p  { font-size: 13px; color: var(--muted); }

.breadcrumb {
  background: var(--secondary-bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0; font-size: 12px;
}
.bc-path {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 6px; color: var(--muted);
}
.bc-path a { transition: color var(--t); }
.bc-path a:hover { color: var(--accent); }
.bc-path .sep { font-size: 10px; color: rgba(255,255,255,.2); }
.bc-path .cur { color: var(--accent); font-weight: 500; }

.sub-layout {
  max-width: var(--wrap); margin: 0 auto;
  padding: 28px 20px 60px;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 22px; align-items: start;
}

/* 사이드바 */
.sidebar {
  background: var(--secondary-bg);
  border-radius: var(--r-lg); border: 1px solid var(--border);
  overflow: hidden;
}
.sb-title {
  background: rgba(14,165,233,.1); color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding: 13px 18px; font-size: 13px; font-weight: 600;
}
.sb-nav ul { padding: 6px 0; }
.sb-nav ul li a {
  display: block; padding: 10px 18px;
  font-size: 13px; color: var(--muted);
  border-left: 2px solid transparent;
  transition: all var(--t);
}
.sb-nav ul li a:hover {
  background: rgba(14,165,233,.06); color: var(--text);
  border-left-color: rgba(14,165,233,.3);
}
.sb-nav ul li a.on {
  background: rgba(14,165,233,.1); color: var(--accent);
  font-weight: 600; border-left-color: var(--accent);
}

/* 사이드바 CS 블록 */
.sb-cs {
  padding: 18px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.sb-cs-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--muted); text-transform: uppercase; margin-bottom: 5px;
}
.sb-cs-title {
  font-size: 17px; font-weight: 800; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sb-cs-info { margin-bottom: 10px; }
.sb-cs-info p {
  font-size: 12px; color: var(--text); line-height: 1.8; margin: 0;
}
.sb-cs-email {
  display: block; font-size: 12px; color: var(--muted);
  text-decoration: none; word-break: break-all;
  transition: color var(--t);
}
.sb-cs-email:hover { color: var(--accent); }

/* 콘텐츠 영역 */
.content {
  background: var(--secondary-bg);
  border-radius: var(--r-lg); border: 1px solid var(--border);
  padding: 28px 30px;
  min-height: 440px;
}
.content h3 {
  font-size: 17px; font-weight: 700; color: var(--accent);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

/* 내용 공통 블록 */
.info-block { margin-bottom: 30px; }
.info-block h4 {
  font-size: 13px; font-weight: 600; color: var(--accent);
  padding: 7px 12px;
  background: rgba(14,165,233,.08); border: 1px solid var(--border);
  border-radius: var(--r); margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.info-block h4::before { content: '▸'; font-size: 9px; color: var(--gold); opacity: .8; }
.info-block p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.info-block ul li {
  font-size: 13px; color: var(--muted);
  padding: 6px 0 6px 14px; position: relative; line-height: 1.7;
  border-bottom: 1px solid var(--border);
}
.info-block ul li:last-child { border-bottom: none; }
.info-block ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); opacity: .5; font-size: 10px; top: 9px; }

/* 유의사항 강조 블록 */
.info-block.notice {
  background: rgba(234,179,8,.06);
  border: 1px solid rgba(234,179,8,.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--r);
  padding: 18px 20px 10px;
}
.info-block.notice h4 {
  background: rgba(234,179,8,.12);
  border-color: rgba(234,179,8,.4);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .02em;
}
.info-block.notice h4::before { content: '⚠'; font-size: 13px; opacity: 1; color: var(--gold); }
.info-block.notice ul li {
  color: #d4b896;
  border-bottom-color: rgba(234,179,8,.15);
  font-size: 13px;
  line-height: 1.75;
  padding: 8px 0 8px 18px;
}
.info-block.notice ul li::before { content: '!'; color: var(--gold); opacity: .9; font-weight: 700; font-size: 11px; top: 9px; }
.info-block.notice ul li:first-child {
  color: #f5c842;
  font-weight: 600;
  font-size: 13.5px;
}

/* 프로필 테이블 */
.profile-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.profile-tbl tr { border-bottom: 1px solid var(--border); }
.profile-tbl tr:last-child { border-bottom: none; }
.profile-tbl th {
  width: 110px; padding: 11px 14px;
  background: rgba(20,27,38,.6); color: var(--muted);
  font-weight: 600; text-align: left; vertical-align: top; font-size: 12px;
}
.profile-tbl td { padding: 11px 14px; color: var(--text); line-height: 1.8; }

/* 단계 목록 */
.step-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.step-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(20,27,38,.4); border-radius: var(--r); padding: 15px 18px;
  border: 1px solid var(--border); transition: border-color var(--t);
}
.step-item:hover { border-color: var(--border-hv); }
.step-num {
  width: 30px; height: 30px; border-radius: var(--r);
  background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.28);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.step-body h5 { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.step-body p  { font-size: 12px; color: var(--muted); line-height: 1.75; }

/* 신뢰 카드 (회사소개) */
.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.trust-card {
  background: rgba(20,27,38,.4); border-radius: var(--r);
  border: 1px solid var(--border); padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: border-color var(--t);
}
.trust-card:hover { border-color: var(--border-hv); }
.trust-card .tc-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.trust-card .tc-txt strong { display: block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 3px; }
.trust-card .tc-txt span { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 인사말 인용 블록 (레거시) */
.greeting-block {
  background: rgba(14,165,233,.05); border-radius: var(--r);
  border-left: 3px solid var(--accent);
  padding: 20px 24px; margin-bottom: 28px;
}
.greeting-block .greet-txt { font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 8px; }
.greeting-block .greet-sig { font-size: 12px; color: var(--muted); }

/* 인사말 카드 */
.greet-card {
  position: relative; overflow: hidden;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh), 0 0 40px rgba(14,165,233,.06);
  margin-bottom: 36px;
  max-width: 520px;
}
.greet-card-deco {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 90% 110%, rgba(14,165,233,.09) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at -5% -5%,  rgba(212,168,67,.07)  0%, transparent 65%);
}
.greet-card-deco::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(14,165,233,.12);
}
.greet-card-deco::after {
  content: '';
  position: absolute; top: 10px; right: 10px;
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid rgba(14,165,233,.08);
}
.greet-card-body {
  position: relative; z-index: 1;
  padding: 40px 44px 36px;
  text-align: center;
}
.greet-card-logo {
  display: inline-flex; align-items: center; gap: 2px;
  margin-bottom: 28px;
}
.gc-logo-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 32px; font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.gc-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 26px; font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  line-height: 1;
}
.greet-card-msg {
  font-size: 14px; color: var(--text);
  line-height: 2.1; letter-spacing: .01em;
  margin-bottom: 24px;
}
.greet-card-sig {
  font-size: 12px; color: var(--muted);
  letter-spacing: .06em;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* HTS 인용 블록 */
.hts-quote {
  background: rgba(14,165,233,.05); border-radius: var(--r);
  border-left: 3px solid rgba(14,165,233,.3);
  padding: 16px 20px; margin: 12px 0 4px;
  font-size: 14px; color: var(--text); line-height: 2;
}

/* 신뢰 지표 바 (메인 전용) */
.trust-bar { background: var(--secondary-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 16px; text-align: center; color: var(--text);
  border-right: 1px solid var(--border);
  transition: background var(--t);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(14,165,233,.05); }
.trust-num { font-size: 28px; font-weight: 700; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.trust-num span { font-size: 14px; font-weight: 500; }
.trust-icon { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.trust-label { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   게시판 테이블 (고객센터)
   ============================================================ */
.bbs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bbs-table thead th {
  background: rgba(20,27,38,.8); color: var(--muted);
  font-weight: 600; padding: 11px 14px;
  text-align: center; white-space: nowrap;
  border-top: 1px solid rgba(14,165,233,.2);
  border-bottom: 1px solid var(--border);
}
.bbs-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--t); }
.bbs-table tbody tr:hover { background: rgba(14,165,233,.05); }
.bbs-table tbody td { padding: 11px 14px; text-align: center; color: var(--muted); }
.bbs-table td.t-title { text-align: left; }
.bbs-table td.t-title a {
  display: flex; align-items: center; gap: 6px;
  color: var(--text); transition: color var(--t);
}
.bbs-table td.t-title a:hover { color: var(--accent); }

/* 페이징 + 검색 */
.board-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.paging { display: flex; gap: 4px; }
.paging a, .paging span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid var(--border); border-radius: var(--r);
  font-size: 12px; color: var(--muted); transition: all var(--t);
}
.paging a:hover { background: rgba(14,165,233,.08); color: var(--accent); border-color: var(--border-hv); }
.paging .pg-on { background: rgba(14,165,233,.15); color: var(--accent); border-color: var(--border-hv); font-weight: 700; }
.bbs-search { display: flex; gap: 8px; align-items: center; }
.bbs-search select,
.bbs-search input[type=text] {
  padding: 7px 11px; border: 1px solid var(--border);
  border-radius: var(--r); font-size: 12px; outline: none;
  background: rgba(20,27,38,.8); color: var(--text);
  transition: border-color var(--t);
}
.bbs-search select:focus,
.bbs-search input[type=text]:focus { border-color: var(--border-hv); }
.bbs-search input[type=text] { width: 180px; }
.btn-srch {
  padding: 7px 15px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background var(--t);
}
.btn-srch:hover { background: var(--accent-hv); }

/* 이용약관 / 개인정보처리방침 본문 */
.terms-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}
.terms-body p {
  margin-bottom: 14px;
}
.terms-body p strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 7px 12px;
  margin: 24px 0 -2px;
  background: rgba(14,165,233,.08);
  border: 1px solid var(--border);
  border-radius: var(--r);
  letter-spacing: .3px;
}
.terms-body p:first-child strong {
  font-size: 14px;
  margin-top: 0;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.btn-menu {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: var(--r);
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}
.btn-menu span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.btn-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu.open span:nth-child(2) { opacity: 0; }
.btn-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   TABLET  ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .hd-inner { gap: 16px; }
  .gnb ul li a { padding: 8px 12px; font-size: 13px; }
  .btn-hd { padding: 5px 12px; font-size: 12px; }
  .hero h1 { font-size: 34px; }
  .sub-layout { grid-template-columns: 185px 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOBILE  ≤768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── 헤더 ── */
  .site-header { height: auto; }
  .hd-inner {
    flex-wrap: wrap;
    min-height: var(--header-h);
    padding: 0 16px;
    height: auto;
    gap: 0;
  }
  .gnb { display: none; width: 100%; order: 10; }
  .hd-actions { display: none; }
  .btn-menu { display: flex; }

  /* 모바일 GNB 열림 */
  .gnb.open {
    display: block;
    border-top: 1px solid var(--border);
    padding: 6px 0 10px;
    background: var(--secondary-bg);
  }
  .gnb.open ul { flex-direction: column; gap: 0; }
  .gnb.open ul li a {
    border-radius: 0;
    padding: 13px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
  }
  .gnb.open ul li a:hover, .gnb.open ul li a.on { color: var(--accent); background: rgba(14,165,233,.06); }
  .gnb.open ul li:last-child a { border-bottom: none; }

  /* ── Hero ── */
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 14px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-a, .btn-b { padding: 12px 24px; font-size: 13px; width: 100%; max-width: 260px; text-align: center; }

  /* ── 퀵 메뉴: 2×2 ── */
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .q-item:nth-child(even) { border-right: none; }
  .q-item:nth-child(n+3) { border-top: 1px solid var(--border); }

  /* ── 게시판 ── */
  .boards { padding: 36px 0; }
  .boards-grid { grid-template-columns: 1fr; padding: 0 16px; }

  /* ── HTS 배너 ── */
  .hts-inner { flex-direction: column; text-align: center; gap: 16px; }
  .hts-dual { flex-direction: column; gap: 24px; }
  .hts-block { flex-direction: column; padding: 0 !important; border-right: none !important; border-bottom: 1px solid var(--border); padding-bottom: 24px !important; }
  .hts-block:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .hts-txt h2 { font-size: 17px; }

  /* ── 서브 레이아웃 ── */
  .sub-layout { grid-template-columns: 1fr; padding: 0 0 48px; gap: 0; }
  .sidebar { border-radius: 0; border-left: none; border-right: none; border-top: none; }
  .sb-title { display: none; }
  .sb-nav ul {
    display: flex; flex-direction: row; overflow-x: auto;
    padding: 0 16px; gap: 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .sb-nav ul::-webkit-scrollbar { display: none; }
  .sb-nav ul li a {
    white-space: nowrap; border-left: none !important;
    border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 14px; font-size: 13px;
  }
  .sb-nav ul li a:hover, .sb-nav ul li a.on {
    background: transparent; border-left-color: transparent !important;
    border-bottom-color: var(--accent); color: var(--accent); font-weight: 600;
  }
  .content { border-radius: 0; border-left: none; border-right: none; padding: 20px 16px; min-height: auto; }

  /* ── 게시판 테이블 ── */
  .bbs-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bbs-table { min-width: 320px; }
  .hide-m { display: none !important; }

  /* ── 게시판 하단 ── */
  .board-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .bbs-search { width: 100%; }
  .bbs-search input[type=text] { flex: 1; width: auto; min-width: 0; }

  /* ── 푸터 ── */
  .ft-top { flex-direction: column; gap: 20px; }
  .ft-nav ul { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }

  /* ── 신뢰 카드 ── */
  .trust-cards { grid-template-columns: 1fr; }

  /* ── 서브 히어로 ── */
  .sub-hero { padding: 28px 0; }
  .sub-hero h2 { font-size: 22px; }

  /* ── 프로필 테이블 ── */
  .profile-tbl th { width: 88px; }
}

/* ============================================================
   SMALL MOBILE  ≤480px
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 { font-size: 22px; letter-spacing: -.5px; }
  .hero-badge { font-size: 10px; }
  .bc-path { flex-wrap: wrap; }
}
