/* 서지현 변호사 · 명예훼손 전문변호사 — 레퍼런스(daeryunlaw-detective.com) 디자인 언어
   폰트 NanumSquare / 네이비·블루 + 베이지 섹션 / 큰 굵은 헤드라인 / 얇은 라인 카드 */
@font-face { font-family: 'NanumSquare'; font-weight: 300; font-display: swap; src: url(/assets/fonts/NanumSquareL.woff2) format('woff2'); }
@font-face { font-family: 'NanumSquare'; font-weight: 400; font-display: swap; src: url(/assets/fonts/NanumSquareR.woff2) format('woff2'); }
@font-face { font-family: 'NanumSquare'; font-weight: 700; font-display: swap; src: url(/assets/fonts/NanumSquareB.woff2) format('woff2'); }
@font-face { font-family: 'NanumSquare'; font-weight: 800; font-display: swap; src: url(/assets/fonts/NanumSquareEB.woff2) format('woff2'); }

:root {
  --navy: #193E7B; --deep: #04325A; --blue: #285FA7; --bright: #247BC6; --red: #AE0E36;
  --beige: #F0ECE4; --ink: #222; --sub: #666; --line: #ddd; --mist: #f3f5f9;
  --primary: #193E7B; --accent: #285FA7;
  --pad-x: 80px;
}
html { scroll-behavior: smooth; }
body { font-family: 'NanumSquare', 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: var(--ink); background: #fff; word-break: keep-all; overflow-wrap: break-word; font-size: 18px; line-height: 1.7; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'NanumSquare', sans-serif !important; font-weight: 800 !important; letter-spacing: -0.04em; line-height: 1.28; color: var(--ink); }
p { margin: 0; }
img { max-width: 100%; }
.inner { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.flex { display: flex; } .tac { text-align: center; }
.eyebrow-mini { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.prose-copy { line-height: 1.9; color: #444; }
.hairline { border-color: var(--line); }

/* ── 상단 유틸바 + 헤더 (양 끝 꽉 채움) ───────────────── */
.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; transition: background .3s ease, box-shadow .3s ease; }
.topbar { background: #000; height: 40px; transition: height .3s ease; overflow: hidden; }
.topbar-in { height: 40px; padding: 0 var(--pad-x); display: flex; justify-content: flex-end; align-items: center; gap: 0; font-size: 13px; color: #fff; }
.topbar-in a { padding: 0 18px; line-height: 12px; border-left: 1px solid rgba(255,255,255,.5); }
.topbar-in a:first-child { border-left: 0; }
.topbar-in a:last-child { padding-right: 0; }
.topbar-in .tb-phone { color: #ff2252; font-weight: 800; }
.hdr { height: 80px; transition: background .3s ease; }
.hdr-in { height: 100%; padding: 0 var(--pad-x); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.logo svg * { stroke: #fff; } .logo svg circle { fill: #fff; stroke: none; }
.hdr-right { display: flex; align-items: center; gap: 14px; }
.hdr-cta { height: 44px; padding: 0 22px; border-radius: 22px; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; transition: background .2s; }
.hdr-cta:hover { background: var(--bright); }
.burger { width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.burger i { display: block; width: 28px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
body.drawer-open .burger i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.drawer-open .burger i:nth-child(2) { opacity: 0; }
body.drawer-open .burger i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.site-top.is-scrolled { background: var(--deep); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.site-top.is-scrolled .topbar { height: 0; }
.site-top.is-scrolled .hdr { height: 68px; }

/* 전체화면 메뉴 (드로어) */
.drawer { position: fixed; inset: 0; z-index: 2900; background: var(--deep); color: #fff; padding: 150px var(--pad-x) 60px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
body.drawer-open .drawer { opacity: 1; visibility: visible; }
.drawer-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
.drawer h2 { color: #fff; font-size: 22px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.3); }
.drawer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.drawer li a { display: block; padding: 10px 0; font-size: 20px; font-weight: 700; color: rgba(255,255,255,.88); }
.drawer li a:hover { color: #fff; text-decoration: underline; }
.drawer .dw-info { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.75); }
.drawer .dw-info strong { color: #fff; }

/* ── 히어로 (텍스트 좌 / 인물 우, 경계는 네이비로 번짐) ────── */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; min-height: 760px; display: flex; align-items: center; }
.hero > img { position: absolute; top: 0; right: 0; width: 56%; height: 100%; object-fit: cover; object-position: center 14%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--deep) 0%, var(--deep) 42%, rgba(4,50,90,0) 78%); pointer-events: none; }
.hero-body { position: relative; z-index: 2; width: 100%; padding: 190px var(--pad-x) 110px; }
.hero-body > * { max-width: 700px; }
.hero-lead { font-size: 26px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.5; color: rgba(255,255,255,.92); margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.12; margin: 0 0 30px; letter-spacing: -0.05em; }
.hero-sum { font-size: 19px; line-height: 1.8; color: rgba(255,255,255,.88); margin-bottom: 40px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 168px; height: 56px; padding: 0 28px; font-weight: 800; font-size: 16px; letter-spacing: -0.02em; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--beige); }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.14); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero-sub { min-height: 640px; }
.hero-sub .hero-body { padding-top: 180px; padding-bottom: 90px; }
.hero-sub h1 { font-size: clamp(40px, 4.6vw, 68px); }
.hero-sub .hero-sum { font-size: 18px; }

/* 상담 · 404 같은 사진 없는 상단 */
.page-hero { background: var(--deep); color: #fff; padding: 190px var(--pad-x) 90px; }
.page-hero > * { max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(44px, 5vw, 72px); margin: 8px 0 26px; }
.page-hero p:not(.eyebrow-mini) { font-size: 19px; line-height: 1.8; color: rgba(255,255,255,.88); }
.page-hero .eyebrow-mini { color: rgba(255,255,255,.7); }

/* 수치 스트립 */
.stat-strip { background: var(--navy); color: #fff; }
.stat-strip ul { list-style: none; margin: 0 auto; padding: 0 var(--pad-x); max-width: 1520px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.stat-strip li { padding: 34px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.25); }
.stat-strip li:first-child { border-left: 0; }
.stat-strip strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.stat-strip span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.78); }

/* ── 공통 섹션 ───────────────────────────────────────── */
.sec { padding: 150px 0; position: relative; overflow: hidden; }
.sec.beige { background: var(--beige); }
.sec.mist { background: linear-gradient(135deg, #eceff5 0%, #f7f8fb 55%, #e7ebf3 100%); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sec-head .pre { font-size: 28px; font-weight: 300; letter-spacing: -0.04em; line-height: 1.4; color: var(--ink); }
.sec-head h2 { font-size: 42px; margin: 4px 0 0; }
.sec-head .desc { margin-top: 16px; font-size: 18px; color: #555; }
.sec-center { text-align: center; margin-bottom: 56px; }
.sec-center h2 { font-size: 42px; margin: 0 0 16px; }
.sec-center p { font-size: 18px; color: #555; }
.arrows { display: flex; gap: 2px; flex: none; }
.arrows button { width: 52px; height: 52px; border: 0; background: #8a8a8a; color: #fff; font-size: 22px; cursor: pointer; transition: background .2s; }
.arrows button:hover { background: var(--navy); }

/* 단계별 대응 탭 */
.tabs { display: flex; border-bottom: 1px solid #333; margin-bottom: 64px; }
.tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 22px 8px 16px; font: inherit; font-size: 20px; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); cursor: pointer; position: relative; }
.tabs button[aria-selected="true"] { font-weight: 800; color: var(--navy); border-bottom-color: var(--navy); }
.tabs button[aria-selected="true"]::before { content: ''; position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--navy); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.panel[hidden] { display: none; }
.panel-art { position: relative; aspect-ratio: 1.1 / 1; display: flex; align-items: center; }
.panel-art::before { content: ''; position: absolute; right: 2%; top: 4%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--beige); }
.panel-art .disc { position: relative; width: 70%; aspect-ratio: 1; margin-left: 3%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2f66b3, var(--deep)); display: flex; align-items: center; justify-content: center; }
.panel-art .disc svg { width: 46%; height: auto; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.panel h3 { font-size: 36px; margin: 0 0 18px; }
.panel p { font-size: 18px; color: #444; line-height: 1.85; margin-bottom: 28px; }
.panel .btn { min-width: 220px; justify-content: space-between; height: 52px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tags span { padding: 10px 18px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 700; color: var(--navy); }

/* 3열 아웃라인 카드 (상담 전 확인사항) */
.sec.dotbg { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300'%3E%3Cpath d='M0 260 C150 120 300 300 600 60' fill='none' stroke='%23e3e9f3' stroke-width='1'/%3E%3Cpath d='M0 290 C180 160 330 300 600 110' fill='none' stroke='%23e3e9f3' stroke-width='1'/%3E%3C/svg%3E") no-repeat right top / 70% auto; }
.line-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.line-card { background: #fff; border: 1px solid #cfd6e4; min-height: 150px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; font-size: 18px; line-height: 1.5; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.line-card svg { width: 46px; height: 46px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.line-card:hover { border-color: var(--navy); box-shadow: 0 10px 26px rgba(25,62,123,.12); transform: translateY(-3px); }

/* 3가지 강점 */
.str-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.str-card { background: #fff; border: 1px solid #cfd6e4; padding: 44px 36px; }
.str-card b { display: block; font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1; margin-bottom: 22px; }
.str-card h3 { font-size: 24px; margin: 0 0 14px; }
.str-card p { font-size: 16.5px; line-height: 1.85; color: #555; }

/* 베이지: 쟁점 카드 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips button { min-width: 112px; height: 40px; padding: 0 20px; border-radius: 22px; border: 1px solid #333; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .2s; }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.issue { background: #fff; padding: 30px 28px 24px; display: flex; flex-direction: column; }
.issue[hidden] { display: none; }
.issue .top { display: flex; justify-content: space-between; font-size: 14px; color: #666; margin-bottom: 14px; }
.issue .top b { color: var(--navy); font-weight: 800; }
.issue h3 { font-size: 22px; line-height: 1.4; margin: 0 0 14px; }
.issue p { font-size: 15.5px; line-height: 1.8; color: #555; flex: 1; }
.issue .who { margin-top: 20px; background: var(--beige); text-align: center; font-size: 13px; padding: 6px; color: #555; }
.issue .by { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.issue .by i { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* 변호사 소개 */
.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 90px; align-items: center; }
.profile-photo { position: relative; max-width: 520px; }
.profile-photo::before { content: ''; position: absolute; left: -8%; bottom: 0; width: 90%; aspect-ratio: 1; border-radius: 50% 50% 0 50%; background: var(--beige); }
.profile-photo img { position: relative; width: 100%; height: auto; display: block; }
.profile .role { font-size: 22px; font-weight: 300; margin-bottom: 4px; }
.profile h2 { font-size: 52px; margin: 0 0 26px; }
.profile ul { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.profile li { font-size: 18px; padding-left: 20px; position: relative; color: #444; }
.profile li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--blue); }

/* 강의 섹션 */
.lecture { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; background: #fff; }
.lecture .l-head { background: var(--navy); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.lecture .l-head h2 { color: #fff; font-size: 36px; margin: 8px 0 20px; }
.lecture .l-head p { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.85; margin-bottom: 30px; }
.lecture .l-body { padding: 56px; border: 1px solid #cfd6e4; border-left: 0; }

/* 위촉·임명 이력 */
.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.cred { background: #fff; border-radius: 16px; padding: 22px 20px 20px; box-shadow: 0 6px 22px rgba(25,62,123,.07); display: flex; flex-direction: column; gap: 12px; }
.cred .chip { align-self: flex-start; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 800; padding: 6px 14px; border-radius: 20px; line-height: 1.3; }
.cred .lightbox-trigger { display: flex; justify-content: center; align-items: center; background: #f6f7fa; border: 0; border-radius: 8px; padding: 10px; min-height: 260px; cursor: zoom-in; }
.cred .lightbox-trigger img { max-height: 280px; width: auto; height: auto; max-width: 100%; object-fit: contain; }
.cred strong { font-size: 15.5px; line-height: 1.45; }
.cred span.p { font-size: 13px; color: #777; }

/* 파란 상담접수 블록 */
.apply { position: relative; background: linear-gradient(180deg, #dfe6f2, #c9d6ea); padding: 110px 0; }
.apply-box { background: var(--bright); color: #fff; padding: 56px 60px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; }
.apply-box h2 { color: #fff; font-size: 40px; }
.apply-box .lead { margin-top: 20px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.92); }
.apply-info { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 36px; }
.apply-info div { border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 12px; }
.apply-info dt { font-size: 14px; opacity: .85; } .apply-info dd { margin: 4px 0 0; font-size: 20px; font-weight: 800; }
.apply-btns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.apply-btns a { background: #fff; color: var(--navy); height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-weight: 800; font-size: 16px; }
.apply-btns a svg { width: 24px; height: 24px; stroke: var(--bright); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apply-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.85); }

/* 더 궁금한 점 4카드 */
.ask-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.ask { background: #fff; border: 1px solid #d9dee9; padding: 32px 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: transform .2s, box-shadow .2s; }
.ask:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(25,62,123,.12); }
.ask h3 { font-size: 24px; margin: 0 0 10px; }
.ask p { font-size: 15px; color: #666; line-height: 1.7; }
.ask::after { content: '\2197'; position: absolute; right: 22px; top: 22px; color: var(--navy); font-size: 18px; font-weight: 800; }
.ask svg { width: 44px; height: 44px; stroke: var(--blue); fill: none; stroke-width: 1.8; align-self: flex-end; stroke-linecap: round; stroke-linejoin: round; }

/* 찾아오시는 길 */
.visit-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; border: 1px solid #cfd6e4; background: #fff; }
.visit-card > div { padding: 48px 52px; }
.visit-card > div + div { background: var(--mist); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.visit-card h3 { font-size: 26px; margin: 0 0 14px; }
.visit-card p { color: #555; font-size: 17px; }

/* ── FAQ ─────────────────────────────────────────────── */
.mcon08 { padding: 140px 0; background: var(--mist); }
.tit_top span { display: inline-block; padding: 6px 18px; border-radius: 20px; background: #dfe6f2; color: var(--navy); font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.mtit.large { font-size: 42px; margin: 0 0 14px; }
.mtit.small { font-size: 28px; margin: 0; }
.mcon08 .tb { color: #555; margin-bottom: 44px; }
.faq_wrap { max-width: 960px; margin: 0 auto; display: grid; gap: 10px; }
.faq_item { background: #fff; border: 1px solid #d9dee9; }
.faq_q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; list-style: none; }
.faq_q::-webkit-details-marker { display: none; }
.faq_q h3 { font-size: 19px; line-height: 1.5; margin: 0; padding-left: 44px; position: relative; font-weight: 800 !important; }
.faq_q h3::before { content: 'Q'; position: absolute; left: 0; top: -1px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.faq-caret { color: var(--navy); transition: transform .2s; } .faq_item[open] .faq-caret { transform: rotate(180deg); }
.faq_a { padding: 0 28px 28px 72px; font-size: 16.5px; line-height: 1.9; color: #555; }
.faq_item[open] { border-color: var(--navy); }

/* ── 서브페이지 본문 (칼럼) ─────────────────────────────── */
.mcon-sub { padding: 100px 0 0; background: #fff; }
article > .mcon-sub:last-child { padding-bottom: 100px; }
article > .mcon-sub + .mcon-sub { background: var(--beige); padding: 100px 0; margin-top: 100px; }
.np-card { max-width: 1100px; margin: 0 auto; }
.np-card .eyebrow-mini { display: block; margin-bottom: 14px; }
.np-h2 { font-size: 36px; line-height: 1.35; margin: 0 0 24px; text-wrap: balance; }
.np-card > .np-h2:not(:first-child), .np-card > .prose-copy + .np-h2, .np-card > ul + .np-h2, .np-card > ol + .np-h2, .np-card > div + .np-h2 { margin-top: 76px; }
.np-h3 { font-size: 26px; margin: 48px 0 16px; }
.np-card .prose-copy { font-size: 18px; }
.callout { border-left: 4px solid var(--navy); background: var(--mist); padding: 22px 28px; margin: 28px 0 0; font-size: 17px; line-height: 1.85; color: #444; }
.callout strong { color: var(--navy); }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 18px 22px 18px 58px; background: #fff; border: 1px solid #d9dee9; font-size: 17px; line-height: 1.75; color: #444; }
.checklist li::before { content: ''; position: absolute; left: 24px; top: 25px; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.checklist li strong { color: var(--ink); }
.checklist.warn li::before { content: '\00D7'; width: auto; height: auto; border: 0; transform: none; left: 24px; top: 13px; font-size: 26px; font-weight: 700; line-height: 1; color: var(--red); }
.steps { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: st; display: grid; gap: 10px; }
.steps li { counter-increment: st; position: relative; padding: 24px 26px 24px 92px; border: 1px solid #d9dee9; background: #fff; font-size: 17px; line-height: 1.8; color: #444; }
.steps li::before { content: counter(st); position: absolute; left: 26px; top: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; line-height: 44px; text-align: center; }
.steps li strong { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.np-card table { width: 100%; border-collapse: collapse; font-size: 16px; }
.np-card th { background: var(--navy); color: #fff; font-weight: 800; text-align: left; padding: 16px 18px; border: 0 !important; }
.np-card td { padding: 16px 18px; border-bottom: 1px solid #d9dee9; color: #444; vertical-align: top; }
.np-card td:first-child { font-weight: 800; color: var(--ink); }
.np-card .overflow-x-auto { border: 1px solid #d9dee9; }
.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.tip-card { background: var(--navy); color: #fff; padding: 36px 30px; }
.tip-card b { display: block; font-size: 13px; letter-spacing: .16em; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.tip-card strong { display: block; font-size: 21px; line-height: 1.45; margin-bottom: 14px; letter-spacing: -0.03em; }
.tip-card p { font-size: 15.5px; line-height: 1.8; color: rgba(255,255,255,.85); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.trio > div { background: #fff; padding: 36px 30px; }
.trio .lb { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--blue); padding: 5px 16px; border-radius: 20px; margin-bottom: 18px; }
.trio h3 { font-size: 21px; line-height: 1.45; margin: 0 0 12px; }
.trio p { font-size: 16px; line-height: 1.85; color: #555; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 30px 0 0; }
.cert-fig { margin: 0; background: #fff; border: 1px solid #d9dee9; display: flex; flex-direction: column; }
.cert-fig .lightbox-trigger { display: flex; justify-content: center; padding: 18px; background: #f6f7fa; border: 0; cursor: zoom-in; }
.cert-fig .lightbox-trigger img { max-height: 380px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.cert-fig figcaption { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 22px; line-height: 1.6; }
.cert-fig figcaption strong { font-size: 17px; } .cert-fig figcaption span { font-size: 13.5px; color: #777; } .cert-fig figcaption em { font-style: normal; font-size: 15px; color: #555; margin-top: 4px; }
.direct-box { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; background: var(--navy); padding: 36px; color: #fff; }
.direct-box p { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.direct-box p span { font-size: 13.5px; color: rgba(255,255,255,.7); font-weight: 700; }
.direct-box p strong { font-size: 26px; font-weight: 800; word-break: break-all; }
.direct-box .btn_inline { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
.updated { margin-top: 26px; font-size: 14px; color: #888; }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
#lightbox::backdrop { background: rgba(4,50,90,.88); }
#lightbox img { display: block; max-width: 92vw; max-height: 92vh; object-fit: contain; }

/* 버튼(공용 구형 이름 유지) */
.btn_inline { display: inline-flex; align-items: center; justify-content: center; height: 54px; min-width: 200px; padding: 0 28px; background: var(--blue); color: #fff; font-weight: 800; font-size: 16px; }
.btn_inline:hover { background: var(--navy); }
.btn_inline.btn_light { background: #fff; color: var(--navy); }
.btn_inline.btn_light:hover { background: var(--beige); }

/* 하단 사진 배너 + 관련 카드 + CTA */
.mcon-rel { padding: 100px 0 0; }
.mcon-rel.pb-0 { padding-bottom: 0; }
.photo-banner { position: relative; display: block; overflow: hidden; min-height: 320px; background: var(--deep); color: #fff; }
.photo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.photo-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,50,90,.94) 0%, rgba(4,50,90,.72) 50%, rgba(4,50,90,.12) 100%); }
.photo-banner .pb-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-content: center; min-height: 320px; padding: 44px 60px; max-width: 700px; }
.photo-banner strong { font-size: 36px; font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; }
.photo-banner .pb-desc { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.88); }
.photo-banner .pb-more { margin-top: 8px; display: inline-block; padding: 13px 28px; border: 1px solid rgba(255,255,255,.75); font-size: 15px; font-weight: 800; }
.hover-lift { transition: transform .2s ease, box-shadow .2s ease; }
.mcon-rel .mtit.small { margin-bottom: 36px; }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-cards > a { background: #fff; border: 1px solid #d9dee9; padding: 30px 28px; display: flex; flex-direction: column; }
.grid-cards > a:hover { border-color: var(--navy); box-shadow: 0 12px 28px rgba(25,62,123,.12); transform: translateY(-3px); }
.grid-cards > a > span.inline-flex { background: var(--mist) !important; }
.grid-cards > a p.font-semibold { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.mcon-cta { padding: 100px 0; }
.np-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 60px 64px; background: var(--navy); color: #fff; }
.np-cta .mtit { color: #fff; margin-bottom: 10px; } .np-cta p { color: rgba(255,255,255,.85); font-size: 17px; }
.np-cta .btn_inline { flex: none; }

/* 상담 페이지 */
.cs_grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.cs_card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #cfd6e4; padding: 32px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cs_card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,62,123,.12); border-color: var(--navy); }
.cs_card strong { font-size: 22px; font-weight: 800; line-height: 1.3; word-break: break-all; color: var(--navy); }
.cs_card span { font-size: 15px; color: #666; line-height: 1.6; }
.grid-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid-cards-3 > div { background: #fff; border: 1px solid #d9dee9; padding: 30px 28px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.visit-photo img { width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: center top; }

/* ── 푸터 · 퀵메뉴 · 모바일 CTA · 플로팅 ─────────────────── */
.np-footer { background: #0b1626; color: #c4cada; padding: 80px 0; border-top: 1px solid #1d2b45; }
.np-footer .flogo { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; color: #fff; font-weight: 800; font-size: 22px; }
.np-footer .flogo svg * { stroke: #fff; } .np-footer .flogo svg circle { fill: #fff; stroke: none; }
.np-footer .info div { display: flex; font-size: 15px; line-height: 2; }
.np-footer .info dt { width: 136px; font-weight: 800; color: #fff; flex: none; }
.np-footer .copy { font-size: 14px; margin-top: 44px; color: #8590a8; }
.quick { position: fixed; right: 24px; bottom: 36px; z-index: 2500; width: 76px; background: #fff; border-radius: 38px; box-shadow: 0 6px 24px rgba(0,0,0,.2); overflow: hidden; display: none; flex-direction: column; text-align: center; }
@media (min-width: 1280px) { .quick { display: flex; } }
.quick .q-title { background: var(--deep); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.25; padding: 14px 4px 10px; letter-spacing: .02em; }
.quick a { padding: 12px 4px 10px; font-size: 12px; font-weight: 700; color: #333; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.quick a svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick a:hover { background: var(--mist); }
.quick .q-top { border: 0; background: #777; color: #fff; padding: 10px; cursor: pointer; font-size: 16px; }
.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500; display: none; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -4px 18px rgba(0,0,0,.14); padding: 10px 12px 12px; gap: 10px; }
.mobile-cta-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; font-size: 13px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 14px; }
.mobile-cta-bar a + a { background: var(--blue); }
.mobile-cta-bar svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-main { position: fixed; left: 14px; bottom: 28px; z-index: 2400; display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; background: #fff; color: var(--navy); border: 1px solid #cfd6e4; border-radius: 30px; box-shadow: 0 4px 16px rgba(0,0,0,.16); font-size: 13.5px; font-weight: 800; }
.float-main svg { width: 16px; height: 16px; }

.js .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fade-in { opacity: 1; transform: none; transition: none; } }

/* ── 반응형 ─────────────────────────────────────────── */
@media (max-width: 1279px) { :root { --pad-x: 40px; } }
@media (max-width: 1023px) {
  .sec { padding: 110px 0; }
  .hero { min-height: 0; display: block; }
  .hero > img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 4.4; max-height: 62svh; -webkit-mask-image: none; mask-image: none; display: block; }
  .hero::before { display: none; }
  .hero-body { padding: 44px var(--pad-x) 60px; }
  .hero-body > * { max-width: none; }
  .stat-strip ul { grid-template-columns: repeat(3, 1fr); }
  .stat-strip li:nth-child(4) { border-left: 0; }
  .panel { grid-template-columns: 1fr; gap: 36px; }
  .panel-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .line-grid, .str-grid, .issue-grid, .tip-grid, .trio { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .str-grid, .tip-grid, .trio { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 44px; } .profile-photo { margin: 0 auto; max-width: 420px; }
  .lecture { grid-template-columns: 1fr; } .lecture .l-body { border-left: 1px solid #cfd6e4; border-top: 0; }
  .cred-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .apply-box { grid-template-columns: 1fr; padding: 44px 36px; gap: 36px; }
  .ask-grid, .cs_grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-cards, .grid-cards-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .drawer-grid { grid-template-columns: 1fr; gap: 36px; }
  .visit-card { grid-template-columns: 1fr; }
  .np-cta { padding: 44px 36px; }
  .mcon-sub, .mcon-rel, .mcon-cta { padding-top: 80px; } article > .mcon-sub + .mcon-sub { padding: 80px 0; margin-top: 80px; }
}
@media (max-width: 767px) {
  :root { --pad-x: 20px; }
  body { font-size: 16px; padding-bottom: 86px; }
  .topbar, .topbar-in { height: 36px; } .topbar-in { font-size: 13px; padding: 0 16px; justify-content: space-between; }
  .topbar-in a.hide-m { display: none; } .topbar-in .tb-phone { font-size: 14px; }
  .hdr { height: 60px; } .hdr-in { padding: 0 16px; } .logo { font-size: 17px; gap: 8px; }
  .hdr-cta { display: none; }
  .site-top.is-scrolled .hdr { height: 60px; }
  .drawer { padding: 110px 24px 50px; } .drawer li a { font-size: 18px; }
  .hero > img { aspect-ratio: 4 / 4.6; max-height: 58svh; }
  .hero-body { padding: 34px 20px 48px; }
  .hero-lead { font-size: 19px; margin-bottom: 10px; }
  .hero h1 { font-size: 40px; margin-bottom: 20px; }
  .hero-sub h1 { font-size: 36px; }
  .hero-sum { font-size: 16px; margin-bottom: 28px; } .hero-sub .hero-sum { font-size: 16px; }
  .btn { min-width: 0; flex: 1 1 140px; height: 52px; padding: 0 18px; }
  .page-hero { padding: 120px 20px 56px; } .page-hero h1 { font-size: 40px; } .page-hero p:not(.eyebrow-mini) { font-size: 16px; }
  .stat-strip ul { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .stat-strip li { padding: 22px 8px; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); } .stat-strip li:nth-child(-n+2) { border-top: 0; }
  .stat-strip li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.25); } .stat-strip strong { font-size: 24px; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; align-items: flex-start; } .sec-head .pre { font-size: 18px; } .sec-head h2, .sec-center h2, .mtit.large { font-size: 28px; }
  .sec-center { margin-bottom: 32px; } .sec-center p, .sec-head .desc { font-size: 15.5px; }
  .arrows button { width: 42px; height: 42px; }
  .tabs { overflow-x: auto; margin-bottom: 36px; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; padding: 20px 14px 12px; font-size: 16px; white-space: nowrap; }
  .panel h3 { font-size: 26px; } .panel p { font-size: 16px; } .panel .btn { width: 100%; }
  .line-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .line-card { min-height: 128px; padding: 18px 10px; font-size: 15px; } .line-card svg { width: 38px; height: 38px; }
  .issue-grid { grid-template-columns: 1fr; gap: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; } .chips button { flex: none; min-width: 0; }
  .str-card { padding: 30px 24px; } .str-card b { font-size: 34px; margin-bottom: 14px; }
  .profile h2 { font-size: 38px; } .profile li { font-size: 16px; }
  .lecture .l-head, .lecture .l-body { padding: 36px 24px; } .lecture .l-head h2 { font-size: 28px; }
  .cred-grid { grid-template-columns: 1fr; gap: 14px; } .cred .lightbox-trigger { min-height: 0; }
  .apply { padding: 56px 0; } .apply-box { padding: 36px 22px; } .apply-box h2 { font-size: 30px; }
  .apply-info, .apply-btns { grid-template-columns: 1fr; gap: 12px; }
  .ask-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ask { min-height: 170px; padding: 22px 16px; } .ask h3 { font-size: 18px; } .ask p { font-size: 13px; }
  .visit-card > div { padding: 30px 22px; }
  .mcon08 { padding: 64px 0; } .faq_q { padding: 18px 16px; } .faq_q h3 { font-size: 16px; padding-left: 38px; } .faq_q h3::before { width: 28px; height: 28px; font-size: 13px; }
  .faq_a { padding: 0 18px 22px 18px; font-size: 15px; }
  .mcon-sub, .mcon-rel, .mcon-cta { padding-top: 48px; } article > .mcon-sub:last-child { padding-bottom: 56px; }
  article > .mcon-sub + .mcon-sub { padding: 52px 0; margin-top: 52px; }
  .np-h2 { font-size: 24px; margin-bottom: 16px; } .np-card > .np-h2:not(:first-child), .np-card > .prose-copy + .np-h2, .np-card > ul + .np-h2, .np-card > ol + .np-h2, .np-card > div + .np-h2 { margin-top: 48px; }
  .np-h3 { font-size: 20px; margin: 32px 0 12px; } .np-card .prose-copy { font-size: 16px; line-height: 1.85; }
  .checklist li { padding: 14px 14px 14px 46px; font-size: 15.5px; } .checklist li::before { left: 17px; top: 21px; } .checklist.warn li::before { left: 17px; top: 10px; }
  .steps li { padding: 18px 16px 18px 64px; font-size: 15.5px; } .steps li::before { left: 14px; top: 16px; width: 36px; height: 36px; line-height: 36px; font-size: 16px; } .steps li strong { font-size: 17px; }
  .np-card table { min-width: 520px; font-size: 14.5px; } .np-card th, .np-card td { padding: 12px 12px; }
  .tip-card, .trio > div { padding: 26px 22px; }
  .cert-grid { grid-template-columns: 1fr; } .cert-fig .lightbox-trigger img { max-height: 320px; }
  .direct-box { grid-template-columns: 1fr; padding: 26px 20px; } .direct-box p strong { font-size: 22px; } .direct-box .btn_inline { width: 100%; justify-self: stretch; }
  .btn_inline { width: 100%; }
  .photo-banner, .photo-banner .pb-body { min-height: 300px; } .photo-banner .pb-body { padding: 28px 22px; justify-content: flex-end; } .photo-banner strong { font-size: 26px; }
  .photo-banner::after { background: linear-gradient(180deg, rgba(4,50,90,.3) 0%, rgba(4,50,90,.94) 76%); }
  .grid-cards, .grid-cards-3, .cs_grid { grid-template-columns: 1fr; gap: 12px; }
  .np-cta { flex-direction: column; align-items: flex-start; padding: 34px 22px; gap: 22px; } .np-cta .btn_inline { width: 100%; }
  .visit-grid { grid-template-columns: 1fr; gap: 24px; } .visit-photo img { max-height: 380px; }
  .np-footer { padding: 52px 0 40px; } .np-footer .info div { font-size: 14px; gap: 10px; } .np-footer .info dt { width: 104px; }
  .mobile-cta-bar { display: grid; }
  .float-main { bottom: 92px; left: 12px; padding: 9px 14px; }
}

/* 모바일·태블릿: 밝은 인물 사진 위에서도 로고가 읽히도록 상단 네이비 그라데이션 */
@media (max-width: 1023px) {
  .hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 170px; z-index: 1; background: linear-gradient(180deg, rgba(4,50,90,.92) 0%, rgba(4,50,90,.55) 60%, rgba(4,50,90,0) 100%); pointer-events: none; }
}
@media (max-width: 767px) {
  .topbar-in { justify-content: flex-end; }
  .topbar-in .tb-phone { border-left: 0; padding: 0; }
}

/* ═══ 반응형 보강: PC(≥1280) / 소형 노트북·태블릿(768~1279) / 모바일(≤767) ═══ */
/* 넓은 화면: 히어로 텍스트를 본문 컨테이너와 같은 선에 정렬 (헤더는 양 끝 꽉 채움 유지) */
@media (min-width: 1500px) {
  .hero-body, .page-hero { padding-left: calc((100vw - 1360px) / 2 + 24px); padding-right: calc((100vw - 1360px) / 2 + 24px); }
  .page-hero > * { max-width: 860px; }
  .hero > img { width: 52%; }
}
/* 1279px 이하: 퀵메뉴 대신 하단 고정 CTA 바(전화연결·문자상담) 사용 */
@media (max-width: 1279px) {
  body { padding-bottom: 86px; }
  .mobile-cta-bar { display: grid; }
  .float-main { bottom: 92px; left: 14px; padding: 9px 14px; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .mobile-cta-bar { left: 50%; right: auto; width: 100%; max-width: 640px; transform: translateX(-50%); }
}
/* 태블릿: 사진은 가로로 넓게, 텍스트는 아래에 */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero > img { aspect-ratio: 16 / 10; max-height: none; object-position: center 22%; }
  .hero-body { padding: 48px var(--pad-x) 72px; }
  .hero-body > * { max-width: 720px; }
  .hero-lead { font-size: 24px; } .hero h1 { font-size: 56px; }
  .tabs button { font-size: 18px; }
  .sec-head h2, .sec-center h2, .mtit.large { font-size: 34px; }
  .np-h2 { font-size: 30px; }
}
/* 1024~1279: 히어로 텍스트 폭을 줄여 사진과 겹치지 않게 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-body > * { max-width: 600px; }
  .hero h1 { font-size: 56px; } .hero-sub h1 { font-size: 50px; }
  .hero-sum { font-size: 17px; }
}
/* 아주 작은 폰(≤360) */
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; } .hero-sub h1 { font-size: 31px; } .hero-lead { font-size: 17px; }
  .hdr-in { padding: 0 12px; } .logo { font-size: 15px; }
  .line-card { font-size: 14px; } .ask h3 { font-size: 16px; }
  .btn { flex-basis: 100%; }
  .stat-strip strong { font-size: 21px; }
}
