@charset "utf-8";

/* ============ Gmarket Sans (로컬 동봉 — CDN/CORS 의존 없음) ============ */
@font-face {
  font-family: 'GmarketSans';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/GmarketSansLight.woff2') format('woff2');
}
@font-face {
  font-family: 'GmarketSans';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/GmarketSansMedium.woff2') format('woff2');
}
@font-face {
  font-family: 'GmarketSans';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/GmarketSansBold.woff2') format('woff2');
}





/* ============ Tokens ============ */
:root {
  --ink: #191B3A;
  --navy: #2A3180;
  --indigo: #5D63BC;
  --teal: #35B0B5;
  --pale: #EFECFB;
  --lav: #B4B6CC;
  --gray: #7E7E93;
  --tx: #181820;   /* 본문 텍스트 */
  --red: #C25055;
  --white: #FFFFFF;
  --line: #E3E1F0;

  --font: 'GmarketSans', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============ 본문 텍스트 (.rtx) ============
   인사말·상세보기·업무분야 설명 등 읽는 문단에 공통 적용 */
.rtx,
.bview__body,
.pr-grid ul li,
.dl dd {
  color: var(--tx);
  font-weight: 500;
}

/* ============ Reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 500;   /* 기본 굵기 — Gmarket Sans Medium */
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============ Header ============ */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.hd__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.hd__logo { display: block; flex: 0 0 auto; }
.hd__logo img { height: 37.4px; width: auto; transition: opacity .3s; }
.hd__logo .lg-ink { display: none; }

/* GNB */
.gnb { display: flex; align-items: center; height: 100%; }
.gnb > li { position: relative; height: 100%; display: flex; align-items: center; }
.gnb > li > a {
  padding: 0 26px; font-weight: 500; font-size: 1.0rem; letter-spacing: -0.02em;
  display: flex; align-items: center; height: 100%;
  position: relative;
}
.gnb > li > a::after {
  content: ''; position: absolute; left: 26px; right: 26px; bottom: 26px;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnb > li:hover > a::after,
.gnb > li.is-active > a::after { transform: scaleX(1); }

.sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 168px; background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--teal);
  padding: 10px 0; box-shadow: 0 18px 40px rgba(25, 27, 58, .12);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: all .28s var(--ease);
}
.gnb > li:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a {
  display: block; padding: 9px 20px; font-size: .93rem; color: var(--gray);
  font-weight: 500; white-space: nowrap; transition: color .2s, background .2s;
}
.sub a:hover { color: var(--navy); background: var(--pale); font-weight: 500; }

.hd__util { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.hd__tel {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 7px;
}
.hd__tel small { font-weight: 500; font-size: .72rem; opacity: .65; letter-spacing: 0; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 헤더 색상 모드 */
.hd--over { color: var(--white); }
.hd--over .lg-white { display: block; }
.hd--over .lg-ink { display: none; }

.hd--solid, .hd.is-stuck {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.hd.is-stuck .lg-white, .hd--solid .lg-white { display: none; }
.hd.is-stuck .lg-ink, .hd--solid .lg-ink { display: block; }
.hd.is-stuck .hd__tel, .hd--solid .hd__tel { color: var(--navy); }

/* ============ Hero (index) ============ */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(25, 27, 58, .92) 0%, rgba(42, 49, 128, .74) 46%, rgba(53, 176, 181, .28) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mix-blend-mode: overlay;
}
.hero__body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
}
.hero__eyebrow {
  font-size: .82rem; letter-spacing: .34em; font-weight: 500;
  color: var(--teal); margin-bottom: 26px; text-transform: uppercase;
}
.hero h1 {
  font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 4.3rem); line-height: 1.28;
  letter-spacing: -0.035em;
}
.hero h1 b { font-weight: 700; position: relative; display: inline-block; }
.hero h1 b::after {
  content: ''; position: absolute; left: 0; bottom: .06em; height: .13em; width: 100%;
  background: var(--teal); z-index: -1; transform: scaleX(0); transform-origin: left;
  animation: rule 1s var(--ease) .7s forwards;
}
@keyframes rule { to { transform: scaleX(1); } }
.hero p.lead {
  margin-top: 30px; font-size: clamp(.95rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, .82); max-width: 34em; line-height: 1.9;
}
.hero__cta { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; z-index: 3; transform: translateX(-50%);
  color: rgba(255, 255, 255, .6); font-size: .7rem; letter-spacing: .3em;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll i {
  width: 1px; height: 46px; background: rgba(255, 255, 255, .35); display: block; position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ''; position: absolute; top: -46px; left: 0; width: 1px; height: 46px; background: var(--teal);
  animation: drop 2.2s var(--ease) infinite;
}
@keyframes drop { to { top: 46px; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; font-weight: 500; font-size: .95rem;
  border: 1px solid transparent; transition: all .28s var(--ease);
}
.btn i { transition: transform .28s var(--ease); font-style: normal; }
.btn:hover i { transform: translateX(4px); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: #2b979b; }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--indigo); }
.btn--line { border-color: var(--line); color: var(--navy); }
.btn--line:hover { border-color: var(--navy); }

/* ============ Section common ============ */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--pale { background: var(--pale); }
.sec--ink { background: var(--ink); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .28em; font-weight: 500; color: var(--teal);
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--teal); }
.sec-title {
  font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.4; letter-spacing: -0.035em;
}
.sec-title b { font-weight: 700; }
.sec-desc { margin-top: 18px; color: var(--gray); font-size: 1rem; max-width: 40em; line-height: 1.95; }
.sec--ink .sec-desc { color: rgba(255, 255, 255, .68); }
.sec-head { margin-bottom: 52px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============ Page hero (sub) ============ */
.phero {
  position: relative; padding: calc(var(--header-h) + 80px) 0 76px;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.phero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--ink) 30%, var(--navy) 72%, var(--teal) 160%);
}
.phero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/phero-bg.svg') no-repeat right center;
  background-size: cover;
}
.phero .wrap { position: relative; z-index: 1; }
.phero h2 { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.04em; }
.phero .en { display: block; margin-top: 10px; font-size: .8rem; letter-spacing: .26em; color: var(--teal); font-weight: 500; }

/* 서브 히어로 배경영상 */
.phero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.phero__media video { width: 100%; height: 100%; object-fit: cover; }
.phero--video::before { opacity: .82; z-index: 1; }
.phero--video::after  { z-index: 2; }
.phero .wrap { z-index: 3; }


.crumb { display: flex; gap: 10px; font-size: .8rem; color: rgba(255, 255, 255, .55); margin-bottom: 20px; }
.crumb li + li::before { content: '/'; margin-right: 10px; opacity: .5; }

/* 서브 탭 */
.ltab { border-bottom: 1px solid var(--line); background: var(--white); }
.ltab ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.ltab ul::-webkit-scrollbar { display: none; }
.ltab a {
  display: block; padding: 20px 26px; font-size: 1.125rem; color: var(--gray);
  white-space: nowrap; border-bottom: 2px solid transparent; transition: all .25s;
}
.ltab a:hover { color: var(--navy); }
.ltab a.on { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }

/* ============ Practice cards ============ */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard {
  background: var(--white); padding: 44px 34px 40px; position: relative;
  transition: background .4s var(--ease); overflow: hidden; display: block;
}
.pcard::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.pcard:hover::before { transform: scaleX(1); }
.pcard:hover { background: var(--pale); }
.pcard__num { font-size: .75rem; letter-spacing: .2em; color: var(--lav); font-weight: 500; }
.pcard h3 { margin: 16px 0 12px; font-size: 1.28rem; font-weight: 700; letter-spacing: -0.03em; }
.pcard p { font-size: .9rem; color: var(--gray); line-height: 1.85; min-height: 3.7em; }
.pcard__tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__tags span {
  font-size: .72rem; padding: 4px 10px; background: var(--pale); color: var(--indigo);
  border-radius: 100px;
}
.pcard:hover .pcard__tags span { background: var(--white); }
.pcard__go {
  margin-top: 26px; font-size: .82rem; color: var(--navy); font-weight: 500;
  display: inline-flex; gap: 8px; align-items: center;
}
.pcard__go i { font-style: normal; transition: transform .3s var(--ease); }
.pcard:hover .pcard__go i { transform: translateX(5px); }

/* ============ Stats ============ */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); }
/* ============ 핵심 지표 (Stats) ============ */
.stats,
.stats-container,
.stats-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item { padding: 40px 24px; text-align: center; color: var(--white); }
.stat-item:nth-child(1) { background: #242B72; }
.stat-item:nth-child(2) { background: #343B90; }
.stat-item:nth-child(3) { background: #4A50A8; }
.stat-item:nth-child(4) { background: var(--indigo); }

.stat-value { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.15; }
.value-number { font-weight: 700; letter-spacing: -.04em; }
.value-unit {
  font-size: .5em; font-weight: 700; font-style: normal;
  color: var(--teal); margin-left: 3px;
}
.stat-title {
  margin-top: 10px; font-size: .86rem;
  color: rgba(255, 255, 255, .72); word-break: keep-all;
}

@media (max-width: 768px) {
  .stats,
  .stats-container,
  .stats-grid-wrapper { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Members ============ */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mgrid--lead { grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; }
.mcard { position: relative; }
.mcard__ph {
  position: relative; aspect-ratio: 75 / 68; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--ink));
  display: flex; align-items: flex-end; justify-content: center;
}

.mcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mcard:hover .mcard__ph img { transform: scale(1.06); }
.mcard__ph .initial {
  font-size: 4.4rem; font-weight: 700; color: rgba(255, 255, 255, .13); align-self: center;
  letter-spacing: -0.05em;
}
.mcard__ph::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25, 27, 58, .72), transparent 52%);
}
.mcard__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: var(--white); z-index: 2; }
.mcard__role { font-size: .74rem; letter-spacing: .16em; color: var(--teal); font-weight: 500; }
.mcard__name { font-size: 1.32rem; font-weight: 700; margin-top: 6px; letter-spacing: -0.03em; }
.mcard__body { padding: 20px 2px 0; }
.mcard__body li { font-size: .86rem; color: var(--gray); padding-left: 12px; position: relative; line-height: 1.75; }
.mcard__body li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 1px; background: var(--lav); }
.mcard__link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--indigo); font-weight: 500; border-bottom: 1px solid var(--lav);
  padding-bottom: 2px; transition: border-color .25s, color .25s;
}
.mcard__link:hover { color: var(--teal); border-color: var(--teal); }

/* 사진을 이니셜 위에 덮어씌운다. 파일이 없으면 이니셜이 그대로 보임 */
.mcard__ph img { position: absolute; inset: 0; z-index: 0; }

/* 9명은 3열이 딱 떨어진다 (3×3) */
.mgrid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .mgrid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .mgrid--3 { grid-template-columns: 1fr; } }


/* 사진 투명도 80% — 뒤의 네이비 그라디언트가 비쳐 브랜드 톤이 입혀짐 */
.mcard__ph img,
.greeting-photo img { opacity: .5; }

/* 사진이 반투명해지면 뒤의 이니셜이 비쳐 보이므로 숨긴다.
   사진 로딩 실패 시에는 onerror 가 .no-photo 를 붙여 다시 보여준다 */
.mcard__ph .initial,
.greeting-photo .initial { display: none; }
.mcard__ph.no-photo .initial,
.greeting-photo.no-photo .initial { display: block; }


/* 인사말 사진 */
.greeting-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--ink));
  display: flex; align-items: center; justify-content: center;
}
.greeting-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.greeting-photo .initial {
  font-size: 3.4rem; font-weight: 700; color: rgba(255, 255, 255, .14); letter-spacing: -.05em;
}


/* ============ Board (게시판 UI) ============ */
.board-top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: 20px; border-bottom: 2px solid var(--ink); flex-wrap: wrap;
}
.board-count { font-size: .88rem; color: var(--gray); }
.board-count b { color: var(--navy); font-weight: 700; }
.board-search { display: flex; border: 1px solid var(--line); }
.board-search select { border: 0; padding: 11px 12px; background: var(--pale); font-size: .85rem; }
.board-search input { border: 0; padding: 11px 14px; width: 200px; font-size: .88rem; }
.board-search button { padding: 0 18px; background: var(--navy); color: var(--white); font-size: .85rem; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); font-size: .85rem; color: var(--gray);
  transition: all .25s; border-radius: 100px;
}
.chip:hover { border-color: var(--indigo); color: var(--indigo); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }

.blist li { border-bottom: 1px solid var(--line); }
.blist a { display: flex; align-items: center; gap: 20px; padding: 24px 8px; transition: background .25s; }
.blist a:hover { background: var(--pale); }
.blist a:hover .bl-title { color: var(--navy); }
.bl-no { flex: 0 0 60px; text-align: center; font-size: .85rem; color: var(--lav); }
.bl-cat {
  flex: 0 0 auto; font-size: .74rem; padding: 4px 12px; border-radius: 100px;
  background: var(--pale); color: var(--indigo); font-weight: 500;
}
.bl-cat--win { background: rgba(194, 80, 85, .1); color: var(--red); }
.bl-main { flex: 1 1 auto; min-width: 0; display: block; }
.bl-cat { display: inline-block; }
.bl-title {
  display: block;
  font-size: 1.02rem; font-weight: 500; letter-spacing: -0.025em; transition: color .25s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bl-sum { display: block; font-size: .84rem; color: var(--gray); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-date { flex: 0 0 100px; text-align: right; font-size: .82rem; color: var(--lav); }
.blist .notice-row .bl-no { color: var(--red); font-weight: 700; font-size: .72rem; }

.paging { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.paging button {
  width: 40px; height: 40px; border: 1px solid var(--line); font-size: .85rem; color: var(--gray);
  transition: all .25s;
}
.paging button:hover { border-color: var(--navy); color: var(--navy); }
.paging button.on { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 500; }
.paging button:disabled { opacity: .35; cursor: default; }

/* 상세 */
.bview__head { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.bview__head h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.035em; margin: 14px 0 16px; line-height: 1.45; }
.bview__info { display: flex; gap: 18px; font-size: .84rem; color: var(--gray); }
.bview__body { padding: 44px 0; font-size: 1rem; line-height: 2.05; color: var(--tx); }
.bview__body h4 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--teal); }
.bview__body p + p { margin-top: 16px; }
.bview__body ul { margin: 12px 0; }
.bview__body ul li { padding-left: 14px; position: relative; }
.bview__body ul li::before { content: ''; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; background: var(--lav); border-radius: 50%; }
.bview__nav { border-top: 1px solid var(--line); }
.bview__nav a { display: flex; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.bview__nav a:hover .t { color: var(--navy); }
.bview__nav .d { flex: 0 0 68px; color: var(--lav); font-size: .82rem; }
.bview__nav .t { color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ Blog cards ============ */
.bloghead {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 44px;
}
.blogsrc {
  border: 1px solid var(--line); padding: 30px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; transition: all .3s var(--ease);
}
.blogsrc:hover { border-color: var(--teal); background: var(--pale); }
.blogsrc h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; }
.blogsrc p { font-size: .84rem; color: var(--gray); margin-top: 5px; }
.blogsrc .go { font-size: .8rem; color: var(--indigo); font-weight: 500; white-space: nowrap; }

.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcard {
  border: 1px solid var(--line); padding: 32px 30px 30px; display: flex; flex-direction: column;
  transition: all .35s var(--ease); background: var(--white); position: relative;
}
.bcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(25, 27, 58, .1); border-color: transparent; }
.bcard__src { font-size: .74rem; font-weight: 500; color: var(--teal); letter-spacing: .1em; }
.bcard h3 {
  margin: 14px 0 12px; font-size: 1.08rem; font-weight: 500; line-height: 1.55; letter-spacing: -0.03em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard p {
  font-size: .87rem; color: var(--gray); line-height: 1.8; flex: 1 1 auto;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard__foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--lav);
}
.bcard__foot em { font-style: normal; color: var(--indigo); font-weight: 500; }

/* ============ Location ============ */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.loc__map { background: var(--pale); min-height: 380px; position: relative; overflow: hidden; }
.loc__map iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.loc__info { background: var(--white); padding: 44px 40px; }
.loc__info h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.035em; }
.loc__info .badge {
  display: inline-block; font-size: .72rem; letter-spacing: .14em; color: var(--teal);
  font-weight: 500; margin-bottom: 12px;
}
.dl { margin-top: 26px; }
.dl div { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.dl dt { flex: 0 0 74px; color: var(--lav); font-weight: 500; font-size: .84rem; padding-top: 2px; }
.dl dd { flex: 1; color: var(--tx); }
.dl dd a { color: var(--navy); font-weight: 500; }

/* ============ Form ============ */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fld { display: flex; flex-direction: column; gap: 9px; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: .85rem; font-weight: 500; color: var(--navy); }
.fld label em { color: var(--red); font-style: normal; margin-left: 3px; }
.fld input, .fld select, .fld textarea {
  border: 1px solid var(--line); padding: 14px 16px; background: var(--white);
  transition: border-color .25s; font-size: .95rem; font-weight: 500;
}
.fld textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--indigo); outline: none; }
.agree { grid-column: 1 / -1; background: var(--pale); padding: 22px 24px; }
.agree__box {
  max-height: 118px; overflow-y: auto; font-size: .8rem; color: var(--gray); line-height: 1.85;
  background: var(--white); padding: 16px; border: 1px solid var(--line);
}
.chk { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: .88rem; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--indigo); }
.form__foot { grid-column: 1 / -1; text-align: center; margin-top: 8px; }

/* ============ Org ============ */
.org-figure { border: 1px solid var(--line); background: var(--pale); padding: 20px; }
.org-figure img { margin: 0 auto; }
.org-note { margin-top: 14px; font-size: .82rem; color: var(--lav); text-align: center; }

/* ---- 조직도 (CSS 구성, 이미지 대체) ---- */
.orgx { max-width: 960px; margin: 0 auto; text-align: center; }

/* 대표변호사 · 변호사 */
.orgx__leaders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.orgx__leader { background: var(--ink); color: var(--white); padding: 20px 18px; border-top: 3px solid var(--teal); }
.orgx__tag { display: block; font-size: .66rem; letter-spacing: .2em; color: var(--teal); font-weight: 500; margin-bottom: 8px; }
.orgx__leader strong { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.03em; }
.orgx__leader em { font-style: normal; font-weight: 500; color: var(--lav); font-size: .9rem; margin-left: 5px; }

/* 커넥터 + 전담팀 라벨 */
.orgx__stem { display: block; width: 2px; height: 34px; background: var(--lav); margin: 0 auto; }
.orgx__division {
  display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 20px;
  background: var(--navy); color: var(--white); padding: 11px 28px;
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em;
}
.orgx__division span { font-size: .64rem; letter-spacing: .18em; color: rgba(255, 255, 255, .6); font-weight: 500; }

/* 전담팀: 특허팀(좌) + 5개 팀(우) */
.orgx__unit { border: 1px solid var(--line); background: var(--pale); padding: 24px; }
.orgx__teams { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.orgx__patent { text-align: left; }
.orgx__unit-head {
  display: inline-block; background: var(--indigo); color: var(--white);
  padding: 12px 28px; font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px;
}
.orgx__unit-head em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, .82); font-size: .88rem; margin-left: 9px; }
.orgx__unit-subs { display: grid; grid-template-columns: 1fr; gap: 14px; }
.orgx__sub { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 18px; text-align: left; }
.orgx__sub-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; font-size: 1rem; font-weight: 700; color: var(--navy); }
.orgx__sub-title span { font-size: .6rem; letter-spacing: .16em; color: var(--lav); font-weight: 500; }
.orgx__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.orgx__tags li { background: var(--pale); color: var(--navy); font-size: .84rem; font-weight: 500; padding: 7px 13px; }

.orgx__col5 { display: grid; gap: 12px; align-content: start; }
.orgx__col5 li {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--indigo);
  padding: 15px 16px; font-size: .95rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; text-align: left;
}
.orgx .org-note { margin-top: 20px; }

@media (max-width: 768px) {
  .orgx__leaders { grid-template-columns: 1fr; gap: 12px; }
  .orgx__teams { grid-template-columns: 1fr; gap: 18px; }
  .orgx__unit { padding: 18px; }
}


/* ============ index 조직 요약 ============ */
.orgsum { border: 1px solid var(--line); background: var(--pale); padding: 34px 30px 30px; }

.orgsum__lead { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.orgsum__person { background: var(--ink); padding: 22px 20px; text-align: center; color: var(--white); }
.orgsum__person:nth-child(3) { background: var(--navy); }
.orgsum__person span { display: block; font-size: .68rem; letter-spacing: .16em; color: var(--teal); font-weight: 500; }
.orgsum__person b { display: block; margin-top: 7px; font-size: 1.12rem; font-weight: 700; letter-spacing: -.03em; }
.orgsum__person b em { font-style: normal; font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.66); margin-left: 5px; }

.orgsum__stem { display: block; width: 1px; height: 26px; background: var(--lav); margin: 0 auto; }
.orgsum__label { text-align: center; font-size: 1.1rem; letter-spacing: .2em; font-weight: 700; color: var(--navy); padding: 7px 0; }
.orgsum__label span { color: var(--lav); font-weight: 500; margin-left: 6px; letter-spacing: .1em; }

.orgsum__teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.orgsum__team {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--indigo);
  padding: 20px 18px; transition: all .3s var(--ease);
}
.orgsum__team--ip { border-top-color: var(--teal); }
.orgsum__team:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(25,27,58,.09); }
.orgsum__team h4 { font-size: 1rem; font-weight: 700; letter-spacing: -.03em; }
.orgsum__team h4 em { font-style: normal; font-size: .68rem; font-weight: 500; color: var(--lav); margin-left: 6px; letter-spacing: .04em; }
.orgsum__team p { margin-top: 7px; font-size: .82rem; line-height: 1.7; color: var(--gray); font-weight: 500; word-break: keep-all; }
.orgsum__office {
  display: inline-block; margin-top: 12px; font-size: .68rem; font-weight: 700;
  padding: 3px 9px; background: var(--pale); color: var(--indigo);
}
.orgsum__office--s { background: rgba(53, 176, 181, .12); color: #23888C; }

@media (max-width: 900px) { .orgsum__teams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .orgsum { padding: 24px 18px 20px; }
  .orgsum__lead { grid-template-columns: 1fr; }
  .orgsum__teams { grid-template-columns: 1fr; }
}


/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(100deg, var(--navy), var(--indigo) 62%, var(--teal) 148%);
  color: var(--white); padding: 74px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%;
}
.cta-band__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.5; }
.cta-band h2 b { font-weight: 700; }
.cta-band p { margin-top: 10px; font-size: .92rem; color: rgba(255, 255, 255, .78); }

/* ============ Footer ============ */
.ft { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 64px 0 40px; font-size: .85rem; }
.ft__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft__logo img { height: 33px; width: auto; margin-bottom: 20px; }
.ft__slogan { line-height: 1.85; font-size: .84rem; }
.ft h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.ft__links li { margin-bottom: 9px; }
.ft__links a { transition: color .2s; }
.ft__links a:hover { color: var(--teal); }
.ft__office { line-height: 1.9; font-size: .82rem; }
.ft__office b { color: var(--white); font-weight: 500; display: block; margin-top: 12px; }
.ft__office b:first-child { margin-top: 0; }
.ft__bot { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .78rem; color: rgba(255, 255, 255, .4); }
.ft__bot a { color: rgba(255, 255, 255, .62); }

/* ============ Reveal ============ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; }
.rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; }

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .ft__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .hd__tel { display: none; }
  /* backdrop-filter는 fixed 자식의 컨테이닝 블록을 만들어 모바일 메뉴 패널을 잘라내므로 해제 */
  .hd, .hd.is-stuck, .hd--solid { backdrop-filter: none; }
  body.nav-open .hd {
    background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line);
  }
  body.nav-open .hd .lg-white { display: none; }
  body.nav-open .hd .lg-ink { display: block; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); color: var(--ink);
    flex-direction: column; align-items: stretch; height: auto;
    overflow-y: auto; padding: 12px 0 60px;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  body.nav-open .gnb { transform: none; }
  body.nav-open { overflow: hidden; }
  .gnb > li { display: block; height: auto; border-bottom: 1px solid var(--line); }
  .gnb > li > a { padding: 18px 24px; font-size: 1.05rem; font-weight: 700; height: auto; }
  .gnb > li > a::after { display: none; }
  .sub,
  .gnb > li:hover .sub {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; padding: 0 0 14px; background: var(--pale); min-width: 0;
    transition: none; display: none;
  }
  .gnb > li.open .sub,
  .gnb > li.open:hover .sub { display: block; }
  .sub a { padding: 12px 34px; font-size: .92rem; }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .loc { grid-template-columns: 1fr; }
  .loc__map { min-height: 300px; }
}
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .bloghead { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .bl-no, .bl-sum { display: none; }
  .blist a { gap: 12px; padding: 20px 4px; }
  .bl-date { flex: 0 0 74px; font-size: .76rem; }
  .board-top { align-items: stretch; }
  .board-search { width: 100%; }
  .board-search input { flex: 1; width: auto; }
  .ft__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pcards { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .loc__info { padding: 32px 24px; }
  .bl-cat { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ============================================================
   추가 컴포넌트
   ============================================================ */

/* ---- 푸터 법정 표기 ---- */
.ft__legal {
  padding: 22px 0 4px; font-size: .78rem; color: rgba(255, 255, 255, .42); line-height: 1.9;
}
.ft__policy { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.ft__policy a { transition: color .2s; }
.ft__policy a:hover { color: var(--teal); }
.ft__policy b { font-weight: 700; color: rgba(255, 255, 255, .8); }
.ft__policy span { opacity: .6; }

/* ---- 플로팅 퀵 상담바 ---- */
.quick {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.quick__item {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  padding: 12px; width: 52px; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(25, 27, 58, .13);
  transition: width .32s var(--ease), background .28s, border-color .28s;
}
/* 평소엔 아이콘만 보이는 레일 — 본문을 가리지 않도록. 올리면 펼쳐집니다 */
.quick:hover .quick__item { width: 176px; }
.quick__item:hover { border-color: var(--teal); }
.quick__item--tel { background: var(--ink); border-color: var(--ink); color: var(--white); }
.quick__item--tel:hover { background: var(--navy); border-color: var(--navy); }
.quick__ico { flex: 0 0 26px; height: 26px; color: var(--teal); }
.quick__ico svg { width: 26px; height: 26px; }
.quick__tx {
  display: block; line-height: 1.35; min-width: 0;
  opacity: 0; transition: opacity .2s var(--ease);
}
.quick:hover .quick__tx { opacity: 1; transition-delay: .1s; }
.quick__tx b { display: block; font-size: .82rem; font-weight: 700; letter-spacing: -.02em; }
.quick__tx em { display: block; font-style: normal; font-size: .7rem; color: var(--gray); }
.quick__item--tel .quick__tx em { color: rgba(255, 255, 255, .6); }
.quick__top {
  width: 40px; height: 40px; background: var(--white); border: 1px solid var(--line);
  color: var(--gray); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(25, 27, 58, .13);
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.quick__top svg { width: 20px; height: 20px; }
.quick__top:hover { border-color: var(--navy); color: var(--navy); }
body.scrolled .quick__top { opacity: 1; visibility: visible; }

/* ---- 승소사례 결과 배지 ---- */
.bl-result {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-width: 74px; padding: 5px 10px; font-size: .74rem; font-weight: 700; letter-spacing: -.02em;
  background: var(--ink); color: var(--white);
}
.bl-result--win { background: var(--navy); }
.bl-result--free { background: var(--teal); }
.bl-result--dismiss { background: var(--indigo); }
.bl-result--deal { background: var(--gray); }
.bl-field {
  display: block; font-size: .74rem; color: var(--lav); font-weight: 500; margin-bottom: 5px;
}

/* ---- 의뢰인 후기 ---- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcard {
  border: 1px solid var(--line); padding: 32px 30px; display: flex; flex-direction: column;
  background: var(--white); transition: all .35s var(--ease);
}
.rcard:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(25, 27, 58, .09); }
.rcard__stars { color: var(--teal); font-size: .9rem; letter-spacing: 2px; }
.rcard__field { margin-top: 12px; font-size: .74rem; font-weight: 500; color: var(--indigo); }
.rcard h3 { margin: 8px 0 12px; font-size: 1.04rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.5; }
.rcard p {
  font-size: .89rem; line-height: 1.9; color: var(--tx); font-weight: 500; flex: 1 1 auto;
}
.rcard__foot {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: .78rem; color: var(--lav);
}

/* ---- 자주 묻는 질문 ---- */
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 8px; font-size: 1.02rem; font-weight: 500; letter-spacing: -.025em;
  transition: color .25s;
}
.faq__q:hover { color: var(--navy); }
.faq__q > i {
  flex: 0 0 24px; font-style: normal; font-weight: 700; color: var(--teal); font-size: 1.02rem;
}
.faq__q > span { flex: 1 1 auto; }
.faq__q > b {
  flex: 0 0 14px; font-weight: 500; font-size: 1.3rem; color: var(--lav); line-height: 1;
  transition: transform .3s var(--ease);
}
.faq__item.open .faq__q > b { transform: rotate(45deg); }
.faq__item.open .faq__q { color: var(--navy); font-weight: 700; }
.faq__a {
  display: none; gap: 16px; padding: 0 8px 28px; font-size: .95rem; line-height: 1.95;
  color: var(--tx); font-weight: 500;
}
.faq__item.open .faq__a { display: flex; }
.faq__a > i { flex: 0 0 24px; font-style: normal; font-weight: 700; color: var(--lav); }
.faq__a > div { flex: 1 1 auto; }
.faq__a p + p { margin-top: 12px; }

@media (max-width: 1024px) {
  .rgrid { grid-template-columns: repeat(2, 1fr); }
  /* 퀵바는 모바일에서 하단 고정 바로 전환 */
  .quick {
    right: 0; left: 0; bottom: 0; flex-direction: row; gap: 0;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(25, 27, 58, .1);
  }
  .quick__item {
    flex: 1 1 0; width: auto; flex-direction: column; gap: 4px; justify-content: center;
    padding: 9px 4px; border: 0; border-right: 1px solid var(--line); box-shadow: none;
  }
  .quick__item:hover { transform: none; }
  .quick__item--tel { border-right-color: var(--ink); }
  .quick__ico { flex: 0 0 20px; height: 20px; }
  .quick__ico svg { width: 20px; height: 20px; }
  .quick:hover .quick__item { width: auto; }
  .quick__tx { text-align: center; opacity: 1; }
  .quick__tx b { font-size: .72rem; }
  .quick__tx em { display: none; }
  .quick__top { display: none; }
  body { padding-bottom: 58px; }  /* 하단 고정바 높이만큼 여백 */
}
@media (max-width: 640px) {
  .rgrid { grid-template-columns: 1fr; }
  .bl-result { min-width: 60px; font-size: .68rem; padding: 4px 7px; }
}

/* ---- 오시는 길 2개 사무소 나란히 (메인) ---- */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc-card { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.loc-card__map { position: relative; aspect-ratio: 16 / 10; background: var(--pale); overflow: hidden; }
.loc-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc-card__info { padding: 28px 28px 30px; flex: 1 1 auto; display: flex; flex-direction: column; }
.loc-card__info .badge {
  display: inline-block; font-size: .72rem; letter-spacing: .14em; color: var(--teal); font-weight: 500;
}
.loc-card__info h3 { margin-top: 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.035em; }
.loc-card .dl { margin-top: 18px; flex: 1 1 auto; }
.loc-card .dl div { padding: 11px 0; font-size: .89rem; }
.loc-card .dl dt { flex: 0 0 62px; font-size: .8rem; }
.loc-card__go { margin-top: 20px; }

@media (max-width: 860px) {
  .locs { grid-template-columns: 1fr; }
}