/* ===== 법인 재무진단 사이트 공통 스타일 =====
   비즈니스 신뢰감 — 네이비/그레이 톤, 깔끔한 여백 */

:root {
  --navy: #16305b;
  --navy-dark: #0f2444;
  --accent: #c8a15a;      /* 포인트: 골드(신뢰·프리미엄) */
  --accent-dark: #a8823f;
  --ink: #1c2530;
  --muted: #5c6b7a;
  --line: #e2e7ee;
  --bg: #f5f7fa;
  --card: #ffffff;
  --danger: #c0392b;
  --ok: #1e7a4d;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(22, 48, 91, 0.08);
  --shadow-lg: 0 10px 40px rgba(22, 48, 91, 0.14);
  --font: "Pretendard", -apple-system, "Malgun Gothic", "맑은 고딕", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;      /* 한글 단어 중간 줄바꿈 방지 (띄어쓰기에서만 줄바꿈) */
  overflow-wrap: break-word; /* 아주 긴 단어는 안전하게 줄바꿈 */
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== 상단 바 ===== */
.topbar {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; color: #fff; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #dfe6f0; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .cta-sm {
  background: var(--accent);
  color: var(--navy-dark);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.nav .cta-sm:hover { background: var(--accent-dark); color: #fff; }

/* ===== 히어로 ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 72px 0 84px;
  text-align: center;
}
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.hero h1 .hl { color: var(--accent); }
.hero p.sub { margin-top: 18px; font-size: 18px; color: #cdd8e8; font-weight: 400; }
.hero .badge {
  display: inline-block;
  background: rgba(200,161,90,0.16);
  color: var(--accent);
  border: 1px solid rgba(200,161,90,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero .cta {
  display: inline-block;
  margin-top: 30px;
  background: var(--accent);
  color: var(--navy-dark);
  padding: 15px 34px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s, background 0.15s;
}
.hero .cta:hover { background: #fff; transform: translateY(-2px); }

/* ===== 섹션 공통 ===== */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 12px; font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 44px; }

/* ===== 도구 카드 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tool-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.tool-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.tool-card p { color: var(--muted); font-size: 15px; flex: 1; }
.tool-card .go {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.tool-card .go::after { content: " →"; color: var(--accent); }

/* ===== CTA 밴드 ===== */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--navy-dark);
  text-align: center;
  border-radius: var(--radius);
  padding: 48px 30px;
  margin: 20px 0;
}
.cta-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { font-size: 16px; margin-bottom: 24px; opacity: 0.85; }
.cta-band .btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-lg);
}
.cta-band .btn:hover { background: var(--navy-dark); }

/* ===== 신뢰 섹션 ===== */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.trust-item .num { font-size: 32px; font-weight: 800; color: var(--navy); }
.trust-item .lbl { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ===== 계산기 페이지 공통 ===== */
.tool-hero {
  background: var(--navy);
  color: #fff;
  padding: 44px 0;
}
.tool-hero h1 { font-size: 28px; font-weight: 800; }
.tool-hero p { color: #cdd8e8; margin-top: 8px; font-size: 16px; }
.tool-hero .crumb { font-size: 14px; color: #9fb0c8; margin-bottom: 10px; }
.tool-hero .crumb a { color: #9fb0c8; }
.tool-hero .crumb a:hover { color: #fff; }

.calc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 40px 0; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel h2 { font-size: 18px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); }
.field .unit { position: relative; }
.field .unit input { padding-right: 44px; }
.field .unit .suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 14px; pointer-events: none;
}

.btn-calc {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s;
}
.btn-calc:hover { background: var(--navy-dark); }

/* 결과 */
.result-empty { color: var(--muted); text-align: center; padding: 40px 0; font-size: 15px; }
.result-main {
  text-align: center;
  padding: 22px;
  background: linear-gradient(160deg, #f8fafd, #eef3f9);
  border-radius: 12px;
  margin-bottom: 20px;
}
.result-main .rlabel { font-size: 14px; color: var(--muted); }
.result-main .rvalue { font-size: 34px; font-weight: 800; color: var(--navy); margin-top: 4px; letter-spacing: -1px; }
.result-main .rvalue small { font-size: 18px; font-weight: 600; }

.result-rows { list-style: none; }
.result-rows li {
  display: flex; justify-content: space-between;
  padding: 11px 4px; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.result-rows li:last-child { border-bottom: none; }
.result-rows li .k { color: var(--muted); }
.result-rows li .v { font-weight: 700; }

.flag { padding: 14px 16px; border-radius: 10px; margin-top: 16px; font-size: 14.5px; line-height: 1.55; }
.flag.warn { background: #fdf3ef; border: 1px solid #f3c9bd; color: #9c3421; }
.flag.warn b { color: var(--danger); }
.flag.info { background: #eef4fb; border: 1px solid #cfe0f2; color: #274b73; }

/* 결과 하단 리드 유도 */
.result-cta {
  margin-top: 20px;
  background: var(--navy-dark);
  color: #fff;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}
.result-cta p { font-size: 15px; color: #d5deeb; margin-bottom: 14px; }
.result-cta p b { color: var(--accent); }
.result-cta a {
  display: inline-block;
  background: var(--accent);
  color: var(--navy-dark);
  padding: 12px 26px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 15px;
}
.result-cta a:hover { background: #fff; }

/* ===== 체크박스 / 동의 ===== */
.chk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.5;
}
.chk input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}
.chk a { color: var(--navy); text-decoration: underline; }
.consent {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafd;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ===== 홈: 태그라인 배너 ===== */
.tagline {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; padding: 44px 0;
}
.tagline h2 { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.45; letter-spacing: -0.5px; }
.tagline p { font-size: 16px; color: var(--muted); margin-top: 12px; }
.tagline .arrow-down { font-size: 20px; color: var(--accent); margin-top: 10px; }

/* ===== 홈: 진단 카드 (가로 4개 1줄) ===== */
.diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diag-card {
  background: linear-gradient(160deg, #2f5aa8, #244a8f);
  border-radius: 14px; padding: 12px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
}
.diag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.diag-card .dc-inner {
  background: #fff; border-radius: 10px; padding: 16px 12px 14px; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.diag-card .dc-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 9px;
}
.diag-card .dc-inner h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); white-space: nowrap; letter-spacing: -0.5px; }
.diag-card .dc-inner p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.diag-card .dc-btn {
  background: #fff; color: var(--navy); border-radius: 999px;
  padding: 8px 18px; font-size: 13.5px; font-weight: 700;
  margin: 11px auto 2px; display: inline-block;
}
.diag-card .dc-btn::after { content: " ▶"; font-size: 10px; }
.diag-card:hover .dc-btn { background: var(--accent); color: var(--navy-dark); }

/* 인사이트 페이지네이션 */
.insight-pager { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.insight-pager .pg {
  min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: var(--font); transition: background 0.15s;
}
.insight-pager .pg:hover { background: #f0f4fa; }
.insight-pager .pg.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.insight-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
}
.insight-panel .ip-head {
  background: var(--navy); color: #fff; padding: 15px 20px;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px;
}
.insight-list { list-style: none; }
.insight-list li { border-bottom: 1px solid var(--line); }
.insight-list li:last-child { border-bottom: none; }
.insight-list a { display: flex; align-items: flex-start; gap: 10px; padding: 13px 20px; transition: background 0.15s; }
.insight-list a:hover { background: #f8fafd; }
.tag { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-top: 1px; white-space: nowrap; }
.tag.news { background: #eef4fb; color: #2b6cb0; }
.tag.col { background: #fdf3e7; color: #a8823f; }
.insight-list .it-title { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }

/* ===== 전문가 칼럼 카드 ===== */
.column-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.column-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.column-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.column-card .cc-tag { font-size: 12px; font-weight: 700; color: var(--accent-dark); }
.column-card h3 { font-size: 17.5px; font-weight: 700; margin: 8px 0 10px; line-height: 1.4; }
.column-card p { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.6; }
.column-card .cc-more { margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 14px; }
.column-card .cc-more::after { content: " →"; color: var(--accent); }

/* ===== 칼럼 좌우 롤링 캐러셀 ===== */
.col-carousel { position: relative; }
.col-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding: 4px; -ms-overflow-style: none; scrollbar-width: none;
}
.col-track::-webkit-scrollbar { display: none; }
.col-track .column-card { scroll-snap-align: start; flex: 0 0 calc(33.333% - 15px); min-width: 260px; }
.col-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  color: var(--navy); font-size: 20px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 5;
  transition: background 0.15s;
}
.col-arrow:hover { background: var(--navy); color: #fff; }
.col-arrow.prev { left: -18px; }
.col-arrow.next { right: -18px; }

/* ===== 홈 하단 빠른 상담 폼 ===== */
.quick-consult {
  background: linear-gradient(135deg, #2f5aa8, #1f3d78);
  border-radius: 16px; padding: 30px; box-shadow: var(--shadow-lg);
}
.quick-consult h2 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.quick-consult .qc-sub { color: #cdd8e8; font-size: 14.5px; margin-bottom: 20px; }
.quick-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.quick-form .qf { display: flex; flex-direction: column; }
.quick-form label { color: #dfe6f0; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.quick-form input {
  padding: 12px 14px; border: none; border-radius: 9px; font-size: 15px; font-family: var(--font);
}
.quick-form input:focus { outline: 2px solid var(--accent); }
.quick-form .qc-btn {
  background: var(--accent); color: var(--navy-dark); border: none;
  padding: 13px 26px; border-radius: 9px; font-size: 15.5px; font-weight: 800;
  font-family: var(--font); cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.quick-form .qc-btn:hover { background: #fff; }
.quick-consent { margin-top: 14px; }
.quick-consent label { color: #cdd8e8; font-size: 13px; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.quick-consent input { width: 16px; height: 16px; accent-color: var(--accent); }
.quick-consent a { color: #fff; text-decoration: underline; }

/* ===== 칼럼 본문 페이지 ===== */
.article-body { max-width: 760px; margin: 36px auto; }
.article-body .a-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-dark); background: #fdf3e7; padding: 4px 12px; border-radius: 999px; }
.article-body h1 { font-size: 28px; font-weight: 800; line-height: 1.35; margin: 14px 0 10px; letter-spacing: -0.5px; }
.article-body .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.article-body .lead {
  font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.7;
  background: #f8fafd; border-left: 4px solid var(--accent);
  padding: 16px 18px; border-radius: 0 8px 8px 0; margin-bottom: 24px;
}
.article-body h2 { font-size: 20px; margin: 30px 0 12px; color: var(--navy); font-weight: 700; }
.article-body p { font-size: 16px; line-height: 1.85; margin-bottom: 16px; color: var(--ink); }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { font-size: 16px; line-height: 1.8; color: var(--ink); }
.article-body .callout {
  background: #fdf3ef; border: 1px solid #f3c9bd; border-radius: 10px;
  padding: 16px 18px; margin: 20px 0; font-size: 15px; line-height: 1.65; color: #9c3421;
}
.article-body .callout b { color: var(--danger); }

/* ===== PDF AI 진단 ===== */
.upload-box {
  border: 2px dashed #c3d0e2; border-radius: 14px; background: #f8fafd;
  padding: 30px 24px; text-align: center;
}
.upload-box .up-icon { font-size: 40px; }
.upload-box h3 { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.upload-box p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.upload-box .file-label {
  display: inline-block; margin-top: 16px; background: #fff; border: 1.5px solid var(--navy);
  color: var(--navy); padding: 11px 22px; border-radius: 9px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.upload-box .file-label:hover { background: var(--navy); color: #fff; }
.upload-box .file-name { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.upload-box input[type="file"] { display: none; }

.file-items { list-style: none; margin-top: 14px; }
.file-items li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; margin-bottom: 8px; font-size: 13.5px;
}
.file-items .fi-name { color: var(--ink); word-break: break-all; }
.file-items .fi-name em { color: var(--muted); font-style: normal; font-size: 12px; }
.file-items .fi-del {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; border: none;
  background: #f0eceb; color: var(--danger); font-size: 13px; font-weight: 700; cursor: pointer;
}
.file-items .fi-del:hover { background: var(--danger); color: #fff; }
.fi-clear {
  background: none; border: none; color: var(--muted); font-size: 13px;
  text-decoration: underline; cursor: pointer; font-family: var(--font);
}
.fi-clear:hover { color: var(--danger); }

.privacy-note {
  background: #fdf3ef; border: 1px solid #f3c9bd; color: #9c3421;
  border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.6; margin-top: 16px;
}
.privacy-note b { color: var(--danger); }

.btn-diag {
  width: 100%; background: var(--navy); color: #fff; border: none;
  padding: 15px; border-radius: 10px; font-size: 16px; font-weight: 700;
  font-family: var(--font); cursor: pointer; margin-top: 18px; transition: background 0.15s;
}
.btn-diag:hover { background: var(--navy-dark); }
.btn-diag:disabled { background: #9aa7b8; cursor: default; }

.btn-report {
  width: 100%; background: var(--accent); color: var(--navy-dark); border: none;
  padding: 13px; border-radius: 10px; font-size: 15px; font-weight: 800;
  font-family: var(--font); cursor: pointer; margin-top: 18px; transition: background 0.15s;
}
.btn-report:hover { background: var(--accent-dark); color: #fff; }

.diag-loading { text-align: center; color: var(--muted); padding: 40px 10px; font-size: 15px; line-height: 1.6; }
.spinner {
  width: 34px; height: 34px; margin: 0 auto 16px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--navy); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.diag-summary {
  background: linear-gradient(160deg, #f8fafd, #eef3f9); border-radius: 12px;
  padding: 18px; font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.6; margin-bottom: 18px;
}
.diag-items { list-style: none; }
.diag-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.di-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.di-badge { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff; }
.di-badge.st-danger { background: var(--danger); }
.di-badge.st-warn { background: #d98a2b; }
.di-badge.st-ok { background: var(--ok); }
.di-name { font-weight: 700; font-size: 15.5px; }
.di-cat { font-size: 12.5px; color: var(--muted); background: #f0f4fa; padding: 2px 8px; border-radius: 6px; }
.di-detail { color: var(--ink); font-size: 14px; line-height: 1.6; margin-top: 8px; }

/* ===== 계산기 입력 섹션 구분 ===== */
.subhead {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.subhead:first-of-type { margin-top: 0; }
.subhead .opt { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 6px; }

/* ===== 비상장주식 평가 충격 박스 ===== */
.stock-shock {
  background: linear-gradient(160deg, #2a1a1a, #3a1f1f);
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
  border: 1px solid #5a3535;
}
.stock-shock .ss-title { font-size: 14px; color: #f0c9c0; font-weight: 600; }
.stock-shock .ss-value { font-size: 30px; font-weight: 800; color: #ff9b82; margin: 4px 0 8px; letter-spacing: -1px; }
.stock-shock .ss-compare { font-size: 14.5px; color: #e8d5d0; }
.stock-shock .ss-compare b { color: #ffb84d; font-size: 16px; }
.stock-shock .ss-note { font-size: 12.5px; color: #c9b0aa; margin-top: 6px; }
.stock-shock .ss-note b { color: #fff; }

/* ===== 카카오 채널 버튼 ===== */
.kakao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FEE500;
  color: #191600;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: var(--font);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}
.kakao-btn:hover { filter: brightness(0.95); }
.kakao-btn .kko { font-size: 18px; }

.kakao-box {
  margin-top: 22px;
  padding: 20px;
  background: #fffbe6;
  border: 1px solid #f5e79e;
  border-radius: 12px;
  text-align: center;
}
.kakao-box p { color: var(--ink); font-size: 14.5px; margin-bottom: 14px; line-height: 1.55; }
.kakao-box p b { color: #a8823f; }

/* ===== 텍스트 페이지(약관/방침) ===== */
.doc-body { max-width: 760px; margin: 40px auto; }
.doc-body .panel h2 { font-size: 17px; margin-top: 26px; }
.doc-body .panel h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--ink); font-size: 15px; line-height: 1.75; }
.doc-body ul { margin: 8px 0 8px 20px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.doc-body th { background: #f5f7fa; font-weight: 700; }

/* ===== 푸터 ===== */
footer {
  background: var(--navy-dark);
  color: #9fb0c8;
  padding: 40px 0 30px;
  font-size: 14px;
  margin-top: 40px;
}
footer .fcol { margin-bottom: 20px; }
footer .fbrand { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
footer a { color: #9fb0c8; }
footer a:hover { color: #fff; }
footer .disc {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px; margin-top: 18px;
  font-size: 12.5px; color: #7686a0; line-height: 1.7;
}

/* ===== 반응형 ===== */
@media (max-width: 760px) {
  .hero h1 { font-size: 28px; }
  .tools-grid { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav { gap: 14px; }
  .nav a:not(.cta-sm) { display: none; }
  .diag-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .diag-card .dc-inner h3 { white-space: normal; }
  .column-cards { grid-template-columns: 1fr; }
  .col-track .column-card { flex: 0 0 85%; }
  .col-arrow.prev { left: 2px; }
  .col-arrow.next { right: 2px; }
  .quick-form { grid-template-columns: 1fr; }
  .tagline h2 { font-size: 20px; }
}
