/* =========================================================
   업종별 랜딩(법률마케팅) — 메인과 같은 Ink · Stone · Master Blue
   ========================================================= */
:root {
  --ink: #0A1024; --deep: #121A33; --stone: #EDEEEA; --paper: #FBFBF9;
  --blue: #2340E0; --blue-h: #1B33BF; --ice: #A9BBFF;
  --line-d: rgba(255,255,255,.13); --line-l: rgba(10,16,36,.14);
  --mut-d: rgba(255,255,255,.66); --mut-l: #565D6E;
  --pad: clamp(20px, 4vw, 48px); --sec: clamp(80px, 10vw, 152px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ink); color: #fff; font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", sans-serif; font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--blue); color: #fff; font-weight: 700; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* 헤더 */
.ih { position: sticky; top: 0; z-index: 40; background: rgba(10,16,36,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-d); }
.ih .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.ih__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
.ih__logo img { width: 28px; height: 28px; border-radius: 6px; }
.ih__logo b { color: var(--ice); font-weight: 800; }
.ih__nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.ih__nav a { text-decoration: none; color: var(--mut-d); }
.ih__nav a:hover, .ih__nav a[aria-current="page"] { color: #fff; }
.ih__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; background: var(--blue); color: #fff !important; font-weight: 700; }
@media (max-width: 760px) { .ih__nav a:not(.ih__cta) { display: none; } .ih .wrap { height: 64px; } }

/* 공통 */
.sec { padding: var(--sec) 0; }
.light { background: var(--stone); color: var(--ink); }
.paperbg { background: var(--deep); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--ice); }
.light .eyebrow { color: var(--blue); }
.h2 { margin-top: 14px; font-size: clamp(30px, 4.6vw, 60px); font-weight: 800; line-height: 1.14; letter-spacing: -.045em; }
.lead { margin-top: 20px; max-width: 760px; font-size: clamp(17px, 1.35vw, 19px); color: var(--mut-d); }
.light .lead { color: var(--mut-l); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 26px; border-radius: 4px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .2s, border-color .2s; }
.btn--p { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn--p:hover { background: var(--blue-h); }
.btn--s { border: 1px solid rgba(255,255,255,.34); color: #fff; }
.btn--s:hover { border-color: #fff; }

/* 히어로 */
.ihero { padding: clamp(72px, 11vw, 160px) 0 clamp(64px, 8vw, 112px); }
.ihero h1 { margin-top: 18px; font-size: clamp(36px, 6.8vw, 92px); font-weight: 800; line-height: 1.08; letter-spacing: -.05em; }
.ihero h1 em { font-style: normal; color: var(--ice); }
.ihero .lead { margin-top: 28px; }
.ihero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-d); }
.facts div { padding: 24px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line-d); }
.facts b { display: block; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--mut-d); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div + div { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line-d); } .facts b { font-size: 26px; flex: none; } .facts span { margin-top: 0; } .ihero__act .btn { width: 100%; justify-content: center; } }

/* 왜 다른가 */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why li { padding: 32px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-l); }
.why .n { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.why h3 { margin-top: 14px; font-size: clamp(21px, 1.8vw, 25px); font-weight: 800; line-height: 1.35; letter-spacing: -.03em; }
.why p { margin-top: 12px; color: var(--mut-l); }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; } }

/* 운영 범위 */
.svc { margin-top: 56px; border-top: 1px solid var(--line-d); }
.svc li { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-d); }
.svc h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 800; letter-spacing: -.03em; }
.svc h3 small { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ice); }
.svc p { color: var(--mut-d); }
@media (max-width: 760px) { .svc li { grid-template-columns: 1fr; gap: 8px; } }

/* 사례 */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.case { display: flex; flex-direction: column; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-l); overflow: hidden; }
.case__shot { aspect-ratio: 16 / 11; background: #DDE0E6; overflow: hidden; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case__body { padding: 26px 26px 30px; }
.case__svc { font-size: 14px; font-weight: 700; color: var(--mut-l); }
.case__m { margin-top: 8px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.case__m span { font-size: 15px; font-weight: 700; color: var(--blue); margin-right: 8px; letter-spacing: 0; }
.case__d { margin-top: 12px; font-size: 15px; color: var(--mut-l); }
@media (max-width: 1024px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }

/* 고객사 */
.clients { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.clients li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-l); background: var(--paper); font-size: 15px; font-weight: 600; }
.sub { margin-top: clamp(64px, 8vw, 104px); font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.03em; }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 820px; color: var(--mut-l); }

/* 마무리 CTA */
.icta { padding: clamp(80px, 10vw, 136px) 0; background: var(--blue); }
.icta h2 { font-size: clamp(28px, 4.2vw, 56px); font-weight: 800; line-height: 1.18; letter-spacing: -.045em; }
.icta p { margin-top: 16px; color: rgba(255,255,255,.8); font-size: 18px; }
.icta .btn { margin-top: 36px; background: #fff; color: var(--blue); }
.icta .btn:hover { background: var(--stone); }

/* 푸터 */
.ift { padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-d); font-size: 14px; color: var(--mut-d); }
.ift__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ift__links a { color: #fff; text-decoration: none; font-weight: 600; }
.ift__links a:hover { color: var(--ice); }
.ift__biz { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 24px; }
.ift__copy { margin-top: 16px; }
