@charset "utf-8";
/* =========================================================
   행정사법인 리더스 · 개인투자조합 전문센터
   레이아웃 벤치마킹 : 재단법인 더제이(thejfd.co.kr)
   ========================================================= */
/* 영문 서체 Montserrat(600~800) — 사이트에 직접 포함 (외부 로딩 지연으로 헤더 글자가 흔들리는 현상 방지) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: block; src: url(../fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --brand: #0b2d67;          /* 리더스 네이비 (로고) */
  --brand-dark: #071d45;
  --brand-2: #1d4f9c;
  --brand-soft: #eef3fb;
  --accent: #c9993f;         /* 골드 포인트 */
  --accent-dark: #a97c27;
  --accent-soft: #fbf5ea;
  --ink: #15171c;
  --ink-2: #3d4350;
  --muted: #6f7684;
  --line: #e3e6ec;
  --bg-soft: #f5f7fa;
  --charcoal: #0e1a2f;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(11, 45, 103, .10);
  --container: 1600px;      /* 본문 최대폭 (데스크톱 좌우 여백 40px → 헤더 로고·메뉴와 같은 선) */
  --header-h: 92px;
  --font: 'Pretendard Site', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Montserrat', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; scrollbar-gutter: stable; }  /* 스크롤바 유무와 관계없이 헤더 위치 고정 */
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--brand); color: #fff; padding: 8px 16px; }
.skip:focus { left: 0; }
.inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
/* 장식 요소(원형 테두리 등)가 화면 밖으로 나가도 가로 스크롤이 생기지 않도록 (sticky 유지되는 clip 사용) */
#container { overflow-x: clip; }
.en { font-family: var(--font-en); }
.hl { color: var(--accent); }
.hl-b { color: var(--brand-2); }
mark { background: linear-gradient(transparent 60%, rgba(201,153,63,.28) 0); color: inherit; padding: 0 2px; }

/* ---------- 헤더 ---------- */
#header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); }
#header.hd-ready { transition: background .3s, box-shadow .3s; } /* 첫 화면 상태 확정 후에만 전환 효과 */
#header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1680px; }
/* 데스크톱 : 화면 폭과 관계없이 로고 왼쪽 여백을 항상 40px 로 고정 (가운데 정렬 폭 제한 해제) */
@media (min-width: 1181px) { #header .inner { max-width: none; padding: 0 40px; } }
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.logo .logo-w { display: none; }
.logo-sub { font-size: 13px; font-weight: 700; color: var(--brand); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.3; letter-spacing: -.2px; width: 196px; flex-shrink: 0; white-space: nowrap; } /* 폭 고정 : 글꼴 로딩 시점과 관계없이 메뉴 위치 불변 */
.logo-sub small { display: block; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: 1.4px; color: var(--accent); }
#header.is-transparent:not(:hover):not(:focus-within) .logo .logo-c { display: none; }
#header.is-transparent:not(:hover):not(:focus-within) .logo .logo-w { display: block; }
#header.is-transparent:not(:hover):not(:focus-within) .logo-sub { color: #fff; border-color: rgba(255,255,255,.35); }
#header.is-transparent:not(:hover):not(:focus-within) .gnb > li > a, #header.is-transparent:not(:hover):not(:focus-within) .btn-allmenu, #header.is-transparent:not(:hover):not(:focus-within) .hd-tel { color: #fff; }
/* 투명 헤더도 마우스를 올리면(또는 키보드 포커스) 흰색 배경으로 전환 */
#header.is-solid, #header.is-open, #header.is-transparent:hover, #header.is-transparent:focus-within { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
/* 헤더 높이는 모든 페이지·스크롤 위치에서 동일하게 유지 (스크롤 시 배경·그림자만 변경) */
#header nav { height: 100%; }
.gnb { display: flex; height: 100%; margin-left: auto; }
.gnb > li { position: relative; height: 100%; }
.gnb > li > a { --gnb-pad: 26px; display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--gnb-pad); font-size: 17px; font-weight: 700; transition: color .2s; white-space: nowrap; }
/* 메뉴 칸 폭 고정(--w : build.py 가 글자 폭을 계산해 넣음) — 글꼴 로딩 시점과 관계없이 '홈' 등 메뉴 위치가 흔들리지 않음 */
.gnb > li > a[style*="--w"] { padding: 0; width: calc(var(--w) * 1em + 2 * var(--gnb-pad)); }
.gnb > li:hover > a, .gnb > li.on > a { color: var(--accent) !important; }
.gnb .depth2 {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 220px; padding: 14px 0;
  background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow); border-top: 3px solid var(--accent);
  opacity: 0; visibility: hidden; transition: all .25s;
}
.gnb > li:hover .depth2, .gnb > li:focus-within .depth2 { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .depth2 a { display: block; padding: 8px 24px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.gnb .depth2 a:hover { color: var(--brand); background: var(--brand-soft); }
.hd-util { display: flex; align-items: center; gap: 18px; margin-left: 28px; }
.hd-tel { width: 128px; flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-en); font-weight: 700; font-size: 15px; color: var(--brand); }
.hd-tel svg { width: 16px; height: 16px; }
.btn-cta-sm { display: inline-flex; align-items: center; justify-content: center; width: calc(3.46em + 36px); flex-shrink: 0; height: 40px; padding: 0; border-radius: 40px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; transition: background .2s; }
.btn-cta-sm:hover { background: var(--accent-dark); }
.btn-allmenu { width: 40px; height: 40px; display: grid; grid-template-columns: repeat(3, 6px); gap: 5px; place-content: center; color: var(--ink); }
.btn-allmenu i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 전체메뉴 */
#allmenu { position: fixed; inset: 0; z-index: 300; background: var(--charcoal); color: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
#allmenu.open { opacity: 1; visibility: visible; }
#allmenu .am-top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); }
#allmenu .am-top img { height: 38px; }
.btn-close { width: 44px; height: 44px; position: relative; color: #fff; }
.btn-close::before, .btn-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 2px; background: currentColor; }
.btn-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.btn-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.am-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; padding: 80px 0 60px; }
.am-grid h3 { font-size: 22px; font-weight: 800; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.am-grid h3 a:hover { color: var(--accent); }
.am-grid li a { display: block; padding: 6px 0; font-size: 15px; color: rgba(255,255,255,.72); }
.am-grid li a:hover { color: var(--accent); }
.am-foot { padding: 30px 0 50px; font-size: 13px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- 메인 비주얼 ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; color: #fff; background: var(--brand-dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center; padding: calc(var(--header-h) + 10px) 0 150px; }
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease; }
.hero-slide.on .bg { transform: scale(1); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,69,.86) 0%, rgba(7,29,69,.55) 55%, rgba(7,29,69,.25) 100%); }
.hero .txt { position: relative; z-index: 2; width: 100%; }
.hero .badge { display: inline-block; padding: 7px 18px; border: 1px solid rgba(255,255,255,.6); border-radius: 40px; font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.hero h1, .hero .h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.12; font-weight: 800; letter-spacing: -2px; }
.hero h1 em, .hero .h1 em { font-style: normal; color: var(--accent); }
.hero .desc { margin-top: 26px; font-size: clamp(16px, 1.4vw, 21px); font-weight: 500; color: rgba(255,255,255,.88); max-width: 720px; }
.hero .btns { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide .txt > * { opacity: 0; transform: translateY(30px); transition: all .9s ease; }
.hero-slide.on .txt > * { opacity: 1; transform: none; }
.hero-slide.on .txt > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.on .txt > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.on .txt > *:nth-child(4) { transition-delay: .45s; }
.hero-ctrl { position: absolute; z-index: 5; left: 0; right: 0; bottom: 48px; pointer-events: none; }
.hero-ctrl .inner { display: flex; justify-content: flex-end; align-items: center; gap: 18px; pointer-events: auto; width: max-content; margin-left: auto; font-family: var(--font-en); font-weight: 600; font-size: 14px; }
.hero-ctrl .bar { width: 180px; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-ctrl .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.hero-ctrl .bar i.run { animation: heroBar var(--hero-delay, 6s) linear forwards; }
@keyframes heroBar { to { width: 100%; } }
.hero-ctrl button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; display: grid; place-items: center; }
.hero-ctrl button:hover { background: #fff; color: var(--brand); }
.hero-ctrl button svg { width: 14px; height: 14px; }
.scroll-ind { position: absolute; z-index: 5; left: 50%; bottom: 24px; transform: translateX(-50%); font-family: var(--font-en); font-size: 11px; letter-spacing: 2px; writing-mode: vertical-rl; color: rgba(255,255,255,.8); padding-bottom: 60px; }
.scroll-ind::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 50px; background: rgba(255,255,255,.6); animation: scrollLine 2s infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-height: 900px) and (min-width: 769px) {
  .hero h1, .hero .h1 { font-size: clamp(36px, 4.4vw, 62px); }
  .hero .badge { margin-bottom: 18px; }
  .hero .desc { margin-top: 18px; font-size: 17px; }
  .hero .btns { margin-top: 28px; }
  .hero .btns .btn { height: 52px; }
  .scroll-ind { display: none; }
}

/* ---------- 메인 흰선 애니메이션 (heroLine) ----------
   흰 선이 왼쪽에서 화면을 가로지른 뒤 계단형으로 꺾이며 'LEADERS' 가 나타남.
   끄기 : assets/js/config.js 의 heroLine: false  */
.hero-line { --hl-x: min(76%, calc(100% - 380px)); display: none; position: absolute; z-index: 4; left: 0; right: 0; bottom: 112px; height: 0; pointer-events: none; }
.hero.line-on .hero-line { display: block; }
.hero.line-on .scroll-ind { display: none; }
.hero-line i { position: absolute; display: block; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .45); }
.hero-line .l1 { left: 0; bottom: 0; height: 4px; width: 0; animation: hlX 1.6s cubic-bezier(.65, 0, .35, 1) .5s forwards; }
.hero-line .l2 { left: calc(var(--hl-x) - 4px); bottom: 0; width: 4px; height: 0; animation: hlY .6s cubic-bezier(.4, 0, .2, 1) 2.1s forwards; }
.hero-line .l3 { left: calc(var(--hl-x) - 4px); bottom: 146px; height: 4px; width: 0; animation: hlX2 .6s cubic-bezier(.4, 0, .2, 1) 2.7s forwards; }
.hero-line .hl-txt { position: absolute; left: calc(var(--hl-x) + 22px); bottom: 26px; font-weight: 800; font-size: 34px; letter-spacing: 1px; line-height: 1; color: rgba(255, 255, 255, .6); opacity: 0; transform: translateY(12px); animation: hlTxt 1s ease 3.2s forwards; }
.hero-line .hl-txt small { display: block; margin-top: 10px; font-size: 10px; font-weight: 600; letter-spacing: 3px; color: rgba(255, 255, 255, .55); }
@keyframes hlX { to { width: var(--hl-x); } }
@keyframes hlY { to { height: 150px; } }
@keyframes hlX2 { to { width: 120px; } }
@keyframes hlTxt { to { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .hero-line .hl-txt { font-size: 26px; } .hero-line .hl-txt small { font-size: 9px; letter-spacing: 2px; } }
@media (max-width: 768px) { .hero.line-on .hero-line { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-line .l1 { width: var(--hl-x); } .hero-line .l2 { height: 150px; } .hero-line .l3 { width: 120px; } .hero-line .hl-txt { opacity: 1; transform: none; }
  .hero-line i, .hero-line .hl-txt { animation: none; }
}

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border-radius: 56px; font-weight: 700; font-size: 16px; transition: all .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-navy { background: var(--brand); color: #fff; }
.btn-navy:hover { background: var(--brand-dark); }
.btn-line { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--brand); }
.btn-line-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5d900; }

/* ---------- 공통 섹션 ---------- */
.sec { padding: 140px 0; position: relative; }
.sec.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.eyebrow { display: block; font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.sec-title { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; line-height: 1.28; letter-spacing: -1.2px; }
.sec-desc { margin-top: 16px; font-size: 17px; color: var(--muted); }
.more-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.more-arrow svg { width: 40px; height: 16px; transition: transform .25s; }
.more-arrow:hover svg { transform: translateX(6px); }

/* reveal 애니메이션 */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; } .rv.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 메인 : 소개 ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.intro-visual { position: relative; aspect-ratio: 1 / 1; max-width: 620px; }
.intro-visual .circle { position: absolute; inset: 8% 0 0 8%; border-radius: 50%; overflow: hidden; z-index: 1; }
.intro-visual .circle img { width: 100%; height: 100%; object-fit: cover; }
/* 둥근 테두리 : 정원(正圓) 고정 (움직임·그림자 없음). 사진은 골드 테두리와 같은 영역을 채움 */
.intro-visual::after { content: ''; position: absolute; inset: 8% 0 0 8%; z-index: 2; border-radius: 50%; border: 22px solid var(--accent); pointer-events: none; }
.intro-visual .stamp { position: absolute; z-index: 3; right: 0; top: 6%; width: 150px; height: 150px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
.intro-visual .stamp b { font-family: var(--font-en); font-size: 40px; line-height: 1; font-weight: 800; }
.intro-visual .stamp span { font-size: 13px; margin-top: 6px; }
.intro-txt .lead { margin-top: 30px; font-size: 18px; color: var(--ink-2); }
.quote { margin: 34px 0; padding: 26px 0 26px 70px; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--ink); }
.quote::before { content: '\201C'; position: absolute; left: 0; top: 4px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 36px 0 40px; }
.stats li { padding: 0 18px; border-left: 1px solid var(--line); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { display: block; font-family: var(--font-en); font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.1; letter-spacing: -.5px; }
.stats b small { font-size: 18px; color: var(--accent); margin-left: 2px; }
.stats span { font-size: 14px; color: var(--muted); }
.stats b .cnt { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }

/* ---------- 메인 : 주요업무 카드 ---------- */
.biz-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card { position: relative; display: block; height: 470px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.biz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.biz-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,69,.15) 0%, rgba(7,29,69,.55) 50%, rgba(7,29,69,.94) 100%); transition: background .4s; }
.biz-card:hover img { transform: scale(1.07); }
.biz-card:hover::before { background: linear-gradient(180deg, rgba(11,45,103,.55) 0%, rgba(11,45,103,.88) 55%, rgba(7,29,69,.98) 100%); }
.biz-card .num { position: absolute; top: 28px; left: 30px; font-family: var(--font-en); font-weight: 700; font-size: 15px; }
.biz-card .body { position: absolute; left: 30px; right: 30px; bottom: 30px; }
.biz-card .en-t { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--accent); }
.biz-card h3 { font-size: 24px; font-weight: 800; line-height: 1.35; margin-top: 6px; }
.biz-card p { font-size: 15px; color: rgba(255,255,255,.82); margin-top: 12px; max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.biz-card:hover p, .biz-card:focus p { max-height: 160px; }
.biz-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.biz-card .tags span { font-size: 12px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 30px; }

/* ---------- 절차 ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.process li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px 28px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.process li:hover { border-color: var(--brand); transform: translateY(-6px); box-shadow: var(--shadow); }
.process .st { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.process h3 { font-size: 20px; font-weight: 800; margin: 6px 0 14px; color: var(--brand); }
.process ul li { border: 0; padding: 0 0 0 12px; font-size: 14px; color: var(--ink-2); position: relative; background: none; }
.process ul li:hover { transform: none; box-shadow: none; }
.process ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.process-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- 대형 띠배너 ---------- */
.band { position: relative; color: #fff; overflow: hidden; padding: 130px 0 0; background: var(--brand-dark); }
.band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.band .inner { position: relative; }
.band h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.band p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 760px; }
.band .btns { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.band .big { font-family: var(--font-en); font-weight: 800; font-size: clamp(64px, 13vw, 230px); line-height: .82; letter-spacing: -6px; margin-top: 60px; white-space: nowrap; color: rgba(255,255,255,.92); }
.band .big em { font-style: normal; color: var(--accent); }

/* ---------- 수행사례 카드 (포트폴리오형) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 20px; }
.case-card { display: block; }
.case-card .thumb { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.case-card:hover .thumb img { transform: scale(1.05); }
.case-card .cat { position: absolute; left: 10px; top: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 30px; }
.case-card h3 { margin-top: 14px; font-size: 16px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card:hover h3 { color: var(--brand-2); }
.case-card .meta { margin-top: 6px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; }

.case-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.case-filter button { height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 42px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: #fff; }
.case-filter button.on, .case-filter button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-search { display: flex; border: 1px solid var(--line); border-radius: 42px; overflow: hidden; height: 44px; background: #fff; }
.case-search input { border: 0; padding: 0 18px; width: 220px; outline: 0; }
.case-search button { padding: 0 20px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.case-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.case-count b { color: var(--brand); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--font-en); font-weight: 600; background: #fff; }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager button:disabled { opacity: .35; cursor: default; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* 사례 상세 */
.case-view { max-width: 980px; margin: 0 auto; }
.case-view .v-head { border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); padding: 30px 0 24px; }
.case-view .v-head .cat { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.case-view h1 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; line-height: 1.4; letter-spacing: -.6px; }
.case-view .v-meta { margin-top: 12px; display: flex; gap: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.case-view .v-body { padding: 50px 0; border-bottom: 1px solid var(--line); }
.case-view .v-body figure { max-width: 620px; margin: 0 auto 40px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-view .v-body figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; background: var(--bg-soft); }
.case-view .v-text { font-size: 17px; color: var(--ink-2); white-space: pre-line; }
.case-view .v-summary { margin-top: 36px; padding: 28px 32px; border-radius: var(--radius); background: var(--brand-soft); }
.case-view .v-summary h2 { font-size: 18px; font-weight: 800; color: var(--brand); margin-bottom: 10px; }
.case-view .v-summary li { position: relative; padding-left: 16px; font-size: 15px; }
.case-view .v-summary li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case-view .v-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 30px 0; }
.case-view .v-nav a.prev, .case-view .v-nav a.next { font-size: 15px; color: var(--ink-2); }
.case-view .v-nav a.next { text-align: right; }
.case-view .v-nav a:hover { color: var(--brand); }
.case-view .v-nav small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 2px solid var(--brand); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 24px 8px; font-size: 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 15px; }
.faq-item summary .t { flex: 1; }
.faq-item summary .ic { flex-shrink: 0; width: 16px; height: 16px; position: relative; }
.faq-item summary .ic::before, .faq-item summary .ic::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform .25s; }
.faq-item summary .ic::after { transform: rotate(90deg); }
.faq-item[open] summary .ic::after { transform: rotate(0); }
.faq-item[open] summary { color: var(--brand); }
.faq-item .a { display: flex; gap: 18px; padding: 0 8px 28px; }
.faq-item .a::before { content: 'A'; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; }
.faq-item .a div { flex: 1; font-size: 16px; color: var(--ink-2); padding-top: 6px; }
.faq-item .a p + p { margin-top: 8px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.faq-cats a { height: 42px; display: inline-flex; align-items: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 42px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.faq-cats a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.faq-group + .faq-group { margin-top: 70px; }
.faq-group h2 { font-size: 26px; font-weight: 800; margin-bottom: 20px; color: var(--brand); }
.faq-2col { display: grid; grid-template-columns: 360px 1fr; gap: 80px; }

/* ---------- CTA ---------- */
.cta { background: var(--brand); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(201,153,63,.18); }
.cta .inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.35; }
.cta p { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 17px; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 서브 비주얼 ---------- */
.sub-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--brand-dark); }
.sub-visual .bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: subZoom 8s ease forwards; }
@keyframes subZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.sub-visual::after { content: ''; position: absolute; inset: 0; background: rgba(7,29,69,.66); }
.sub-visual .txt { position: relative; z-index: 1; padding: 0 20px; margin-top: 40px; }
.sub-visual .eyebrow { color: var(--accent); }
/* 웹폰트(Pretendard) 로딩 전 기본글꼴로 그려졌다가 크기가 바뀌는 현상 방지 */
.sub-visual .txt, .hero .txt { transition: opacity .35s ease; }
html.fonts-wait .sub-visual .txt, html.fonts-wait .hero .txt { opacity: 0; }
/* 본문(탭·버튼 등)도 글꼴 도착 후 한 번에 표시 — 상단 배경·헤더는 즉시 표시 */
html.fonts-wait #container > :not(.sub-visual):not(.hero), html.fonts-wait #footer { visibility: hidden; }
.sub-visual h1 { font-size: clamp(34px, 4vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.2; }
.sub-visual p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.88); }
.sub-tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.sub-tabs .inner { display: flex; }
.sub-tabs .home { flex-shrink: 0; width: 70px; display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--muted); }
.sub-tabs .home svg { width: 18px; height: 18px; }
.sub-tabs ul { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.sub-tabs ul::-webkit-scrollbar { display: none; }
.sub-tabs li { flex: 1; min-width: max-content; }
.sub-tabs li a { display: flex; align-items: center; justify-content: center; height: 64px; padding: 0 24px; font-size: 16px; font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--line); transition: all .2s; }
.sub-tabs li a:hover { color: var(--brand); }
.sub-tabs li a.on { background: var(--brand); color: #fff; }
.breadcrumb { padding-top: 22px; font-size: 13px; color: var(--muted); }  /* 좌우 여백은 .inner 와 동일 → 본문과 같은 선 */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: #b5bac4; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 회사소개 ---------- */
.greet-grid { display: grid; grid-template-columns: 380px 1fr; gap: 90px; align-items: start; }
.greet-photo { position: relative; max-width: 340px; margin: 10px 0 40px 4px; isolation: isolate; }
.greet-photo::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--accent); z-index: -1; }
.greet-photo::after { content: ''; position: absolute; left: -14px; top: -14px; width: 70px; height: 70px; border-left: 3px solid var(--brand); border-top: 3px solid var(--brand); }
.greet-photo .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(165deg, #f4f6fa 0%, #e3e9f3 55%, #cfd9ea 100%); box-shadow: 0 30px 60px -24px rgba(7, 29, 69, .45); }
.greet-photo .ph::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; }
.greet-photo .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; mix-blend-mode: multiply; }
.greet-photo .name-card { position: absolute; right: -40px; bottom: 36px; background: var(--brand); color: #fff; padding: 16px 26px; border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.greet-photo .name-card small { display: block; font-size: 13px; color: var(--accent); font-weight: 700; }
.greet-photo .name-card b { font-size: 24px; letter-spacing: 4px; }
.greet-txt h2 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; line-height: 1.35; letter-spacing: -1px; }
.greet-txt .body { margin-top: 34px; font-size: 17px; color: var(--ink-2); }
.greet-txt .body p + p { margin-top: 18px; }
.greet-txt .sign { margin-top: 40px; text-align: right; font-size: 17px; }
.greet-txt .sign b { font-size: 26px; letter-spacing: 6px; margin-left: 12px; }
.profile { margin-top: 44px; border-top: 2px solid var(--brand); }
.profile div { display: grid; grid-template-columns: 130px 1fr; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile dt { font-weight: 700; color: var(--brand); }

.vision-top { text-align: center; padding: 70px 30px; border-radius: 24px; background: linear-gradient(135deg, var(--brand-dark), var(--brand-2)); color: #fff; position: relative; overflow: hidden; }
.vision-top::after { content: 'VISION'; position: absolute; right: -10px; bottom: -40px; font-family: var(--font-en); font-weight: 800; font-size: 170px; color: rgba(255,255,255,.06); line-height: 1; }
.vision-top .eyebrow { color: var(--accent); }
.vision-top h3 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 800; line-height: 1.4; letter-spacing: -.8px; }
.vision-top p { margin-top: 14px; color: rgba(255,255,255,.8); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.values li { padding: 40px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.values .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 22px; }
.values .ic svg { width: 28px; height: 28px; }
.values small { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent); }
.values h4 { font-size: 22px; font-weight: 800; margin: 4px 0 10px; color: var(--brand); }
.values p { font-size: 15px; color: var(--ink-2); }
.mission { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mission li { padding: 28px; border-left: 1px solid var(--line); }
.mission li:first-child { border-left: 0; }
.mission b { display: block; font-size: 17px; color: var(--brand); margin-bottom: 6px; }
.mission span { font-size: 14px; color: var(--muted); }

.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 160px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 50px; padding: 22px 0; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 154px; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline .y { font-family: var(--font-en); font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.timeline .d { padding-top: 8px; }
.timeline .d p { font-size: 17px; color: var(--ink-2); position: relative; }
.timeline .d p + p { margin-top: 6px; }
.timeline-note { text-align: center; margin-top: 30px; font-size: 14px; color: var(--muted); }

.org { text-align: center; }
.org .node { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 240px; padding: 22px 30px; border-radius: 14px; background: #fff; border: 2px solid var(--brand); }
.org .node small { font-size: 12px; font-family: var(--font-en); font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.org .node b { font-size: 20px; font-weight: 800; color: var(--brand); }
.org .node span { font-size: 14px; color: var(--muted); margin-top: 4px; }
.org .node.ceo { background: var(--brand); color: #fff; }
.org .node.ceo b { color: #fff; }
.org .node.ceo span { color: rgba(255,255,255,.8); }
.org .node.ceo .ph { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 12px; border: 3px solid var(--accent); background: #eef3fb; }
.org .node.ceo .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.org .vline { width: 2px; height: 46px; background: var(--brand); margin: 0 auto; }
.org .teams { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 860px; margin: 0 auto; padding-top: 46px; }
.org .teams::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: var(--brand); }
.org .teams > div { position: relative; }
.org .teams > div::before { content: ''; position: absolute; top: -46px; left: 50%; width: 2px; height: 46px; background: var(--brand); }
.org .team { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; text-align: left; }
.org .team h4 { background: #d3dff1; border-bottom: 1px solid #c2d2ea; padding: 18px 24px; font-size: 19px; font-weight: 800; color: var(--brand); display: flex; justify-content: space-between; align-items: center; }
.org .team h4 em { font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 30px; padding: 2px 12px; }
.org .team ul { padding: 18px 24px 22px; }
.org .team li { position: relative; padding-left: 14px; font-size: 15px; color: var(--ink-2); }
.org .team li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.org .members { display: flex; justify-content: center; gap: 10px; padding: 0 24px 22px; }
.org .members i { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--brand-2); }
.org .members i svg { width: 22px; height: 22px; }
.org-desc { margin-top: 20px; color: var(--ink-2); font-size: 15px; }

.loc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--bg-soft); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.info-tbl div { display: grid; grid-template-columns: 110px 1fr; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-tbl div:first-child { border-top: 2px solid var(--brand); }
.info-tbl dt { font-weight: 700; color: var(--brand); }
.info-tbl a:hover { color: var(--brand-2); text-decoration: underline; }
.transport { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.transport li { padding: 20px; border-radius: 12px; background: var(--bg-soft); font-size: 14px; }
.transport b { display: block; font-size: 15px; color: var(--brand); margin-bottom: 4px; }
.map-links { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.map-links a { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 44px; font-size: 14px; font-weight: 700; }
.map-links .naver { background: #03c75a; color: #fff; }
.map-links .kakao { background: #fee500; color: #191919; }
.map-links .google { background: #fff; border: 1px solid var(--line); }

/* ---------- 주요업무 상세 ---------- */
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.svc-intro .img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.svc-intro .img img { width: 100%; height: 100%; object-fit: cover; }
.svc-intro .img .lab { position: absolute; left: 0; bottom: 0; background: var(--accent); color: #fff; padding: 14px 24px; font-weight: 700; border-radius: 0 16px 0 0; }
.svc-intro h2 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.35; }
.svc-intro .lead { margin-top: 24px; font-size: 17px; color: var(--ink-2); }
.svc-intro .lead p + p { margin-top: 14px; }
.law-box { margin-top: 26px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--accent-soft); font-size: 14px; color: var(--ink-2); border-radius: 0 10px 10px 0; }
.law-box b { color: var(--accent-dark); display: block; margin-bottom: 4px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-grid li { display: flex; gap: 16px; align-items: flex-start; padding: 24px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.check-grid li svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--accent); }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scope li { padding: 36px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .25s; }
.scope li:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.scope .n { font-family: var(--font-en); font-weight: 800; font-size: 34px; color: var(--accent); line-height: 1; }
.scope h3 { font-size: 20px; font-weight: 800; margin: 16px 0 10px; color: var(--brand); }
.scope p { font-size: 15px; color: var(--ink-2); }
.flow { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0; position: relative; }
.flow li { text-align: center; padding: 0 12px; position: relative; }
.flow li::after { content: ''; position: absolute; top: 44px; left: calc(50% + 50px); right: calc(-50% + 50px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.flow li:last-child::after { display: none; }
.flow .c { width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-content: center; font-family: var(--font-en); }
.flow .c small { font-size: 11px; letter-spacing: 1px; opacity: .75; }
.flow .c b { font-size: 26px; line-height: 1; }
.flow h3 { font-size: 18px; font-weight: 800; }
.flow p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.doc-tbl { border-top: 2px solid var(--brand); }
.doc-tbl th, .doc-tbl td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top; }
.doc-tbl th { background: var(--bg-soft); width: 240px; color: var(--brand); font-weight: 700; }
.doc-tbl td { color: var(--ink-2); }
.tbl-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.svc-other { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-other a { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; background: #fff; transition: all .2s; }
.svc-other a:hover, .svc-other a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.svc-other svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- 상담문의 ---------- */
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: start; }
.contact-side { background: var(--brand); color: #fff; border-radius: 22px; padding: 44px 38px; position: sticky; top: 170px; overflow: hidden; }
.contact-side::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(201,153,63,.22); }
.contact-side h2 { font-size: 26px; font-weight: 800; line-height: 1.4; }
.contact-side > p { margin-top: 10px; color: rgba(255,255,255,.78); font-size: 15px; }
.contact-side ul { margin-top: 30px; }
.contact-side li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; position: relative; z-index: 1; }
.contact-side li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.contact-side li small { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.contact-side li a:hover { color: var(--accent); }
.contact-side .tel-big { font-family: var(--font-en); font-size: 28px; font-weight: 800; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 48px; }
.form-box h2 { font-size: 26px; font-weight: 800; }
.form-box .req-note { font-size: 14px; color: var(--muted); margin: 6px 0 30px; }
.req { color: #d4380d; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 20px; }
.f-field label, .f-field .lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.f-field input[type=text], .f-field input[type=tel], .f-field input[type=email], .f-field select, .f-field textarea {
  width: 100%; height: 54px; padding: 0 18px; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.f-field textarea { height: 170px; padding: 16px 18px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,45,103,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; font-size: 14px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #cfd4dc; border-radius: 40px; cursor: pointer; transition: all .2s; }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11,45,103,.25); }
.agree { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.agree .box { padding: 18px 22px; font-size: 13px; color: var(--ink-2); max-height: 150px; overflow-y: auto; border-bottom: 1px solid var(--line); }
.agree .chk { padding: 14px 22px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.agree .chk input { width: 20px; height: 20px; accent-color: var(--brand); }
.form-submit { margin-top: 30px; text-align: center; }
.form-submit .btn { min-width: 260px; height: 60px; font-size: 17px; }
.form-msg { margin-top: 18px; padding: 16px 20px; border-radius: 10px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #edf9f0; color: #136c2e; }
.form-msg.err { display: block; background: #fff1f0; color: #a8071a; }
.hp { position: absolute; left: -9999px; }

/* ---------- 문서(개인정보처리방침) ---------- */
.doc { max-width: 980px; margin: 0 auto; font-size: 16px; color: var(--ink-2); }
.doc h2 { font-size: 20px; color: var(--brand); margin: 40px 0 12px; }
.doc p, .doc li { margin-top: 6px; }
.doc ol, .doc ul { padding-left: 20px; list-style: disc; }

/* ---------- 푸터 ---------- */
#footer { background: var(--charcoal); color: rgba(255,255,255,.62); font-size: 14px; }
.ft-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-top .inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.ft-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ft-links a { color: rgba(255,255,255,.75); font-weight: 600; }
.ft-links a.strong { color: #fff; }
.ft-links a:hover { color: var(--accent); }
.family { position: relative; }
.family > button { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 250px; height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; color: #fff; font-size: 14px; font-weight: 600; }
.family > button svg { width: 14px; height: 14px; transition: transform .25s; }
.family.open > button svg { transform: rotate(180deg); }
.family ul { position: absolute; right: 0; bottom: calc(100% + 6px); min-width: 100%; background: #fff; border-radius: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,.25); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; z-index: 20; }
.family.open ul { opacity: 1; visibility: visible; transform: none; }
/* 목록이 길어도 화면 안에 들어오도록 (넘치면 목록 안에서 스크롤) */
.family ul { max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain; }
.family li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 20px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.family li a::after { content: '↗'; font-size: 12px; color: var(--muted); }
.family li a:hover { background: var(--brand-soft); color: var(--brand); }
.family li.grp { padding: 8px 20px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); font-family: var(--font-en); }
.family li.grp:not(:first-child) { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.ft-main .inner { display: flex; gap: 60px; padding-top: 44px; padding-bottom: 50px; align-items: flex-start; }
.ft-logo img { height: 40px; width: auto; }
.ft-info { flex: 1; }
.ft-info p { line-height: 1.9; }
.ft-info b { color: #fff; font-weight: 600; margin-right: 6px; }
.ft-info .sep { display: inline-block; width: 1px; height: 11px; background: rgba(255,255,255,.2); margin: 0 12px; }
.ft-copy { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.4); font-family: var(--font-en); }
.ft-sns { display: flex; gap: 8px; }
.ft-sns a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; transition: background .2s; }
.ft-sns a:hover { background: var(--accent); }
.ft-sns svg { width: 18px; height: 18px; }

/* ---------- 플로팅 ---------- */
.quick { position: fixed; right: 26px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.quick a, .quick button { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; transition: transform .2s; }
.quick a:hover, .quick button:hover { transform: translateY(-3px); }
.quick .q-consult { background: var(--accent); color: #fff; }
.quick .q-kakao { background: #fee500; color: #191919; }
.quick .q-tel { background: var(--brand); color: #fff; }
.quick .q-tel svg, .quick .q-kakao svg { width: 22px; height: 22px; }
.quick .q-top { background: #fff; color: var(--ink); font-family: var(--font-en); opacity: 0; visibility: hidden; }
.quick .q-top.show { opacity: 1; visibility: visible; }
/* PC : 본문을 헤더와 같은 선(좌우 40px)까지 넓혔으므로, 떠 있는 버튼은 작게·화면 끝에 붙여 본문을 가리지 않게 */
@media (min-width: 1181px) {
  .quick { right: 12px; bottom: 20px; gap: 8px; }
  .quick a, .quick button { width: 48px; height: 48px; font-size: 11px; box-shadow: 0 6px 16px rgba(0,0,0,.16); }
  .quick .q-tel svg, .quick .q-kakao svg { width: 20px; height: 20px; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1640px) {
  .hd-tel { display: none; }
  .gnb > li > a { --gnb-pad: 20px; }
}
@media (max-width: 1400px) {
  .gnb > li > a { --gnb-pad: 14px; font-size: 16px; }
  .logo-sub { display: none; }
  .case-grid { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .inner { padding: 0 28px; }
  .gnb, .hd-util .btn-cta-sm { display: none; }
  .logo img { height: 32px; }
  .am-grid { grid-template-columns: repeat(3, 1fr); padding: 40px 0; }
  .biz-cards { grid-template-columns: repeat(2, 1fr); }
  .biz-card { height: 380px; }
  .biz-card p { max-height: none; }
  .intro-grid, .svc-intro, .greet-grid, .loc-grid, .contact-grid, .faq-2col { grid-template-columns: 1fr; gap: 50px; }
  .intro-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .greet-photo { max-width: 320px; margin: 10px auto 40px; }
  .contact-side { position: static; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .scope { grid-template-columns: repeat(2, 1fr); }
  .svc-other { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: repeat(2, 1fr); }
  .mission li:nth-child(3) { border-left: 0; }
  .mission li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow li::after { display: none; }
  .ft-main .inner { flex-direction: column; gap: 24px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .inner { padding: 0 16px; }
  .logo-sub { display: none; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head.flex { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 620px; height: 100vh; height: 100svh; }
  .hero h1, .hero .h1 { font-size: 34px; letter-spacing: -1px; }
  .hero .badge { font-size: 12px; padding: 5px 14px; margin-bottom: 16px; }
  .hero .desc { margin-top: 16px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero .btns { margin-top: 24px; flex-wrap: nowrap; gap: 8px; }
  .hero .btns .btn { height: 46px; padding: 0 18px; font-size: 14px; }
  .hero .btns .num { display: none; }
  .hero-slide { padding: calc(var(--header-h) + 10px) 0 96px; }
  .hero-ctrl { bottom: 28px; }
  .hero-ctrl .bar { width: 70px; }
  .scroll-ind { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .biz-cards { grid-template-columns: 1fr; }
  .biz-card { height: 320px; }
  .process { grid-template-columns: 1fr 1fr; gap: 10px; }
  .process li { padding: 22px 16px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .case-search { width: 100%; }
  .case-search input { flex: 1; width: auto; }
  .band { padding-top: 84px; }
  .band .big { letter-spacing: -2px; }
  .faq-item summary { font-size: 16px; gap: 12px; padding: 20px 4px; }
  .faq-item summary .q, .faq-item .a::before { width: 32px; height: 32px; font-size: 13px; }
  .faq-item .a { gap: 12px; padding: 0 4px 22px; }
  .sub-visual { height: 340px; }
  .sub-visual p { font-size: 15px; }
  .sub-tabs .home { width: 52px; }
  .sub-tabs li a { height: 54px; padding: 0 16px; font-size: 14px; }
  .values, .scope, .check-grid, .transport, .svc-other { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; }
  .mission li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .mission li:first-child { border-top: 0; }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0 16px 34px; }
  .timeline li::before { left: 2px; top: 24px; }
  .timeline .y { font-size: 24px; }
  .org .node { min-width: 0; width: 100%; }
  .org .teams { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .org .teams::before, .org .teams > div::before { display: none; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .doc-tbl th { width: 110px; }
  .doc-tbl th, .doc-tbl td { padding: 12px 10px; font-size: 14px; }
  .form-box { padding: 30px 20px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .contact-side { padding: 34px 26px; }
  .greet-photo { max-width: 260px; }
  .greet-photo .name-card { right: -24px; padding: 12px 20px; }
  .greet-photo .name-card b { font-size: 20px; }
  .am-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .family, .family > button { width: 100%; }
  .ft-info .sep { display: none; }
  .ft-info p span { display: block; }
  .quick { right: 14px; bottom: 14px; }
  .quick a, .quick button { width: 50px; height: 50px; font-size: 11px; }
  .cta { padding: 64px 0; }
  .case-view .v-nav { grid-template-columns: 1fr 1fr; }
  .case-view .v-nav .list { grid-column: 1 / -1; order: 3; justify-self: center; }
}
@media (max-width: 420px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
  .am-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   개인투자조합 설립·결성 랜딩페이지 (pages/private-fund-setup.html)
   ========================================================= */
.lp-hero { height: auto; min-height: 560px; padding: calc(var(--header-h) + 40px) 0 70px; }
.lp-hero h1 { line-height: 1.3; }
.lp-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-cta .btn svg, .lp-contact-btns .btn svg { width: 18px; height: 18px; }
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.req-grid li { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); transition: all .25s; }
.req-grid li:hover { box-shadow: var(--shadow); border-top-color: var(--accent); }
.req-grid .v { display: block; font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.2; letter-spacing: -.5px; }
.req-grid h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 800; color: var(--brand); }
.req-grid p { font-size: 15px; color: var(--ink-2); }
.tax-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.tax-h { font-size: 20px; font-weight: 800; color: var(--brand); margin-bottom: 16px; }
.tax-tbl { width: 100%; background: #fff; }
.tax-tbl thead th { background: var(--brand); color: #fff; width: auto; }
.tax-tbl tbody th { width: 46%; }
.tax-tbl td b { font-size: 20px; color: var(--accent-dark); }
.tax-notes { margin-top: 20px; display: grid; gap: 8px; }
.tax-notes li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); }
.tax-notes li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.taxcalc { background: var(--brand-dark); color: #fff; border-radius: 22px; padding: 34px 32px; }
.taxcalc .tax-h { color: #fff; }
.taxcalc label { display: block; margin-top: 16px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); }
.taxcalc label small { font-weight: 500; color: rgba(255,255,255,.6); }
.taxcalc .unit { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 500; }
.taxcalc input, .taxcalc select { width: 100%; height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 17px; font-weight: 700; }
.taxcalc select { margin-top: 8px; font-size: 15px; }
.taxcalc select option { color: var(--ink); }
.taxcalc input:focus, .taxcalc select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.tc-out div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 16px 18px; }
.tc-out dt { font-size: 13px; color: rgba(255,255,255,.7); }
.tc-out dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.tc-break { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.8); display: grid; gap: 4px; }
.tc-note { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.lp-after li span { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.lp-after li b { font-size: 17px; color: var(--brand); }
.lp-contact { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: 50px 48px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.lp-contact .sec-title { font-size: clamp(24px, 2.4vw, 34px); }
.lp-contact-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1180px) {
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .tax-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .lp-hero { min-height: 0; padding: calc(var(--header-h) + 30px) 0 50px; }
  .lp-hero h1 br { display: none; }
  .lp-cta .btn { width: 100%; }
  .req-grid { grid-template-columns: 1fr; }
  .req-grid .v { font-size: 26px; }
  .taxcalc { padding: 26px 20px; }
  .tc-out { grid-template-columns: 1fr; }
  .lp-contact { padding: 30px 20px; }
  .lp-contact-btns, .lp-contact-btns .btn { width: 100%; }
}

@media print {
  #header, #footer, .quick, .sub-tabs, .cta { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* 문답형 단락 (2026-10-26 네이버 순위 개선 — 질문 H3 + 답 2~3문장, 본문에 펼쳐서 노출) */
.qa-list { display: grid; gap: 18px; }
.qa-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.sec.soft .qa-item { border-color: transparent; box-shadow: 0 4px 18px rgba(11, 45, 103, .05); }
.qa-item h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; font-weight: 700; color: var(--brand); line-height: 1.5; }
.qa-item h3 .q { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 14px; line-height: 28px; text-align: center; margin-top: 1px; }
.qa-item p { margin-top: 10px; padding-left: 40px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.qa-item p a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .qa-item { padding: 20px 18px; }
  .qa-item h3 { font-size: 17px; }
  .qa-item p { padding-left: 0; font-size: 15px; }
}
