/* LawOne 테마: 로고 남색(--ink)을 바탕색으로, 로고 금색(--gold)을 버튼·강조에. --seal은 흰 바탕 위 글씨용 짙은 금색. */
:root {
  --ink: #142948;        /* 먹색: 헤더·히어로·푸터 */
  --ink-2: #1f3a63;
  --paper: #ffffff;
  --paper-2: #f4f5f8;    /* 청회색 바탕 섹션 */
  --line: #dde3e9;
  --text: #1c2630;
  --muted: #5d6b78;
  --seal: #9a7429;       /* 인주색: CTA·포인트 */
  --seal-dark: #7a5a1c;
  --brass: #d4ad5c;      /* 히어로 위 보조 포인트 */
  --gold: #c49a42;      /* 로고 금색 */
  --gold-dark: #ae8533;
  --hero-paper: #f9f9f7; /* 히어로 이미지 왼쪽 여백과 같은 색 */
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --font-display: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--seal); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; text-wrap: balance; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--seal); font-weight: 600; }
.serif { font-family: var(--font-display); }

/* 시안 표시: 확인이 필요한 내용 */
.tbd { background: #fff2b3; color: #4a3b00; padding: 0 .2em; border-radius: 2px; }
.draft-bar { background: #fff2b3; color: #4a3b00; font-size: 13px; text-align: center; padding: 6px var(--gutter-r) 6px var(--gutter); }

/* ---------- Header ---------- */
.util { background: var(--ink); color: #c4ced8; font-size: 13px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.util .links { display: flex; gap: 18px; }
.util a:hover { color: #fff; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .seal { width: 40px; height: 40px; border: 2px solid var(--seal); color: var(--seal); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: none; }
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.2; }
.brand .sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }

.gnb { display: flex; align-items: stretch; gap: 4px; }
.gnb > li { position: relative; }
.gnb > li > a { display: flex; align-items: center; height: 76px; padding: 0 14px; font-weight: 600; font-size: 15.5px; white-space: nowrap; color: var(--ink); }
.gnb > li > a:hover, .gnb > li.on > a { color: var(--seal); }
.gnb .sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--seal); padding: 10px 0; opacity: 0; visibility: hidden; transition: opacity .15s; box-shadow: 0 12px 28px rgba(20,41,72,.10); }
.gnb > li:hover .sub-menu, .gnb > li:focus-within .sub-menu { opacity: 1; visibility: visible; }
.gnb .sub-menu a { display: block; padding: 7px 20px; font-size: 14.5px; color: var(--text); }
.gnb .sub-menu a:hover { color: var(--seal); background: var(--paper-2); }
.header-cta { display: flex; gap: 8px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn-seal { background: var(--seal); color: #fff; }
.btn-seal:hover { background: var(--seal-dark); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(20,41,72,.5); display: none; }
.drawer.open { display: block; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--paper); overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 16px) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) 20px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--ink); }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; padding: 14px 0; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; color: var(--muted); }
.drawer details[open] summary::after { content: "−"; }
.drawer details a { display: block; padding: 8px 12px; color: var(--muted); font-size: 15px; }
.drawer details ul { padding-bottom: 10px; }

/* Bottom tab bar (mobile) */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.tabbar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 8px; color: #d5dde5; font-size: 11.5px; }
.tabbar a.hot { background: var(--seal); color: #fff; }
.tabbar svg { width: 22px; height: 22px; }

/* Quick menu (desktop) */
.quick { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 32px; z-index: 40; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,41,72,.12); overflow: hidden; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 12px 4px; font-size: 12px; color: var(--ink); border-bottom: 1px solid var(--line); text-align: center; line-height: 1.3; }
.quick a:last-child { border-bottom: 0; }
.quick a:hover { background: var(--paper-2); }
.quick a.hot { background: var(--seal); color: #fff; }
.quick svg { width: 24px; height: 24px; }

/* ---------- Hero (main) ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 85% 20%, rgba(196,154,66,.16), transparent 60%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-block: 88px 96px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lead { margin-top: 22px; font-size: 17.5px; color: #c4ced8; max-width: 34em; }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .eyebrow { color: var(--brass); margin-bottom: 18px; }

/* 자격 카드: 두 자격을 한 장의 서류처럼 */
.cred { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 30px 30px 26px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.cred h2 { font-family: var(--font-display); font-size: 15px; letter-spacing: .3em; text-align: center; color: var(--muted); font-weight: 600; padding-bottom: 14px; border-bottom: 1px double var(--line); border-bottom-width: 3px; }
.cred dl { margin: 16px 0 0; display: grid; grid-template-columns: 84px 1fr; row-gap: 10px; font-size: 14.5px; }
.cred dt { color: var(--muted); }
.cred dd { margin: 0; color: var(--ink); font-weight: 500; }
.cred .stamp { position: absolute; right: 22px; bottom: 18px; width: 74px; height: 74px; border: 3px solid var(--seal); border-radius: 50%; color: var(--seal); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.25; transform: rotate(-12deg); opacity: .85; }
.cred .foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); padding-right: 84px; }

/* ---------- Sections ---------- */
.sec { padding-block: 96px; }
.sec.alt { background: var(--paper-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-top: 10px; }
.sec-head p { color: var(--muted); max-width: 36em; }

/* 업무 분야 - 두 자격 나란히 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); display: flex; flex-direction: column; }
.pillar-head { padding: 28px 30px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pillar-head h3 { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.pillar-head span { font-size: 13px; color: var(--muted); }
.pillar ul { padding: 8px 30px 12px; flex: 1; }
.pillar li a { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pillar li:last-child a { border-bottom: 0; }
.pillar li a strong { display: block; color: var(--ink); font-size: 16.5px; }
.pillar li a small { color: var(--muted); font-size: 14px; }
.pillar li a::after { content: "→"; color: var(--muted); transition: transform .15s, color .15s; }
.pillar li a:hover::after { color: var(--seal); transform: translateX(4px); }
.pillar-foot { padding: 0 30px 26px; }

/* 원스톱 흐름 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.flow li { padding: 26px 22px 6px 0; position: relative; }
.flow li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow .step { font-size: 13px; color: var(--seal); font-weight: 700; letter-spacing: .1em; }
.flow h3 { margin-top: 8px; font-size: 18px; color: var(--ink); }
.flow p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* 사례 카드 */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.case .tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--seal); border: 1px solid currentColor; border-radius: 2px; padding: 1px 8px; }
.case h3 { font-size: 17.5px; color: var(--ink); }
.case p { color: var(--muted); font-size: 15px; }
.case .meta { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }

/* 견적 배너 */
.band { background: var(--ink); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: 64px; }
.band h2 { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); }
.band p { color: #c4ced8; margin-top: 8px; }
.band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 공지·FAQ 2단 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two > * { min-width: 0; }
.board-mini h3, .faq-mini h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; color: var(--ink); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.board-mini h3 a, .faq-mini h3 a { font-size: 14px; font-weight: 400; color: var(--muted); }
.board-list li a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.board-list .cat { font-size: 12.5px; color: var(--seal); font-weight: 600; min-width: 3.5em; }
.board-list .ttl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.board-list .date { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.board-list li a:hover .ttl { color: var(--seal); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-display); color: var(--seal); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px 26px; color: var(--muted); }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.map { min-height: 340px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 24px; }
.map::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 49.6%, #fff 49.6% 50.4%, transparent 50.4%) 0 0/160px 160px,
  linear-gradient(0deg, transparent 49.4%, #fff 49.4% 50.6%, transparent 50.6%) 0 0/120px 120px; opacity: .9; }
.map > * { position: relative; }
.map .pin { width: 18px; height: 18px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 8px rgba(196,154,66,.28); margin: 0 auto 14px; }
.info-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.info-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); font-size: 14.5px; }
.info-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.info-list dd.big { font-size: 22px; font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* ---------- Sub pages ---------- */
.sub-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px), radial-gradient(700px 300px at 90% 0%, rgba(196,154,66,.14), transparent 60%); }
.sub-hero .wrap { position: relative; padding-block: 64px 56px; }
.sub-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); margin-top: 10px; }
.sub-hero p { color: #c4ced8; margin-top: 12px; max-width: 40em; }
.sub-hero .eyebrow { color: var(--brass); }
.crumb { font-size: 13px; color: #9fb0c0; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.tabs { border-bottom: 1px solid var(--line); background: var(--paper); }
.tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: block; padding: 16px 18px; white-space: nowrap; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; }
.tabs a.on, .tabs a:hover { color: var(--ink); border-bottom-color: var(--seal); }

.prose { max-width: 760px; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin: 0 0 18px; }

.greet { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.portrait { aspect-ratio: 3/4; max-width: 100%; background: linear-gradient(160deg, var(--paper-2), #e3e8ed); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.sign { margin-top: 28px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.sign small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--muted); margin-bottom: 4px; }

.career { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.career h3 { font-size: 17px; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.career li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-top: 2px solid var(--ink); padding-top: 20px; }
.value h3 { font-size: 19px; color: var(--ink); }
.value p { margin-top: 10px; color: var(--muted); }

/* 업무 상세 */
.svc { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-block: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc > * { min-width: 0; }
.svc-title .no { font-size: 13px; color: var(--seal); font-weight: 700; letter-spacing: .12em; }
.svc-title h2 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin-top: 6px; }
.svc-body > p { color: var(--text); }
.svc-items { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-items li { background: var(--paper-2); border-radius: var(--radius); padding: 14px 16px; }
.svc-items strong { display: block; color: var(--ink); }
.svc-items span { font-size: 14px; color: var(--muted); }
.docs { margin-top: 22px; font-size: 14.5px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 16px; }
.docs b { color: var(--ink); font-weight: 600; }

/* 비용·계산기 */
.fee-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.fee-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.fee-table th, .fee-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.fee-table th { background: var(--paper-2); color: var(--ink); font-weight: 600; font-size: 14px; }
.fee-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.calc > * { min-width: 0; }
.calc-form { padding: 32px; display: grid; gap: 18px; }
.calc-out { background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.calc-out .total { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); font-variant-numeric: tabular-nums; }
.calc-out ul { display: grid; gap: 6px; font-size: 14.5px; color: #c4ced8; }
.calc-out li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.calc-out .fine { font-size: 13px; color: #9fb0c0; margin-top: auto; }

.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font: inherit; color: var(--text); background: var(--paper); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field .hint { font-size: 13px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 14.5px; cursor: pointer; color: var(--text); }
.chips input { accent-color: var(--seal); }
.chips label:has(input:checked) { border-color: var(--seal); color: var(--seal); background: #f8f1e2; }
.drop { border: 1.5px dashed #b9c4cf; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); background: var(--paper-2); cursor: pointer; }
.drop.over { border-color: var(--seal); background: #f8f1e2; }
.drop strong { color: var(--ink); }
.files { display: grid; gap: 6px; font-size: 14px; }
.files li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--paper-2); border-radius: var(--radius); }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.agree input { margin-top: 5px; accent-color: var(--seal); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--paper); display: grid; gap: 20px; }
.form-done { border: 1px solid var(--seal); background: #f8f1e2; color: var(--seal-dark); padding: 16px 18px; border-radius: var(--radius); }

.qa-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.qa-layout > * { min-width: 0; }
.side-card { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; }
.side-card h3 { font-size: 18px; color: var(--ink); }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card .tel { font-family: var(--font-display); font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Board page */
.board-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.board-filter button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 14.5px; cursor: pointer; color: var(--text); }
.board-filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.board-table { border-top: 2px solid var(--ink); }
.board-table li a { display: grid; grid-template-columns: 70px 90px 1fr 110px; gap: 12px; padding: 17px 8px; border-bottom: 1px solid var(--line); align-items: center; }
.board-table li.pin a { background: var(--paper-2); }
.board-table .no { color: var(--muted); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.board-table .cat { font-size: 13px; color: var(--seal); font-weight: 600; }
.board-table .ttl { color: var(--ink); min-width: 0; }
.board-table .date { color: var(--muted); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }

/* Policy */
.policy h2 { font-size: 19px; color: var(--ink); margin: 34px 0 10px; }
.policy p, .policy li { color: var(--text); }
.policy ol { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1a30; color: #93a3b3; font-size: 14px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer .wrap { padding-block: 48px 40px; display: grid; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #1e365a; }
.foot-top .brand .name { color: #fff; }
.foot-top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-top nav a:hover { color: #fff; }
.foot-top nav a.strong { color: #fff; font-weight: 600; }
.foot-info { display: flex; flex-wrap: wrap; gap: 4px 18px; line-height: 1.8; }
.foot-info span { white-space: nowrap; }
.copy { font-size: 13px; color: #6b7c8c; }
.notice-legal { font-size: 12.5px; color: #6b7c8c; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) { .header-cta .btn-line { display: none; } .gnb > li > a { padding: 0 12px; } }
@media (max-width: 1240px) {
  .gnb, .header-cta .btn-line { display: none; }
  .menu-toggle { display: block; }
  .quick { display: none; }
  .tabbar { display: block; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .site-header .wrap { min-height: 64px; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 64px; }
  .split, .two, .visit, .greet, .career, .calc, .qa-layout { grid-template-columns: 1fr; }
  .greet .portrait { max-width: 280px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cases, .values { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 16px; padding-block: 40px; }
  .band .wrap { grid-template-columns: 1fr; }
  .sec { padding-block: 64px; }
}
@media (max-width: 560px) {
  .util .links { display: none; }
  .header-cta .btn-seal { display: none; }
  .brand .name { font-size: 17px; }
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .svc-items, .row2 { grid-template-columns: 1fr; }
  .pillar-head, .pillar ul, .pillar-foot { padding-left: 20px; padding-right: 20px; }
  .form-card, .calc-form, .calc-out { padding: 22px; }
  .board-table li a { grid-template-columns: 1fr auto; }
  .board-table .no { display: none; }
  .board-table .cat { grid-column: 1 / -1; }
  .info-list > div { grid-template-columns: 80px 1fr; }
  .cred { padding: 24px 20px 22px; }
}
.field .chips input, .agree input { width: auto; min-height: 0; padding: 0; }

/* 준비중(비활성) 메뉴 */
.gnb > li.off > span { display: flex; align-items: center; gap: 6px; height: 76px; padding: 0 12px; font-weight: 600; font-size: 15.5px; color: #a3adb7; cursor: not-allowed; white-space: nowrap; }
.gnb em, .drawer-off em, .pillar-head h3 em { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 0 5px; line-height: 1.6; letter-spacing: 0; vertical-align: middle; margin-left: 6px; }
.drawer-off { padding: 14px 0; font-weight: 700; color: #a3adb7; border-bottom: 1px solid var(--line); cursor: not-allowed; }
.pillar.off { background: var(--paper-2); }
.pillar.off h3, .pillar.off strong { color: #8a96a2; }
.pillar.off li a { pointer-events: none; cursor: not-allowed; }
.pillar.off li a::after { content: none; }
.pillar.off .pillar-foot .btn { pointer-events: none; color: var(--muted); background: transparent; }

/* 게시글 보기 */
.post-view { border-top: 2px solid var(--ink); padding: 28px 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.post-view .cat { font-size: 13px; color: var(--seal); font-weight: 600; }
.post-view h2 { font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.post-view .date { color: var(--muted); font-size: 14px; }
.post-body { max-width: 760px; margin: 14px 0 10px; }
.post-body p + p { margin-top: 1em; }
.brand .name { white-space: nowrap; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 8px; }
  .brand { min-width: 0; gap: 10px; }
  .brand .seal { width: 34px; height: 34px; font-size: 13px; }
  .brand .name { font-size: 16px; }
  .brand .sub { font-size: 9.5px; letter-spacing: .04em; white-space: normal; }
}
@media (max-width: 380px) { .brand .sub { display: none; } }

/* =========================================================
   메인 풀화면 섹션 (2026-11-30)
   ========================================================= */
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.site-header .draft-bar { padding-block: 4px; font-size: 12.5px; }

/* 메인: 히어로 위에 떠 있는 헤더 */
.home .site-header { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border-bottom-color: transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.home .site-header.solid { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(20,41,72,.06); }
body.home::before { background: var(--hero-paper); }

/* 풀화면 섹션 */
.fp { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; scroll-snap-align: start; padding-block: 120px 80px; }
.fp-in { position: relative; z-index: 1; width: 100%; }
.fp-bg { position: absolute; inset: 0; z-index: 0; }
.fp-bg .slot-label { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 120px; font-size: 12.5px; z-index: 2; }
.fp-head { display: grid; gap: 10px; margin-bottom: 40px; max-width: 640px; }
.fp-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; }
.fp-head p { color: var(--muted); }
.fp-light { background: var(--paper); }
.fp-light .fp-img { opacity: .12; }
.fp-paper { background: var(--paper-2); }
.fp-dark { background: var(--ink); color: #fff; }
.fp-dark .fp-head h2 { color: #fff; }
.fp-dark .eyebrow { color: var(--brass); }

/* 1. 히어로: 이미지가 화면을 꽉 채움 */
.fp-hero { background: var(--ink); color: #fff; align-items: flex-end; padding-block: 140px 120px; scroll-snap-align: start; }
.fp-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.fp-hero .fp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,48,.55) 0%, rgba(12,26,48,.15) 35%, rgba(12,26,48,.78) 100%); }
.fp-hero .fp-bg { background-color: #163052; background-image:
  radial-gradient(1100px 600px at 80% 25%, rgba(196,154,66,.22), transparent 60%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px),
  linear-gradient(135deg, #142948 0%, #21406b 100%); }
.fp-hero .eyebrow { color: var(--brass); }
.fp-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5.6vw, 76px); line-height: 1.22; letter-spacing: -.015em; margin-top: 18px; max-width: 13em; }
.fp-hero h1 em { font-style: normal; color: var(--brass); }
.fp-hero .lead { margin-top: 24px; font-size: clamp(16px, 1.4vw, 19px); color: #d3dbe3; max-width: 34em; }
.fp-hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1; display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .25em; }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,0), #fff); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 2. 업무 분야 */
.practice { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.p-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 20px 50px rgba(20,41,72,.06); min-width: 0; }
.p-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.p-top h3 { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.p-top h3 em { font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 0 5px; margin-left: 8px; vertical-align: middle; }
.p-top span { font-size: 13px; color: var(--muted); }
.p-card ul { display: grid; grid-template-columns: 1fr 1fr; }
.p-card li a { display: grid; gap: 2px; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); }
.p-card li a strong { color: var(--ink); font-size: 16.5px; }
.p-card li a small { color: var(--muted); font-size: 13.5px; }
.p-card li a:hover strong { color: var(--seal); }
.p-more { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--seal); font-size: 15px; }
.p-card.off { background: var(--paper-2); box-shadow: none; }
.p-card.off h3, .p-card.off strong { color: #8a96a2; }
.p-card.off li a { pointer-events: none; cursor: not-allowed; }
.p-card.off .p-more { color: var(--muted); }

/* 3. 진행 방법 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: 6px; padding: 26px 24px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.steps .n { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--seal); color: var(--seal); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.steps h3 { font-size: 18px; color: var(--ink); }
.steps p { color: var(--muted); font-size: 15px; }
.cta-row { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta-tile { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 6px; background: var(--ink); color: #fff; transition: transform .15s, background .15s; min-width: 0; }
.cta-tile.hot { background: var(--seal); }
.cta-tile:hover { transform: translateY(-2px); }
.cta-tile svg { width: 34px; height: 34px; flex: none; }
.cta-tile b { display: block; font-size: 17px; }
.cta-tile small { color: rgba(255,255,255,.75); font-size: 13.5px; }
.cta-tile small .tbd { color: #4a3b00; }

/* 5. 오시는 길 (어두운 화면) */
.fp-dark .info-list { border-top-color: rgba(255,255,255,.5); }
.fp-dark .info-list > div { border-bottom-color: rgba(255,255,255,.12); }
.fp-dark .info-list dt { color: #9fb0c0; }
.fp-dark .info-list dd { color: #fff; }
.fp-dark .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.fp-dark .map { background: #1a3358; border-color: #26446e; color: #d3dbe3; }
.fp-dark .map::before { background:
  linear-gradient(90deg, transparent 49.6%, #26446e 49.6% 50.4%, transparent 50.4%) 0 0/160px 160px,
  linear-gradient(0deg, transparent 49.4%, #26446e 49.4% 50.6%, transparent 50.6%) 0 0/120px 120px; }
.fp .visit { align-items: center; }
.fp .two { gap: 56px; }

/* 섹션 점 내비게이션 (PC) */
.dots { position: fixed; right: max(28px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 45; display: grid; gap: 14px; }
.dots a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: 12.5px; }
.dots a span { opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; }
.dots a:hover span, .dots a.on span { opacity: 1; transform: none; }
.dots a i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .2s, transform .2s; }
.dots a.on { color: var(--seal); }
.dots a.on i { background: currentColor; transform: scale(1.25); }
.dots.on-dark a { color: rgba(255,255,255,.6); }
.dots.on-dark a.on { color: #fff; }

/* PC: 화면 단위 스크롤 */
@media (min-width: 1241px) and (min-height: 680px) {
  html:has(body.home) { scroll-snap-type: y proximity; }
}

/* =========================================================
   안내 캐릭터 '도장이'
   ========================================================= */
.quick { display: none !important; }
.guide { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: grid; justify-items: end; gap: 10px; pointer-events: none; }
.guide > * { pointer-events: auto; }
.guide-char { width: 92px; height: 108px; border: 0; padding: 0; background: none; cursor: pointer; filter: drop-shadow(0 10px 18px rgba(20,41,72,.22)); animation: bob 3.2s ease-in-out infinite; }
.guide-char svg { width: 100%; height: 100%; display: block; overflow: visible; }
.guide-char:hover .g-arm, .guide.wave .g-arm { animation: wave .9s ease-in-out 2; }
.g-arm { transform-origin: 88px 86px; }
.g-eyes { transform-origin: 60px 68px; animation: blink 5s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 70% { transform: rotate(10deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.guide-bubble { position: relative; max-width: 290px; background: var(--paper); color: var(--text); border: 2px solid var(--ink); border-radius: 18px 18px 4px 18px; padding: 14px 36px 14px 16px; font-size: 14.5px; line-height: 1.6; box-shadow: 0 12px 30px rgba(20,41,72,.16); transition: opacity .25s, transform .25s; transform-origin: bottom right; }
.guide-bubble.hide { opacity: 0; transform: scale(.9) translateY(6px); pointer-events: none; }
.guide-bubble.swap { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.guide-text { margin: 0; }
.guide-cta { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--seal); font-size: 14px; }
.guide-x { position: absolute; top: 4px; right: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 50%; }
.guide-x:hover { background: var(--paper-2); }
.guide-menu { width: 250px; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 16px 36px rgba(20,41,72,.2); }
.guide-menu-title { font-size: 12.5px; color: var(--muted); padding: 4px 8px 6px; margin: 0; }
.guide-menu a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.guide-menu a:hover { background: var(--paper-2); }
.guide-menu a.hot { background: var(--seal); color: #fff; }
.guide-menu svg { width: 20px; height: 20px; flex: none; }
.guide.open .guide-bubble { display: none; }
@media (prefers-reduced-motion: reduce) { .guide-char, .g-eyes, .scroll-cue span { animation: none; } }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1240px) {
  .dots { display: none; }
  .guide { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
  .practice { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .fp { min-height: auto; padding-block: 104px 64px; }
  .fp-hero { min-height: 100vh; min-height: 100svh; padding-block: 120px 96px; }
  .cta-row { grid-template-columns: 1fr; }
  .fp-head { margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .fp-hero .actions .btn { flex: 1 1 100%; }
  .p-card { padding: 22px 18px; }
  .p-card ul { grid-template-columns: 1fr; }
  /* 모바일: 업무 카드를 옆으로 넘겨 보기 */
  .practice { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-right: 16px; padding-bottom: 6px; scrollbar-width: none; }
  .practice::-webkit-scrollbar { display: none; }
  .p-card { scroll-snap-align: start; }
  .steps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; }
  .steps li { scroll-snap-align: start; }
  .guide-char { width: 64px; height: 76px; }
  .guide-bubble { max-width: min(230px, calc(100vw - 96px)); font-size: 13px; line-height: 1.55; padding: 10px 30px 10px 12px; }
  .fp-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .guide-menu { width: min(260px, calc(100vw - 32px)); }
}


/* =========================================================
   히어로 v2: 밝은 사무실 사진 + 왼쪽 여백에 문구 (2026-11-30)
   ========================================================= */
.fp-hero { background: var(--hero-paper); color: var(--ink); padding: 0; align-items: stretch; display: grid; grid-template-columns: minmax(440px, 29.1%) 1fr; }
.hero-panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 150px clamp(28px, 3vw, 56px) 44px max(clamp(28px, 3vw, 56px), env(safe-area-inset-left, 0px)); background: var(--hero-paper); min-width: 0; }
.hero-copy { display: grid; gap: 0; }
.fp-hero .eyebrow { color: var(--seal); }
.fp-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 2.35vw, 46px); line-height: 1.32; letter-spacing: -.02em; margin-top: 18px; color: var(--ink); max-width: none; }
.fp-hero h1 em { font-style: normal; color: var(--seal); }
.fp-hero .lead { margin-top: 22px; font-size: clamp(15px, 1vw, 17px); color: var(--muted); max-width: 30em; }
.fp-hero .actions { margin-top: 32px; display: grid; gap: 8px; max-width: 360px; }
.fp-hero .actions .btn { width: 100%; }

/* 잡지 캡션 */
.mag { border-top: 1px solid var(--ink); padding-top: 12px; display: grid; gap: 10px; max-width: 360px; }
.mag-top { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.mag-line { font-family: var(--font-display); font-size: 13px; line-height: 1.75; color: #3c4a57; font-style: italic; }
.mag-credit { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8a96a2; }

.hero-photo { margin: 0; position: relative; min-width: 0; overflow: hidden; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 30% 50%; }
.fp-hero .scroll-cue { left: calc(50% + 14.5%); color: rgba(20,41,72,.55); }
.fp-hero .scroll-cue span { background: linear-gradient(rgba(20,41,72,0), var(--ink)); }

@media (max-width: 1240px) {
  .fp-hero { grid-template-columns: minmax(380px, 40%) 1fr; }
  .hero-panel { padding-top: 130px; }
}
@media (max-width: 900px) {
  .fp-hero { grid-template-columns: 1fr; min-height: auto; padding: 0; }
  .hero-photo { order: -1; height: 52vh; height: 52svh; min-height: 300px; }
  .hero-photo img { object-position: 62% 50%; }
  .hero-panel { padding: 32px max(20px, env(safe-area-inset-right, 0px)) 36px max(20px, env(safe-area-inset-left, 0px)); gap: 36px; }
  .fp-hero .actions { max-width: none; }
  .mag { max-width: none; }
  .fp-hero .scroll-cue { display: none; }
}

.mag-credit span { white-space: nowrap; }
@media (min-width: 1241px) {
  .home .site-header .wrap { max-width: none; padding-left: max(clamp(28px, 3vw, 56px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(28px, 3vw, 56px), env(safe-area-inset-right, 0px)); }
  .home .site-header:not(.solid) .brand .sub { display: none; }
}

/* =========================================================
   메가메뉴 + 고정 햄버거 (2026-11-30)
   ========================================================= */
.burger { position: relative; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; flex: none; margin-left: 6px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger:hover { border-color: var(--ink); }
body.mega-pinned .burger { background: var(--ink); border-color: var(--ink); }
body.mega-pinned .burger span { background: #fff; }
body.mega-pinned .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.mega-pinned .burger span:nth-child(2) { opacity: 0; }
body.mega-pinned .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.site-header { z-index: 80; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(20,41,72,.12); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; max-height: calc(100vh - 110px); overflow-y: auto; }
.site-header.mega-peek .mega, body.mega-pinned .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.mega-in { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-block: 36px 40px; }
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.mega-title { display: block; font-weight: 700; font-size: 15.5px; color: var(--ink); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
a.mega-title:hover { color: var(--seal); }
.mega-title em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 0 5px; margin-left: 6px; vertical-align: middle; }
.mega-col ul { display: grid; gap: 2px; }
.mega-col li a, .mega-col li span { display: block; padding: 6px 0; font-size: 14.5px; color: var(--muted); }
.mega-col li a:hover { color: var(--seal); }
.mega-col.on .mega-title { color: var(--seal); border-bottom-color: var(--seal); }
.mega-col.off .mega-title { color: #a3adb7; border-bottom-color: var(--line); }
.mega-col.off li span { color: #b8c1ca; cursor: not-allowed; }
.mega-side { background: var(--paper-2); border-radius: 6px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.mega-side-k { font-size: 12.5px; letter-spacing: .12em; color: var(--seal); font-weight: 700; }
.mega-side-tel { font-family: var(--font-display); font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mega-side-h { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.mega-dim { position: fixed; inset: 0; z-index: 79; background: rgba(20,41,72,.35); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
body.mega-pinned .mega-dim { opacity: 1; visibility: visible; transition: opacity .2s; }
/* 메인 투명 헤더도 메뉴가 열리면 흰 배경 */
.home .site-header.mega-peek, body.mega-pinned .site-header { background: var(--paper); border-bottom-color: var(--line); }
.gnb > li > a { height: 76px; }
.gnb .sub-menu { display: none !important; }

@media (max-width: 1320px) { .mega-in { grid-template-columns: 1fr 240px; gap: 32px; } .mega-cols { gap: 24px; } }
@media (max-width: 1240px) {
  body.mega-pinned { overflow: hidden; }
  .mega { max-height: calc(100vh - 90px); max-height: calc(100svh - 90px); }
  .mega-in { grid-template-columns: 1fr; padding-block: 24px calc(96px + env(safe-area-inset-bottom, 0px)); gap: 28px; }
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .mega-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .mega-title { font-size: 16px; white-space: normal; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
  body.mega-pinned .burger span:nth-child(1), body.mega-pinned .burger span:nth-child(3) { top: 20px; }
}
.site-header .mega-in { display: grid; align-items: start; justify-content: stretch; min-height: 0; }


/* =========================================================
   타이포 정리 (Pretendard) + 원스톱 문구 (2026-11-30)
   ========================================================= */
body { letter-spacing: -0.01em; }
h1, h2, h3, .fp-head h2, .sub-hero h1, .p-top h3, .svc-title h2, .prose h2 { font-weight: 700; letter-spacing: -0.03em; }
.brand .name { font-weight: 700; letter-spacing: -0.02em; }
.brand .seal, .cred .stamp, .mag-line, .sign { font-family: var(--font-serif); }
.fp-hero h1 { font-weight: 800; font-size: clamp(32px, 2.6vw, 50px); line-height: 1.24; letter-spacing: -0.04em; }
.fp-hero h1 em { color: var(--seal); }
.fp-hero .eyebrow { letter-spacing: .08em; text-transform: none; font-size: 13.5px; font-weight: 700; }
.fp-hero .lead { font-size: clamp(15px, 1vw, 16.5px); line-height: 1.75; color: #4a5866; letter-spacing: -0.015em; }
.onestop { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); max-width: 420px; }
.onestop li { padding: 14px 12px 14px 0; display: grid; gap: 6px; align-content: start; }
.onestop li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.onestop b { font-size: 11.5px; color: var(--seal); letter-spacing: .1em; font-weight: 800; }
.onestop span { font-size: 13.5px; line-height: 1.5; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.fp-hero .actions { margin-top: 26px; }
.btn { letter-spacing: -0.01em; font-weight: 700; }
.mag-line { font-size: 13.5px; }
.mega-side-tel, .info-list dd.big, .side-card .tel, .calc-out .total { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 900px) { .onestop { max-width: none; } }

/* ---------- LawOne 로고 테마 ---------- */
.brand .mark { width: auto; height: 40px; flex: none; color: var(--ink); display: block; }
.brand .name { font-weight: 800; font-size: 23px; letter-spacing: -0.03em; color: var(--ink); line-height: 1.05; }
.brand .sub { margin-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.foot-top .brand .mark { color: #fff; }
.foot-top .brand .sub { color: #9fb0c0; }
.btn-seal, .tabbar a.hot, .quick a.hot { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-seal:hover { background: var(--gold-dark); color: var(--ink); }
@media (max-width: 560px) { .brand .mark { height: 34px; } .brand .name { font-size: 20px; } .brand .sub { font-size: 10.5px; } }

/* 메뉴 5개: 간격 넓게 */
@media (min-width: 1241px) { .gnb > li > a, .gnb > li.off > span { padding: 0 22px; font-size: 16px; } }

/* ---------- 메가메뉴 v2: 남색 바탕 세로형 패널 ---------- */
.mega {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(196,154,66,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 120%, rgba(255,255,255,.05), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #172e52 0%, #102341 100%);
  border-top: 0; box-shadow: 0 30px 60px rgba(8,18,36,.35);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); opacity: .85; }
.mega-in { padding-block: 0 !important; gap: 0 !important; grid-template-columns: 1fr 300px !important; }
.mega-cols { gap: 0 !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; border-left: 1px solid rgba(255,255,255,.08); }
.mega-col { position: relative; padding: 44px 26px 48px 26px; border-right: 1px solid rgba(255,255,255,.08); min-height: 380px; transition: background .25s; overflow: hidden; }
.mega-col::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.mega-col:not(.off):hover { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
.mega-col:not(.off):hover::after, .mega-col.on::after { transform: scaleX(1); }
.mc-en { position: absolute; right: 14px; top: 40px; writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: .38em; font-weight: 600; color: rgba(212,173,92,.55); white-space: nowrap; }
.mc-no { display: block; font-family: var(--font-serif); font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212,173,92,.75); margin-bottom: 22px; letter-spacing: .02em; }
.mega-col .mega-title { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; border: 0; padding: 0; margin: 0 0 8px; white-space: nowrap; }
a.mega-title:hover, .mega-col.on .mega-title { color: var(--brass); }
.mc-desc { font-size: 12.5px; color: #8fa1b8; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); letter-spacing: -0.01em; }
.mega-col ul { gap: 0; }
.mega-col li a, .mega-col li span { color: #c3cedc; font-size: 14.5px; padding: 7px 0; position: relative; transition: color .2s, padding .2s; }
.mega-col li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .2s; }
.mega-col li a:hover { color: #fff; padding-left: 16px; }
.mega-col li a:hover::before { width: 10px; }
.mega-col.off { opacity: .45; }
.mega-col.off .mega-title { color: #c3cedc; }
.mega-col.off .mega-title em { color: #c3cedc; border-color: rgba(255,255,255,.25); }
.mega-col.off li span { color: #8fa1b8; }
.mega-side { background: rgba(255,255,255,.04); border-radius: 0; border-left: 1px solid rgba(255,255,255,.08); padding: 44px 32px 48px; gap: 12px; }
.mega-side-k { color: var(--brass); }
.mega-side-tel { color: #fff; font-size: 28px; }
.mega-side-h { color: #8fa1b8; }
.mega-side .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.mega-side .btn-line:hover { border-color: var(--gold); color: var(--brass); }
.mega-dim { background: rgba(8,18,36,.55); }
@media (max-width: 1320px) { .mega-in { grid-template-columns: 1fr 250px !important; } .mega-col { padding: 40px 18px 44px; } .mc-en { right: 8px; } .mega-side { padding: 40px 24px; } }
@media (max-width: 1240px) {
  .mega-in { grid-template-columns: 1fr !important; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; border-left: 0; }
  .mega-col { min-height: 0; padding: 32px 22px 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mega-side { border-left: 0; padding: 28px 22px; }
}
@media (max-width: 700px) {
  .mega-cols { grid-template-columns: 1fr !important; }
  .mega-col { padding: 26px 4px 24px; border-right: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .mega-col::after { left: 4px; right: 4px; }
  .mc-en { display: none; }
  .mc-no { grid-row: 1 / span 2; font-size: 26px; margin: 2px 0 0; }
  .mc-desc { margin-bottom: 12px; padding-bottom: 12px; }
  .mega-col ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 18px; }
  .mega-col li a, .mega-col li span { padding: 6px 0; font-size: 14px; }
  .mega-col .mega-title { font-size: 18px; }
}
.site-header .mega-in { align-items: stretch; }
@media (min-width: 701px) { .mega-col { padding-right: 46px !important; } .mega-col::after { right: 46px; } }
.mega-side-tel { white-space: nowrap; }
@media (max-width: 1320px) { .mega-side-tel { font-size: 23px; } }
@media (min-width: 701px) { .mc-desc { min-height: calc(2 * 1.6em + 18px); line-height: 1.6; } }
@media (min-width: 1321px) { .mega-in { grid-template-columns: 1fr 270px !important; } }

/* ---------- 하위 페이지 고급 마감 ---------- */
/* 상단: 사무실 사진 + 남색 막 + 세로 영문 + 큰 번호 */
.sub-hero { background: #0f2240; min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.sub-hero::before { z-index: 1; background:
  linear-gradient(90deg, rgba(14,31,58,.97) 0%, rgba(16,35,65,.9) 42%, rgba(16,35,65,.62) 100%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px) !important; }
.sub-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2; background: linear-gradient(90deg, var(--gold), rgba(196,154,66,.15) 70%, transparent); }
.sh-photo { position: absolute; inset: 0; z-index: 0; background: url(../img/hero-photo.jpg) var(--pos, 50% 50%) / cover no-repeat; filter: grayscale(.35) contrast(1.05); transform: scale(1.04); }
.sub-hero .wrap { z-index: 3; width: 100%; padding-block: 110px 70px; }
.sub-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
.sub-hero h1::after { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-top: 22px; }
.sub-hero p { color: #d2dae6; font-size: 16.5px; margin-top: 18px; }
.sh-no { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1200px) / 2 + 40px)); bottom: -28px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(120px, 15vw, 220px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(212,173,92,.7); letter-spacing: -0.02em; pointer-events: none; }
.sh-vert { position: absolute; z-index: 3; right: max(16px, calc((100vw - 1200px) / 2 - 8px)); top: 50px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: rgba(212,173,92,.8); font-weight: 600; padding-bottom: 64px; }
.sh-vert::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 52px; background: linear-gradient(var(--gold), transparent); }
.crumb { letter-spacing: .02em; }
@media (max-width: 700px) {
  .sub-hero { min-height: 280px; }
  .sub-hero .wrap { padding-block: 80px 48px; }
  .sh-no { font-size: 96px; bottom: -14px; right: 16px; }
  .sh-vert { display: none; }
}

/* 하위 탭: 금색 밑줄 + 얇은 위선 */
.tabs { box-shadow: 0 1px 0 rgba(20,41,72,.04); }
.tabs a { font-size: 15px; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--gold); }

/* 본문 바탕: 세로 기준선 4줄 + 아이보리 섹션 */
main .sec, .sub-hero ~ .sec { position: relative; isolation: isolate; }
.sub-hero ~ .sec::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: min(1200px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none;
  border-left: 1px solid rgba(20,41,72,.06); border-right: 1px solid rgba(20,41,72,.06);
  background: linear-gradient(90deg, transparent calc(25% - .5px), rgba(20,41,72,.05) calc(25% - .5px) calc(25% + .5px), transparent calc(25% + .5px) calc(50% - .5px), rgba(20,41,72,.05) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px) calc(75% - .5px), rgba(20,41,72,.05) calc(75% - .5px) calc(75% + .5px), transparent calc(75% + .5px)); }
.sub-hero ~ .sec.alt { background: linear-gradient(180deg, #f7f5f0, #f2efe8); }
.sub-hero ~ .sec.alt::before { border-color: rgba(154,116,41,.10); }

/* 제목: 세로 금색 라인 */
.sec-head > div:first-child, .sec-head > :first-child { position: relative; }
.sec-head h2, .prose h2 { letter-spacing: -0.03em; }
.svc-title { position: sticky; top: 120px; align-self: start; border-left: 2px solid var(--gold); padding: 4px 0 6px 22px; }
.svc-title .no { color: var(--seal); letter-spacing: .2em; font-size: 11.5px; }
.svc-title h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.svc { border-bottom-color: rgba(20,41,72,.1); }

/* 카드: 흰 카드 + 마우스 올리면 금색 윗선 */
.svc-items li { background: #fff; border: 1px solid rgba(20,41,72,.08); border-radius: 2px; padding: 18px 20px; position: relative; transition: box-shadow .25s, transform .25s; box-shadow: 0 1px 2px rgba(20,41,72,.04); }
.svc-items li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc-items li:hover { box-shadow: 0 14px 30px rgba(20,41,72,.10); transform: translateY(-2px); }
.svc-items li:hover::before { transform: scaleX(1); }
.svc-items strong { font-size: 16px; margin-bottom: 2px; }
.docs { border-left: 2px solid var(--gold); background: rgba(255,255,255,.7); padding: 16px 20px; margin-top: 22px; }

/* 사무소 소개 */
.value { background: #fff; border: 1px solid rgba(20,41,72,.08); border-top: 2px solid var(--ink); padding: 30px 28px 32px; position: relative; transition: border-color .25s, box-shadow .25s; }
.value:hover { border-top-color: var(--gold); box-shadow: 0 16px 34px rgba(20,41,72,.08); }
.value h3 { font-weight: 800; letter-spacing: -0.02em; }
.career h3 { border-bottom-color: var(--gold); }
.greet .portrait { box-shadow: 18px 18px 0 rgba(196,154,66,.18); }

/* 견적 폼·사이드 카드 */
.form-card { border: 0; border-top: 3px solid var(--ink); border-radius: 2px; box-shadow: 0 24px 50px rgba(20,41,72,.08); padding: 44px; }
.side-card { border-top-color: var(--gold); }
@media (max-width: 700px) { .form-card { padding: 26px 20px; } .svc-title { position: static; } }

/* 표·목록 */
.fee-table-wrap, .board-table, .info-list { border-top-color: var(--ink); }
.fee-table tbody tr { transition: background .2s; }
.fee-table tbody tr:hover { background: #faf7f0; }
.calc-out { background: linear-gradient(160deg, #1a3358, #0f2240); box-shadow: 0 24px 50px rgba(20,41,72,.18); }

/* =========================================================
   메인 2~5화면 v3: 화면을 꽉 채우는 분할 구성
   ========================================================= */
.fp-bleed { padding: 0 !important; align-items: stretch; display: block; }
:root { --edge: max(24px, calc((100vw - 1200px) / 2)); --top: 150px; }
.x-split { display: grid; min-height: 100vh; min-height: 100svh; }
.x-split > * { min-width: 0; }
.x-vert { position: absolute; left: 28px; top: var(--top); writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: rgba(212,173,92,.85); font-weight: 600; padding-top: 60px; }
.x-vert::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 48px; background: linear-gradient(transparent, var(--gold)); }
.x-bigno { position: absolute; right: 24px; bottom: -34px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(140px, 14vw, 240px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(212,173,92,.45); pointer-events: none; }
.x-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--brass); }

/* 2화면: 업무 분야 */
.x-practice { grid-template-columns: minmax(420px, 38%) 1fr; }
.x-intro { position: relative; overflow: hidden; color: #fff; background: #0f2240; isolation: isolate; display: flex; align-items: center; }
.x-intro::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(../img/hero-photo.jpg) 70% 50% / cover no-repeat; filter: grayscale(.4); }
.x-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(14,31,58,.94), rgba(16,35,65,.86) 55%, rgba(16,35,65,.72)), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px); }
.x-intro-in { padding: var(--top) 64px 80px max(84px, var(--edge)); max-width: 640px; }
.x-intro .eyebrow { color: var(--brass); }
.x-intro h2 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -0.035em; margin-top: 14px; }
.x-intro h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-top: 26px; }
.x-intro p { color: #cdd6e3; margin-top: 22px; font-size: 16px; line-height: 1.8; }
.x-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid rgba(255,255,255,.18); }
.x-facts > div { padding: 18px 12px 0 0; }
.x-facts > div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
.x-facts dt { font-family: var(--font-serif); font-size: 40px; line-height: 1; color: var(--brass); }
.x-facts dd { margin: 10px 0 0; font-size: 12.5px; color: #aebbd0; line-height: 1.5; }
.x-areas { background: linear-gradient(180deg, #f7f5f0, #f1ede5); padding: var(--top) var(--edge) 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.x-areas-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
.x-areas-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.x-areas-head h3 small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.x-areas-head h3 em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid #cfd6df; padding: 1px 6px; margin-left: 8px; vertical-align: middle; }
.x-areas-head a, .x-areas-head > span { font-size: 13.5px; color: var(--seal); font-weight: 600; white-space: nowrap; }
.x-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.x-tiles a { position: relative; display: grid; gap: 4px; align-content: start; min-height: 150px; padding: 22px 22px 20px; background: #fff; border: 1px solid rgba(20,41,72,.08); transition: background .3s, color .3s, box-shadow .3s, transform .3s; overflow: hidden; }
.x-tiles b { font-size: 11.5px; letter-spacing: .16em; color: var(--seal); font-weight: 700; margin-bottom: 14px; }
.x-tiles strong { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; transition: color .3s; }
.x-tiles small { font-size: 13px; color: var(--muted); transition: color .3s; }
.x-tiles i { position: absolute; right: 20px; bottom: 16px; font-style: normal; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.x-tiles a:hover { background: var(--ink); box-shadow: 0 20px 40px rgba(20,41,72,.22); transform: translateY(-3px); }
.x-tiles a:hover strong { color: #fff; }
.x-tiles a:hover small { color: #aebbd0; }
.x-tiles a:hover b { color: var(--brass); }
.x-tiles a:hover i { opacity: 1; transform: none; }
.x-admin.off { opacity: .6; }
.x-admin .x-areas-head { border-bottom-color: #c9d1db; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.x-chips a { display: block; padding: 9px 16px; border: 1px solid #d3d9e1; background: rgba(255,255,255,.6); font-size: 14px; color: var(--ink); }
.x-admin.off .x-chips a { color: #8793a1; cursor: not-allowed; pointer-events: none; }

/* 3화면: 진행 방법 */
.x-process { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: var(--top); background: linear-gradient(180deg, #f7f5f0, #f2efe8); }
.x-process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: 44px; }
.x-process-head h2 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; color: var(--ink); margin-top: 12px; }
.x-process-head p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.x-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(20,41,72,.14); border-bottom: 1px solid rgba(20,41,72,.14); padding-inline: var(--edge); position: relative; }
.x-steps li { position: relative; padding: 48px 32px 40px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid rgba(20,41,72,.1); transition: background .3s; }
.x-steps li:last-child { border-right: 1px solid rgba(20,41,72,.1); }
.x-steps li::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.x-steps li:hover { background: rgba(255,255,255,.7); }
.x-steps li:hover::before, .x-steps li:first-child::before { transform: scaleX(1); }
.x-n { font-family: var(--font-serif); font-weight: 700; font-size: clamp(56px, 5vw, 84px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--ink); opacity: .85; margin-bottom: 18px; }
.x-steps h3 { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.x-steps p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.x-steps small { margin-top: auto; padding-top: 18px; font-size: 10.5px; letter-spacing: .3em; color: var(--seal); font-weight: 600; }
.x-cta { display: grid; grid-template-columns: repeat(3, 1fr); }
.x-cta a { position: relative; display: flex; align-items: center; gap: 18px; min-height: 132px; padding: 28px 40px; background: var(--ink); color: #fff; transition: background .3s; }
.x-cta a + a { border-left: 1px solid rgba(255,255,255,.1); }
.x-cta a:first-child { padding-left: var(--edge); }
.x-cta a:last-child { padding-right: var(--edge); }
.x-cta a.hot { background: var(--gold); color: var(--ink); }
.x-cta a:hover { background: #1f3a63; }
.x-cta a.hot:hover { background: var(--gold-dark); }
.x-cta svg { width: 30px; height: 30px; flex: none; }
.x-cta span { display: grid; gap: 4px; }
.x-cta b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.x-cta small { font-size: 13px; opacity: .8; }
.x-cta i { margin-left: auto; font-style: normal; font-size: 20px; transition: transform .3s; }
.x-cta a:hover i { transform: translateX(6px); }

/* 4화면: 소식·FAQ */
.x-news { grid-template-columns: 1fr 1fr; }
.x-panel { position: relative; overflow: hidden; display: flex; align-items: center; }
.x-panel-in { width: 100%; padding: var(--top) 64px 80px; }
.x-panel-l .x-panel-in { padding-left: var(--edge); }
.x-panel-r .x-panel-in { padding-right: var(--edge); }
.x-news .x-panel-l { background: #fff; }
.x-news .x-panel-r { background: linear-gradient(180deg, #f7f5f0, #f1ede5); border-left: 1px solid rgba(20,41,72,.06); }
.x-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin: 12px 0 6px; }
.x-panel-head h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.x-panel-head a { font-size: 13.5px; color: var(--seal); font-weight: 600; white-space: nowrap; }
.x-board li a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.x-board li a:hover { padding-left: 12px; background: #faf8f3; }
.x-board .ttl { font-size: 16.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-board .date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.x-blog { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 20px 24px; background: var(--ink); color: #fff; transition: background .3s; }
.x-blog span { display: grid; gap: 2px; }
.x-blog b { font-size: 16px; }
.x-blog small { font-size: 12.5px; color: #aebbd0; }
.x-blog i { margin-left: auto; font-style: normal; color: var(--brass); font-size: 18px; }
.x-blog:hover { background: #1f3a63; }
.x-faq details { border-bottom: 1px solid rgba(20,41,72,.12); }
.x-faq summary { padding: 22px 40px 22px 0; font-size: 16.5px; }
.x-faq details[open] { background: rgba(255,255,255,.6); }
.x-faq details[open] summary { padding-left: 16px; }
.x-faq .a { padding: 0 16px 22px 40px; color: var(--muted); }

/* 5화면: 오시는 길 */
.x-contact { grid-template-columns: 1fr 1fr; }
.x-contact .x-panel-l { background: linear-gradient(160deg, #172e52, #0f2240); }
.x-contact .x-panel-l::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 1px, transparent 1px 10px); pointer-events: none; }
.x-contact .x-panel-in { position: relative; max-width: calc(600px + var(--edge)); }
.x-contact h2 { font-size: clamp(30px, 3vw, 46px); font-weight: 800; letter-spacing: -0.035em; margin-top: 12px; }
.x-lead { color: #c3cedc; margin-top: 14px; }
.x-tel { display: grid; gap: 4px; margin: 32px 0 8px; font-size: clamp(32px, 3.2vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.x-tel small { font-size: 12px; letter-spacing: .2em; color: var(--brass); font-weight: 600; }
.x-tel:hover { color: var(--brass); }
.x-contact .info-list { margin-top: 20px; }
.x-contact .info-list a:hover { color: var(--brass); }
.x-map.map { min-height: 100%; border: 0; border-radius: 0; }
.fp-dark .x-map.map { border: 0; }

/* 푸터 */
.site-footer { background: #0b1830; }
.foot-grid { display: grid !important; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 64px !important; padding-block: 72px 48px !important; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand .brand .name { color: #fff; }
.foot-brand .brand .mark { color: #fff; }
.foot-brand .brand .sub { color: #8fa1b8; }
.foot-tag { margin-top: 22px; color: #c3cedc; font-size: 15px; line-height: 1.7; }
.foot-tel { display: inline-block; margin-top: 22px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.foot-tel:hover { color: var(--brass); }
.foot-hours { font-size: 13px; color: #8fa1b8; margin-top: 4px; }
.foot-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.foot-nav p { font-size: 14.5px; font-weight: 700; color: #fff; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid rgba(212,173,92,.4); white-space: nowrap; }
.foot-nav p em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #8fa1b8; margin-left: 6px; }
.foot-nav .off p { color: #6f7f95; border-bottom-color: rgba(255,255,255,.1); }
.foot-nav li a { display: block; padding: 5px 0; font-size: 13.5px; color: #93a3b3; }
.foot-nav a:hover { color: var(--brass); }
.foot-bottom { padding-block: 32px 40px !important; gap: 16px !important; }
.foot-copy { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-copy .strong { color: #fff; font-weight: 600; }

/* 노트북 */
@media (max-width: 1240px) {
  :root { --top: 130px; }
  .x-practice { grid-template-columns: 1fr; }
  .x-intro-in { padding: var(--top) var(--edge) 64px; max-width: 760px; }
  .x-areas { padding: 64px var(--edge); }
  .x-steps li { padding: 40px 22px 32px; }
  .x-cta a { padding: 24px 24px; }
  .x-panel-in { padding: var(--top) 40px 64px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px !important; }
}
/* 태블릿·모바일 */
@media (max-width: 900px) {
  .x-split, .x-process { min-height: 0; }
  .x-news, .x-contact { grid-template-columns: 1fr; }
  .x-panel-in, .x-panel-l .x-panel-in, .x-panel-r .x-panel-in { padding: 64px var(--edge); }
  .x-news .x-panel-l .x-panel-in, .x-contact .x-panel-l .x-panel-in { padding-top: 110px; }
  .x-news .x-panel-r { border-left: 0; }
  .x-process { padding-top: 110px; }
  .x-process-head { grid-template-columns: 1fr; gap: 14px; padding-bottom: 32px; }
  .x-steps { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .x-steps li { border-left: 0; border-bottom: 1px solid rgba(20,41,72,.1); padding: 32px var(--edge) 28px; }
  .x-steps li:nth-child(odd) { border-right: 1px solid rgba(20,41,72,.1); padding-right: 20px; }
  .x-steps li:nth-child(even) { padding-left: 20px; }
  .x-steps li:last-child { border-right: 0; }
  .x-cta { grid-template-columns: 1fr; }
  .x-cta a, .x-cta a:first-child, .x-cta a:last-child { padding: 22px var(--edge); min-height: 0; }
  .x-cta a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .x-map.map { min-height: 320px; }
  .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 700px) {
  :root { --edge: 20px; }
  .x-intro-in { padding: 104px 20px 52px; }
  .x-vert { display: none; }
  .x-bigno { font-size: 110px; bottom: -18px; right: 12px; }
  .x-intro h2 { font-size: 34px; }
  .x-intro h2 br { display: none; }
  .x-facts dt { font-size: 32px; }
  .x-actions .btn { flex: 1 1 100%; }
  .x-areas { padding: 48px 20px 56px; gap: 32px; }
  .x-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .x-tiles a { min-height: 0; padding: 16px 16px 18px; }
  .x-tiles b { margin-bottom: 8px; }
  .x-tiles strong { font-size: 16px; }
  .x-tiles small { font-size: 12px; }
  .x-areas-head h3 small { display: block; margin: 4px 0 0; }
  .x-steps { grid-template-columns: 1fr; }
  .x-steps li, .x-steps li:nth-child(odd), .x-steps li:nth-child(even) { border-right: 0; padding: 26px 20px; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; row-gap: 6px; }
  .x-n { grid-row: 1 / span 3; font-size: 48px; margin: 0; }
  .x-steps small { padding-top: 6px; }
  .x-panel-in, .x-panel-l .x-panel-in, .x-panel-r .x-panel-in { padding: 52px 20px; }
  .x-news .x-panel-l .x-panel-in, .x-contact .x-panel-l .x-panel-in { padding-top: 100px; }
  .x-board li a { grid-template-columns: 40px 1fr; }
  .x-board .date { grid-column: 2; margin-top: -8px; }
  .x-board .ttl { font-size: 15.5px; }
  .x-map.map { min-height: 260px; }
  .foot-grid { padding-block: 52px 36px !important; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
}

/* ---------- 움직이는 요소: 업무 띠 · 사진 · 등장 효과 ---------- */
.x-ticker { position: relative; background: var(--ink); color: #fff; overflow: hidden; border-top: 1px solid rgba(212,173,92,.35); border-bottom: 1px solid rgba(212,173,92,.35); }
.x-ticker::before, .x-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.x-ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.x-ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.x-ticker-row { display: flex; width: max-content; animation: x-marquee 60s linear infinite; }
.x-ticker-row.rev { animation-name: x-marquee-rev; animation-duration: 75s; background: #0f2240; border-top: 1px solid rgba(255,255,255,.06); }
.x-ticker:hover .x-ticker-row { animation-play-state: paused; }
.x-ticker ul { display: flex; flex: none; }
.x-ticker li { display: flex; align-items: baseline; gap: 14px; padding: 22px 0; white-space: nowrap; }
.x-ticker li::after { content: "✦"; color: var(--gold); font-size: 13px; margin: 0 40px; }
.x-ticker em { font-style: normal; font-size: 12px; letter-spacing: .28em; color: var(--brass); font-weight: 600; }
.x-ticker b { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.x-ticker-row:not(.rev) li:nth-child(even) b { color: var(--brass); }
.x-ticker .rev li { padding: 13px 0; }
.x-ticker .rev b { font-size: 15px; font-weight: 500; color: #9fb0c8; letter-spacing: 0; }
.x-ticker .rev li::after { margin: 0 26px; font-size: 9px; opacity: .6; }
@keyframes x-marquee { to { transform: translateX(-50%); } }
@keyframes x-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 700px) { .x-ticker li { padding: 16px 0; } .x-ticker li::after { margin: 0 24px; } .x-ticker::before, .x-ticker::after { width: 40px; } }

/* 사진: 아주 느리게 확대·이동 */
@keyframes x-drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-2%, -1%, 0); } }
.hero-photo img { animation: x-drift 26s ease-in-out infinite alternate; transform-origin: 40% 50%; }
.x-intro::before, .sh-photo { animation: x-drift 32s ease-in-out infinite alternate; }

/* 금색 빛줄기가 패널을 가로지름 */
.x-intro .x-intro-in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,173,92,.9), transparent); animation: x-scan 7s ease-in-out infinite; opacity: .6; pointer-events: none; }
@keyframes x-scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .7; } 90% { opacity: .7; } 100% { transform: translateY(100vh); opacity: 0; } }

/* 스크롤하면 아래에서 떠오름 */
.js-reveal .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-reveal .rv.in { opacity: 1; transform: none; }
/* 진행 단계 번호: 테두리가 그려지듯 채워짐 */
.x-steps li.in .x-n { animation: x-fillno 1.6s ease forwards; animation-delay: calc(var(--d, 0s) + .3s); }
@keyframes x-fillno { 0% { -webkit-text-stroke-color: rgba(20,41,72,.2); } 100% { -webkit-text-stroke-color: var(--ink); } }
@media (prefers-reduced-motion: reduce) {
  .x-ticker-row, .hero-photo img, .x-intro::before, .sh-photo, .x-intro .x-intro-in::before { animation: none !important; }
  .js-reveal .rv { opacity: 1; transform: none; }
}
.x-intro-in { position: relative; }

/* 업무 띠 v2: 한 줄, 차분하게 */
.x-ticker { border-top: 0; border-bottom: 1px solid rgba(212,173,92,.3); }
.x-ticker-row { animation-duration: 90s; }
.x-ticker li { padding: 20px 0; gap: 12px; align-items: center; }
.x-ticker li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin: 0 44px; font-size: 0; }
.x-ticker em { font-size: 10.5px; letter-spacing: .3em; color: rgba(212,173,92,.85); }
.x-ticker b, .x-ticker-row:not(.rev) li:nth-child(even) b { font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; color: #fff; letter-spacing: -0.01em; }
@media (max-width: 700px) { .x-ticker li { padding: 15px 0; } .x-ticker li::after { margin: 0 28px; } .x-ticker em { display: none; } }

/* =========================================================
   시각 섹션: 원스톱 창구 · 상황별 안내 · 약속
   ========================================================= */
/* 원스톱 창구 */
.v-onestop { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; padding: var(--top) var(--edge) 72px; background: radial-gradient(800px 600px at 75% 55%, #fff 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #f7f5f0, #f1ede5); position: relative; }
.v-onestop::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(20,41,72,.045) calc(25% - 1px) 25%); }
.v-onestop > * { position: relative; min-width: 0; }
.v-onestop-txt h2 { font-size: clamp(32px, 3.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; color: var(--ink); margin-top: 14px; }
.v-onestop-txt h2 em { font-style: normal; color: var(--seal); }
.v-onestop-txt > p { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.85; max-width: 32em; }
.v-points { margin-top: 36px; border-top: 2px solid var(--ink); max-width: 520px; }
.v-points li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(20,41,72,.12); align-items: baseline; }
.v-points b { font-family: var(--font-serif); font-size: 22px; color: var(--seal); }
.v-points strong { display: block; font-size: 17px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.v-points span { color: var(--muted); font-size: 14.5px; }
.v-onestop-fig { margin: 0; }
.v-onestop-fig img { width: 100%; max-width: 720px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(20,41,72,.10)); }

/* 상황별 안내: 세로 카드 5장 */
.v-cases { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; padding-top: var(--top); background: linear-gradient(180deg, #142948, #0f2240); position: relative; }
.v-cases::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 400px at 85% 0%, rgba(196,154,66,.16), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 1px, transparent 1px 10px); }
.v-cases > * { position: relative; }
.v-cases-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: 44px; }
.v-cases-head .eyebrow { color: var(--brass); }
.v-cases-head h2 { font-size: clamp(32px, 3.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; color: #fff; margin-top: 12px; }
.v-cases-head p { color: #b9c6d8; font-size: 16px; line-height: 1.8; }
.v-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.12); }
.v-cards li + li { border-left: 1px solid rgba(255,255,255,.1); }
.v-cards a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 40px 32px 44px; color: #fff; transition: background .35s; overflow: hidden; }
.v-cards a { padding-inline: clamp(24px, 2.4vw, 44px); }
.v-cards a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.v-cards a:hover { background: rgba(255,255,255,.06); }
.v-cards a:hover::after { transform: scaleX(1); }
.v-cards img { width: 100%; max-width: 220px; height: auto; margin-bottom: 18px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.v-cards a:hover img { transform: translateY(-6px) scale(1.03); }
.v-cards b { font-family: var(--font-serif); font-size: 15px; color: var(--brass); letter-spacing: .08em; }
.v-cards h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.v-cards p { font-size: 14.5px; line-height: 1.75; color: #b9c6d8; }
.v-cards span { margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--brass); display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); }
.v-cards span i { font-style: normal; transition: transform .3s; }
.v-cards a:hover span i { transform: translateX(6px); }

/* 약속: 사진 배경 + 큰 문장 */
.v-promise { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.v-promise-bg { position: absolute; inset: 0; z-index: -1; }
.v-promise-bg picture, .v-promise-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 60%; }
.v-promise-bg img { animation: x-drift 30s ease-in-out infinite alternate; }
.v-promise-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,31,58,.95) 0%, rgba(14,31,58,.82) 45%, rgba(14,31,58,.35) 100%), linear-gradient(0deg, rgba(14,31,58,.9) 0%, rgba(14,31,58,0) 45%); }
.v-promise-in { width: 100%; padding-block: var(--top) 72px; }
.v-promise-in .eyebrow { color: var(--brass); }
.v-promise blockquote { margin: 18px 0 0; font-family: var(--font-serif); font-weight: 700; font-size: clamp(32px, 4vw, 60px); line-height: 1.35; letter-spacing: -0.02em; }
.v-promise blockquote em { font-style: normal; color: var(--brass); }
.v-promise-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid rgba(255,255,255,.25); }
.v-promise-list li { padding: 26px 32px 0 0; }
.v-promise-list li + li { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.15); }
.v-promise-list b { display: block; font-family: var(--font-serif); font-size: 15px; color: var(--brass); margin-bottom: 10px; }
.v-promise-list strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.v-promise-list p { margin-top: 8px; color: #c3cedc; font-size: 14.5px; line-height: 1.75; }
@media (prefers-reduced-motion: reduce) { .v-promise-bg img { animation: none; } }

@media (max-width: 1240px) {
  .v-onestop { grid-template-columns: 1fr; padding-top: 130px; }
  .v-onestop-fig img { max-width: 560px; }
  .v-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-cards li:nth-child(4) { border-left: 0; }
  .v-cards li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
  .v-cards li:first-child a { padding-left: 32px; }
}
@media (max-width: 900px) {
  .v-onestop, .v-cases, .v-promise { min-height: 0; }
  .v-onestop { padding: 110px var(--edge) 56px; gap: 24px; }
  .v-cases { padding-top: 110px; }
  .v-cases-head { grid-template-columns: 1fr; gap: 14px; padding-bottom: 32px; }
  .v-cards { grid-template-columns: 1fr 1fr; }
  .v-cards li { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.1); }
  .v-cards li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .v-promise-in { padding-block: 140px 56px; }
  .v-promise-list { grid-template-columns: 1fr; margin-top: 40px; }
  .v-promise-list li, .v-promise-list li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
}
@media (max-width: 700px) {
  .v-onestop-txt h2 { font-size: 30px; }
  .v-cases-head h2 { font-size: 30px; }
  .v-cards { grid-template-columns: 1fr; }
  .v-cards li:nth-child(odd) { border-right: 0; }
  .v-cards a, .v-cards li:first-child a { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; row-gap: 4px; padding: 24px 20px; }
  .v-cards img { grid-row: 1 / span 4; margin: 0; max-width: 96px; align-self: start; }
  .v-cards span { grid-column: 2; padding-top: 10px; }
  .v-cards h3 { font-size: 18px; }
  .v-cards p { font-size: 13.5px; }
  .v-promise blockquote { font-size: 28px; }
}

/* 원스톱: 일러스트 지도 + 도장이 */
.v-onestop { grid-template-columns: 1fr 1fr; padding-bottom: 0; align-items: stretch; }
.v-onestop-txt { align-self: center; padding-bottom: 72px; }
.v-onestop-fig { position: relative; align-self: end; display: flex; justify-content: center; }
.v-onestop-fig .v-map { width: auto; height: min(calc(100svh - 120px), 820px); max-width: 100%; object-fit: contain; filter: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 92%, transparent 100%), linear-gradient(0deg, transparent 0, #000 8%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 92%, transparent 100%); mix-blend-mode: multiply; }
.v-mascot { position: absolute; left: 4%; bottom: 14%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.v-mascot-char { width: 104px; height: auto; animation: v-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(20,41,72,.2)); }
.v-mascot-say { position: relative; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 14px; white-space: nowrap; margin-left: 40px; box-shadow: 0 10px 24px rgba(20,41,72,.2); animation: v-pop .6s .4s both; }
.v-mascot-say b { color: var(--brass); }
.v-mascot-say::after { content: ""; position: absolute; left: 22px; bottom: -7px; width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
@keyframes v-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes v-pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }

/* 약속: 왼쪽 문장 + 오른쪽 세로 사진 */
.v-promise { display: grid; grid-template-columns: 1fr minmax(380px, 42%); align-items: stretch; background: linear-gradient(160deg, #172e52, #0f2240); }
.v-promise::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 1px, transparent 1px 10px); }
.v-promise-in { position: relative; align-self: center; padding: var(--top) 64px 72px var(--edge); }
.v-promise-list { grid-template-columns: 1fr; margin-top: 48px; max-width: 560px; }
.v-promise-list li, .v-promise-list li + li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.v-promise-list b { grid-row: 1 / span 2; margin: 3px 0 0; }
.v-promise-list p { margin-top: 4px; }
.v-promise blockquote { font-size: clamp(30px, 3.4vw, 52px); }
.v-promise-photo { margin: 0; position: relative; overflow: hidden; }
.v-promise-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 40% 60%; animation: x-drift 30s ease-in-out infinite alternate; }
.v-promise-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,34,64,.55), transparent 30%); }
@media (prefers-reduced-motion: reduce) { .v-promise-photo img, .v-mascot-char, .v-mascot-say { animation: none; } }
@media (max-width: 1240px) {
  .v-onestop { grid-template-columns: 1fr; }
  .v-onestop-txt { padding-bottom: 0; }
  .v-onestop-fig .v-map { height: auto; width: min(100%, 520px); }
}
@media (max-width: 900px) {
  .v-promise { grid-template-columns: 1fr; }
  .v-promise-photo { order: -1; height: 56vh; height: 56svh; min-height: 320px; }
  .v-promise-photo::after { background: linear-gradient(0deg, rgba(15,34,64,1), transparent 40%); }
  .v-promise-in { padding: 8px var(--edge) 56px; }
}
@media (max-width: 700px) {
  .v-mascot { left: 0; bottom: 10%; }
  .v-mascot-char { width: 76px; }
  .v-mascot-say { font-size: 13px; margin-left: 26px; }
}
.v-onestop-fig .v-mascot-char { width: 104px; max-width: none; margin: 0; filter: drop-shadow(0 12px 14px rgba(20,41,72,.2)); }
.v-onestop-fig .v-map { height: min(calc(100svh - var(--top) - 8px), 820px); }
@media (max-width: 1240px) { .v-onestop-fig .v-map { height: auto; } }
@media (max-width: 700px) { .v-onestop-fig .v-mascot-char { width: 76px; } }
.map-links { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }

/* 실제 지도 */
.map.map-live { position: relative; display: block; padding: 0; overflow: hidden; background: #e9e6df; min-height: 420px; }
.map.map-live::before, .fp-dark .map.map-live::before { display: none; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-card { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: #fff; color: var(--ink); padding: 16px 18px; border-top: 3px solid var(--gold); box-shadow: 0 14px 30px rgba(20,41,72,.22); display: grid; gap: 2px; max-width: calc(100% - 40px); }
.map-card strong { font-size: 16px; font-weight: 800; }
.map-card span { font-size: 13px; color: var(--muted); }
.map-card .map-links { justify-content: flex-start; margin-top: 10px; }
.x-map.map.map-live { min-height: 100%; }
@media (max-width: 900px) { .x-map.map.map-live { min-height: 380px; } }
@media (max-width: 700px) { .map.map-live { min-height: 360px; } .map-card { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.map-card { text-align: left; } .visit .map.map-live { min-height: 460px; }
.v-promise blockquote { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
/* practice: heading keep-together + admin tiles */
.x-intro h2 { word-break: keep-all; }
.x-intro h2 .nw { white-space: nowrap; }
.x-admin { margin-top: 28px; }
.x-admin.off .x-tiles a { pointer-events: none; cursor: not-allowed; }
.x-admin.off .x-tiles a { background: rgba(255,255,255,.7); }
/* numbers removed: mega = short gold rule, sub-hero = outlined logo mark */
.mc-no { width: 28px; height: 2px; font-size: 0; background: var(--gold); -webkit-text-stroke: 0; margin: 6px 0 26px; }
.sh-no { display: none; }
.sh-mark { position: absolute; z-index: 2; right: max(40px, calc((100vw - 1200px) / 2 + 70px)); bottom: -36px; height: clamp(150px, 17vw, 250px); width: auto; fill: none; stroke: rgba(212,173,92,.55); stroke-width: 2.2; pointer-events: none; }
.sh-mark .g { stroke: rgba(212,173,92,.85); }
@media (max-width: 700px) {
  .mc-no { grid-row: 1; width: 20px; margin: 12px 0 0; }
  .sh-mark { height: 110px; right: 20px; bottom: -18px; }
}
@media (max-width: 700px) { .sh-mark { display: none; } }

/* ===== Cinematic full-bleed hero (video-ready) ===== */
.fp-hero.fp-cine { display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; padding: 0; background: #0c1a30; color: #fff; isolation: isolate; }
.cine-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cine-media picture, .cine-img, .cine-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.cine-img { transform-origin: 60% 45%; animation: cine-push 26s ease-in-out infinite alternate; }
@keyframes cine-push { 0% { transform: scale(1.04) translate3d(0,0,0); } 100% { transform: scale(1.16) translate3d(-2.5%, -1.5%, 0); } }
.cine-video { z-index: 1; }
.cine-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,22,42,.88) 0%, rgba(10,22,42,.62) 38%, rgba(10,22,42,.18) 72%, rgba(10,22,42,.35) 100%),
  linear-gradient(180deg, rgba(10,22,42,.55) 0%, rgba(10,22,42,0) 28%, rgba(10,22,42,0) 62%, rgba(10,22,42,.8) 100%); }
.cine-shade::after { content: ""; position: absolute; inset: -20% -40%; background: linear-gradient(105deg, transparent 42%, rgba(255,236,200,.10) 50%, transparent 58%); animation: cine-light 11s ease-in-out infinite; }
@keyframes cine-light { 0% { transform: translateX(-35%); } 100% { transform: translateX(35%); } }
.cine-in { position: relative; padding: 160px var(--edge) 170px; max-width: calc(760px + var(--edge)); }
.fp-cine .eyebrow { color: var(--brass); }
.fp-cine .eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 14px; }
.fp-cine h1 { color: #fff; font-size: clamp(38px, 4.3vw, 72px); line-height: 1.18; letter-spacing: -0.045em; margin-top: 22px; max-width: none; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.fp-cine h1 em { color: var(--brass); }
.fp-cine .lead { color: #d6deea; font-size: clamp(15.5px, 1.1vw, 18px); max-width: 36em; margin-top: 26px; line-height: 1.8; }
.fp-cine .actions { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; margin-top: 38px; }
.fp-cine .actions .btn { width: auto; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.cine-in > * { opacity: 0; transform: translateY(24px); animation: cine-up .9s cubic-bezier(.2,.7,.2,1) forwards; }
.cine-in > :nth-child(2) { animation-delay: .15s; } .cine-in > :nth-child(3) { animation-delay: .3s; } .cine-in > :nth-child(4) { animation-delay: .45s; }
@keyframes cine-up { to { opacity: 1; transform: none; } }
.cine-bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 var(--edge); border-top: 1px solid rgba(255,255,255,.18); background: rgba(10,22,42,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cine-bar li { display: flex; align-items: center; gap: 16px; padding: 24px 24px 26px 0; color: #e7ecf3; font-size: 15px; }
.cine-bar li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.cine-bar b { font-size: 11.5px; letter-spacing: .18em; color: var(--brass); font-weight: 700; }
.fp-cine .scroll-cue { left: auto; right: var(--edge); bottom: 96px; color: rgba(255,255,255,.7); }
.fp-cine .scroll-cue span { background: linear-gradient(rgba(255,255,255,0), #fff); }
/* home header on top of the dark hero */
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .brand .name,
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .brand .mark,
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .gnb > li > a { color: #fff; }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .brand .sub { color: rgba(255,255,255,.7); }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .gnb > li.off > span { color: rgba(255,255,255,.45); }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .gnb em { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.3); }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .btn-line { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .burger { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
body.home:not(.mega-pinned) .site-header:not(.solid):not(.mega-peek) .burger span { background: #fff; }
@media (max-width: 900px) {
  .cine-in { padding: 130px 20px 150px; }
  .fp-cine h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .fp-cine .actions .btn { flex: 1 1 100%; }
  .cine-bar { grid-template-columns: 1fr; padding: 0 20px; }
  .cine-bar li { padding: 10px 0; font-size: 13.5px; }
  .cine-bar li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .cine-shade { background: linear-gradient(180deg, rgba(10,22,42,.6) 0%, rgba(10,22,42,.55) 40%, rgba(10,22,42,.85) 100%); }
  .fp-cine .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cine-img, .cine-shade::after { animation: none; } .cine-in > * { animation: none; opacity: 1; transform: none; } }
.fp-cine .scroll-cue { display: none; }
@media (max-width: 900px) { .cine-in { padding-bottom: 40px; } .cine-bar { position: relative; padding-bottom: 76px; } }
/* mega: vertical label moved to bottom-right, bolder */
.mc-en { top: auto; bottom: 28px; right: 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .32em; color: rgba(212,173,92,.85); }
.mega-col.off .mc-en { color: rgba(212,173,92,.4); }
@media (max-width: 1320px) { .mc-en { right: 10px; } }
