/* 법률사무소 이혜 — dui.lawofficekor.com 전용 스킨 D(야간거리+샴페인+딥버건디). leehyelaw/first/fraud 클래스·CSS 비복제 */
@font-face{font-family:'PretendardV';src:url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');font-weight:45 920;font-display:swap;}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

:root{
  --ink:#3D1F24;
  --ink-soft:#2C1519;
  --bronze:#E8D5A3;
  --bronze-dark:#8A6B2C;
  --paper:#F8F4F2;
  --line:#E6DCD8;
  --about-deep:#220E12;
  --about-deep2:#2B1419;
  --text:#241A1B;
  --muted:#6E6260;
  --radius:8px;
  --maxw:1560px;
}
*{box-sizing:border-box;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:'PretendardV','Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);background:#fff;line-height:1.7;font-size:17px;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-weight:700;}
.eng-label{font-family:'Poppins',sans-serif;font-weight:700;font-size:20px;letter-spacing:.06em;color:var(--bronze-dark);display:flex;align-items:center;gap:8px;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:999px;font-weight:700;font-size:15px;border:1.5px solid var(--ink);transition:.25s;cursor:pointer;}
.btn-dark{background:var(--ink);color:#fff;border-color:var(--ink);}
.btn-dark:hover{background:var(--bronze-dark);border-color:var(--bronze-dark);}
.btn-line{background:transparent;color:var(--ink);}
.btn-line:hover{background:var(--ink);color:#fff;}
.sec-title{font-size:48px;font-weight:700;line-height:1.5;color:var(--text);}
.one-line{white-space:normal;}
@media(min-width:768px){.one-line{white-space:nowrap;font-size:clamp(28px,3.1vw,48px);}}
.sec-sub{font-size:17px;color:var(--muted);line-height:1.7;margin-top:14px;}
section{position:relative;}

/* ── 등장 애니메이션 ── */
.reveal{opacity:0;transform:translateY(90px);transition:opacity 1s ease-in-out, transform 1s ease-in-out;}
.reveal.is-in{opacity:1;transform:translateY(0);}
.reveal-x{opacity:0;transform:translateX(6%);transition:opacity 1s ease-in-out, transform 1s ease-in-out;}
.reveal-x.is-in{opacity:1;transform:translateX(0);}
.photo-cover{position:relative;overflow:hidden;display:block;}
.photo-cover img{width:100%;height:100%;object-fit:cover;}
.photo-cover .veil{position:absolute;inset:0;background:var(--about-deep);height:100%;transform-origin:top;transition:transform .9s ease-in-out;z-index:2;}
.photo-cover.is-in .veil{transform:scaleY(0);}
@media (prefers-reduced-motion:reduce){.reveal,.reveal-x{opacity:1!important;transform:none!important;}.photo-cover .veil{display:none;}}

/* ── 헤더 ── */
.gnb{position:fixed;top:0;left:0;right:0;z-index:100;height:92px;display:flex;align-items:center;transition:background .3s,box-shadow .3s,height .3s;background:transparent;}
.gnb .wrap{display:flex;align-items:center;justify-content:space-between;width:100%;}
.gnb.solid{background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08);height:80px;}
.gnb .logo{position:relative;display:block;}
.gnb .logo img{height:38px;transition:.2s;}
.gnb .logo-dark{display:none;}
.gnb.solid .logo-white{display:none;}
.gnb.solid .logo-dark{display:block;}
.gnb .gnb-menu{display:flex;gap:38px;align-items:center;}
.gnb .gnb-menu>li{position:relative;padding:34px 0;}
.gnb .gnb-menu>li>a{font-size:17px;font-weight:600;color:#fff;transition:.3s;white-space:nowrap;}
.gnb.solid .gnb-menu>li>a{color:var(--ink);}
.gnb .gnb-menu>li.current>a{color:var(--bronze);}
.gnb .sub{position:absolute;top:100%;left:50%;transform:translateX(-50%);background:#fff;border-radius:10px;box-shadow:0 18px 40px rgba(0,0,0,.16);padding:14px 10px;min-width:240px;opacity:0;visibility:hidden;transition:.2s;}
.gnb .gnb-menu>li:hover .sub{opacity:1;visibility:visible;}
.gnb .sub a{display:block;padding:10px 18px;font-size:15px;color:var(--ink);border-radius:6px;white-space:nowrap;}
.gnb .sub a:hover{background:var(--paper);color:var(--bronze-dark);}
.gnb-side{display:flex;align-items:center;gap:16px;}
.gnb-sns{display:flex;gap:10px;opacity:0;visibility:hidden;transition:.3s;}
.gnb.solid .gnb-sns{opacity:1;visibility:visible;}
.gnb-sns img{width:24px;height:24px;}
.gnb-tel{opacity:0;visibility:hidden;transition:.3s;font-weight:700;color:var(--ink);border:1.5px solid var(--ink);border-radius:999px;padding:10px 20px;font-size:14px;}
.gnb.solid .gnb-tel{opacity:1;visibility:visible;}
.gnb-burger{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:110;background:none;border:0;padding:6px;}
.gnb-burger span{width:26px;height:2px;background:#fff;transition:.3s;}
.gnb.solid .gnb-burger span{background:var(--ink);}

/* mobile */
.gnb-mobile{position:fixed;inset:0;background:#fff;z-index:105;transform:translateX(100%);transition:.35s;overflow-y:auto;padding:100px 28px 40px;}
.gnb-mobile.open{transform:translateX(0);}
.gnb-mobile li{border-bottom:1px solid var(--line);}
.gnb-mobile>ul>li>a{display:block;padding:18px 4px;font-size:18px;font-weight:700;color:var(--ink);}
.gnb-mobile .sub-m{padding-left:14px;}
.gnb-mobile .sub-m a{display:block;padding:12px 4px;font-size:15px;color:var(--muted);}
@media(max-width:1180px){.gnb .gnb-menu,.gnb-sns,.gnb-tel{display:none;}.gnb-burger{display:flex;}}

/* ── 히어로 ── */
.hero{position:relative;height:918px;max-height:100vh;min-height:640px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--ink);}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero::after{content:'';position:absolute;inset:0;background:rgba(8,4,5,.56);}
.hero-inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:6vw;width:100%;max-width:1400px;padding:0 24px;}
.hero-person{flex:0 0 auto;text-align:center;opacity:0;transform:translateY(40px);animation:heroUp 1s ease-out forwards;}
.hero-person:nth-child(1){animation-delay:.15s;}
.hero-person:nth-child(3){animation-delay:.45s;}
.hero-person img{height:420px;width:auto;object-fit:contain;filter:drop-shadow(0 20px 40px rgba(0,0,0,.4));}
.hero-person .pname{margin-top:14px;color:#fff;font-size:17px;font-weight:600;letter-spacing:.02em;}
.hero-copy{text-align:center;opacity:0;transform:translateY(30px);animation:heroUp 1.1s ease-out .3s forwards;}
.hero-copy p{color:#fff;font-weight:700;font-size:clamp(26px,3vw,42px);line-height:1.5;margin:0;}
@keyframes heroUp{to{opacity:1;transform:translateY(0);}}
@media(max-width:1180px){.hero-person img{height:260px;}.hero-inner{gap:16px;}.hero{height:760px;}}
@media(max-width:767px){.hero-inner{flex-direction:column;gap:10px;}.hero-person img{height:170px;}.hero-copy{order:-1;margin-bottom:6px;}}

/* ── 리드 3줄 ── */
.lead{padding:120px 0 80px;background:#fff;}
.lead h2{font-size:48px;font-weight:700;line-height:1.5;max-width:100%;white-space:normal;}
@media(min-width:768px){.lead h2{white-space:nowrap;}}
.lead-photos{display:flex;justify-content:center;gap:22px;margin-top:56px;flex-wrap:wrap;}
.lead-photos .ph{width:380px;height:450px;border-radius:var(--radius);}
@media(max-width:1180px){.lead-photos .ph{width:calc(33% - 15px);height:340px;}}
@media(max-width:767px){.lead h2{font-size:32px;}.lead-photos .ph{width:100%;height:260px;}}

/* ── FIELD OF BUSINESS ── */
.field{padding:100px 0;background:var(--paper);}
.field-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px;margin-bottom:52px;}
.field-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.field-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 24px rgba(40,15,18,.07);}
.field-card .ph{width:100%;height:260px;}
.field-card .body{padding:22px 20px 26px;}
.field-card .ttl{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;margin-bottom:14px;}
.field-card .pill{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;border:1.5px solid var(--bronze);color:var(--bronze-dark);font-size:13px;font-weight:700;}
.field-card .pill:hover{background:var(--bronze);color:#fff;}
@media(max-width:1180px){.field-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.sec-title,.field h2,.lawyer h2,.about-sec h2{font-size:32px!important;}}

/* ── OUR LAWYER ── */
.lawyer{padding:110px 0;background:#fff;}
.lawyer-head{text-align:center;max-width:820px;margin:0 auto 56px;}
.lawyer-grid{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;}
.lawyer-card{position:relative;width:546px;max-width:100%;height:728px;background:#0a0a0a;border-radius:10px;overflow:hidden;}
.lawyer-card .mark{position:absolute;inset:0;background-image:url('/assets/images/foot_logo.png');background-repeat:no-repeat;background-position:center 30%;background-size:60%;opacity:.14;filter:invert(1) brightness(2);}
.lawyer-card .photo{position:absolute;bottom:0;left:0;right:0;height:88%;display:flex;align-items:flex-end;justify-content:center;}
.lawyer-card .photo img{height:100%;width:auto;object-fit:contain;}
.lawyer-card .nameplate{position:absolute;left:28px;top:26px;text-align:left;z-index:3;}
.lawyer-card .nameplate .nm{font-size:28px;font-weight:700;color:var(--bronze);}
.lawyer-card .nameplate .rl{font-size:14px;color:var(--bronze);opacity:.85;margin-top:4px;}
.lawyer-card .hover{position:absolute;inset:0;background:rgba(0,0,0,.88);opacity:0;transition:.3s;display:flex;flex-direction:column;justify-content:center;padding:36px;z-index:4;}
.lawyer-card:hover .hover,.lawyer-card.tap .hover{opacity:1;}
.lawyer-card .hover li{color:#fff;font-size:14.5px;line-height:1.9;padding-left:16px;position:relative;}
.lawyer-card .hover li::before{content:'';position:absolute;left:0;top:11px;width:5px;height:5px;border-radius:50%;background:var(--bronze);}
.lawyer .more{text-align:center;margin-top:48px;}
@media(max-width:1180px){.lawyer-card{width:100%;height:560px;}}

/* ── ABOUT US ── */
.about-sec{padding:120px 0;background:var(--about-deep);position:relative;overflow:hidden;color:#fff;}
.about-sec .bgphoto{position:absolute;inset:0;opacity:.18;}
.about-sec .bgphoto img{width:100%;height:100%;object-fit:cover;}
.about-sec .overlay{position:absolute;inset:0;background:linear-gradient(180deg,var(--about-deep) 0%,rgba(34,14,18,.86) 60%,var(--about-deep) 100%);}
.about-sec .inner{position:relative;z-index:2;}
.about-sec h2{font-size:48px;line-height:1.5;color:#fff;max-width:760px;}
.about-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:56px;}
.about-card{background:#fff;border-radius:var(--radius);padding:32px 26px;color:var(--text);}
.about-card .num{color:var(--bronze-dark);font-family:'Poppins',sans-serif;font-weight:700;font-size:14px;}
.about-card .ttl{font-size:26px;font-weight:700;margin:10px 0 12px;}
.about-card p{font-size:15.5px;color:var(--muted);line-height:1.7;}
@media(max-width:1180px){.about-cards{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.about-cards{grid-template-columns:1fr;}}

/* ── 소식 ── */
.news-sec{padding:100px 0;background:var(--paper);}
.news-list{margin-top:40px;display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line);}
.news-item{display:flex;justify-content:space-between;gap:20px;padding:26px 4px;border-bottom:1px solid var(--line);}
.news-item .ttl{font-weight:700;font-size:17px;}
.news-item .ttl a{transition:.2s;}
.news-item .ttl a:hover{color:var(--bronze-dark);}
.news-item .dt{color:var(--muted);font-size:14px;white-space:nowrap;}

/* ── 오시는길 ── */
.loc-sec{padding:100px 0;background:#fff;}
.loc-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:40px;}
.loc-info{background:var(--paper);border-radius:var(--radius);padding:40px;}
.loc-info h3{font-size:24px;margin-bottom:22px;}
.loc-info li{display:flex;align-items:center;gap:12px;padding:11px 0;font-size:16px;border-bottom:1px solid var(--line);}
.loc-info li:last-child{border-bottom:0;}
.map-box{width:100%;overflow:hidden;border-radius:var(--radius);height:480px;}
.map-box .root_daum_roughmap{width:100%!important;}
.map-box .root_daum_roughmap .wrap_map{height:480px!important;}
.map-box .root_daum_roughmap .cont{display:none!important;}
.map-box .root_daum_roughmap .wrap_controllers{display:none!important;}
.page-map .map-box{height:550px;}
.page-map .map-box .root_daum_roughmap .wrap_map{height:550px!important;}
@media(max-width:1180px){.loc-grid{grid-template-columns:1fr;}}
@media(max-width:767px){.map-box,.map-box .root_daum_roughmap .wrap_map{height:320px!important;}.page-map .map-box,.page-map .map-box .root_daum_roughmap .wrap_map{height:340px!important;}}

/* ── 상담 블록 (전 페이지 푸터 위) ── */
.consult-band{background:var(--paper);padding:36px 0;}
.consult-inner{display:flex;gap:40px;align-items:center;flex-wrap:wrap;max-width:1560px;margin:0 auto;padding:0 32px;}
.consult-left{flex:0 0 460px;max-width:100%;}
.consult-left h3{font-size:24px;font-weight:700;line-height:1.4;margin:8px 0 10px;}
.consult-left .tel{font-size:40px;font-weight:700;color:var(--bronze-dark);}
.consult-form{flex:1 1 500px;background:#fff;border-radius:10px;padding:14px;}
.consult-form form{display:flex;flex-direction:column;gap:10px;}
.consult-form .row2{display:flex;gap:10px;}
.consult-form input,.consult-form select,.consult-form textarea{width:100%;height:48px;border-radius:8px;border:1px solid var(--line);padding:0 16px;font-size:15px;font-family:inherit;background:#fff;}
.consult-form textarea{height:90px;padding:12px 16px;resize:vertical;}
.consult-form button{height:48px;border-radius:8px;border:0;background:var(--ink);color:#fff;font-weight:700;font-size:16px;cursor:pointer;}
.consult-form button:hover{background:var(--bronze-dark);}
.consent-box{background:#F7F9F8;border:1px solid var(--line);border-radius:8px;padding:9px 14px;font-size:12.5px;color:var(--muted);line-height:1.6;}
.consent-check{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;white-space:nowrap;}
.consent-check input{width:18px;height:18px;accent-color:var(--bronze-dark);}
.consult-note{font-size:13px;color:var(--muted);}

/* ── 푸터 ── */
.site-footer{position:relative;padding:70px 0 34px;color:#fff;background:var(--ink);overflow:hidden;}
.site-footer .bgphoto{position:absolute;inset:0;opacity:.16;}
.site-footer .bgphoto img{width:100%;height:100%;object-fit:cover;}
.site-footer .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(34,14,18,.90),rgba(34,14,18,.97));}
.site-footer .inner{position:relative;z-index:2;}
.foot-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.14);}
.foot-brand > img{height:32px;margin-bottom:16px;filter:brightness(0) invert(1);}
.foot-brand p{color:rgba(255,255,255,.55);font-size:14px;max-width:320px;}
.foot-sns{display:flex;gap:14px;margin-top:20px;}
.foot-sns a{width:44px;height:44px;display:flex;align-items:center;justify-content:center;transition:.2s;}
.foot-sns a:hover{transform:translateY(-2px);}
.foot-sns img{width:44px;height:44px;display:block;filter:none;border-radius:0;background:none;}
.foot-links{display:flex;gap:56px;flex-wrap:wrap;}
.foot-col h4{font-size:14px;color:var(--bronze);margin-bottom:16px;letter-spacing:.04em;}
.foot-col li{margin-bottom:10px;}
.foot-col a{color:rgba(255,255,255,.65);font-size:14.5px;}
.foot-col a:hover{color:#fff;}
.foot-nap{padding-top:28px;font-size:13.5px;color:rgba(255,255,255,.5);line-height:2;}
.foot-nap b{color:rgba(255,255,255,.75);}
.foot-copy{margin-top:14px;font-size:13px;color:rgba(255,255,255,.4);}
@media(max-width:767px){.foot-top{flex-direction:column;}.foot-links{gap:32px;}}

/* ── 서브페이지 공통 ── */
.page-hero{position:relative;padding:200px 0 60px;background:var(--ink);color:#fff;overflow:hidden;}
.page-hero .bgphoto{position:absolute;inset:0;opacity:.28;}
.page-hero .bgphoto img{width:100%;height:100%;object-fit:cover;}
.page-hero .overlay{position:absolute;inset:0;background:rgba(30,12,16,.64);}
.page-hero .inner{position:relative;z-index:2;}
.page-hero .eng-label{color:var(--bronze);margin-bottom:14px;}
.page-hero h1{font-size:44px;color:#fff;line-height:1.4;}
.page-hero p{color:rgba(255,255,255,.75);margin-top:16px;font-size:16.5px;max-width:720px;}
.crumb{font-size:13px;color:rgba(255,255,255,.55);margin-bottom:18px;}
.crumb a{color:rgba(255,255,255,.75);}
.main-sec{padding:80px 0;}
.main-sec.alt{background:var(--paper);}
.prose{max-width:860px;}
.prose p{margin:0 0 18px;}
table.cost-table{width:100%;border-collapse:collapse;margin:24px 0;}
table.cost-table th,table.cost-table td{border:1px solid var(--line);padding:14px 16px;text-align:left;font-size:15.5px;}
table.cost-table th{background:var(--paper);}
.def-list{margin:20px 0;}
.def-list li{padding:12px 0 12px 22px;position:relative;border-bottom:1px dashed var(--line);}
.def-list li::before{content:'';position:absolute;left:0;top:20px;width:7px;height:7px;background:var(--bronze);border-radius:2px;}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin-top:40px;}
@media(max-width:900px){.two-col{grid-template-columns:1fr;}}
.faq-block{margin-top:20px;}
.faq-item{border-bottom:1px solid var(--line);padding:22px 0;}
.faq-item h3{font-size:17.5px;display:flex;gap:10px;}
.faq-item .a{margin-top:10px;color:var(--muted);font-size:15.5px;line-height:1.75;}

/* 구성원 목록/상세 */
.member-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:40px;}
.member-card{background:var(--paper);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;}
.member-card .ph{height:360px;background:var(--ink);}
.member-card .ph img{height:100%;width:100%;object-fit:contain;}
.member-card .info{padding:26px;}
.member-card .info .nm{font-size:24px;font-weight:700;}
.member-card .info .rl{color:var(--bronze-dark);font-weight:600;margin-top:4px;}
.profile-hero{display:flex;gap:40px;align-items:flex-end;flex-wrap:wrap;}
.profile-hero img{width:280px;border-radius:8px;}
.profile-grid{display:grid;grid-template-columns:220px 1fr;gap:14px 24px;margin-top:16px;}
.profile-grid dt{color:var(--muted);font-size:14px;font-weight:700;padding-top:2px;}
.profile-grid dd{margin:0;font-size:15.5px;}
.profile-grid dd ul li{padding:4px 0;}

/* 사례/미디어 목록 */
.list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:40px;}
.case-card{border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.06);transition:.25s;}
.case-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.12);}
.case-card .ph{aspect-ratio:550/410;height:auto;overflow:hidden;}
.case-card .ph img{width:100%;height:100%;object-fit:cover;}
.case-card .cb{padding:18px 20px 22px;}
.case-card .ttl{font-size:18.5px;font-weight:700;line-height:1.4;}
.case-card .tag{font-size:12.5px;color:var(--bronze-dark);font-weight:700;margin-bottom:8px;}
@media(max-width:1180px){.list-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.list-grid{grid-template-columns:1fr;}.case-card .ph{height:200px;}}
.pagi{display:flex;justify-content:center;gap:8px;margin-top:52px;}
.pagi a,.pagi span{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:14px;font-weight:600;color:var(--muted);}
.pagi a:hover,.pagi .cur{background:var(--ink);color:#fff;}
.case-detail-top{max-width:680px;margin:0 0 30px;border-radius:6px;overflow:hidden;}
.case-detail-top img{width:100%;}
.media-list{margin-top:36px;border-top:1px solid var(--line);}
.media-row{display:flex;justify-content:space-between;gap:20px;padding:22px 4px;border-bottom:1px solid var(--line);}
.media-row .ttl{font-weight:700;font-size:16.5px;}
.media-row .ttl:hover{color:var(--bronze-dark);}
.media-row .no{color:var(--muted);font-size:13px;width:48px;flex:0 0 auto;}

/* 상담신청 폼 페이지 */
.contact-form-wrap{max-width:760px;margin:40px auto 0;background:var(--paper);border-radius:12px;padding:44px;}
.f-row{margin-bottom:20px;}
.f-row label{display:block;font-weight:700;font-size:15px;margin-bottom:8px;}
.f-row input,.f-row select,.f-row textarea{width:100%;height:56px;border:1px solid var(--line);border-radius:8px;padding:0 16px;font-size:15.5px;font-family:inherit;background:#fff;}
.f-row textarea{height:130px;padding:14px 16px;resize:vertical;}
.radio-group{display:flex;flex-direction:row;flex-wrap:wrap;gap:22px;padding-top:6px;}
.f-row .radio-group label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;width:auto;max-width:none;white-space:nowrap;font-weight:500;font-size:15px;margin-bottom:0;}
.f-submit{width:100%;height:60px;border:0;border-radius:8px;background:var(--ink);color:#fff;font-weight:700;font-size:16.5px;cursor:pointer;margin-top:8px;}
.f-submit:hover{background:var(--bronze-dark);}
.form-msg{padding:16px;border-radius:8px;margin-bottom:20px;font-size:15px;}
.form-msg.ok{background:#E8F3EC;color:#1D6B3E;}
.form-msg.err{background:#FBEAEA;color:#B3261E;}

.crossmenu{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px;}
.crossmenu a{padding:10px 18px;border:1px solid var(--line);border-radius:999px;font-size:14px;}
.crossmenu a:hover{border-color:var(--bronze);color:var(--bronze-dark);}
.practice-icon-title{display:flex;align-items:center;gap:12px;}
.hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px;}
.hub-card{background:var(--paper);border-radius:10px;padding:26px 22px;transition:.2s;}
.hub-card:hover{background:var(--ink);color:#fff;}
.hub-card .ttl{font-weight:700;font-size:17px;margin-top:14px;}
@media(max-width:900px){.hub-grid{grid-template-columns:repeat(2,1fr);}}

/* Guide 페이지 */
.guide-lead{background:var(--paper);border-left:4px solid var(--bronze);padding:22px 26px;margin:0 0 30px;font-size:17px;line-height:1.85;}
.guide-note{font-size:14px;color:var(--muted);margin-top:30px;}
.guide-rel{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:28px;}
.rel-card{background:#fff;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:.2s;}
.rel-card:hover{transform:translateY(-3px);}
.rel-card .ph{aspect-ratio:4/3;background:var(--ink);overflow:hidden;}
.rel-card .ph img{width:100%;height:100%;object-fit:cover;}
.rel-card .cb{padding:16px 18px;}
.rel-card .tag{font-size:12.5px;color:var(--bronze-dark);font-weight:600;}
.rel-card .ttl{display:block;margin-top:6px;font-weight:700;font-size:15.5px;line-height:1.5;}
@media(max-width:900px){.guide-rel{grid-template-columns:repeat(2,1fr);}}

/* ── 줄바꿈 정리 (한글 어절 단위) ── */
body,p,li,h1,h2,h3,h4,a,button,span,.card,footer,nav{word-break:keep-all;overflow-wrap:break-word;line-break:strict;}

/* ── 모바일 메뉴: 가로 최대 4칸 (5개↑ 2줄) ── */
@media(max-width:767px){
  .gnb-mobile{padding:84px 16px 32px;}
  .gnb-mobile>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
  .gnb-mobile>ul>li{display:contents;border:0;}
  .gnb-mobile>ul>li>a{order:0;padding:14px 0;font-size:14px;line-height:1.35;text-align:center;border:1px solid var(--line);border-radius:8px;}
  .gnb-mobile .sub-m{display:none;order:1;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0;margin:0;list-style:none;}
  .gnb-mobile .has-children.open-sub>.sub-m{display:grid;}
  .gnb-mobile .sub-m li{border:0;}
  .gnb-mobile .sub-m a{padding:11px 6px;font-size:14px;text-align:center;background:var(--paper);border-radius:6px;}
  .gnb-mobile .gnb-sns{grid-column:1/-1;justify-content:center;}
}

/* Guide 관련 업무사례: 본문 칼럼 기준 가운데 정렬 2열 */
.rel-center{text-align:center;}
.rel-center .sec-title{text-align:center;}
.guide-rel.rel-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px;margin:28px auto 0;text-align:left;}
@media(max-width:560px){.guide-rel.rel-2{grid-template-columns:1fr;}}

/* 허브: 세부 안내 카드 3열 */
.guide-rel.hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.rel-card .hub-desc{display:block;margin-top:8px;font-size:13.5px;line-height:1.6;color:var(--muted);font-weight:400;}
@media(max-width:900px){.guide-rel.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.guide-rel.hub-grid{grid-template-columns:1fr;}}

/* 푸터 Guide 접기 */
.foot-guide summary{list-style:none;cursor:pointer;font-size:14px;color:var(--bronze);letter-spacing:.04em;font-weight:700;}
.foot-guide summary::-webkit-details-marker{display:none;}
.foot-guide>details>summary::after{content:' +';}
.foot-guide>details[open]>summary::after{content:' −';}
.foot-guide>details>ul{margin-top:16px;}
.foot-more{margin-top:2px;}
.foot-more>summary{font-size:13.5px;font-weight:500;color:rgba(255,255,255,.65);margin-bottom:10px;}
.foot-more>summary::after{content:' ▾';}
.foot-more>ul{margin-top:6px;}
/* 관련 업무사례 3장: 항상 한 줄, 균등 폭, 가운데 */
.guide-rel.rel-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:860px;margin:28px auto 0;text-align:left;}
@media(max-width:767px){
  .guide-rel.rel-3{gap:8px;}
  .guide-rel.rel-3 .rel-card .cb{padding:8px 8px 10px;}
  .guide-rel.rel-3 .rel-card .tag{font-size:10.5px;}
  .guide-rel.rel-3 .rel-card .ttl{font-size:11.5px;line-height:1.4;margin-top:3px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
  .guide-rel.rel-3 .rel-card .hub-desc{display:none;}
}
@media(max-width:767px){.loc-info{padding:24px 18px;min-width:0;}.loc-info li{font-size:15px;flex-wrap:wrap;}.loc-info a{overflow-wrap:anywhere;}}

/* ═══ 스킨 D 보강 (음주운전변호사) ═══ */
/* 히어로 좌우 인물 · 가운데 카피 */
.hero-person img{height:min(520px,56vh);}
.hero-person .pname{color:var(--bronze);font-weight:700;font-size:18px;}
.hero-copy p{font-size:clamp(28px,3.4vw,52px);text-shadow:0 2px 24px rgba(0,0,0,.45);}
.hero-copy p span{display:block;color:var(--bronze);}
.hero-inner{max-width:1500px;gap:4vw;}
@media(max-width:767px){
  .hero{height:auto;min-height:720px;padding:120px 0 48px;}
  .hero-inner{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px;}
  .hero-copy{order:-1;flex:0 0 100%;margin-bottom:12px;}
  .hero-copy p{font-size:28px;white-space:nowrap;}
  .hero-person img{height:250px;}
  .hero-person .pname{font-size:14px;}
}
/* 리드 사진 덮개 */
.lead-photos .ph{position:relative;overflow:hidden;display:block;}
.lead-photos .ph img{width:100%;height:100%;object-fit:cover;}
.lead h2{font-size:48px;line-height:1.5;}
.lead h2 span{display:block;}
@media(min-width:768px){.lead h2 span{white-space:nowrap;}}
@media(max-width:767px){.lead{padding:90px 0 60px;}.lead h2{font-size:24px;}.lead h2 span{white-space:normal;}.lead-photos .ph{height:240px;}}
/* 사진 덮개 색 = 스킨 딥버건디 */
.photo-cover .veil{background:#3D1F24;}
/* 사례 상세 대표 사진 ≤300 */
.case-detail-top{max-width:300px;}
/* 상담 블록: 높이 ≤380, 동의문 네 줄 */
.consult-band{padding:26px 0;background:#F6F1EF;}
.consult-left .tel{font-size:48px;line-height:1.2;color:var(--bronze-dark);}
.consult-form{padding:8px;}
.consult-form form{gap:8px;}
.consult-form input,.consult-form select{height:56px;font-size:17px;}
.consult-form button{height:60px;font-size:18px;}
.consent-box{padding:8px 14px;font-size:14px;line-height:1.55;display:flex;flex-direction:column;}
.consent-box b{font-weight:700;color:var(--text);}
.consent-box span{display:block;}
.consent-check{font-size:15px;}
.consent-check input{width:20px;height:20px;}
@media(max-width:767px){.consult-left .tel{font-size:36px;}.consult-form .row2{flex-direction:column;}}
/* Guide 허브 */
.guide-hub-head{text-align:center;max-width:900px;margin:0 auto 44px;}
.guide-hub-head .eng-label{justify-content:center;}
.guide-hub-head h2{font-size:44px;margin-top:12px;}
.guide-hub-head p{font-size:18px;color:var(--muted);margin:10px 0 0;}
.guide-hub-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:1360px;margin:0 auto;}
.guide-hub-3 .rel-card .ph{aspect-ratio:4/3;}
.guide-hub-3 .rel-card .ttl{font-size:20px;}
.guide-hub-3 .rel-card .more{display:inline-block;margin-top:12px;font-weight:700;color:var(--bronze-dark);font-size:14.5px;}
@media(max-width:900px){.guide-hub-3{grid-template-columns:1fr;max-width:520px;}.guide-hub-head h2{font-size:30px;}}
.guide-all{max-width:1360px;margin:70px auto 0;}
.guide-all h3{font-size:24px;margin:34px 0 14px;}
.guide-all h3 a{border-bottom:2px solid var(--bronze);}
.guide-all ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 24px;}
.guide-all li a{display:block;padding:12px 14px;background:var(--paper);border-radius:8px;font-weight:600;font-size:15.5px;}
.guide-all li a:hover{background:var(--ink);color:#fff;}
@media(max-width:900px){.guide-all ul{grid-template-columns:repeat(2,minmax(0,1fr));}}
/* 관련 업무사례: PC 3열 1줄 · 모바일 1열 */
.guide-rel.rel-3 .rel-card .ph{height:180px;aspect-ratio:auto;}
@media(max-width:767px){
  .guide-rel.rel-3{grid-template-columns:1fr;gap:14px;}
  .guide-rel.rel-3 .rel-card .cb{padding:14px 16px;}
  .guide-rel.rel-3 .rel-card .tag{font-size:12.5px;}
  .guide-rel.rel-3 .rel-card .ttl{font-size:15.5px;display:block;-webkit-line-clamp:unset;}
  .guide-rel.rel-3 .rel-card .hub-desc{display:none;}
}
/* 실무 안내 박스 */
.dui-note{background:var(--paper);border-left:4px solid var(--bronze);padding:22px 26px;margin:34px 0 0;}
.dui-note h2{font-size:24px;margin-bottom:10px;}
.dui-note ul li{padding:6px 0;}
.dui-note a{text-decoration:underline;}
/* FIELD 카드 필 버튼(세부업무분야 전체) */
.field-card .pills{display:flex;flex-wrap:wrap;gap:6px;}
.field-card .pill{padding:6px 11px;font-size:12.5px;line-height:1.35;font-weight:600;}
.field-card .ph{height:300px;}
.lawyer-card .photo.photo-cover{position:absolute;overflow:hidden;}
.home-answer{max-width:1100px;margin:90px auto 0;}
.home-answer .cost-table{margin-bottom:12px;}
.field-card .pill{border-color:var(--bronze-dark);}
.field-card .pill:hover{background:var(--ink);border-color:var(--ink);color:#fff;}
.contact-form-wrap .consent-box{display:block;}
@media(max-width:767px){.field-card .pill{border-radius:10px;padding:5px 8px;font-size:11.5px;}.field-card .body{padding:16px 12px 18px;}.field-card .ttl{font-size:17px;}}
/* 모바일 메뉴 열림: 헤더(로고·닫기)는 패널 위 */
.gnb-mobile{z-index:90;}
.gnb.open-menu{background:#fff;}
.gnb.open-menu .logo-white{display:none;}
.gnb.open-menu .logo-dark{display:block;}
.gnb.open-menu .gnb-burger span{background:var(--ink);}
