/* =================================================================
   대명인사컨설팅 — styles.css
   팔레트 : 버건디 + 황동 골드 / 제목 Nanum Myeongjo · 본문 PT Sans·Noto Sans KR
   ================================================================= */

/* ---------- 웹폰트 (서체) ---------- */
@import url('https://fonts.googleapis.com/css?family=Nanum+Myeongjo:800&subset=korean');
@import url('https://fonts.googleapis.com/earlyaccess/nanumgothic.css'); /* "Nanum Gothic" */
@import url('https://fonts.googleapis.com/css?family=PT+Sans'); /* "PT Sans" */
/* Noto Sans KR (로컬 woff — ./images/ 폴더에 폰트 파일이 있어야 로드됩니다) */
@font-face {font-family:"Noto Sans KR"; font-style:normal; font-weight:300; src:url("./images/notokr-demilight.woff2") format("woff2"), url("./images/notokr-demilight.woff") format("woff");}
@font-face {font-family:"Noto Sans KR"; font-style:normal; font-weight:400; src:url("./images/notokr-regular.woff2") format("woff2"), url("./images/notokr-regular.woff") format("woff");}
@font-face {font-family:"Noto Sans KR"; font-style:normal; font-weight:500; src:url("./images/notokr-medium.woff2") format("woff2"), url("./images/notokr-medium.woff") format("woff");}
@font-face {font-family:"Noto Sans KR"; font-style:normal; font-weight:700; src:url("./images/notokr-bold.woff2") format("woff2"), url("./images/notokr-bold.woff") format("woff");}

/* ---------- 디자인 토큰 ---------- */
:root {
  /* 색상 */
  --navy-900: #68080b;   /* 가장 짙은 버건디 (푸터·강조 섹션) */
  --navy-800: #1B2C4F;   /* 카드·오버레이 */
  --navy-700: #6e2525;   /* 보조 버건디 */
  --brass:    #B0883C;   /* 황동 골드 (포인트) */
  --brass-soft: #C9A65C; /* 밝은 골드 (호버) */
  --ink:      #42181b;   /* 본문 텍스트 */
  --muted:    #5B616D;   /* 보조 텍스트 */
  --mist:     #f1f1ed;   /* 연그레이 배경 */
  --line:     #ecebe3;   /* 헤어라인 */
  --white:    #FFFFFF;

  /* 서체 */
  --font-serif: 'Nanum Myeongjo', serif;
  --font-sans:  'PT Sans', 'Noto Sans KR', 'Nanum Gothic', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;

  /* 레이아웃 */
  --container: 1160px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3rem, 6.5vw, 5rem);
  --radius: 14px;
  --radius-sm: 8px;

  /* 그림자 */
  --shadow-sm: 0 2px 10px rgba(19, 32, 59, 0.06);
  --shadow-md: 0 14px 40px rgba(19, 32, 59, 0.12);
}

/* ---------- 리셋 / 베이스 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* 고정 헤더에 가려지지 않도록 앵커 이동 시 여유 */
:target { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;       /* 한글 줄바꿈 자연스럽게 */
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
dd { margin-inline-start: 0; }

/* ---------- 공용 레이아웃 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: var(--white); }

/* 섹션 머리말 */
.section__head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.section__sub { margin-top: 0.5rem; color: var(--muted); font-size: 1.05rem; }
.section--navy .section__sub { color: rgba(255, 255, 255, 0.72); }

/* 눈썹(eyebrow) 라벨 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brass);
}
.eyebrow--light { color: var(--brass-soft); }

/* 제목 (명조 포인트 서체) */
.h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  line-height: 1.28;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-left:-0.1em;
}
.section--navy .h2 { color: var(--white); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn--gold { background: var(--brass); color: var(--white); }
.btn--gold:hover { background: var(--brass-soft); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ---------- 접근성: 본문 바로가기 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* 키보드 포커스 표시 */
a:focus-visible,
label:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =================================================================
   상단 내비게이션
   ================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

/* 브랜드 로고타입 + 직인풍 마크 */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
/* 헤더 로고 이미지 — 높이 기준으로 크기 지정, 가로는 비율에 맞춰 자동 조절 */
.brand__logo { display: block; height: 46px; width: auto; }
.brand__mark {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brass);
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  letter-spacing: -0.05em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.12rem; font-weight: 700; color: var(--navy-900); }
.brand__text em { font-style: normal; font-size: 0.72rem; color: var(--muted); }

/* 메뉴 */
.nav__menu { display: flex; align-items: center; gap: 0.4rem; }
.nav__menu a {
  padding: 0.55rem 0.9rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__menu a:hover { color: var(--brass); }
.nav__cta {
  margin-left: 0.5rem;
  background: var(--navy-900);
  color: #fff !important;
  padding: 0.6rem 1.25rem !important;
}
.nav__cta:hover { background: var(--brass); }

/* 모바일 햄버거 (기본 숨김) */
.nav__burger { display: none; }

/* =================================================================
   히어로
   ================================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 80% -10%, var(--navy-700) 0%, rgba(37,64,110,0) 55%),
    linear-gradient(160deg, var(--navy-900) 0%, #0E1830 100%);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5rem);
}
/* 직인풍 원형 워터마크 (시그니처) */
.hero__seal {
  position: absolute;
  right: -140px; top: -120px;
  width: 460px; height: 460px;
  border: 1px solid rgba(176, 136, 60, 0.35);
  border-radius: 50%;
  pointer-events: none;
}
.hero__seal::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(176, 136, 60, 0.18);
  border-radius: 50%;
}
.hero__inner { position: relative; padding-left: calc(var(--pad) + clamp(1rem, 2.5vw, 1.8rem)); }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero__lead {
  font-size: clamp(1.02rem, 2.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* 가치 삼각(신뢰·속도·실무) — 구조적 시그니처 */
.hero__values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.value {
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 1.8rem);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.value:first-child { border-left: none; }
.value__ko {
  display: block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brass-soft);
}
.value__en {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.35rem 0 0.7rem;
}
.value p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); margin: 0; }


/* =================================================================
   법인 소개
   ================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about__copy p { color: var(--muted); margin-top: 1.1rem; font-size: 1.05rem; }
.about__copy .h2 { margin-bottom: 0.5rem; }

.about__panel {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  position: relative;
  top: 0.4rem;
}
.about__panel-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brass-soft);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.facts__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.facts__row:last-child { border-bottom: none; }
.facts__row dt { font-size: 1rem; color: rgba(255, 255, 255, 0.9); padding-top: 0.15rem; font-weight:800}
.facts__row dd { font-size: 0.98rem;  color: rgba(255, 255, 255, 0.9); font-weight: 400; }
.facts__sub { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); font-weight: 400; }

/* =================================================================
   신뢰 지표 + 고객사
   ================================================================= */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--brass-soft);
}
.stat__plus { font-size: 0.55em; vertical-align: super; }
.stat__label { display: block; margin-top: 0.7rem; color: rgba(255, 255, 255, 0.75); font-size: 0.98rem; }

.clients { text-align: center; }
.clients__title {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.4rem;
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
}
.clients__list li {
  padding: 0.5rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.clients__note { margin-top: 1.5rem; font-size: 1rem; color: rgba(255, 255, 255, 0.55); }

/* =================================================================
   주요 업무 카드 (2×2)
   ================================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.svc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;   /* 아이콘 | 제목 (같은 줄) */
  align-items: center;
  align-content: start;
  column-gap: 1.1rem;
}
/* 카드 상단 골드 라인 (호버 시 부각) */
.svc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }

.svc__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--brass);
  background: rgba(176, 136, 60, 0.1);
  border-radius: 10px;
  margin-bottom: 0;
}
.svc__icon svg { width: 26px; height: 26px; }
.svc__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 0;
}
.svc__list { display: grid; gap: 0.9rem; grid-column: 1 / -1; margin-top: 1.5rem; }
.svc__list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.1rem;
  position: relative;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
}
.svc__list strong { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.svc__list span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.svc__foot {
  grid-column: 1 / -1;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* =================================================================
   구성원 카드 (3열)
   ================================================================= */
.members__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;   /* 카드 높이를 서로 맞추지 않음 → 펼침 시 옆 카드 밀림 방지 */
}
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* 사진 자리표시자 — 4:3 비율, 실제 이미지가 없으면 옅은 배경 */
.member__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #E9EBF0, #F4F5F7);
  border-bottom: 1px solid var(--line);
}
.member__body { padding: clamp(1.25rem, 2.2vw, 1.5rem); display: flex; flex-direction: column; flex: 1; }
.member__badge {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brass);
  background: rgba(176, 136, 60, 0.1);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.member__badge--lead { color: #fff; background: var(--navy-900); }
.member__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-900);
}
.member__school { font-size: 0.9rem; color: var(--muted); margin-top: 0.35rem; margin-bottom: 1rem; }

.member__lead-list { display: grid; gap: 0.45rem; }
.member__lead-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.member__lead-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--brass);
  border-radius: 50%;
}

/* 약력 더보기 (네이티브 details) */
.member__more { margin-top: 0; padding-top: 1rem; }
.member__more summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.member__more summary::-webkit-details-marker { display: none; }
.member__more summary::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--brass);
  transition: transform 0.2s ease;
}
.member__more[open] summary::after { content: "−"; }
.member__more ul { display: grid; gap: 0.45rem; margin-top: 0.9rem; }
.member__more li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.member__more li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--line);
  border-radius: 50%;
}

/* =================================================================
   오시는 길 — 탭
   ================================================================= */
.tabs { }
.tabs__radio { position: absolute; opacity: 0; pointer-events: none; }

.tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--mist);
  border-radius: 999px;
  margin-bottom: 2rem;
}
.tabs__tab {
  cursor: pointer;
  padding: 0.7rem 1.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tabs__tab:hover { color: var(--navy-900); }

/* 패널 기본 숨김 */
.tabs__panel { display: none; }

/* 라디오 선택에 따라 활성 탭/패널 표시 (일반 형제 결합자) */
#tab-anyang:checked  ~ .tabs__list label[for="tab-anyang"],
#tab-seoul:checked   ~ .tabs__list label[for="tab-seoul"],
#tab-bundang:checked ~ .tabs__list label[for="tab-bundang"] {
  background: var(--navy-900);
  color: #fff;
}
#tab-anyang:checked  ~ .tabs__panels #panel-anyang,
#tab-seoul:checked   ~ .tabs__panels #panel-seoul,
#tab-bundang:checked ~ .tabs__panels #panel-bundang {
  display: block;
}
/* 키보드 포커스 시 탭 표시 */
.tabs__radio:focus-visible ~ .tabs__list label {
  /* 포커스된 라디오에 대응하는 라벨 강조는 개별 지정 */
}
#tab-anyang:focus-visible  ~ .tabs__list label[for="tab-anyang"],
#tab-seoul:focus-visible   ~ .tabs__list label[for="tab-seoul"],
#tab-bundang:focus-visible ~ .tabs__list label[for="tab-bundang"] {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* 사무소 패널 내용 */
.office {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.office__map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.office__map a { display: block; line-height: 0; }
.office__map img { display: block; width: 100%; height: auto; }
.office__map-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.office__info { align-self: center; }
.office__name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--navy-900);
  margin-bottom: 0.9rem;
}
.office__addr { color: var(--ink); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.3rem; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--navy-700);
}
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover { color: var(--brass); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =================================================================
   상담 문의 (CTA)
   ================================================================= */
.contact { text-align: center; }
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::before { display: none; }   /* 가운데 정렬 시 라인 제거 */
.contact__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 0.9rem;
}
.contact__lead { color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; margin-bottom: 1rem; }
.contact__phone {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: 0.01em;
  color: var(--brass-soft);
  margin-bottom: 1.2rem;
  transition: color 0.18s ease;
}
.contact__phone:hover { color: #fff; }
.contact__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 2.2rem;
}
.contact__meta a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.contact__meta a:hover { color: var(--brass-soft); }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* =================================================================
   푸터
   ================================================================= */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}
.footer__brand .brand__mark { margin-bottom: 1rem; }
/* 푸터 로고(어두운 배경용) — 높이 기준, 가로는 비율 자동 */
.footer__logo { display: block; height: 54px; width: auto; margin-bottom: 1.1rem; }
.footer__name { font-size: 1.25rem; font-weight: 700; color: #fff; }
.footer__tag { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); margin-top: 0.2rem; }
.footer__slogan {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brass-soft);
  letter-spacing: 0.05em;
}
.footer__heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1rem;
}
.footer__addr { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.9rem; }
.footer__addr strong { display: block; color: #fff; font-weight: 600; margin-bottom: 0.15rem; }
.footer__line { font-size: 0.95rem; margin-bottom: 0.55rem; }
.footer__line a:hover { color: var(--brass-soft); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.5rem; }
.footer__bar small { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* =================================================================
   반응형
   ================================================================= */

/* 태블릿 */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__panel { top: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .members__grid { grid-template-columns: repeat(2, 1fr); }
  .office { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* 모바일 — 내비게이션 햄버거 전환 */
@media (max-width: 760px) {
  .brand__logo { height: 36px; }
  .nav__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    cursor: pointer;
    border-radius: var(--radius-sm);
  }
  /* 햄버거 아이콘 (가운데 막대 + 가상요소 2개) */
  .nav__burger span,
  .nav__burger span::before,
  .nav__burger span::after {
    content: "";
    display: block;
    width: 24px; height: 2px;
    background: var(--navy-900);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav__burger span { position: relative; }
  .nav__burger span::before { position: absolute; top: -7px; left: 0; }
  .nav__burger span::after  { position: absolute; top: 7px; left: 0; }

  /* 열림 상태 → X 모양 */
  .nav__checkbox:checked ~ .nav__burger span { background: transparent; }
  .nav__checkbox:checked ~ .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav__checkbox:checked ~ .nav__burger span::after  { transform: translateY(-7px) rotate(-45deg); }

  /* 메뉴: 기본 숨김 → 펼침 */
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem var(--pad) 1rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  }
  .nav__checkbox:checked ~ .nav__menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__menu a { padding: 0.95rem 0.5rem; border-bottom: 1px solid var(--line); }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__cta {
    margin-left: 0;
    margin-top: 0.75rem;
    text-align: center;
    border-radius: var(--radius-sm) !important;
  }
}

/* 좁은 모바일 */
@media (max-width: 540px) {
  .hero__values { grid-template-columns: 1fr; }
  .value { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .value:first-child { border-top: none; }
  .stats__grid { grid-template-columns: 1fr; gap: 2rem; }
  .members__grid { grid-template-columns: 1fr; }
  .tabs__list { display: flex; width: 100%; }
  .tabs__tab { flex: 1; text-align: center; padding-inline: 0.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions, .contact__actions { width: 100%; }
}
