/* 법무법인 태광 회생파산센터 RESET — 2026 개편 v2 (밝은 톤 · 굵은 고딕 · 카드형) */
:root {
  --text: #191f28;
  --sub: #4e5968;
  --muted: #6b7684;
  --line: #e5e8eb;
  --band: #f5f6f8;
  --white: #fff;
  --navy: #142b50;          /* 로고 네이비 */
  --night: #0b1527;
  --accent: #d0480e;        /* 새벽 주황: 버튼 (흰 글자 대비 4.5:1 이상) */
  --accent-hover: #b93f0c;
  --accent-text: #c2410c;   /* 소제목 글자 */
  --accent-soft: #fff1e8;
  --dawn: #f6a23a;
  --ok: #12805c;
  --err: #d22d2d;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --wrap: 1160px;
  --head-h: 68px;
  --r-xl: 28px;
  --r-l: 22px;
  --r-m: 14px;
  --shadow: 0 20px 50px -28px rgba(25, 31, 40, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--dawn); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- 버튼 ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 12px 0 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .15s; }
.pill:active { transform: scale(.98); }
.pill-accent { background: var(--accent); color: #fff; }
.pill-accent:hover { background: var(--accent-hover); }
.pill-white { background: #fff; color: var(--text); }
.pill-white:hover { background: #f1f3f5; }
.pill-glass { background: rgba(255,255,255,.14); color: #fff; padding: 0 24px; backdrop-filter: blur(6px); }
.pill-glass:hover { background: rgba(255,255,255,.22); }
.pill-block { width: 100%; padding: 0 24px; }
.pill[disabled] { opacity: .6; cursor: progress; }
.arr-chip { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(25,31,40,.08); }
.pill-accent .arr-chip { background: rgba(255,255,255,.2); }
.arr-chip::after, .arr::after { content: ''; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: -3px; display: block; }
.arr { display: inline-grid; place-items: center; width: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; color: var(--text); text-decoration: none; }
.text-link .arr { width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #fff; }
.text-link .arr::after { width: 6px; height: 6px; border-width: 2px; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head-h); transition: box-shadow .2s; }
/* 흐림 효과는 가상 요소에 둬요: 헤더 자체에 backdrop-filter가 있으면 모바일 메뉴(position: fixed)가 헤더 안에 갇혀 잘려요 */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 28px; max-width: 1440px; margin: 0 auto; }
.brand { flex: none; }
.brand img { width: 168px; }
.gnb { margin-left: auto; }
.gnb ul { list-style: none; display: flex; gap: 2px; }
.gnb ul a { display: block; padding: 8px 12px; text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--sub); border-radius: 8px; }
.gnb ul a:hover { color: var(--text); background: var(--band); }
.gnb .gnb-call { display: none; }
.header-cta { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.header-cta:hover { background: var(--accent-hover); }
.header-cta .arr::after { width: 6px; height: 6px; }
.menu-btn { display: none; }
@media (max-width: 1180px) { .gnb ul a { padding: 8px 8px; font-size: 14.5px; } .header-inner { gap: 16px; padding: 0 20px; } }
@media (max-width: 1000px) {
  :root { --head-h: 60px; }
  .brand img { width: 146px; }
  .header-cta { margin-left: auto; height: 38px; padding: 0 14px; font-size: 14px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .menu-btn span:not(.sr-only) { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnb { position: fixed; inset: var(--head-h) 0 0; z-index: 60; background: #fff; padding: 8px 20px calc(32px + env(safe-area-inset-bottom)); overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; overflow-y: auto; }
  .gnb.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .gnb ul { flex-direction: column; }
  .gnb ul a { padding: 16px 4px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnb .gnb-call { display: flex; justify-content: center; margin-top: 24px; padding: 16px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; }
  html.menu-open { overflow: hidden; }
  html.menu-open .dock, html.menu-open .fab { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ---------- ① 메인: 둥근 인셋 카드 (영상 자리) ---------- */
.hero { padding: 8px 16px 0; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); min-height: min(calc(100svh - var(--head-h) - 24px), 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); max-width: 1440px; margin: 0 auto; }
.hero-sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #07101f 0%, #0b1527 40%, #182c52 76%, #2a3f68 100%); }
.hero-sun { position: absolute; right: -12vmax; bottom: -52vmax; width: 100vmax; height: 100vmax; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,214,150,.95) 0%, rgba(246,162,58,.6) 16%, rgba(246,162,58,.2) 32%, rgba(246,162,58,0) 50%); opacity: .3; transform: translateY(8vmax); animation: dawn 3.2s cubic-bezier(.22,.7,.2,1) .2s forwards; }
.hero-horizon { position: absolute; left: 0; right: 0; bottom: 30%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,214,150,.55) 40%, rgba(255,214,150,.9) 75%, transparent); opacity: 0; animation: horizon 2.4s ease-out 1s forwards; }
@keyframes dawn { to { transform: translateY(0); opacity: 1; } }
@keyframes horizon { to { opacity: 1; } }
.hero-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-card.has-video::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,16,31,.1) 30%, rgba(7,16,31,.8) 100%); }
.hero-inner { padding: 0 clamp(24px, 5vw, 72px) 28px; max-width: 900px; }
.hero-brand { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 6vw, 76px); line-height: 1.16; letter-spacing: -.035em; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(16.5px, 1.5vw, 19px); color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 22px clamp(24px, 5vw, 72px) 104px; }
.hero-facts li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.85); }
.video-toggle { position: absolute; right: 20px; top: 20px; padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(0,0,0,.4); color: #fff; font-size: 14px; cursor: pointer; }
@media (max-width: 720px) {
  .hero { padding: 6px 10px 0; }
  .hero-card { border-radius: 22px; min-height: calc(100svh - var(--head-h) - 90px); }
  .hero-inner { padding: 0 22px 20px; }
  .hero-cta .pill { flex: 1 1 auto; }
  .hero-facts { padding: 14px 22px 88px; gap: 6px; }
  .hero-facts li { font-size: 13px; padding: 6px 11px; }
}

/* ---------- 공통 섹션 ---------- */
.sec { padding: 128px 0; }
.band { background: var(--band); }
.eyebrow { font-size: 16px; font-weight: 700; color: var(--accent-text); margin-bottom: 14px; }
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2, .split-copy h2, .process-copy h2, .faq-head h2, .consult-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.28; }
.lead { margin-top: 18px; font-size: 18px; color: var(--sub); max-width: 34em; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.split-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-copy .pill { margin-top: 30px; }
@media (max-width: 900px) {
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .lead { font-size: 16.5px; }
  .split-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- ② 상황 공감 (탭) ---------- */
.sit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.sit-list { display: flex; flex-direction: column; gap: 8px; }
.sit-list [role=tab] { text-align: left; padding: 18px 48px 18px 22px; background: var(--band); border: 2px solid transparent; border-radius: var(--r-m); font-size: 17px; font-weight: 600; color: var(--sub); cursor: pointer; position: relative; line-height: 1.5; transition: background-color .15s, color .15s; }
.sit-list [role=tab]::after { content: ''; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); opacity: .35; }
.sit-list [role=tab]:hover { color: var(--text); }
.sit-list [role=tab][aria-selected=true] { background: #fff; border-color: var(--text); color: var(--text); font-weight: 800; }
.sit-list [role=tab][aria-selected=true]::after { opacity: 1; }
.sit-panels { position: sticky; top: calc(var(--head-h) + 24px); }
.sit-panel { background: var(--navy); color: #fff; border-radius: var(--r-l); padding: 48px 48px 44px; min-height: 340px; }
.sit-q { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; line-height: 1.42; letter-spacing: -.03em; margin-bottom: 20px; }
.sit-panel > p:not(.sit-q) { color: rgba(255,255,255,.8); font-size: 17px; }
.sit-panel .text-link { color: #fff; margin-top: 28px; }
.sit-panel .text-link::after { content: ''; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
@media (max-width: 900px) {
  .sit { grid-template-columns: 1fr; gap: 16px; }
  .sit-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .sit-list::-webkit-scrollbar { display: none; }
  .sit-list [role=tab] { flex: none; padding: 11px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; scroll-snap-align: start; }
  .sit-list [role=tab]::after { display: none; }
  .sit-list [role=tab][aria-selected=true] { background: var(--text); color: #fff; border-color: var(--text); }
  .sit-panels { position: static; }
  .sit-panel { padding: 30px 24px; min-height: 0; }
}

/* ---------- 자격 체크 · 추심 멈춤 카드 ---------- */
.check-card { list-style: none; display: grid; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); }
.check-card li { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-m); background: var(--band); }
.check-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); position: relative; }
.check-ico::after { content: ''; position: absolute; left: 16px; top: 15px; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.check-card strong { display: block; font-size: 19px; font-weight: 800; }
.check-card span { font-size: 15px; color: var(--muted); }
.notice-stack { list-style: none; display: grid; gap: 12px; }
.notice-stack li { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.notice-stack li:nth-child(2) { margin-left: 28px; }
.notice-stack li:nth-child(3) { margin-left: 56px; }
.notice-stack strong { display: block; font-size: 16.5px; }
.notice-stack span { font-size: 14px; color: var(--muted); }
.notice-stack em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent-text); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.n-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--band); position: relative; }
.n-ico::before { content: ''; position: absolute; inset: 13px; background: var(--sub); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.n-call { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.n-mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4 7.5V17h16V7.5z'/%3E%3C/svg%3E"); }
.n-msg { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H8l-5 4V5a2 2 0 0 1 1-2z'/%3E%3C/svg%3E"); }
@media (max-width: 560px) {
  .check-card { padding: 16px; }
  .check-card li { padding: 18px 16px; gap: 14px; }
  .check-card strong { font-size: 17px; }
  .notice-stack li { grid-template-columns: 40px 1fr; padding: 16px; }
  .notice-stack li em { grid-column: 2; justify-self: start; }
  .notice-stack li:nth-child(2), .notice-stack li:nth-child(3) { margin-left: 0; }
}

/* ---------- ③ 강점 (벤토 카드) ---------- */
.bento { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento li { background: #fff; border-radius: var(--r-l); padding: 34px 32px 36px; display: flex; flex-direction: column; }
.bento .b-wide { grid-column: span 2; }
.bento .b-ink { background: var(--navy); color: #fff; }
.b-fig { font-size: clamp(40px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent-text); margin-bottom: 28px; }
.b-ink .b-fig { color: var(--dawn); }
.bento h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.bento li > p:last-child { color: var(--sub); font-size: 16px; }
.b-ink > p:last-child { color: rgba(255,255,255,.78) !important; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bento .b-wide { grid-column: span 2; }
  .bento li { padding: 26px 22px; }
  .b-fig { font-size: 36px; margin-bottom: 18px; }
  .bento h3 { font-size: 18px; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .b-wide { grid-column: auto; } }

/* ---------- 변제금 계산기 ---------- */
.calc-callout { margin-top: 30px; padding: 22px 24px; border-radius: var(--r-m); background: var(--accent-soft); color: #5a2a0c; font-size: 16px; }
.calc-callout strong { color: var(--accent-text); }
.calc-card { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-row { border: 0; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; min-width: 0; }
.calc-row label, .calc-row legend { font-weight: 700; padding: 0; }
.calc-row small { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.calc-row output { font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); height: 30px; }
fieldset.calc-row { display: block; }
fieldset.calc-row legend { margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 0; border-radius: 10px; background: var(--band); font-weight: 700; color: var(--sub); font-size: 15px; }
.seg input:checked + span { background: var(--text); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--dawn); }
.calc-result { margin-top: 6px; padding: 24px; border-radius: var(--r-m); background: var(--band); }
.cr-label { font-weight: 700; color: var(--sub); font-size: 15px; }
.cr-label small { font-weight: 500; color: var(--muted); }
.cr-main { font-size: clamp(38px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; color: var(--accent-text); font-variant-numeric: tabular-nums; margin-top: 4px; }
.cr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.cr-grid div { background: #fff; border-radius: 10px; padding: 12px 14px; }
.cr-grid dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.cr-grid dd { margin: 2px 0 0; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.cr-note { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--sub); }
.cr-note:empty { display: none; }
.calc-fine { margin: 16px 0 18px; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) {
  .calc-card { padding: 22px 18px; border-radius: var(--r-l); }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .calc-result { padding: 18px; }
}

/* ---------- 비용 카드 ---------- */
.fee-card { background: #fff; border-radius: var(--r-xl); padding: 40px 38px 34px; box-shadow: var(--shadow); position: relative; }
.fee-card::before { content: ''; position: absolute; left: 38px; right: 38px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--accent); }
.fee-title { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.fee-card ul { list-style: none; }
.fee-card li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.fee-card li span { color: var(--sub); }
.fee-card li b { font-weight: 800; white-space: nowrap; }
.fee-card li b::before { content: ''; display: inline-block; width: 7px; height: 12px; border-right: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(45deg) translateY(-3px); margin-right: 10px; }
.fee-sign { margin-top: 20px; text-align: right; font-size: 14px; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .fee-card { padding: 30px 20px 24px; } .fee-card::before { left: 20px; right: 20px; } .fee-card li { font-size: 15px; } }

/* ---------- 진행 과정 (휴대폰 알림) ---------- */
.process-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 80px; align-items: start; }
.pr-steps { list-style: none; counter-reset: s; margin-top: 44px; display: grid; gap: 4px; }
.pr-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 18px 20px; border-radius: var(--r-m); transition: background-color .25s; }
.pr-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--band); color: var(--muted); font-weight: 800; font-size: 15px; transition: background-color .25s, color .25s; }
.pr-steps h3 { font-size: 18.5px; font-weight: 800; color: var(--muted); transition: color .25s; }
.pr-steps p { font-size: 15.5px; color: var(--muted); }
.pr-steps li.is-on { background: var(--band); }
.pr-steps li.is-on::before { background: var(--accent); color: #fff; }
.pr-steps li.is-on h3 { color: var(--text); }
.pr-steps li.is-on p { color: var(--sub); }
.phone-wrap { position: sticky; top: calc(var(--head-h) + 40px); }
.phone { width: 100%; max-width: 360px; margin-left: auto; aspect-ratio: 9 / 18.5; border-radius: 46px; background: #0e1626; padding: 14px; box-shadow: 0 40px 80px -40px rgba(11,21,39,.6), inset 0 0 0 2px #2a3550; position: relative; overflow: hidden; }
.phone::before { content: ''; position: absolute; left: 50%; top: 22px; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone-bar { display: flex; justify-content: space-between; padding: 10px 24px 0; color: #fff; font-size: 13px; font-weight: 700; height: 44px; }
.phone-dots { width: 40px; height: 10px; background: linear-gradient(90deg, #fff 0 18px, transparent 18px 22px, #fff 22px) ; border-radius: 3px; opacity: .85; }
.phone-head { color: #fff; font-weight: 800; font-size: 17px; padding: 18px 14px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.phone-head small { font-size: 11.5px; color: rgba(255,255,255,.5); font-weight: 600; }
.phone-feed { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0 6px; }
.phone-feed li { background: rgba(255,255,255,.94); color: var(--text); border-radius: 18px; padding: 13px 15px; font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .35s, transform .35s; display: none; }
.phone-feed li b { display: block; font-size: 12px; color: var(--accent-text); margin-bottom: 2px; }
.phone-feed li.is-shown { display: block; opacity: .55; transform: none; }
.phone-feed li.is-latest { opacity: 1; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
@media (max-width: 900px) {
  .process-inner { grid-template-columns: 1fr; gap: 0; }
  .phone-wrap { display: none; }
  .pr-steps { margin-top: 32px; }
  .pr-steps li { padding: 14px 4px; }
  .pr-steps li::before { background: var(--accent); color: #fff; }
  .pr-steps h3 { color: var(--text); }
  .pr-steps p { color: var(--sub); }
  .pr-steps li.is-on { background: none; }
}

/* ---------- ④ 센터장 스포트라이트 ---------- */
.spot { background: var(--night); color: #fff; padding: 120px 0; overflow: hidden; }
.spot-inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; }
.spot-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #dfe7f1; }
.spot-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.spot-kicker { font-size: 16px; font-weight: 700; color: var(--dawn); margin-bottom: 18px; }
.spot-quote { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.4; letter-spacing: -.02em; }
.spot-name { margin-top: 22px; font-weight: 800; font-size: 18px; }
.spot-name span { display: block; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.65); margin-top: 2px; }
.spot-promise { list-style: none; margin-top: 34px; display: grid; gap: 10px; }
.spot-promise li { padding: 18px 22px 18px 54px; border-radius: var(--r-m); background: rgba(255,255,255,.07); position: relative; }
.spot-promise li::before { content: ''; position: absolute; left: 22px; top: 25px; width: 14px; height: 8px; border-left: 2.5px solid var(--dawn); border-bottom: 2.5px solid var(--dawn); transform: rotate(-45deg); }
.spot-promise strong { display: block; font-size: 17px; }
.spot-promise span { font-size: 15px; color: rgba(255,255,255,.72); }
.spot-firm { margin: 28px 0 26px; font-size: 15.5px; color: rgba(255,255,255,.7); max-width: 36em; }
@media (max-width: 900px) {
  .spot { padding: 84px 0; }
  .spot-inner { grid-template-columns: 1fr; gap: 40px; }
  .spot-photo { max-width: 420px; }
}

/* ---------- 구성원 ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lawyer { background: var(--band); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.lawyer picture img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; background: #e3e9f1; }
.lawyer-body { padding: 24px 26px 18px; flex: 1; display: flex; flex-direction: column; }
.lawyer h3 { font-size: 23px; font-weight: 800; }
.lawyer-role { margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.lawyer-key { list-style: none; margin-top: 16px; display: grid; gap: 6px; }
.lawyer-key li { position: relative; padding-left: 16px; font-size: 15px; color: var(--sub); }
.lawyer-key li::before { content: ''; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.lawyer details { margin-top: auto; padding-top: 14px; }
.lawyer summary { cursor: pointer; padding: 12px 0 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.lawyer summary::-webkit-details-marker { display: none; }
.lawyer summary::after { content: '+'; font-size: 20px; line-height: 1; }
.lawyer details[open] summary::after { content: '−'; }
.lawyer details ul { list-style: none; display: grid; gap: 4px; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .people-grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; } }

/* ---------- ⑤ 사례 (가로 넘김) ---------- */
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.car-btn::after { content: ''; width: 10px; height: 10px; border-top: 2px solid var(--text); border-right: 2px solid var(--text); }
.car-btn.prev::after { transform: rotate(-135deg); margin-left: 4px; }
.car-btn.next::after { transform: rotate(45deg); margin-right: 4px; }
.car-btn:disabled { opacity: .35; cursor: default; }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.case { scroll-snap-align: start; background: #fff; border-radius: var(--r-l); padding: 30px 28px 22px; display: flex; flex-direction: column; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.case-tags span + span::before { content: '·'; margin-right: 6px; }
.case-rate { margin-top: 18px; font-size: 19px; font-weight: 800; }
.case-rate b { font-size: 46px; letter-spacing: -.04em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.case-bar { height: 8px; border-radius: 8px; background: var(--band); margin: 12px 0 22px; overflow: hidden; }
.case-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--dawn), var(--accent)); }
.case h3 { font-size: 19px; font-weight: 800; line-height: 1.45; }
.case-meta { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.case-more { margin-top: auto; padding-top: 18px; }
.case-more summary { cursor: pointer; list-style: none; padding: 12px 0 4px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 700; display: flex; justify-content: space-between; }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary::after { content: '+'; font-size: 18px; line-height: 1; }
.case-more[open] summary::after { content: '−'; }
.case-more dl { display: grid; grid-template-columns: 40px 1fr; gap: 8px 10px; margin: 10px 0 4px; font-size: 14.5px; }
.case-more dt { font-weight: 800; }
.case-more dd { margin: 0; color: var(--sub); }
.cases-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .car { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) {
  .car { grid-auto-columns: 84%; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .car-nav { display: none; }
  .case { padding: 26px 22px 18px; }
}

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--head-h) + 40px); }
.faq-head .pill { margin-top: 28px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-m); background: var(--band); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 17.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 22px; color: var(--sub); font-size: 16px; }
@media (max-width: 900px) {
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .faq-head .pill { display: none; }
  .faq-item summary { font-size: 16px; padding: 18px 52px 18px 18px; }
  .faq-item p { padding: 0 18px 18px; font-size: 15.5px; }
}

/* ---------- ⑥ 상담 ---------- */
.consult-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: 'head form' 'extra form'; grid-template-rows: auto 1fr; gap: 0 64px; align-items: start; }
.consult-head { grid-area: head; }
.consult-extra { grid-area: extra; }
.consult-form { grid-area: form; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trust-chips li { padding: 7px 14px 7px 32px; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 700; position: relative; }
.trust-chips li::before { content: ''; position: absolute; left: 14px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.inflow { margin-top: 32px; padding: 24px 24px 18px; border-radius: var(--r-l); background: var(--navy); color: #fff; }
.inflow-title { font-weight: 700; margin-bottom: 14px; font-size: 16px; }
.inflow-list { list-style: none; display: grid; gap: 8px; }
.inflow-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.08); }
.inflow-list .dot { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--dawn), #f9cf8d); }
.inflow-list .bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.28); }
.inflow-list .w45 { width: 45%; } .inflow-list .w55 { width: 55%; } .inflow-list .w65 { width: 65%; } .inflow-list .w70 { width: 70%; } .inflow-list .w80 { width: 80%; }
.inflow-list em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.72); }
.channel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.channel-btns a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: var(--r-m); font-weight: 800; text-decoration: none; font-size: 15.5px; }
.ch-call { background: #fff; color: var(--text); border: 1px solid var(--line); }
.ch-kakao { background: #fee500; color: #191600; }
.ch-ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ch-call .ch-ico { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E"); }
.ch-kakao .ch-ico { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.8 1.9 5.3 4.7 6.7l-1 3.6c-.1.3.3.6.6.4l4.2-2.8c.5.1 1 .1 1.5.1 5.5 0 10-3.6 10-8S17.5 3 12 3z'/%3E%3C/svg%3E"); }

.consult-form { background: #fff; border-radius: var(--r-xl); padding: 38px; box-shadow: var(--shadow); }
.form-title { font-size: 23px; font-weight: 800; }
.form-hint { margin: 6px 0 24px; font-size: 14px; color: var(--muted); }
.req { color: var(--err); font-weight: 800; }
.opt { color: var(--muted); font-weight: 500; font-size: 14px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid transparent; border-radius: 12px; background: var(--band); font-size: 16px; }
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); outline: none; background-color: #fff; }
.field.has-err input, .field.has-err select { border-color: var(--err); background-color: #fff; }
.err { font-size: 14px; color: var(--err); margin-top: 4px; font-weight: 600; }
.err:empty { display: none; }
.agree { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 8px 0 6px; }
.agree .err { flex-basis: 100%; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.agree .link-btn { font-size: 14px; color: var(--muted); }
.agree-summary { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.form-status { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--err); }
.form-status:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .consult-inner { grid-template-columns: 1fr; grid-template-areas: 'head' 'form' 'extra'; gap: 28px; }
  .consult-form { padding: 26px 20px; border-radius: var(--r-l); }
  .inflow { margin-top: 0; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- 업무분야 ---------- */
.prac-tabs, .loc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.prac-tabs [role=tab], .loc-tabs [role=tab] { padding: 12px 22px; border-radius: 999px; border: 0; background: var(--band); font-weight: 700; color: var(--sub); cursor: pointer; font-size: 16px; }
.prac-tabs [role=tab][aria-selected=true], .loc-tabs [role=tab][aria-selected=true] { background: var(--text); color: #fff; }
.prac-panel { background: var(--band); border-radius: var(--r-xl); padding: 48px; }
.prac-lead { font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.6; max-width: 40em; letter-spacing: -.02em; }
.prac-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.prac-cols > div { background: #fff; border-radius: var(--r-l); padding: 28px; }
.prac-cols h3, .flow-title { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; color: var(--sub); }
.ticks li::before { content: ''; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.ticks.warn li::before { width: 8px; height: 8px; top: .62em; left: 5px; border: 0; background: var(--dawn); border-radius: 50%; transform: none; }
.defs { display: grid; grid-template-columns: 96px 1fr; gap: 10px 16px; font-size: 16px; margin: 0; }
.defs dt { font-weight: 800; }
.defs dd { margin: 0; color: var(--sub); }
.flow-title { margin-top: 36px; }
.flow { list-style: none; counter-reset: flow; display: flex; flex-wrap: wrap; gap: 8px; }
.flow li { counter-increment: flow; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 800; }
@media (max-width: 900px) {
  .prac-panel { padding: 26px 18px; border-radius: var(--r-l); }
  .prac-cols { grid-template-columns: 1fr; gap: 14px; }
  .prac-cols > div { padding: 22px 18px; }
  .defs { grid-template-columns: 84px 1fr; font-size: 15.5px; }
}

/* ---------- 유튜브 · 블로그 ---------- */
.terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: -16px auto 48px; }
.terms li { padding: 9px 18px; border-radius: 999px; background: #fff; font-weight: 700; color: var(--sub); font-size: 15px; }
.terms li:nth-child(3n+1) { color: var(--text); }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.media-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 26px; border-radius: var(--r-l); background: #fff; text-decoration: none; }
.media-ico { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; }
.media-yt .media-ico { background: #e02b20; }
.media-blog .media-ico { background: #03a94d; }
.media-card strong { font-size: 19px; }
.media-card span:last-child { color: var(--muted); font-size: 15px; }
.media-yt[aria-disabled=true] { cursor: default; }
@media (max-width: 680px) { .media-grid { grid-template-columns: 1fr; } .terms { margin-top: -8px; gap: 8px; } .terms li { font-size: 14px; padding: 7px 14px; } }

/* ---------- 오시는 길 (레퍼런스형: 일러스트 지도 + 번호 길안내) ---------- */
.loc-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "map title" "map info"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 0; align-items: start; }
.loc-panel[hidden] { display: none; }
.loc-title { grid-area: title; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.3; padding-top: 8px; }
.loc-mapcard { grid-area: map; position: relative; border-radius: var(--r-xl); overflow: hidden; background: #f0f2f5; box-shadow: 0 1px 2px rgba(25,31,40,.04), 0 18px 40px -24px rgba(25,31,40,.28); aspect-ratio: 1 / 1; }
.loc-map { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.loc-map:empty::after { content: '지도를 불러오는 중이에요.'; }
.loc-map svg { display: block; width: 100%; height: 100%; }
.loc-map .ms-t, .loc-map .ms-m { transform-box: view-box; transform-origin: 0 0; }
@media (max-width: 600px) { .loc-map .ms-t { transform: scale(1.55); } .loc-map .ms-m { transform: scale(1.3); } }
.loc-card { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px -12px rgba(25,31,40,.32); pointer-events: none; max-width: calc(100% - 36px); }
.loc-card strong { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.loc-card span { font-size: 14px; font-weight: 600; color: var(--muted); }
.loc-info { grid-area: info; }
.route { list-style: none; counter-reset: r; margin: 30px 0 0; display: grid; gap: 18px; }
.route li { counter-increment: r; position: relative; padding: 3px 0 0 48px; min-height: 32px; font-size: 17px; color: var(--text); line-height: 1.6; letter-spacing: -.015em; }
.route li b { font-weight: 800; }
.route li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 800; }
.route li:first-child::before { background: #1d9a55; color: #fff; }
.loc-tip { margin-top: 26px; padding: 16px 18px; border-radius: var(--r-m); background: var(--band); color: var(--sub); font-size: 15px; line-height: 1.65; }
.loc-tip b { color: var(--text); }
.loc-addr { margin-top: 22px; font-size: 15px; color: var(--sub); }
.loc-contact { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--muted); }
.loc-contact a { font-weight: 800; color: var(--text); text-decoration: none; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.map-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--band); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; }
.map-btn:hover { background: #eceef1; }
.map-btn span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 13px; font-weight: 900; }
.map-naver span { background: #03c75a; color: #fff; }
.map-kakao span { background: #fee500; color: #191600; }
@media (max-width: 900px) {
  .loc-panel { grid-template-columns: 1fr; grid-template-areas: "title" "map" "info"; grid-template-rows: auto; }
  .loc-title { padding-top: 0; margin-bottom: 20px; }
  .loc-mapcard { border-radius: var(--r-l); }
  .loc-card { left: 12px; bottom: 12px; padding: 12px 15px; border-radius: 14px; }
  .loc-card strong { font-size: 15px; }
  .loc-card span { font-size: 13px; }
  .route { margin-top: 26px; gap: 16px; }
  .route li { font-size: 16.5px; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.66); padding: 60px 0 150px; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.footer-info p + p { margin-top: 12px; }
.footer-info strong { color: #fff; margin-right: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links .link-btn { color: #fff; font-weight: 600; text-decoration: none; }
.copy { color: rgba(255,255,255,.45); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } .site-footer { padding-bottom: 130px; } }

/* ---------- 떠 있는 버튼 ---------- */
.fab { position: fixed; right: 20px; bottom: 112px; z-index: 44; display: flex; flex-direction: column; gap: 10px; transition: transform .3s; }
.fab a, .fab button { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; align-content: center; gap: 0; text-decoration: none; font-size: 11px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(11,21,39,.6); }
.fab svg { width: 22px; height: 22px; }
.fab-call { background: var(--accent); color: #fff; }
.fab-kakao { background: #fee500; color: #191600; }
.fab-share { background: #fff; color: var(--text); }
body.dock-down .fab { transform: translateY(84px); }
@media (max-width: 1000px) {
  .fab { right: 14px; bottom: 96px; }
  .fab a, .fab button { width: 54px; height: 54px; }
  .fab-share { display: none !important; }
  body.dock-down .fab { transform: translateY(78px); }
}

/* ---------- 하단 상담바 (알약형) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 0 16px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; transition: transform .3s ease; }
.dock.is-hidden { transform: translateY(130%); }
.dock-form, .dock-m { pointer-events: auto; }
.dock-form { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 12px; background: #fff; border-radius: 999px; box-shadow: 0 20px 50px -18px rgba(11,21,39,.45), 0 0 0 1px var(--line); position: relative; }
.dock-label { display: flex; align-items: center; gap: 10px; margin-right: 6px; flex: none; }
.dock-label img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; }
.dock-label strong { display: block; font-size: 14.5px; line-height: 1.3; }
.dock-label span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.dock-form select, .dock-form input[type=tel] { min-width: 0; flex: 1 1 0; height: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid transparent; background: var(--band); font-size: 14.5px; }
.dock-form input[type=tel] { flex: 1.25 1 0; }
.dock-form .is-err { border-color: var(--err); background: #fff; }
.dock-agree { font-size: 13px; white-space: nowrap; font-weight: 600; gap: 6px; }
.dock-agree input { width: 18px; height: 18px; }
.dock-agree.is-err span { color: var(--err); }
.dock-privacy { font-size: 12.5px; color: var(--muted); }
.dock-submit { min-height: 46px; padding: 0 18px 0 20px; font-size: 15.5px; white-space: nowrap; }
.dock-tel { flex: none; display: grid; text-decoration: none; font-weight: 800; font-size: 15px; line-height: 1.2; padding: 0 10px 0 6px; color: var(--text); }
.dock-tel small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.dock-status { position: absolute; left: 24px; bottom: calc(100% + 10px); padding: 9px 16px; border-radius: 12px; background: var(--err); color: #fff; font-size: 14px; font-weight: 600; }
.dock-status:empty { display: none; }
.dock-m { display: none; }
@media (max-width: 1240px) { .dock-label span { display: none; } .dock-tel { display: none; } }
@media (max-width: 1080px) { .dock-label { display: none; } }
@media (max-width: 1000px) {
  .dock { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .dock-form { display: none; }
  .dock-m { display: flex; align-items: center; gap: 6px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: 0 16px 40px -16px rgba(11,21,39,.5), 0 0 0 1px var(--line); }
  .dock-m-chip { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; height: 44px; border-radius: 999px; background: var(--band); font-size: 13.5px; font-weight: 800; white-space: nowrap; }
  .dock-m-chip i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  .dock-m input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; background: var(--band); padding: 0 14px; font-size: 15px; }
  .dock-m .pill { min-height: 44px; padding: 0 14px 0 16px; font-size: 15px; white-space: nowrap; }
}
@media (max-width: 370px) { .dock-m-chip { display: none; } }

/* ---------- 시트 · 모달 · 토스트 ---------- */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 20px); z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.modal, .sheet { padding: 0; border: 0; color: var(--text); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.modal { width: min(100% - 32px, 720px); max-height: min(86vh, 900px); border-radius: var(--r-l); }
.modal::backdrop, .sheet::backdrop { background: rgba(11,21,39,.55); }
.modal-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 19px; }
.modal-close { width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-body { padding: 22px 24px 28px; font-size: 15.5px; }
.modal-body h2 { font-size: 17px; margin: 22px 0 8px; }
.modal-body h1, .modal-body .policy-back { display: none; }
.modal-body p + p { margin-top: 8px; }
.modal-body ul { padding-left: 20px; margin: 6px 0; }
.modal-done { width: min(100% - 32px, 460px); }
.modal-done .modal-body p { margin-bottom: 20px; }
.modal .btn-block, .modal-done .pill { width: 100%; }
.sheet { width: min(100%, 520px); max-width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: 24px 24px 0 0; }
.sheet-form { padding: 6px 22px calc(22px + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 4px; }
.sheet-head h2 { font-size: 20px; font-weight: 800; }
.sheet-lead { color: var(--sub); font-size: 15px; margin-bottom: 18px; }
@media (min-width: 1001px) { .sheet { margin: auto; border-radius: var(--r-l); } }

/* ---------- 개인정보처리방침 페이지 ---------- */
.policy-page { background: var(--band); }
.policy { max-width: 820px; padding: 64px 0 96px; }
.policy h1 { font-size: 32px; font-weight: 800; margin-bottom: 24px; }
.policy h2 { font-size: 19px; margin: 32px 0 10px; }
.policy p + p { margin-top: 10px; }
.policy ul { padding-left: 22px; margin: 8px 0; }
.policy-back { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* 자동 입력 방지 위젯(보이지 않는 방식) 자리 */
.ts-box { position: fixed; left: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
