/* 율천 레이아웃 스킨 — 구조·간격·색 체계 (내용·이미지·폰트 제외) */
:root {
  --brand: #6a503c; --brand-d: #47362a; --sky: #e6d2b5; --blue: #7a5a38;
  --pink: #f6f0e6; --pink2: #ece1cf; --beige: #f6f0e6;
  --ink: #2a211b; --text: #4a3f36; --muted: #85776a; --line: #e0d3bf;
  --dark: #5b4433; --foot: #2a211b;
  --head-h: 100px; --dock-h: 84px; --bar-h: 62px;
  --wrap: 1440px; --read: 880px;
}
body { color: #33291f; background: #fbf7f0; padding-bottom: var(--dock-h); }
h1, h2, h3 { letter-spacing: -.04em; }
.wrap { max-width: var(--wrap); }
.eyebrow { color: var(--brand); letter-spacing: .24em; }
.btn { border-radius: 0; padding: 16px 34px; letter-spacing: -.01em; }
.btn-gold { background: var(--brand); }
.btn-gold:hover { background: var(--brand-d); box-shadow: none; }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-navy { background: var(--brand); }
.btn:hover { transform: none; }
.card, .tip, .list-box, .fig, .slide, .dark-card, .ask-card, .conclusion, .photo-banner, .loc-card, .contact-card, .table-wrap, .step-card, .arch, .arch button, .people .person .ph { border-radius: 0; }
.table-wrap { border-radius: 0; }

/* ═══ 헤더 ═══ */
.site-header { height: var(--head-h); background: transparent; box-shadow: none; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hd-in { width: 95%; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-height: 44px; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }
.brand small { font-size: .78rem; font-weight: 500; letter-spacing: .24em; opacity: .85; color: inherit; margin-top: 3px; }
.mk-bg { fill: #fff; } .mk-fg { stroke: var(--brand); }
.gnb { display: none; }
.hd-right { display: flex; align-items: center; gap: 20px; }
.hd-pill { height: 36px; padding: 0 18px; border: 1px solid #fff; border-radius: 50px; color: #fff; font-size: .94rem; font-weight: 700; display: flex; align-items: center; transition: background .3s, color .3s; }
.hd-pill:hover { background: #fff; color: var(--brand); }
.menu-btn { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 20px; height: 2px; background: #241c16; display: block; }
.menu-btn span:nth-child(3) { width: 16px; align-self: center; margin-left: -4px; }
.site-header.scrolled, .site-header.solid, .site-header:hover { background: #fff; border-bottom-color: #eadfcd; backdrop-filter: none; }
.site-header.scrolled .brand, .site-header.solid .brand, .site-header:hover .brand { color: var(--brand); }
.site-header.scrolled .mk-bg, .site-header.solid .mk-bg, .site-header:hover .mk-bg { fill: var(--brand); }
.site-header.scrolled .mk-fg, .site-header.solid .mk-fg, .site-header:hover .mk-fg { stroke: #fff; }
.site-header.scrolled .hd-pill, .site-header.solid .hd-pill, .site-header:hover .hd-pill { border-color: #e0d3bf; color: #241c16; }
.site-header.scrolled .hd-pill:hover, .site-header.solid .hd-pill:hover, .site-header:hover .hd-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.site-header.scrolled .menu-btn, .site-header.solid .menu-btn, .site-header:hover .menu-btn { background: var(--brand); }
.site-header.scrolled .menu-btn span, .site-header.solid .menu-btn span, .site-header:hover .menu-btn span { background: #fff; }

/* 1600px 이상: 중앙 GNB + 호버 서브메뉴 */
@media (min-width: 1600px) {
  .gnb { display: block; position: absolute; left: 50%; top: 0; transform: translateX(-47%); height: 100%; }
  .gnb > ul { display: flex; height: 100%; }
  .gnb > ul > li { position: relative; height: 100%; flex-shrink: 0; }
  .gnb > ul > li > a { height: 100%; display: flex; align-items: center; padding: 0 2.4rem; font-size: 1.2rem; font-weight: 700; color: #fff; transition: color .25s; }
  .site-header:hover .gnb > ul > li > a, .site-header.scrolled .gnb > ul > li > a, .site-header.solid .gnb > ul > li > a { color: #241c16; }
  .gnb > ul > li:hover > a { color: var(--brand) !important; }
  .gnb > ul > li:hover::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 80px; height: 2px; background: var(--brand); transform: translateX(-50%); }
  .gsub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 260px; background: #fff; border: 1px solid #eadfcd; border-top: 0; padding: 18px 22px; display: none; box-shadow: 0 14px 30px rgba(0,0,0,.08); }
  .gnb > ul > li:hover .gsub { display: block; }
  .gsub a { display: block; padding: 9px 0; font-size: 1rem; color: #5a4e44; white-space: nowrap; }
  .gsub a:hover { color: var(--brand); }
}

/* 전체메뉴: PC 풀스크린 */
.allmenu { position: fixed; inset: 0; z-index: 70; background: rgba(42,33,27,.97); color: #fff; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 90px 3% 50px; }
.allmenu.open { opacity: 1; visibility: visible; }
.am-in { width: 100%; max-width: 1240px; margin: auto; }
.am-in .cell { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px dashed #626262; transition: border-color .3s; }
.am-in .cell:hover { border-color: #fff; }
.am-in .depth1 { background: none; border: 0; color: #fff; font: inherit; font-size: 2.2rem; font-weight: 900; letter-spacing: -.04em; cursor: pointer; text-align: left; transition: color .3s; flex: 0 0 auto; }
.am-in .cell:hover .depth1 { color: var(--sky); }
.am-in .sub { width: 66%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 2.4rem; font-size: 1.2rem; }
.am-in .sub a { position: relative; color: #fff; }
.am-in .sub a:hover { color: var(--sky); }
.am-close { position: absolute; top: 24px; right: 2.5%; width: 56px; height: 56px; border-radius: 50%; background: #33291f; border: 0; cursor: pointer; }
.am-close span { position: absolute; left: 17px; top: 27px; width: 22px; height: 2px; background: #fff; transform: rotate(45deg); }
.am-close span + span { transform: rotate(-45deg); }
.am-dim { display: none; }
body.lock { overflow: hidden; }

/* ═══ 메인 히어로 ═══ */
.mv { position: relative; min-height: max(640px, calc(100vh - var(--dock-h))); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #3f2f23 url(/assets/img/profile/bg-hero.webp) center / cover no-repeat; overflow: hidden; }
.mv::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(63,47,35,.78), rgba(63,47,35,.55) 55%, rgba(63,47,35,.8)); }
.mv-in { position: relative; z-index: 1; width: min(92%, 920px); padding-top: calc(var(--head-h) * .6); }
.mv-eyebrow { font-size: .9rem; letter-spacing: .4em; font-weight: 600; color: var(--sky); margin-bottom: 22px; }
.mv h1 { color: #fff; font-size: clamp(2.8rem, 6.2vw, 6rem); font-weight: 300; line-height: 1.2; letter-spacing: -.045em; margin-bottom: 26px; }
.mv h1 span { font-weight: 800; }
.mv-sub { color: rgba(255,255,255,.92); font-size: clamp(1.02rem, .5vw + .95rem, 1.3rem); line-height: 1.8; max-width: 760px; margin: 0 auto 44px; }
.mv-form { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 640px; height: 70px; margin: 0 auto; padding: 0 25px; border: 2px solid #fff; background: rgba(0,0,0,.3); text-align: left; }
.mv-form input { flex: 1; height: 100%; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 1.3rem; outline: none; }
.mv-form input::placeholder { color: #e8dcc8; }
.mv-form button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; padding: 0; }
.mv-form svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.mv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.mv-tags a { font-size: .9rem; color: #fff; border: 1px solid rgba(255,255,255,.45); padding: 6px 14px; border-radius: 30px; transition: background .3s, color .3s; }
.mv-tags a:hover { background: #fff; color: var(--brand); }
.mv-scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .08em; color: #fff; }
.mv-scroll i { width: 22px; height: 36px; border: 2px solid #fff; border-radius: 12px; position: relative; display: block; }
.mv-scroll i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scrl 1.6s infinite; }
@keyframes scrl { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ═══ 변호사 소개 (율천 thePartners 구조) ═══ */
.pi { position: relative; padding: clamp(80px, 8vw, 130px) 0 0; overflow: hidden; background: transparent; }
.pi-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; position: relative; }
.pi-head { position: relative; width: 52%; padding: 60px 0 clamp(80px, 9vw, 150px); }
.pi-head::before { content: ''; position: absolute; left: calc(-1 * (100vw - 100%) / 2 - 20px); top: 18px; bottom: 0; width: calc(100% + (100vw - 100%) / 2 - 40px); background: #f3ece0; border-radius: 0 40px 0 0; z-index: 0; }
.pi-head svg.wm { position: absolute; left: -40px; bottom: -30px; width: min(380px, 70%); opacity: .8; z-index: 0; }
.pi-head svg.wm * { stroke: #fff; }
.pi-h { position: relative; z-index: 1; padding-left: 0; font-size: clamp(2.2rem, 3.5vw, 4.4rem); font-weight: 300; line-height: 1.5; color: #2a211b; }
.pi-h b { color: var(--brand); font-weight: 800; }
.pi-thumbs { display: flex; gap: 30px; padding-top: 22px; }
.thumb { position: relative; height: 50px; width: 185px; padding-right: 15px; display: flex; align-items: center; justify-content: flex-end; color: #fff; font-weight: 700; font-size: 1.02rem; }
.thumb::before { content: ''; position: absolute; inset: 0; background: var(--brand); border-radius: 20px 0 0 0; z-index: 0; }
.thumb span { position: relative; z-index: 1; }
.thumb img { position: absolute; z-index: 1; left: 0; bottom: 0; width: 62px; height: 62px; object-fit: cover; object-position: center 12%; border-radius: 0 0 0 0; }
.pi-bottom { position: relative; margin-top: clamp(-100px, -6vw, -40px); display: flex; justify-content: flex-end; }
.pi-card { position: relative; width: min(100%, 880px); min-height: 340px; background: var(--pink2); display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.pi-card::after { content: ''; position: absolute; left: 100%; top: 0; bottom: 0; width: 50vw; background: var(--pink2); }
.pi-spec { padding: 40px 30px 40px 50px; align-self: center; }
.pi-spec ul { font-size: 1.02rem; line-height: 1.9; font-weight: 300; margin-bottom: 40px; }
.pi-spec li { color: #33291f; }
.pi-link { display: inline-flex; align-items: center; justify-content: center; width: 130px; height: 44px; border: 1px solid var(--brand); color: var(--brand); font-weight: 500; transition: background .3s, color .3s; }
.pi-link:hover { background: var(--brand); color: #fff; }
.pi-photo { position: relative; align-self: end; height: 100%; min-height: 340px; }
.pi-photo img { position: absolute; right: 0; bottom: 0; width: auto; height: 130%; max-height: 520px; max-width: none; mix-blend-mode: multiply; }
.pi-name { position: absolute; right: 0; bottom: 0; width: min(305px, 100%); height: 170px; padding: 28px 30px; background: rgba(91,68,51,.55); color: #fff; z-index: 2; backdrop-filter: blur(2px); }
.pi-name b { display: block; font-size: 1.7rem; letter-spacing: -.04em; }
.pi-name span { display: block; font-size: .96rem; opacity: .9; margin-top: 4px; }
.pi-name em { position: absolute; right: 26px; bottom: 20px; font-style: normal; font-size: .95rem; opacity: .85; }

/* ═══ 섹션 공통(율천 톤) ═══ */
.section { padding: clamp(80px, 9vw, 130px) 0; }
.section.pink, .section.beige { background: #f6f0e6; }
.sec-tit h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.2rem); font-weight: 700; padding-bottom: 14px; }
.sec-tit p { font-size: clamp(1rem, .5vw + .9rem, 1.3rem); color: #4a3f36; }

/* 업무분야 패널 */
.works { background: #e3d6c0; padding: clamp(70px, 8vw, 120px) 0; }
.works-box { width: 95%; max-width: 1655px; margin: 0 auto; padding: clamp(60px, 7vw, 120px) clamp(18px, 3vw, 40px); color: #fff; text-align: center; background: linear-gradient(rgba(96,74,55,.9), rgba(96,74,55,.93)), url(/assets/img/profile/bg-sub.webp) center / cover; box-shadow: 6px 6px 18px rgba(0,0,0,.35); }
.works-box h2 { color: #fff; font-size: clamp(2.2rem, 3vw + 1rem, 4rem); font-weight: 700; margin-bottom: 14px; }
.works-box > p { color: rgba(255,255,255,.9); font-size: clamp(1rem, .6vw + .9rem, 1.4rem); }
.works-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; max-width: 1340px; margin: clamp(40px, 5vw, 70px) auto 0; }
.wk { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: 26px 22px 20px; border: 1px solid rgba(255,255,255,.38); background: rgba(0,0,0,.16); color: #fff; text-align: center; transition: background .3s, color .3s, border-color .3s; }
.wk b { font-size: clamp(1.15rem, .5vw + 1rem, 1.5rem); font-weight: 700; line-height: 1.35; word-break: keep-all; }
.wk .go { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.5); padding-top: 12px; font-size: .98rem; }
.wk .go svg { width: 22px; height: 22px; }
.wk .go svg * { stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wk:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* 주력 분야 상세(수행사례 슬라이더 구조) */
.cases { background: linear-gradient(rgba(84,64,48,.9), rgba(84,64,48,.94)), url(/assets/img/profile/bg-hero.webp) center / cover; padding: clamp(80px, 9vw, 130px) 0; color: #fff; }
.cases .ct { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.cases h2 { color: #fff; font-size: clamp(2rem, 2.6vw + 1rem, 3.6rem); font-weight: 700; }
.cases .cnt { background: var(--brand); color: #fff; padding: 4px 22px; border-radius: 30px; font-size: 1.5rem; font-weight: 700; }
.cases .cnt small { font-size: .9rem; font-weight: 400; margin-left: 4px; }
.cases > .wrap > p { text-align: center; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cases .tabs { margin-bottom: 40px; }
.cases .tabs-in { background: transparent; box-shadow: none; padding: 0; gap: 8px; border-radius: 0; }
.cases .tabs button { border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 30px; padding: 9px 20px; font-size: .92rem; background: rgba(255,255,255,.06); }
.cases .tabs button.on { background: #fff; color: var(--brand); border-color: #fff; }
.cases .slider { padding-bottom: 20px; }
.cases .slide { flex: 0 0 min(360px, 84vw); background: #fff; border: 1px solid #e0d3bf; padding: 34px 30px 26px; box-shadow: none; color: #33291f; }
.cases .slide:hover { transform: none; border-color: var(--brand); box-shadow: none; }
.cases .slide .cat { font-size: .95rem; font-weight: 600; color: var(--blue); margin-bottom: 14px; display: block; }
.cases .slide h3 { font-size: 1.5rem; line-height: 1.35; margin-bottom: 14px; color: #241c16; }
.cases .slide .badge { display: inline-block; align-self: flex-start; border: 1px solid var(--brand); color: var(--brand); font-size: .82rem; font-weight: 600; padding: 3px 12px; margin-bottom: 16px; }
.cases .slide dl { flex: 1; }
.cases .slide dt { color: var(--blue); }
.cases .slide dd { color: #5a4e44; }
.cases .slide .dt { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .9rem; color: #85776a; }
.cases .slide .more { border-top: 1px solid #eadfcd; margin-top: 14px; padding-top: 14px; color: var(--brand); font-weight: 700; justify-content: space-between; }
.cases .slide .more i { background: none; color: var(--brand); width: auto; height: auto; }
.ribbon-tag { display: none; }

/* 강점 3가지 */
.stren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stren .st { background: var(--brand); color: #fff; padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px); position: relative; border-right: 1px solid rgba(255,255,255,.15); }
.stren .st:nth-child(2) { background: #6b5240; }
.stren .st:nth-child(3) { background: #3f2f23; }
.stren .st b { display: block; font-size: 3.2rem; font-weight: 300; opacity: .55; margin-bottom: 34px; line-height: 1; }
.stren .st h3 { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.stren .st p { color: rgba(255,255,255,.85); margin: 0; font-size: 1rem; line-height: 1.75; }

/* 프로세스 */
.step-card { background: #f6f0e6; }
.step-card:hover, .step-card.on { background: var(--brand); transform: none; }
.timeline span::before { background: var(--brand); }

/* 교육·강의 (언론보도 카드 구조) */
.news { background: #f6f0e6; padding: clamp(80px, 9vw, 130px) 0; }
.news .nt { text-align: center; margin-bottom: 50px; }
.news .nt h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.6rem); }
.news .nt p { font-size: 1.15rem; color: #4a3f36; margin: 12px 0 30px; }
.news .nt a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 30px; border: 1px solid var(--brand); border-radius: 40px; color: var(--brand); background: #fff; font-weight: 600; transition: background .3s, color .3s; }
.news .nt a:hover { background: var(--brand); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-cell { background: #fff; border: 1px solid #e0d3bf; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; transition: border-color .3s; }
.news-cell:hover { border-color: var(--brand); }
.news-cell .tg { font-size: .92rem; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.news-cell h3 { font-size: 1.4rem; line-height: 1.4; margin-bottom: 18px; min-height: 3.9rem; }
.news-cell p { font-size: .98rem; color: #6b5f54; line-height: 1.75; flex: 1; margin-bottom: 22px; }
.news-cell .vw { font-size: .94rem; font-weight: 700; color: #85776a; display: flex; align-items: center; gap: 12px; }
.news-cell:hover .vw { color: var(--brand); }

/* Q&A / 상담예약 카드 */
.faq { border-top: 2px solid #2a211b; }
.faq details[open] summary, .faq .a { background: #f6f0e6; }
.ask-card { background: var(--brand); border-radius: 0; }

/* 위촉장 */
.arch { border-radius: 0; background: #fff; border: 1px solid #e0d3bf; padding: 16px 16px 22px; flex: 0 0 min(250px, 68vw); }
.arch button { background: #f6f0e6; border-radius: 0; padding: 10px; aspect-ratio: 3 / 4; }

/* 사무소 소개 */
.br-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; }
.br-tabs span { min-width: 150px; text-align: center; padding: 12px 28px; border: 1px solid #e0d3bf; color: #85776a; font-weight: 600; }
.br-tabs span.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.br-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; max-width: 1100px; margin: 0 auto; border: 1px solid #e0d3bf; padding: clamp(28px, 4vw, 52px); }
.br-card h3 { font-size: 1.6rem; margin-bottom: 18px; }
.br-card li { display: flex; gap: 18px; padding: 8px 0; font-size: 1.02rem; }
.br-card li b { flex: 0 0 88px; color: #241c16; }
.br-link { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border: 1px solid var(--brand); color: var(--brand); font-weight: 600; white-space: nowrap; transition: background .3s, color .3s; }
.br-link:hover { background: var(--brand); color: #fff; }

.cta { background: linear-gradient(rgba(96,74,55,.9), rgba(96,74,55,.93)), url(/assets/img/profile/bg-sub.webp) center / cover; }

/* ═══ 푸터 ═══ */
.site-footer { background: #2e241d; padding: 70px 0 50px; color: #a89a8b; }
.ft-body { display: flex; gap: clamp(30px, 8vw, 150px); align-items: flex-start; }
.ft-brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: 0 0 auto; }
.ft-brand b { display: block; font-size: 1.3rem; letter-spacing: -.04em; }
.ft-brand small { display: block; font-size: .78rem; letter-spacing: .24em; opacity: .7; margin-top: 2px; }
.ft-brand .mk-bg { fill: #5a4e44; } .ft-brand .mk-fg { stroke: #e0d3bf; }
.ft-contact { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-bottom: 22px; color: #fff; font-weight: 600; font-size: 1.02rem; }
.ft-contact li { margin: 0; }
.ft-addr, .ft-biz { margin: 0 0 8px; color: #a89a8b; font-size: .94rem; }
.ft-addr b { color: #ccc; }
.ft-biz { margin-top: 24px; }
.ft-biz i { display: inline-block; width: 1px; height: 10px; background: #6b5f54; margin: 0 14px; }
.copy { border: 0; margin-top: 16px !important; padding: 0; color: #85776a !important; font-size: .86rem; line-height: 1.7; }

/* ═══ 하단 고정 상담예약 바 ═══ */
.dock { display: block; height: var(--dock-h); background: #f8f3ea; border-top: 1px solid #e0d3bf; clip-path: none; }
.dock .dk-in { max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 1%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dk-t { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.dk-t::before { content: ''; width: 2px; height: 20px; background: var(--brand); }
.dk-steps { display: flex; gap: 8px; }
.dk-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1px solid #e0d3bf; font-size: .95rem; color: #33291f; white-space: nowrap; }
.dk-steps b { color: var(--blue); font-size: .88rem; }
.dk-tel { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dk-tel small { font-size: .76rem; color: #85776a; }
.dk-tel b { font-size: 1.5rem; color: var(--brand); letter-spacing: -.02em; }
.dk-btn { width: 195px; height: 50px; background: var(--brand); color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background .3s; }
.dk-btn:hover { background: var(--brand-d); }
.side-quick { right: 18px; }
.side-quick .pill { background: var(--brand); }
.side-quick .top { background: #fff; border: 1px solid var(--brand); }
.side-quick .top svg { stroke: var(--brand); }
.float-home { bottom: calc(var(--dock-h) + 20px); }

/* ═══ 서브/상담 상단 (율천 sub 구조) ═══ */
.sub-banner { position: relative; height: clamp(250px, 24vw, 340px); background: #3f2f23 url(/assets/img/profile/bg-sub.webp) center / cover; color: #fff; display: flex; align-items: flex-end; padding-bottom: 46px; }
.sub-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(63,47,35,.72), rgba(63,47,35,.6)); }
.sub-banner .wrap { position: relative; z-index: 1; width: 100%; }
.sb-t { color: #fff; font-size: clamp(2.2rem, 3vw + 1rem, 3.8rem); font-weight: 700; letter-spacing: -.04em; margin: 0 0 6px; }
.sb-s { color: rgba(255,255,255,.92); font-size: clamp(1rem, .5vw + .9rem, 1.3rem); margin: 0; }
.sub-top { padding: 44px 0 clamp(60px, 7vw, 100px); }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: .94rem; color: #85776a; margin-bottom: 26px; flex-wrap: wrap; }
.crumbs svg { width: 18px; height: 18px; fill: var(--brand); display: block; }
.crumbs i { font-style: normal; color: #bbb; }
.crumbs em { font-style: normal; color: #33291f; font-weight: 600; }
.sub-h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 5rem); font-weight: 700; color: #2a211b; letter-spacing: -.05em; line-height: 1.2; margin: 0 0 clamp(40px, 5vw, 80px); }
.sub-lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.sl-l .eyebrow { margin-bottom: 18px; }
.lead-big { font-size: clamp(1.45rem, 1.5vw + .9rem, 2.4rem); font-weight: 300; line-height: 1.55; color: #2a211b; letter-spacing: -.04em; margin: 0 0 clamp(28px, 4vw, 54px); }
.sl-photo img { width: 100%; max-width: 460px; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 14%; border-radius: 0; }
.sl-r p { font-size: clamp(1rem, .3vw + .95rem, 1.15rem); line-height: 1.95; color: #4a3f36; margin: 0 0 1.4em; }
.sl-r p:first-child { font-weight: 500; color: #2a211b; }
.sl-r .hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.article.read { max-width: var(--read); }

/* ═══ 반응형 ═══ */
@media (max-width: 1239px) {
  .dk-steps { display: none; }
  .works-list { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pi-head { width: 100%; }
  .pi-top { flex-direction: column; }
  .pi-thumbs { padding-top: 0; justify-content: flex-start; margin-top: -10px; }
  .pi-bottom { margin-top: 40px; }
}
@media (max-width: 960px) {
  :root { --head-h: 72px; }
  .hd-in { width: 100%; padding: 0 16px; }
  .brand b { font-size: 1.12rem; } .brand small { font-size: .68rem; }
  .brand .mk { width: 36px; height: 36px; }
  .menu-btn { width: 44px; height: 44px; }
  .hd-pill { height: 34px; padding: 0 14px; font-size: .86rem; }
  /* 전체메뉴: 우측 슬라이드 패널 + 아코디언 */
  .allmenu { inset: 0 0 0 auto; width: min(86%, 420px); background: #fff; color: #241c16; opacity: 1; visibility: visible; transform: translateX(105%); transition: transform .35s; align-items: flex-start; justify-content: flex-start; padding: calc(var(--head-h) + 8px) 22px 140px; z-index: 72; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
  .allmenu.open { transform: none; }
  .am-in .cell { display: block; padding: 0; margin: 0; border-bottom: 1px solid #e0d3bf; }
  .am-in .depth1 { display: block; width: 100%; font-size: 1.15rem; font-weight: 700; color: #241c16; padding: 20px 0; position: relative; letter-spacing: -.03em; }
  .am-in .cell:hover .depth1 { color: #241c16; }
  .am-in .has-sub .depth1::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.8rem; font-weight: 300; }
  .am-in .has-sub.on .depth1::after { content: '\2212'; }
  .am-in .sub { width: 100%; display: block; max-height: 0; overflow: hidden; transition: max-height .4s; }
  .am-in .has-sub.on .sub { max-height: 1600px; }
  .am-in .sub a { display: block; color: #5a4e44; font-size: 1rem; padding: 0 0 14px 4px; }
  .am-in .sub a:hover { color: var(--brand); }
  .am-close { top: 14px; right: 16px; width: 44px; height: 44px; background: #fff; border: 1px solid #e0d3bf; }
  .am-close span { left: 12px; top: 21px; width: 18px; background: #241c16; }
  .am-dim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 71; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .am-dim.on { opacity: 1; visibility: visible; }
  .site-header { z-index: 60; }
  .sub-lead { grid-template-columns: 1fr; }
  .sl-photo img { max-width: 100%; aspect-ratio: 4 / 3.2; }
  .stren { grid-template-columns: 1fr; }
  .stren .st b { margin-bottom: 18px; font-size: 2.4rem; }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .dock { display: none; }
  .mv { min-height: 640px; }
  .mv-in { padding-top: 70px; }
  .mv h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .mv-form { height: 58px; padding: 0 16px; }
  .mv-form input { font-size: 1.05rem; }
  .mv-scroll { bottom: 20px; }
  .pi { padding-top: 64px; }
  .pi-head { padding: 40px 0 70px; }
  .pi-head::before { left: -18px; width: calc(100% + 18px); border-radius: 0 28px 0 0; }
  .pi-thumbs { padding: 0; }
  .thumb { width: 170px; }
  .pi-bottom { margin-top: 32px; }
  .pi-card { grid-template-columns: 1fr; min-height: 0; margin: 0 -18px; width: calc(100% + 36px); }
  .pi-card::after { display: none; }
  .pi-spec { order: 2; padding: 28px 22px 34px; }
  .pi-photo { order: 1; min-height: 330px; height: 330px; }
  .pi-photo img { height: 112%; right: 0; }
  .pi-name { width: 60%; height: 140px; padding: 20px; }
  .pi-name b { font-size: 1.35rem; }
  .works { padding: 50px 0; }
  .works-box { width: 92%; padding: 56px 16px; }
  .works-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .works-list .wk:last-child { grid-column: 1 / -1; }
  .wk { min-height: 150px; padding: 20px 14px 14px; }
  .cases .ct { flex-wrap: wrap; }
  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-cell h3 { min-height: 0; }
  .br-card { grid-template-columns: 1fr; }
  .br-link { width: 100%; }
  .br-card li { flex-direction: column; gap: 0; }
  .ft-body { flex-direction: column; gap: 28px; }
  .ft-contact { gap: 6px 22px; }
  .ft-biz i { margin: 0 8px; }
  .sub-banner { height: 230px; padding-bottom: 30px; }
  .sub-top { padding-top: 28px; }
  .float-home { bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); }
  .m-bar a:first-child { background: var(--brand-d); } .m-bar a:last-child { background: var(--brand); }
}
@media (max-width: 380px) { .hd-pill { display: none; } }

/* ═══ 보정(1차 비교 후) ═══ */
.allmenu { background: #2a211b; }
.am-in .depth1 { padding: 0; line-height: 1.3; }
.side-quick { top: auto; bottom: calc(var(--dock-h) + 22px); transform: none; right: 22px; flex-direction: column; }
.side-quick .pill { display: none; }
@media (min-width: 1700px) { .side-quick { top: 50%; bottom: auto; transform: translateY(-50%); } .side-quick .pill { display: flex; } }
.sub-top { padding-bottom: clamp(30px, 4vw, 60px); }
@media (max-width: 768px) {
  .side-quick { display: none; }
  .mv { min-height: 100svh; padding: 0 0 70px; }
  .mv-in { padding-top: 96px; padding-bottom: 20px; }
  .mv-eyebrow { font-size: .74rem; letter-spacing: .26em; margin-bottom: 14px; }
  .mv-sub { font-size: 1rem; margin-bottom: 28px; }
  .mv-tags { gap: 6px; margin-top: 16px; }
  .mv-tags a { font-size: .82rem; padding: 5px 11px; }
  .mv-scroll { display: none; }
}

/* 변호사 소개: 썸네일 탭 제거 → 프로필 사진 확대 */
.pi-head { width: 50%; }
.pi-bottom { margin-top: clamp(-380px, -22vw, -120px); }
.pi-card { width: min(100%, 940px); min-height: 440px; grid-template-columns: 1fr 1.05fr; }
.pi-photo { min-height: 440px; }
.pi-photo img { height: 150%; max-height: 700px; }
.pi-name { height: 190px; width: min(330px, 100%); }
@media (max-width: 1239px) {
  .pi-bottom { margin-top: 40px; }
  .pi-card { min-height: 420px; }
}
@media (max-width: 768px) {
  .pi-card { min-height: 0; }
  .pi-photo { min-height: 430px; height: 430px; }
  .pi-photo img { height: 118%; max-height: none; }
  .pi-name { width: 58%; height: 150px; }
}
@media (max-width: 768px) {
  .pi-card { grid-template-columns: 1fr; }
  .pi-photo { order: 1; }
  .pi-spec { order: 2; }
  .pi-photo img { right: 0; left: auto; }
  .pi-name { right: 0; bottom: 0; width: 62%; height: 130px; padding: 18px 18px; }
  .pi-name b { font-size: 1.25rem; }
  .pi-name span { font-size: .86rem; }
  .pi-name em { display: none; }
}
@media (max-width: 1239px) { .pi-head { width: 100%; } }
@media (max-width: 768px) { .pi-card { margin: 0 -18px; width: calc(100% + 36px); } .pi-photo { overflow: hidden; } }

/* 히어로 소개글: 한 줄 임팩트 + 보조 한 줄 */
.mv-sub { max-width: 820px; margin-bottom: 40px; }
.mv-sub b { display: block; color: #fff; font-size: clamp(1.3rem, 1.7vw + .9rem, 2.1rem); font-weight: 700; line-height: 1.45; letter-spacing: -.04em; margin-bottom: 14px; }
.mv-sub span { display: block; font-size: clamp(.98rem, .4vw + .9rem, 1.15rem); line-height: 1.75; color: rgba(255,255,255,.88); }
@media (max-width: 768px) { .mv-sub { margin-bottom: 28px; } .mv-sub b { font-size: 1.3rem; } .mv-sub span { font-size: .96rem; } }


/* ═══ 반응형 보정(2차) ═══ */
.hd-pill { height: 40px; }
.tip .tag { font-size: .82rem; }
.mv-eyebrow { font-size: .8rem; }
@media (max-width: 960px) { .hd-pill { height: 40px; } }
.mv-eyebrow { font-size: .85rem; }
.sub-top + article.section { padding-top: clamp(10px, 2vw, 30px); }
@media (min-width: 521px) and (max-width: 960px) { .sl-photo img { max-width: 480px; } }
/* 모바일 전체메뉴: 흰 배경 패널 (PC용 어두운 배경 보정이 모바일을 덮지 않도록 마지막에 재지정) */
@media (max-width: 960px) {
  .allmenu { background: #fff; color: #241c16; }
  .am-in .depth1, .am-in .cell:hover .depth1 { color: #241c16; }
  .am-in .sub a { color: #5a4e44; }
}
