/* 조인택스 세무회계 — 브라운 · 골드 */
@font-face { font-family: "The Jamsil"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/TheJamsil-Light.woff") format("woff"); }
@font-face { font-family: "The Jamsil"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/TheJamsil-Regular.woff") format("woff"); }
@font-face { font-family: "The Jamsil"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/TheJamsil-Medium.woff") format("woff"); }
@font-face { font-family: "The Jamsil"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/TheJamsil-Bold.woff") format("woff"); }

:root {
  --brown: #49382A;
  --brown-2: #5E4A39;
  --brown-deep: #33271E;
  --gold: #C9A468;
  --gold-light: #E3C888;
  --gold-text: #8A6A38;
  --beige: #F5F0E9;
  --beige-2: #EAE1D5;
  --line: #DDD3C6;
  --ink: #2B2119;
  --muted: #7A6B5D;
  --red: #A8372B;
  --header-h: 84px;
  --maxw: 1200px;
  --gold-grad: linear-gradient(135deg, #E8CD90 0%, #C39D5F 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "The Jamsil", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.75; letter-spacing: -0.01em;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
b, strong { font-weight: 500; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
[data-sec] { scroll-margin-top: 150px; }

/* ---------- 상단 바 ---------- */
.topbar { background: var(--brown-deep); color: #cdbfae; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-slogan { color: var(--gold-light); letter-spacing: 0.06em; }
.topbar-links { display: flex; gap: 26px; }
.topbar-links a:hover { color: #fff; }
.topbar-links b { color: #fff; font-weight: 500; }

/* ---------- 헤더 / 메뉴 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; height: var(--header-h); gap: 36px; }
.hdr .logo { flex: none; }
.all-menu { flex: none; }
.logo img { height: 44px; width: auto; }
.gnb { display: flex; gap: 34px; margin-left: auto; font-size: 16px; font-weight: 500; }
.gnb > a, .gnb-item > a { position: relative; padding: 8px 0; white-space: nowrap; }
.gnb > a::after, .gnb-item > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s; }
.gnb > a:hover::after, .gnb > a.active::after, .gnb-item > a:hover::after, .gnb-item > a.active::after, .gnb-item:hover > a::after, .gnb-item:focus-within > a::after { right: 0; }
.gnb > a.active, .gnb-item > a.active { color: var(--brown); }
.all-menu { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; background: var(--brown); color: #fff; border: 0; font-size: 15px; font-weight: 500; }
.all-menu:hover { background: var(--brown-2); }
.bars { display: grid; gap: 4px; width: 18px; }
.bars i { display: block; height: 2px; background: var(--gold-light); transition: transform .25s, opacity .25s; }
.all-menu[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.all-menu[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.all-menu[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid var(--gold); box-shadow: 0 24px 40px rgba(51, 39, 30, .16); max-height: calc(100vh - var(--header-h) - 38px); overflow: auto; }
.mega.open { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding-top: 38px; padding-bottom: 30px; }
.mega-col { padding: 0 18px; border-left: 1px solid var(--line); }
.mega-col:first-child { border-left: 0; padding-left: 0; }
.mega-col h3 { font-size: 18px; font-weight: 700; color: var(--brown); padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-col h3 a:hover { color: var(--gold-text); }
.mega-col li a { display: block; padding: 6px 0; color: #54463a; font-size: 14.5px; line-height: 1.4; }
.mega-col li a:hover { color: var(--gold-text); padding-left: 6px; transition: padding .15s; }
.mega-foot { display: flex; gap: 32px; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mega-foot a { color: var(--brown); font-weight: 500; }
.scrim { display: none; position: fixed; inset: 0; background: rgba(33, 25, 18, .45); z-index: 40; }
.scrim.on { display: block; }

/* ---------- 공통 ---------- */
.page { display: none; }
.page.active { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; font-size: 15px; font-weight: 500; border: 1px solid transparent; letter-spacing: 0; transition: background .2s, color .2s, border-color .2s; }
.btn.gold { background: var(--gold-grad); color: var(--brown-deep); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn.line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn.dark { background: var(--brown); color: #fff; }
.btn.dark:hover { background: var(--brown-2); }
.btn.out { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn.out:hover { background: var(--brown); color: #fff; }
.btn.small { padding: 11px 20px; font-size: 14px; }

.inline-go { display: inline-flex; gap: 6px; margin-left: 4px; color: var(--gold-text); font-weight: 500; border-bottom: 1px solid currentColor; line-height: 1.4; }
.inline-go i { font-style: normal; transition: transform .2s; }
.inline-go:hover i { transform: translateX(4px); }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 78% 40%, #6a5441 0%, var(--brown) 55%, var(--brown-deep) 100%); color: #fff; padding: 112px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(227, 200, 136, .05) 0 1px, transparent 1px 120px); }
.hero-mark { position: absolute; right: 7%; top: 50%; width: min(420px, 34vw); transform: translateY(-52%); opacity: .94; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.hero .wrap { position: relative; }
.hero h1 { font-size: 68px; font-weight: 300; line-height: 1.22; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 30px; max-width: 520px; font-size: 18px; font-weight: 300; line-height: 1.85; color: #e1d6c7; }
.hero-actions { margin-top: 42px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tel { margin-top: 30px; font-size: 14.5px; color: #bfae98; }
.hero-tel a { color: var(--gold-light); font-size: 20px; font-weight: 500; margin-left: 10px; letter-spacing: 0; }

/* ---------- 세 개의 문 ---------- */
.portals { position: relative; z-index: 2; border-top: 3px solid var(--gold); }
.portal-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.portal { position: relative; min-height: 500px; overflow: hidden; color: #fff; background: var(--brown); border-left: 1px solid rgba(227, 200, 136, .22); }
.portal:first-child { border-left: 0; }
.portal > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.portal::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(51, 39, 30, 0) 30%, rgba(40, 30, 22, .94) 100%); }
.portal:hover > img { transform: scale(1.06); }
.portal-body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 36px 36px; pointer-events: none; }
.portal-body h2 { font-size: 50px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; }
.portal-body h2::after { content: ""; display: block; width: 36px; height: 2px; margin: 14px 0 14px; background: var(--gold); transition: width .4s; }
.portal:hover .portal-body h2::after { width: 90px; }
.portal-body p { font-size: 15px; font-weight: 400; color: #eadfcf; }
.portal-links { display: flex; gap: 20px; margin-top: 20px; pointer-events: auto; }
.portal-links a { position: relative; z-index: 4; font-size: 14px; color: var(--gold-light); border-bottom: 1px solid rgba(227, 200, 136, .5); padding-bottom: 2px; }
.portal-links a:hover { color: #fff; border-color: #fff; }
.portal-main { position: absolute; inset: 0; z-index: 2; }

/* ---------- 섹션 ---------- */
.band { padding: 104px 0; }
.band.tint { background: var(--beige); }
.band-grid { display: grid; grid-template-columns: 290px 1fr; gap: 72px; align-items: start; }
.band-grid > header, .band-head { position: relative; }
.band-grid > header h2, .band-head h2 { font-size: 34px; font-weight: 400; line-height: 1.35; letter-spacing: -0.03em; color: var(--brown); padding-top: 22px; }
.band-grid > header h2::before, .band-head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--gold); }
.band-grid > header p, .band-head p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.band-head { margin-bottom: 48px; }

.situations li a { display: flex; align-items: center; gap: 20px; padding: 28px 8px; border-top: 1px solid var(--line); transition: padding .25s, background .25s; }
.situations li:last-child a { border-bottom: 1px solid var(--line); }
.s-text { flex: 1; font-size: 21px; font-weight: 300; letter-spacing: -0.025em; }
.s-tag { font-size: 13px; color: var(--gold-text); border: 1px solid var(--gold); padding: 2px 12px; white-space: nowrap; }
.situations i, .tool-row i, .other i { font-style: normal; font-size: 22px; color: var(--gold-text); transition: transform .25s; }
.situations li a:hover { padding-left: 22px; background: var(--beige); }
.situations li a:hover i { transform: translateX(6px); }

.tool-rows { display: block; }
.tool-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 8px; border-top: 1px solid #d3c7b8; transition: padding .25s; }
.tool-row:last-child { border-bottom: 1px solid #d3c7b8; }
.tool-row b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.025em; color: var(--brown); }
.tool-row small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.tool-row:hover { padding-left: 22px; }
.tool-row:hover i { transform: translateX(6px); }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--brown); }
.areas a { display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 30px; border-left: 1px solid var(--line); min-height: 220px; transition: background .25s; }
.areas a:first-child { border-left: 0; padding-left: 0; }
.areas b { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; color: var(--brown); line-height: 1.4; }
.areas span { font-size: 14.5px; color: var(--muted); }
.areas i { margin-top: auto; font-style: normal; font-size: 14px; color: var(--gold-text); }
.areas a:hover { background: var(--beige); }
.areas a:first-child:hover { padding-left: 16px; }

.col-list { border-top: 2px solid var(--brown); }
.col-item { display: flex; align-items: flex-start; gap: 22px; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: padding .25s; }
a.col-item:hover { padding-left: 20px; background: rgba(255, 255, 255, .6); }
.col-item .badge { flex: none; margin-top: 4px; min-width: 52px; text-align: center; font-size: 12.5px; color: #fff; background: var(--brown); padding: 2px 10px; }
.col-item h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; }
.col-item p { margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.col-item .go { margin-left: auto; color: var(--gold-text); font-size: 20px; align-self: center; }
a.col-item:hover h3 { color: var(--gold-text); }
.empty-col { padding: 28px 8px; color: var(--muted); }

/* ---------- 오시는 길 ---------- */
.visit { background: radial-gradient(800px 400px at 20% 50%, #5a4636 0%, var(--brown) 55%, var(--brown-deep) 100%); color: #fff; padding: 96px 0; }
.visit .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 96px; align-items: center; }
.visit-logo { width: 100%; max-width: 300px; }
.visit-info h2 { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.addr { margin-top: 16px; font-size: 18px; font-weight: 300; color: #e5dacb; }
.visit-contacts { margin-top: 26px; border-top: 1px solid rgba(227, 200, 136, .3); }
.visit-contacts li { display: flex; gap: 24px; padding: 13px 0; border-bottom: 1px solid rgba(227, 200, 136, .3); font-size: 17px; }
.visit-contacts span { width: 80px; color: #bfae98; font-size: 14px; padding-top: 2px; }
.visit-contacts a { color: var(--gold-light); font-weight: 500; }
.visit-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 서비스 페이지 ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 80% 50%, #66513f 0%, var(--brown) 58%, var(--brown-deep) 100%); color: #fff; min-height: 440px; display: flex; align-items: center; }
.page-hero.plain { min-height: 300px; }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.ph-art { position: absolute; z-index: 1; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.ph-text { max-width: 560px; padding: 64px 0; }
.crumb { font-size: 13.5px; color: #bfae98; margin-bottom: 20px; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 8px; color: #8d7a66; }
.page-hero h1 { font-size: 60px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.2; }
.page-hero.plain h1 { font-size: 46px; }
.page-hero .lead { margin-top: 22px; font-size: 17px; font-weight: 300; line-height: 1.85; color: #e1d6c7; }
.page-hero .lead b { color: var(--gold-light); font-weight: 500; }
.ph-actions { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }

.subnav { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 17px 20px; font-size: 15px; color: #54463a; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--brown); border-bottom-color: var(--gold); }
.subnav .sub-contact { margin-left: auto; color: var(--gold-text); font-weight: 500; }

.facts { border-top: 2px solid var(--brown); }
.fact { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.fact dt { font-weight: 500; color: var(--brown); }
.fact dd { font-size: 16px; color: #3e3228; }
.fact dd b { color: var(--gold-text); font-weight: 700; }
.fact dd small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.mini-title { margin: 56px 0 16px; font-size: 19px; font-weight: 500; color: var(--brown); }
.rate { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--brown); }
.rate th { padding: 12px 14px; text-align: left; font-weight: 500; color: var(--brown); background: var(--beige); border-bottom: 1px solid var(--line); }
.rate td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rate th:nth-child(n+2), .rate td:nth-child(n+2) { text-align: right; }

.flow { position: relative; }
.flow::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: #cbbca7; }
.flow li { position: relative; padding: 0 0 38px 44px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; background: var(--beige); border: 2px solid var(--gold); border-radius: 50%; }
.flow h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; color: var(--brown); }
.flow p { margin-top: 6px; color: #54463a; }
.when { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--gold-text); border: 1px solid var(--gold); padding: 2px 12px; }

.notes li { padding: 26px 8px 26px 36px; border-top: 1px solid var(--line); position: relative; }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li::before { content: ""; position: absolute; left: 6px; top: 40px; width: 14px; height: 2px; background: var(--gold); }
.notes strong { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.025em; color: var(--brown); }
.notes span { display: block; margin-top: 6px; color: #54463a; }
.notes .inline-go { margin: 10px 0 0; }

.others .wrap { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.other { position: relative; display: block; padding: 46px 40px 46px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.other + .other { padding-left: 40px; border-left: 1px solid var(--line); }
.other small { display: block; font-size: 13px; color: var(--gold-text); }
.other b { display: block; margin-top: 6px; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: var(--brown); }
.other span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.other i { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.other:hover i { transform: translateY(-50%) translateX(6px); }
.other:hover { background: var(--beige); }

.cta-band { background: var(--brown); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.cta-band p { margin-top: 10px; color: #d6c9b7; font-weight: 300; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 도구 페이지 ---------- */
.tool-page { padding-top: 64px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab { background: none; border: 0; padding: 16px 30px; font-size: 17px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--brown); }
.tab.active { color: var(--brown); border-bottom-color: var(--gold); }

.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 40px; align-items: start; }
.panel { border: 1px solid var(--line); padding: 36px 36px 40px; background: #fff; }
.panel h3 { font-size: 21px; font-weight: 500; color: var(--brown); padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--brown); letter-spacing: -0.025em; }

.field { margin-bottom: 22px; }
.field label, .field .lbl { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field .sublbl { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.field .hint { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #cfc3b3; border-radius: 0; font: inherit; font-size: 16px; color: var(--ink); background: #fff; appearance: none; -webkit-appearance: none; }
select.input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2349382A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
textarea.input { height: auto; min-height: 150px; padding: 14px; resize: vertical; line-height: 1.7; }
.input:focus { outline: 0; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(201, 164, 104, .35); }
.money { position: relative; }
.money .input { padding-right: 66px; text-align: right; font-size: 18px; font-weight: 500; letter-spacing: 0; }
.money .unit { position: absolute; right: 16px; top: 0; line-height: 50px; color: var(--muted); font-size: 14.5px; }
.money .read { display: block; text-align: right; min-height: 20px; margin-top: 5px; font-size: 13px; color: var(--gold-text); font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 15px; cursor: pointer; }
.check input { flex: none; margin-top: 6px; width: 17px; height: 17px; accent-color: var(--brown); }
.check small { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }
.sub { display: none; }
.sub.on { display: block; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.form-error { margin-top: 12px; font-size: 14px; color: var(--red); min-height: 20px; }

.result { position: sticky; top: calc(var(--header-h) + 24px); padding: 40px 36px; background: radial-gradient(500px 300px at 70% 0%, #5f4b3a, var(--brown) 60%, var(--brown-deep)); color: #eadfcf; }
.result .empty { color: #bfae98; font-size: 15px; font-weight: 300; }
.result .big-label { font-size: 14px; color: #bfae98; }
.result .big { margin-top: 8px; font-size: 40px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-all; }
.result .big-sub { margin-top: 6px; font-size: 14px; color: #cdbfae; }
.result table { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: 14.5px; }
.result td { padding: 10px 0; border-top: 1px solid rgba(227, 200, 136, .22); vertical-align: top; }
.result td:last-child { text-align: right; padding-left: 14px; color: #fff; word-break: keep-all; }
.result tr.em td { color: var(--gold-light); font-weight: 500; }
.result .note { margin-top: 12px; padding-left: 12px; position: relative; font-size: 13px; color: #d6c9b7; line-height: 1.65; }
.result .note::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--gold); }
.result .err { color: #ffb4a8; font-size: 15px; }

.notice { margin-top: 56px; padding: 22px 26px; background: var(--beige); border-left: 3px solid var(--gold); font-size: 14px; color: #54463a; line-height: 1.8; }
.notice b { color: var(--brown); }

/* ---------- 필요서류 ---------- */
.doc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.doc-head-main { flex: 1; min-width: 240px; }
.doc-head-main strong { font-size: 24px; font-weight: 500; color: var(--brown); letter-spacing: -0.03em; }
.doc-head-main span { font-size: 13.5px; color: var(--muted); }
.doc-head-actions { display: flex; gap: 8px; }
.progress { height: 6px; background: var(--beige-2); margin: 12px 0 6px; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .25s; }
.doc-group { margin-top: 36px; }
.doc-group h3 { font-size: 18px; font-weight: 500; color: var(--brown); padding-bottom: 12px; border-bottom: 2px solid var(--brown); }

/* ---------- 일정 계산 ---------- */
.sch-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; align-items: start; }
.empty-line { color: var(--muted); padding: 10px 0; }
.timeline { border-top: 2px solid var(--brown); }
.tl-item { display: grid; grid-template-columns: 170px 1fr auto; gap: 22px; padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: start; }
.tl-item .date { font-size: 18px; font-weight: 500; color: var(--brown); letter-spacing: -0.02em; }
.tl-item .date small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.tl-item h4 { font-size: 17px; font-weight: 500; }
.tl-item p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.tl-item .dday { font-size: 13px; font-weight: 500; color: var(--gold-text); border: 1px solid var(--gold); padding: 2px 12px; white-space: nowrap; }
.tl-item .dday.past { color: #9a8d7e; border-color: #d9d0c3; }
.tl-item.key { background: var(--beige); }
.tl-item.key .date { color: var(--red); }
.sch-actions { display: none; margin-top: 18px; }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
.ct-out { display: none; }
.summary-box { padding: 24px; background: var(--beige); border: 1px solid var(--line); white-space: pre-wrap; font-size: 15px; line-height: 1.9; }
.ct-out .notice { margin-top: 20px; }
.office { padding: 40px 36px; background: var(--beige); border-top: 3px solid var(--gold); }
.office-logo { height: 54px; width: auto; margin-bottom: 28px; }
.office dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.office dt { color: var(--muted); font-size: 14px; padding-top: 2px; }
.office dd { font-weight: 500; }
.office dd a { color: var(--brown); }
.office dd a:hover { color: var(--gold-text); }
.office-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 푸터 / 플로팅 ---------- */
.site-footer { background: var(--brown-deep); color: #bfb09d; font-size: 14px; padding-top: 72px; }
.foot-top { display: grid; grid-template-columns: 380px 1fr; gap: 80px; padding-bottom: 56px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 26px; }
.foot-brand p { margin-top: 6px; line-height: 1.75; }
.foot-brand a:hover, .foot-menu a:hover { color: var(--gold-light); }
.foot-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot-menu h4 { font-size: 15px; font-weight: 500; color: #fff; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(227, 200, 136, .25); }
.foot-menu li a { display: block; padding: 4px 0; }
.foot-bottom { padding-top: 24px; padding-bottom: 36px; border-top: 1px solid rgba(227, 200, 136, .18); font-size: 12.5px; color: #92846f; line-height: 1.8; }

.float-nav { position: fixed; right: 22px; bottom: 24px; z-index: 45; display: grid; gap: 8px; }
.float-nav a, .float-nav button { display: grid; place-items: center; width: 62px; height: 62px; background: var(--brown); color: var(--gold-light); border: 1px solid rgba(227, 200, 136, .45); font-size: 12px; line-height: 1.35; text-align: center; box-shadow: 0 10px 24px rgba(51, 39, 30, .28); }
.float-nav a:hover, .float-nav button:hover { background: var(--brown-2); }
.float-nav button { height: 44px; font-size: 13px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .gnb { display: none; }
  .all-menu { margin-left: auto; }
  .hero h1 { font-size: 54px; }
  .band-grid { grid-template-columns: 220px 1fr; gap: 44px; }
  .foot-top { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 860px) {
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; padding-top: 28px; }
  .mega-col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .mega-foot { flex-direction: column; gap: 6px; }
  .portal-row { grid-template-columns: 1fr; }
  .portal { min-height: 380px; border-left: 0; border-top: 1px solid rgba(227, 200, 136, .22); }
  .hero { padding: 76px 0 84px; }
  .hero-mark { opacity: .22; right: -60px; width: 380px; }
  .hero h1 { font-size: 42px; }
  .band { padding: 72px 0; }
  .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .areas a { min-height: 0; }
  .areas a:nth-child(3) { border-left: 0; padding-left: 0; }
  .areas a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .visit .wrap { grid-template-columns: 1fr; gap: 40px; }
  .visit-logo { max-width: 220px; }
  .page-hero { min-height: 0; }
  .ph-art { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .ph-text { padding: 48px 0; }
  .page-hero h1 { font-size: 42px; }
  .page-hero.plain h1 { font-size: 36px; }
  .fact { grid-template-columns: 1fr; gap: 8px; }
  .others .wrap { grid-template-columns: 1fr; }
  .other, .other + .other { padding: 32px 40px 32px 0; border-left: 0; }
  .calc-grid, .contact-grid, .sch-grid { grid-template-columns: 1fr; }
  .result { position: static; max-height: none; overflow: visible; }
  .foot-menu { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-item .dday { justify-self: start; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .topbar-links a:nth-child(n+2) { display: none; }
  .logo img { height: 38px; }
  .all-menu-text { display: none; }
  .all-menu { padding: 0 14px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .portal-body { padding: 0 24px 28px; }
  .portal-body h2 { font-size: 40px; }
  .band-grid > header h2, .band-head h2 { font-size: 28px; }
  .s-text { font-size: 18px; }
  .s-tag { display: none; }
  .tool-row b { font-size: 19px; }
  .areas { grid-template-columns: 1fr; }
  .areas a, .areas a:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .areas a:first-child { border-top: 0; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-col { border-left: 0; padding: 0; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 26px 20px 30px; }
  .result { padding: 30px 22px; }
  .result .big { font-size: 32px; }
  .tab { padding: 14px 16px; font-size: 15px; }
  .foot-menu { grid-template-columns: 1fr; }
  .float-nav a, .float-nav button { width: 52px; height: 52px; font-size: 11px; }
  .float-nav button { height: 40px; }
  .cta-band h2 { font-size: 26px; }
  .col-item { flex-wrap: wrap; gap: 10px; }
  .page-hero h1 { font-size: 36px; }
}

/* ---------- 상속세 계산기: 항목 묶음 / 수증자 행 / 날짜 ---------- */
.group { margin: 0 0 30px; padding: 0; border: 0; border-top: 1px solid var(--line); }
.group legend { padding: 0 12px 0 0; margin-left: 0; font-size: 16px; font-weight: 500; color: var(--brown); }
.group > .field:first-of-type, .group > p.hint + #giftRows { margin-top: 18px; }
.group > legend + .field { margin-top: 14px; }
.sum-line { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 0; padding: 14px 16px; background: var(--beige); font-size: 14.5px; color: var(--brown); border-left: 3px solid var(--gold); }
.sum-line b { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.gift-row { margin: 0 0 16px; padding: 18px 18px 4px; border: 1px solid var(--line); background: #fcfaf7; }
.gift-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gift-row-head b { color: var(--brown); font-weight: 500; }
.gr-del { background: none; border: 0; padding: 4px 2px; font-size: 13px; color: var(--muted); border-bottom: 1px solid currentColor; }
.gr-del:hover { color: var(--red); }
#giftAdd { margin-top: 4px; }
.input.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(168, 55, 43, .15); }

/* ---------- 필요서류 ---------- */
.tabs-grouped { display: flex; flex-wrap: wrap; gap: 14px 40px; border-bottom: 1px solid var(--line); }
.tab-group { display: flex; flex-direction: column; }
.tab-group-label { font-size: 12.5px; letter-spacing: .08em; color: var(--gold-text); padding: 0 2px 2px; }
.tab-row { display: flex; flex-wrap: wrap; gap: 0 2px; }
.tabs-grouped .tab { padding: 10px 14px 12px; font-size: 15.5px; }
.doc-lead { margin: 26px 0 0; padding: 18px 22px; background: var(--beige); border-left: 3px solid var(--gold); color: #54463a; font-size: 15px; line-height: 1.8; }
.doc-item { display: grid; grid-template-columns: 30px minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px 22px; padding: 20px 8px; border-bottom: 1px solid var(--line); align-items: start; transition: background .2s; }
.doc-item:hover { background: #faf7f2; }
.doc-item input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--brown); cursor: pointer; }
.doc-item .tt { display: block; font-size: 16.5px; line-height: 1.55; cursor: pointer; }
.doc-item .who { display: inline-block; margin-left: 8px; padding: 0 9px; font-style: normal; font-size: 12px; color: var(--gold-text); border: 1px solid var(--gold); vertical-align: 1px; white-space: nowrap; }
.doc-item .t small { display: block; margin-top: 5px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.doc-item .w { font-size: 14px; color: #54463a; }
.doc-item .w-label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.doc-item .w-text { display: block; margin-top: 2px; line-height: 1.55; }
.w-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.w-links a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: 13px; font-weight: 500; color: var(--brown); border: 1px solid var(--brown); background: #fff; transition: background .2s, color .2s; }
.w-links a::after { content: "\2197"; font-size: 12px; color: var(--gold-text); }
.w-links a:hover { background: var(--brown); color: #fff; }
.w-links a:hover::after { color: var(--gold-light); }
.doc-item.done .tt { color: #a89a8a; text-decoration: line-through; }
.doc-notes { display: none; margin-top: 36px; padding: 22px 26px; border: 1px solid var(--line); }
.doc-notes h4 { font-size: 16px; font-weight: 500; color: var(--brown); margin-bottom: 8px; }
.doc-notes li { position: relative; padding: 4px 0 4px 16px; font-size: 14.5px; color: #54463a; line-height: 1.75; }
.doc-notes li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 2px; background: var(--gold); }
@media (max-width: 860px) {
  .doc-item { grid-template-columns: 28px 1fr; }
  .doc-item .w { grid-column: 2; padding-top: 4px; }
  .tabs-grouped { gap: 12px 24px; }
}

@media (max-width: 1280px) { .hdr { gap: 20px; } .gnb { gap: 22px; font-size: 15px; } }
@media (max-width: 1120px) { .gnb { gap: 16px; font-size: 14px; } }

/* ---------- 대표세무사 소개 · 사무실 사진 ---------- */
.about { display: grid; grid-template-columns: 190px 1fr; gap: 44px; align-items: center; margin-top: 36px; }
.about-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--beige, #efe8dd); border-bottom: 3px solid var(--gold); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-role { font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.about-body h3 { font-size: 40px; font-weight: 400; color: var(--brown); letter-spacing: -0.02em; margin-top: 6px; }
.about-lead { margin-top: 20px; font-size: 18px; line-height: 1.75; color: var(--ink, #3a2f27); max-width: 560px; }
.about-facts { margin-top: 28px; border-top: 1px solid var(--line, #e0d6c8); max-width: 560px; }
.about-facts li { display: flex; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line, #e0d6c8); font-size: 16px; }
.about-facts span { width: 56px; flex: none; color: var(--muted); font-size: 14px; padding-top: 2px; }
.about-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #e9e1d5; }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.office-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.office-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 170px; }
  .about-body h3 { font-size: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* 경력 */
.career { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line, #e0d6c8); }
.career-head h3 { font-size: 26px; font-weight: 400; color: var(--brown); letter-spacing: -0.02em; }
.career-hist { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.career-hist li { font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.career-hist span { color: var(--gold-deep, #9c7a45); font-size: 14px; min-width: 18px; }
.career-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.career-grid h4 { font-size: 17px; font-weight: 500; color: var(--brown); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.career-grid li { padding: 11px 0; border-bottom: 1px solid var(--line, #e0d6c8); font-size: 15px; line-height: 1.6; }
.career-grid small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .career-grid { grid-template-columns: 1fr; gap: 28px; } }

.career-grid li b { color: #b3261e; font-weight: 500; white-space: nowrap; }

.gnb-sep { flex: none; align-self: center; width: 1px; height: 14px; background: var(--line, #d8cdbd); margin: 0 -6px; }

.req-box { margin: 6px 0 18px; padding: 18px 18px 6px; background: var(--beige, #f4efe6); border: 1px solid var(--line, #e0d6c8); }
.req-box .req-title { font-weight: 500; color: var(--brown); margin-bottom: 12px; }
.req-box .req-title small { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }

/* 납부방법 */
.pay-note { margin-bottom: 22px; padding: 16px 20px; background: #fff; border-left: 3px solid var(--gold); font-size: 15px; line-height: 1.7; color: #54463a; }
.pay-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pay-card { background: #fff; border: 1px solid var(--line); padding: 28px 30px 26px; }
.pay-card header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.pay-card h3 { font-size: 22px; font-weight: 500; color: var(--brown); }
.pay-tag { font-size: 13px; color: var(--gold-text); background: #f4efe6; padding: 3px 10px; }
.pay-sum { margin-top: 16px; font-size: 16px; line-height: 1.7; color: #3a2f27; }
.pay-rows { margin-top: 14px; border-top: 1px solid var(--line); }
.pay-rows > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.65; }
.pay-rows dt { color: var(--muted); }
.pay-rows b { color: var(--brown); font-weight: 500; }
.pay-card h4 { margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--brown); }
.pay-todo { margin-top: 8px; counter-reset: pt; }
.pay-todo li { counter-increment: pt; position: relative; padding: 7px 0 7px 30px; font-size: 15px; line-height: 1.65; color: #3a2f27; }
.pay-todo li::before { content: counter(pt); position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--brown); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.pay-caution { margin-top: 14px; padding: 12px 14px; background: #f7f2ea; font-size: 14px; line-height: 1.65; color: #6b5a4b; }
@media (max-width: 860px) { .pay-card { padding: 22px 18px; } .pay-rows > div { grid-template-columns: 1fr; gap: 2px; } }

/* 필요서류: 내 상황 체크 */
.doc-sit { margin: 28px 0 26px; padding: 22px 24px 24px; background: var(--beige); border: 1px solid #e4d9c6; border-top: 3px solid var(--gold); }
.doc-sit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.doc-sit-head strong { font-size: 18px; font-weight: 500; color: var(--brown); }
.doc-sit-head span { font-size: 14px; color: var(--muted); }
.sit-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sit-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; background: #fff; border: 1px solid #d9ccb6; font-size: 14.5px; line-height: 1.4; color: #54463a; cursor: pointer; transition: border-color .15s, background .15s; }
.sit-chip:hover { border-color: var(--gold); }
.sit-chip input { width: 17px; height: 17px; margin: 0; accent-color: var(--brown); cursor: pointer; flex: none; }
.sit-chip.on { background: var(--brown); border-color: var(--brown); color: #fff; }
.sit-chip.on input { accent-color: var(--gold); }
.doc-sit-hint { margin: 18px 0 0; font-size: 14px; color: var(--gold-text); }
@media (max-width: 640px) { .doc-sit { padding: 18px 16px 20px; } .sit-chip { padding: 9px 13px; font-size: 14px; } }

.sit-group { margin-top: 18px; }
.sit-group:first-child { margin-top: 14px; }
.sit-group-label { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--gold-text); }
.sit-group .sit-list { margin-top: 8px; }

/* 대표 소개 팝업 */
.intro-pop[hidden] { display: none; }
.intro-pop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.intro-backdrop { position: absolute; inset: 0; background: rgba(33, 25, 18, .55); }
.intro-box { position: relative; width: min(920px, 100%); max-height: min(88vh, 880px); display: flex; flex-direction: column; background: #fff; border-top: 4px solid var(--gold); box-shadow: 0 24px 70px rgba(33, 25, 18, .35); }
.intro-x { position: absolute; top: 8px; right: 12px; z-index: 2; width: 40px; height: 40px; font-size: 28px; line-height: 1; color: var(--brown); background: none; border: 0; cursor: pointer; }
.intro-scroll { overflow-y: auto; padding: 34px 40px 30px; -webkit-overflow-scrolling: touch; }
.intro-kicker { font-size: 13px; letter-spacing: .12em; color: var(--gold-text); margin-bottom: 4px; }
.intro-pop .about { margin-top: 18px; grid-template-columns: 170px 1fr; gap: 32px; align-items: start; }
.intro-pop .about-body h3 { font-size: 34px; }
.intro-pop .about-lead { font-size: 16px; margin-top: 14px; }
.intro-pop .about-facts { margin-top: 18px; }
.intro-pop .about-facts li { padding: 9px 0; font-size: 15px; }
.intro-pop .about-actions { margin-top: 18px; }
.intro-pop .career { margin-top: 30px; padding-top: 26px; }
.intro-pop .career-head h3 { font-size: 21px; }
.intro-pop .career-grid { margin-top: 20px; gap: 28px; }
.intro-pop .career-grid li { font-size: 14px; padding: 9px 0; }
.intro-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 40px; background: var(--beige); border-top: 1px solid #e4d9c6; }
.intro-skip { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: #54463a; cursor: pointer; }
.intro-skip input { width: 17px; height: 17px; accent-color: var(--brown); cursor: pointer; }
@media (max-width: 960px) { .intro-pop .career-grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 640px) {
  .intro-pop { padding: 12px; }
  .intro-scroll { padding: 28px 20px 22px; }
  .intro-pop .about { grid-template-columns: 96px 1fr; gap: 16px; }
  .intro-pop .about-body h3 { font-size: 26px; }
  .intro-pop .about-lead { font-size: 14.5px; }
  .intro-foot { padding: 12px 20px; }
}
.intro-box:focus { outline: none; }

/* 세무조사 페이지 */
.audit-pane { display: none; margin-top: 8px; }
.audit-intro { margin-top: 30px; padding: 22px 26px; background: var(--beige); border-left: 3px solid var(--gold); }
.audit-intro h3 { font-size: 22px; font-weight: 500; color: var(--brown); letter-spacing: -0.02em; }
.audit-intro p { margin-top: 10px; font-size: 15.5px; line-height: 1.85; color: #54463a; }
.audit-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 34px; }
.audit-cols h4, .audit-sub { font-size: 17px; font-weight: 500; color: var(--brown); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.audit-sub { margin-top: 38px; }
.audit-cols li { position: relative; padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line, #e0d6c8); font-size: 15px; line-height: 1.7; color: #3a2f27; }
.audit-cols li::before { content: ""; position: absolute; left: 0; top: 21px; width: 5px; height: 5px; background: var(--gold); }
.audit-note { margin-top: 20px; font-size: 14.5px; line-height: 1.8; color: var(--gold-text); }
.audit-pane .rate { margin-top: 16px; }
.audit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fund-box { margin-top: 44px; padding: 34px 32px 30px; background: #fff; border: 1px solid #e4d9c6; border-top: 3px solid var(--brown); }
.fund-title { font-size: 24px; font-weight: 500; color: var(--brown); letter-spacing: -0.02em; }
.fund-lead { margin: 10px 0 26px; font-size: 15px; line-height: 1.8; color: #54463a; }
.fs-group { margin: 26px 0 4px; padding-bottom: 8px; font-size: 15.5px; font-weight: 500; color: var(--brown); border-bottom: 1px solid var(--line, #e0d6c8); }
.fund-disclaimer { margin-top: 22px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.big.risk { font-size: 34px; }
.big.risk-high { color: #b3261e; }
.big.risk-mid { color: #b36b00; }
.big.risk-low { color: #2e6b3f; }
@media (max-width: 640px) { .fund-box { padding: 24px 16px 22px; } .audit-intro { padding: 18px 18px; } }

/* 메인 포털 6칸, 전체메뉴 7열 */
.portal { min-height: 430px; }
.portal:nth-child(3n+1) { border-left: 0; }
.portal:nth-child(n+4) { border-top: 1px solid rgba(227, 200, 136, .22); }
.portal-body h2 { font-size: 44px; }
.mega-grid { grid-template-columns: repeat(7, 1fr); }
.mega-col { padding: 0 14px; }
.mega-col li a { font-size: 14px; }
@media (max-width: 960px) { .portal:nth-child(n+2) { border-top: 1px solid rgba(227, 200, 136, .22); } }

/* 세무조사 페이지: 여백 축소 */
.page.tight .band { padding: 56px 0; }
.page.tight .band-grid { gap: 48px; }
.page.tight .band-head { margin-bottom: 26px; }
.page.tight .cta-band { padding-top: 48px; padding-bottom: 48px; }
.page.tight .others { padding-top: 0; }
.page.tight .flow li { padding: 0 0 20px 44px; }
.page.tight .flow li:last-child { padding-bottom: 0; }
.page.tight .notes li { padding: 16px 8px 16px 36px; }
.page.tight .notes li::before { top: 29px; }
.page.tight .tool-row { padding: 18px 8px; }
.page.tight .audit-intro { margin-top: 22px; }
@media (max-width: 640px) { .page.tight .band { padding: 40px 0; } }

/* 푸터: 메뉴 제거 */
.foot-top { grid-template-columns: 1fr; padding-bottom: 40px; }

/* 찾아오시는 길 약도 */
.visit .visit-map { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; margin-top: 72px; padding-top: 56px; border-top: 1px solid rgba(227, 200, 136, .3); }
.route-card { background: #fff; border: 1px solid rgba(227, 200, 136, .45); overflow: hidden; }
.route-svg { display: block; width: 100%; height: auto; }
.mp-bg { fill: #fff; }
.mp-bld { fill: #e7eaef; stroke: #d5dae2; stroke-width: 1; stroke-linejoin: round; }
.mp-sub { fill: #ecd9a6; stroke: #dcc486; stroke-width: 1; }
.mp-t { fill: #3b4350; font-size: 15px; font-weight: 500; font-family: inherit; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.mp-st-name { font-size: 17px; font-weight: 700; fill: #2a2f38; }
.mp-road { fill: #7a8493; font-size: 15px; letter-spacing: .12em; text-anchor: middle; font-family: inherit; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.mp-ex circle { fill: #f4c63a; stroke: #fff; stroke-width: 1.5; } .mp-ex text { fill: #3b3320; font-size: 12px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.mp-st circle { fill: #9a6b13; stroke: #fff; stroke-width: 2.5; } .mp-st text { fill: #fff; font-size: 15px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.route-case, .route-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: routeDraw 6s ease-in-out infinite; }
.route-case { stroke: #fff; stroke-width: 11; }
.route-line { stroke: #e0352b; stroke-width: 5.5; }
@keyframes routeDraw { 0% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.route-dot { fill: #fff; stroke: #e0352b; stroke-width: 4; }
.exit4 circle { fill: #f4c63a; stroke: #e0352b; stroke-width: 3; } .exit4 text { fill: #3b3320; font-size: 15px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.dest .core { fill: #49382A; stroke: #fff; stroke-width: 3; }
.dest .pulse { fill: rgba(73, 56, 42, .3); transform-box: fill-box; transform-origin: center; animation: pinPulse 2s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.dest-label rect { fill: #49382A; } .dest-label text { fill: #fff; font-size: 16px; font-weight: 700; text-anchor: middle; font-family: inherit; } .dest-label path { stroke: #49382A; stroke-width: 2; fill: none; }
.route-steps { counter-reset: rs; }
.route-steps li { counter-increment: rs; position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid rgba(227, 200, 136, .25); }
.route-steps li:first-child { border-top: 1px solid rgba(227, 200, 136, .25); }
.route-steps li::before { content: counter(rs); position: absolute; left: 0; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-light); color: var(--brown-deep); font-weight: 700; font-size: 14px; text-align: center; line-height: 28px; }
.route-steps b { display: block; font-size: 17px; font-weight: 500; color: #fff; }
.route-steps span { display: block; margin-top: 4px; font-size: 14.5px; color: #cdbfa9; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) { .route-line, .route-glow { animation: none; stroke-dashoffset: 0; } .dest .pulse { animation: none; } .route-dot { display: none; } }
@media (max-width: 960px) { .visit .visit-map { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; padding-top: 40px; } }

/* 약도 v3: 넓게, 안내는 아래 4열 */
.visit .visit-map { grid-template-columns: 1fr; gap: 36px; }
.route-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.route-steps li, .route-steps li:first-child { padding: 56px 0 0; border: 0; border-top: 1px solid rgba(227, 200, 136, .3); }
.route-steps li::before { top: 16px; }
.mp-bld { fill: #e3e7ed; stroke: #c9d0da; stroke-width: 1.2; stroke-linejoin: miter; }
.mp-t { font-size: 12.5px; }
.mp-pin { stroke: #fff; stroke-width: 1.5; }
.mp-p { fill: #fff; font-size: 12px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.mp-road.s { font-size: 12px; fill: #8a94a3; letter-spacing: .06em; }
@media (max-width: 960px) { .route-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .route-steps { grid-template-columns: 1fr; gap: 0; } .route-steps li { padding: 14px 0 14px 48px; border-top: 1px solid rgba(227,200,136,.25); } .route-steps li::before { top: 14px; } .mp-t { font-size: 13px; } }

/* 약도 이미지 + 움직이는 경로선 */
.visit .visit-map { grid-template-columns: 1fr; margin-top: 64px; padding-top: 48px; }
.route-card { position: relative; background: #faf6ee; border: 0; border-radius: 10px; overflow: hidden; line-height: 0; }
.route-card img { display: block; width: 100%; height: auto; }
.route-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.rt-case, .rt-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: rtDraw 6s ease-in-out infinite; }
.rt-case { stroke: #fff; stroke-width: 15; opacity: .9; }
.rt-line { stroke: #5a3a22; stroke-width: 8; }
.rt-dot { fill: #fff; stroke: #5a3a22; stroke-width: 5; }
@keyframes rtDraw { 0% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rt-case, .rt-line { animation: none; stroke-dashoffset: 0; } .rt-dot { display: none; } }

/* 상담 문의 페이지: 네이버폼 안내 */
.ct-lead { margin: 12px 0 18px; line-height: 1.85; color: #54463a; }
.ct-points { margin-bottom: 14px; }
.ct-points li { position: relative; padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: #3a2f27; }
.ct-points li::before { content: ""; position: absolute; left: 0; top: 21px; width: 5px; height: 5px; background: var(--gold); }
.ct-warn { margin: 6px 0 22px; font-size: 14px; color: var(--gold-text); }

/* 계산 결과 박스: 안쪽 스크롤 없이 전체를 보여줌 */
.result { overflow: visible; max-height: none; min-width: 0; }
.result td:first-child { overflow-wrap: anywhere; }

/* 개인정보처리방침 */
.policy { max-width: 860px; }
.policy h2 { margin: 40px 0 12px; font-size: 21px; font-weight: 500; color: var(--brown); letter-spacing: -0.02em; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { line-height: 1.9; color: #3e3228; }
.policy ul { margin-top: 8px; }
.policy li { position: relative; padding-left: 16px; }
.policy li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; background: var(--gold); }
.policy-dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.policy-dl dt { color: var(--muted); font-size: 14px; }
.policy-dl a { color: var(--brown); font-weight: 500; }
.foot-bottom a { color: #d6c9b7; text-decoration: underline; text-underline-offset: 3px; }

/* ===== hero: 이럴 때 찾아주세요 패널 ===== */
.hero { padding: 84px 0 92px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 400px); justify-content: start; align-items: center; gap: 36px; }
.hero h1 { font-size: 64px; }
.hero-mark { z-index: 0; right: auto; left: calc((100% - 1136px) / 2 + 952px); width: 240px; }
.hero .wrap { z-index: 1; }
.hero-help { background: rgba(28, 20, 14, .42); border: 1px solid rgba(227, 200, 136, .30); padding: 26px 26px 14px; backdrop-filter: blur(2px); }
.hh-kicker { font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--gold-light); padding-bottom: 14px; border-bottom: 1px solid rgba(227, 200, 136, .28); }
.hero-help li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 14.5px; line-height: 1.45; color: #f1e8da; transition: color .2s, padding .2s; }
.hero-help li:last-child a { border-bottom: 0; }
.hero-help li i { font-style: normal; color: var(--gold-light); transition: transform .2s; flex: none; }
.hero-help li a:hover { color: #fff; padding-left: 10px; }
.hero-help li a:hover i { transform: translateX(5px); }
@media (max-width: 1430px) { .hero-mark { opacity: .12; left: auto; right: 3%; width: 300px; } .hero-grid { justify-content: space-between; } }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero-help { max-width: 560px; } }
@media (max-width: 640px) { .hero { padding: 56px 0 56px; } .hero-help { padding: 20px 18px 8px; } .hero-help li a { font-size: 14px; padding: 12px 2px; } }

/* ===== 강점 ===== */
.band.dark { background: linear-gradient(180deg, var(--brown-deep) 0%, #2a1f17 100%); color: #fff; }
.band.dark .band-head h2 { color: #fff; }
.band.dark .band-head p { color: #cdbfae; }
.str-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(227, 200, 136, .45); }
.str { padding: 34px 28px 8px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .10); }
.str:last-child { border-right: 0; margin-right: 0; }
.str em { display: block; font-style: normal; font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -.02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.str b { display: block; margin-top: 22px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.str span { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.75; color: #cfc2b1; }
@media (max-width: 980px) { .str-grid { grid-template-columns: 1fr 1fr; } .str { padding: 28px 20px 24px 0; margin-right: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); } .str:nth-child(2n) { margin-right: 0; } }
@media (max-width: 640px) { .str-grid { grid-template-columns: 1fr; } .str { margin-right: 0; padding: 24px 0; } .str em { font-size: 32px; } .str b { margin-top: 14px; } }

/* ===== 진행 순서 ===== */
.steps4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps4::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: var(--gold); opacity: .55; }
.steps4 li { position: relative; padding-right: 32px; }
.steps4 i { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brown); color: var(--gold-light); font-style: normal; font-size: 18px; font-weight: 500; box-shadow: 0 0 0 8px #fff; }
.steps4 b { display: block; margin-top: 24px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--brown); }
.steps4 span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.proc-cta { margin-top: 48px; }
@media (max-width: 980px) { .steps4 { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps4::before { display: none; } }
@media (max-width: 640px) { .steps4 { grid-template-columns: 1fr; row-gap: 28px; } .steps4 li { padding-left: 66px; padding-right: 0; } .steps4 i { position: absolute; left: 0; top: 0; box-shadow: none; } .steps4 b { margin-top: 0; padding-top: 11px; } .steps4::before { display: block; left: 24px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; } }

.portals { background: #fff; padding-bottom: 88px; }
@media (max-width: 640px) { .portals { padding-bottom: 56px; } }

/* ===== 메인 압축: 여백·크기 줄이기 ===== */
[data-page="home"] .hero { padding: 52px 0 56px; }
[data-page="home"] .hero h1 { font-size: 54px; }
[data-page="home"] .hero-sub { margin-top: 20px; font-size: 16.5px; line-height: 1.75; }
[data-page="home"] .hero-actions { margin-top: 28px; }
[data-page="home"] .hero-tel { margin-top: 20px; }
[data-page="home"] .hero-help { padding: 22px 24px 8px; }
[data-page="home"] .hero-help li a { padding: 10px 4px; }
[data-page="home"] .hh-kicker { padding-bottom: 12px; }
[data-page="home"] .portal { min-height: 300px; }
[data-page="home"] .portal-body { padding: 0 28px 24px; }
[data-page="home"] .portal-body h2 { font-size: 36px; }
[data-page="home"] .portal-body h2::after { margin: 10px 0 10px; }
[data-page="home"] .portal-body p { font-size: 14px; }
[data-page="home"] .portal-links { margin-top: 12px; gap: 16px; }
[data-page="home"] .portals { padding-bottom: 0; }
[data-page="home"] .band { padding: 60px 0; }
[data-page="home"] .band-head { margin-bottom: 28px; }
[data-page="home"] .band-grid { gap: 56px; grid-template-columns: 260px 1fr; }
[data-page="home"] .band-grid > header h2, [data-page="home"] .band-head h2 { font-size: 28px; padding-top: 18px; }
[data-page="home"] .band-grid > header p, [data-page="home"] .band-head p { margin-top: 10px; font-size: 14.5px; }
[data-page="home"] .str { padding: 24px 24px 4px 0; margin-right: 24px; }
[data-page="home"] .str em { font-size: 30px; }
[data-page="home"] .str b { margin-top: 14px; font-size: 19px; }
[data-page="home"] .str span { margin-top: 8px; font-size: 14px; line-height: 1.65; }
[data-page="home"] .steps4 b { margin-top: 16px; font-size: 18px; }
[data-page="home"] .steps4 span { margin-top: 6px; font-size: 14px; line-height: 1.65; }
[data-page="home"] .proc-cta { margin-top: 28px; }
[data-page="home"] .tool-row { padding: 20px 8px; }
[data-page="home"] .tool-row b { font-size: 19px; }
[data-page="home"] .tool-row small { font-size: 14px; }
[data-page="home"] .areas a { min-height: 150px; padding: 24px 24px 20px; gap: 8px; }
[data-page="home"] .areas b { font-size: 18px; }
[data-page="home"] .areas span { font-size: 14px; }
[data-page="home"] .col-item { padding: 15px 8px; }
[data-page="home"] .col-item h3 { font-size: 17.5px; }
[data-page="home"] .visit { padding: 60px 0; }
[data-page="home"] .visit .visit-map { margin-top: 44px; padding-top: 40px; }
@media (max-width: 1100px) { [data-page="home"] .portal { min-height: 260px; } }
@media (max-width: 980px) { [data-page="home"] .band-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) { [data-page="home"] .hero h1 { font-size: 36px; } [data-page="home"] .band { padding: 44px 0; } [data-page="home"] .visit { padding: 44px 0; } [data-page="home"] .portal { min-height: 230px; } }
[data-page="home"] .areas a:first-child { padding-left: 0; }
[data-page="home"] .areas a:first-child:hover { padding-left: 16px; }
[data-page="home"] .portals { padding-bottom: 44px; }

[data-page="home"] .proc-cta { display: inline-block; vertical-align: middle; margin-right: 18px; }
.proc-more { display: inline-block; vertical-align: middle; margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.proc-more b { font-weight: 500; color: var(--brown); }
@media (max-width: 640px) { [data-page="home"] .proc-cta { display: block; } .proc-more { display: block; margin-top: 16px; } }

/* ===== 메인: 세무 도구·칼럼 카드형 ===== */
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { display: flex; flex-direction: column; padding: 28px 28px 24px; background: #fff; border: 1px solid #e2d6c4; border-top: 3px solid var(--gold); transition: transform .25s, box-shadow .25s; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(73, 56, 42, .12); }
.tool-card svg { width: 44px; height: 44px; color: var(--gold-text); }
.tool-card b { margin-top: 18px; font-size: 20px; font-weight: 500; letter-spacing: -.025em; color: var(--brown); }
.tool-card small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.tool-card i { margin-top: auto; padding-top: 18px; font-style: normal; font-size: 14px; color: var(--gold-text); }
.head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.col-cards .col-item { flex-direction: column; align-items: flex-start; gap: 0; padding: 22px 24px 20px; background: #fff; border: 1px solid #e2d6c4; border-bottom: 1px solid #e2d6c4; transition: transform .25s, box-shadow .25s; }
.col-cards a.col-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(73, 56, 42, .12); padding: 22px 24px 20px; }
.col-cards .col-item .badge { margin-top: 0; }
.col-cards .col-item h3 { margin-top: 14px; font-size: 17px; line-height: 1.45; }
.col-cards .col-item p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-cards .col-item .go { margin: auto 0 0; align-self: flex-start; padding-top: 14px; font-size: 14px; }
.col-cards .col-item .go::before { content: "블로그에서 읽기 "; }
.col-cards .col-item .pending { margin-top: auto; padding-top: 14px; }
@media (max-width: 980px) { .tool-cards, .col-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tool-cards, .col-cards { grid-template-columns: 1fr; gap: 14px; } .head-split { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ===== 필요서류 인쇄 ===== */
.print-head { display: none; }
@media print {
  @page { size: A4; margin: 14mm 13mm; }
  html, body { background: #fff !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; font-size: 11pt; }
  .topbar, .site-header, .mega, .site-footer, .float-nav, .intro-pop, .page-hero,
  .tabs, .doc-head-actions, .progress, .w-links, .notice .inline-go, .doc-sit-head span,
  .doc-sit-hint:empty, .sit-chip:not(.on), .subnav { display: none !important; }
  .band.tool-page { padding: 0 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }
  .print-head { display: block; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #49382A; }
  .print-head img { display: block; height: 30px; width: auto; margin-bottom: 8px; }
  .print-head p { font-size: 10pt; color: #54463a; line-height: 1.5; }
  .print-head .pd-date { text-align: right; color: #7b6d5f; }
  .doc-head { margin-top: 10px; }
  .doc-head-main strong { font-size: 16pt; }
  .doc-head-main span { font-size: 10pt; }
  .doc-lead { margin: 10px 0 0; padding: 8px 12px; font-size: 10pt; background: #f4efe8 !important; }
  .doc-sit { margin: 10px 0; padding: 8px 12px; background: #f4efe8 !important; border: 1px solid #ddd; }
  .doc-sit-head strong { font-size: 11pt; }
  .sit-list { margin-top: 6px; }
  .sit-chip { padding: 3px 10px; font-size: 10pt; background: #fff !important; color: #49382A !important; border: 1px solid #49382A; }
  .sit-chip input { display: none; }
  .doc-group { margin-top: 16px; break-inside: auto; }
  .doc-group h3 { font-size: 12pt; padding-bottom: 6px; break-after: avoid; }
  .doc-item { grid-template-columns: 22px minmax(0, 1.6fr) minmax(0, 1fr); gap: 4px 14px; padding: 8px 4px; break-inside: avoid; }
  .doc-item:hover { background: none; }
  .doc-item input { width: 14px; height: 14px; margin-top: 3px; appearance: none; -webkit-appearance: none; border: 1.5px solid #49382A; background: #fff; }
  .doc-item input:checked { background: #49382A; }
  .doc-item .tt { font-size: 10.5pt; line-height: 1.45; }
  .doc-item .who { font-size: 8.5pt; padding: 0 6px; }
  .doc-item .t small { font-size: 9pt; margin-top: 2px; }
  .doc-item .w { font-size: 9.5pt; grid-column: auto; padding-top: 0; }
  .doc-item .w-label { display: none; }
  .doc-item.done .tt { text-decoration: none; color: #000; }
  .doc-notes { margin-top: 14px; padding: 10px 14px; break-inside: avoid; }
  .doc-notes li { font-size: 9.5pt; }
  .notice { margin-top: 12px; font-size: 9pt; padding: 8px 12px; break-inside: avoid; }
}

/* ===== 상단 메뉴: 항목별 드롭다운 ===== */
.gnb-item { position: relative; align-self: stretch; display: flex; align-items: center; }
.gnb-drop { position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 232px; padding: 10px 0; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 18px 38px rgba(51, 39, 30, .16); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s; }
.gnb-drop a { display: block; padding: 10px 24px; font-size: 14.5px; font-weight: 400; color: #54463a; white-space: nowrap; transition: background .15s, color .15s, padding .15s; }
.gnb-drop a::after { display: none; }
.gnb-drop a:hover, .gnb-drop a:focus { background: var(--beige); color: var(--brown); padding-left: 30px; }
.gnb-drop li:first-child a { font-weight: 500; color: var(--brown); }
@media (hover: hover) { .gnb-item:hover:not(.closed) .gnb-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.gnb-item:focus-within:not(.closed) .gnb-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 1100px) { .gnb-drop { display: none; } }
