/* =========================================
   법무법인 문평 — 통합 스타일시트
   Modern · Clean · Professional
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* === CSS 변수 === */
:root {
  --navy:    #1e1e1e;
  --navy2:   #2a2a2a;
  --gold:    #b89a4e;
  --gold2:   #d4b96a;
  --white:   #ffffff;
  --off-white: #f7f6f2;
  --light:   #f0efe9;
  --border:  #e0ddd4;
  --text:    #1a1a1a;
  --text2:   #555555;
  --text3:   #888888;
  --serif:   'Noto Serif KR', serif;
  --font-serif: 'Noto Serif KR', serif;
  --sans:    'Pretendard', sans-serif;
  --shadow:  0 4px 24px rgba(0,0,0,0.10);
  --shadow2: 0 8px 40px rgba(0,0,0,0.16);
  --radius:  4px;
  --nav-h:   72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.8; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: var(--sans); }


/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transform: translateY(-6px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
#navbar.at-top {
  background: rgba(30,30,30,0.97);
  border-bottom: 1px solid rgba(184,154,78,0.25);
  box-shadow: none;
  transform: translateY(0);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.nav-logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 3px;
}
.logo-hanja {
  font-family: 'Noto Serif KR', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 6px;
  line-height: 1;
  padding-left: 6px;
  transition: color 0.3s;
}
#navbar.at-top .logo-hanja {
  color: var(--white);
}
.logo-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 2px;
  padding-left: 2px;
  margin-bottom: -4px;
  transition: color 0.3s;
}
#navbar.at-top .logo-name {
  color: rgba(255,255,255,0.75);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-family: 'Pretendard', sans-serif;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-red { color: #e00000 !important; transform: translateY(5px); }
.nav-red:hover { color: #ff0000 !important; border-bottom-color: transparent !important; }
#navbar.at-top .nav-red { color: #ff5555 !important; }
.nav-blue { font-weight: 800 !important; font-size: 15px !important; color: #4a6aaa !important; border-bottom: 2px solid #4a6aaa !important; padding-bottom: 2px; }
.nav-blue:hover { color: #3d5a99 !important; border-bottom-color: #3d5a99 !important; }
#navbar.at-top .nav-blue { color: #7a9dd4 !important; border-bottom-color: #7a9dd4 !important; }
#navbar.at-top .nav-blue:hover { color: #9ab8e8 !important; border-bottom-color: #9ab8e8 !important; }
#navbar.at-top .nav-red { color: #ff5555 !important; }
#navbar.at-top .nav-menu a {
  color: rgba(255,255,255,0.85);
}
#navbar.at-top .nav-menu a:hover,
#navbar.at-top .nav-menu a.active {
  color: var(--gold2);
  border-bottom-color: var(--gold2);
}
.nav-toggle {
  display: none;
  color: var(--text);
  font-size: 24px;
  transition: color 0.3s;
}
#navbar.at-top .nav-toggle {
  color: var(--white);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile li a {
  display: block;
  padding: 14px 32px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile li a:hover { background: rgba(255,255,255,0.06); color: var(--gold2); }


/* =========================================
   HERO 진입 애니메이션
   ========================================= */
.hero-animate {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-animate-1 { transition-delay: 0.1s; }
.hero-animate-2 { transition-delay: 0.35s; }
.hero-animate-3 { transition-delay: 0.58s; }
.hero-animate-4 { transition-delay: 0.80s; }

/* =========================================
   HERO
   ========================================= */
#hero {
  min-height: 100vh;
  /* Unsplash 무료 이미지 — 나중에 실제 사무실 사진(images/office.jpg)으로 교체하세요 */
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.45);
}
/* 배경 장식 */
.hero-bg-line {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-line::before {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 60vw; height: 60vw;
  border: 1px solid rgba(184,154,78,0.08);
  border-radius: 50%;
}
.hero-bg-line::after {
  content: '';
  position: absolute;
  top: -15%; right: -10%;
  width: 45vw; height: 45vw;
  border: 1px solid rgba(184,154,78,0.06);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold2);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 18px;
  border: 1px solid rgba(184,154,78,0.4);
}
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-photo-notice {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  z-index: 3;
}

/* 버튼 */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

.btn-navy {
  display: inline-block;
  padding: 13px 32px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy2); }

.btn-outline-navy {
  display: inline-block;
  padding: 13px 32px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-gold-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--white); }

/* =========================================
   STATS BAR
   ========================================= */
#stats {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 32px;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text3);
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* =========================================
   SECTION 공통
   ========================================= */
.section-wrap {
  padding: 100px 32px;
}
.section-wrap-light {
  padding: 100px 32px;
  background: var(--off-white);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 64px; }

/* 참고 이미지처럼 골드 구분선 + 라벨 */
.section-divider-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.section-divider-line::before,
.section-divider-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-divider-line span {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-title-white {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  font-weight: 550;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}
.gold-bar {
  width: 40px; height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}


/* =========================================
   ABOUT
   ========================================= */

/* 인트로 그리드 */
.about-intro-section {
  background: var(--white);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.about-intro-img {
  overflow: hidden;
}
.about-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-intro-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-intro-quote {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.about-intro-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 36px;
}

/* 핵심 가치 */
.about-pillars-section {
  background: var(--off-white);
  padding: 80px 32px;
}

/* 배너 */
.about-banner-section {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.about-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.62);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-banner-text {
  text-align: center;
  color: var(--white);
  max-width: 600px;
  padding: 0 24px;
}
.about-banner-text h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.about-banner-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-img { height: 280px; }
  .about-intro-text { padding: 48px 24px; }
  .about-banner-section { height: 320px; }
}

/* ── About 새 레이아웃 ── */
#about { background: var(--white); }

.about-lead {
  text-align: center;
  padding: 220px 32px 200px;
  background-image: url('images/about-lead-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-lead::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
}
.about-lead > * {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.about-lead h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 28px;
}
.about-lead p {
  font-size: 19px;
  font-weight: 600;
  color: var(--text2);
  line-height: 1.9;
}
.about-lead .section-tag {
  color: var(--gold);
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.about-row-reverse { direction: rtl; }
.about-row-reverse > * { direction: ltr; }

.about-row-img { overflow: hidden; }
.about-row-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-row-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.about-row-reverse .about-row-text {
  background: var(--white);
  direction: ltr;
}

.about-kicker {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.about-row-text h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
}
.about-row-text p {
  font-size: 17px;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 0;
}

.about-stat-inline {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.about-stat-num em {
  font-size: 0.5em;
  font-style: normal;
  color: var(--gold);
}
.about-stat-label {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
}

.about-dark-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.about-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 32px;
}
.about-dark-overlay h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.3;
}
.about-dark-overlay p {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 2;
  max-width: 860px;
}
.about-dark-overlay p strong {
  color: var(--white);
  font-weight: 700;
}

.about-bottom-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  padding: 80px 80px;
  background: var(--white);
  align-items: center;
}
.about-bottom-divider {
  background: var(--border);
  height: 120px;
  align-self: center;
}
.about-bottom-stat {
  padding: 0 60px;
  text-align: center;
}
.about-bottom-stat .about-stat-num {
  display: block;
  font-size: 48px;
  margin-bottom: 8px;
}
.about-bottom-stat .about-stat-label {
  display: block;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 20px;
}
.about-bottom-stat p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.9;
}

@media (max-width: 1024px) {
  .about-row { grid-template-columns: 1fr; }
  .about-row-img { height: 320px; }
  .about-row-reverse { direction: ltr; }
  .about-row-text { padding: 48px 32px; }
  .about-bottom-stats { grid-template-columns: 1fr; padding: 60px 32px; gap: 40px; }
  .about-bottom-divider { display: none; }
  .about-bottom-stat { padding: 0; }
}

#about { background: var(--white); }
.about-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.about-center p {
  font-size: 17px;
  font-weight: 550;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 18px;
}
.about-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 56px;
  letter-spacing: -0.3px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 52px;
  text-align: left;
}
.about-pillar {
  padding: 32px 28px;
  border-top: 2px solid var(--gold);
  background: var(--off-white);
}
.about-pillar-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}
.about-pillar h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.about-pillar p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .about-pillars { grid-template-columns: 1fr; }
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-photo-area {
  position: relative;
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
  border-radius: var(--radius);
}
.about-photo-placeholder .icon { font-size: 36px; margin-bottom: 12px; }
.about-accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--gold);
  z-index: -1;
  border-radius: var(--radius);
}
.about-text-area h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.about-text-area .hanja {
  font-size: 0.75em;
  color: var(--gold);
  font-weight: 400;
}
.about-divider {
  width: 40px; height: 3px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.about-text-area p {
  font-size: 15px;
  font-weight: 550;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 18px;
}


/* =========================================
   PRACTICE AREAS
   ========================================= */
#practice { background: var(--off-white); }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.practice-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: default;
}
.practice-img-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.practice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,22,8,0.72) 0%, rgba(35,22,8,0.42) 50%, rgba(35,22,8,0.18) 100%);
  z-index: 1;
}
.practice-card:hover .practice-img-inner {
  transform: scale(1.06);
}
.practice-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 32px;
  z-index: 2;
}
.practice-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.practice-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}
.practice-gold-bar {
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}


/* =========================================
   MEMBERS PREVIEW
   ========================================= */
#members-preview { background: var(--off-white); }
.members-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.members-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.members-arrow:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.members-grid {
  display: flex;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  scroll-behavior: smooth;
}
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  display: block;
  color: inherit;
  flex: 0 0 calc(25% - 15px);
  min-width: 0;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow2);
}
.member-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e8e6e0 0%, #d8d5cd 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.member-photo-placeholder .ph-icon {
  font-size: 42px;
  color: var(--text3);
  margin-bottom: 8px;
}
.member-photo-placeholder span {
  font-size: 10px;
  color: var(--text3);
  line-height: 1.6;
  text-align: center;
}
.member-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-info {
  padding: 16px 12px 20px;
}
.member-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.member-role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}
.member-former {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.members-btn-wrap {
  text-align: center;
  margin-top: 48px;
}


/* =========================================
   CASES SLIDER
   ========================================= */
#cases {
  background: var(--white);
  padding: 100px 32px;
}
.slider-outer {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.slider-track {
  overflow: hidden;
  border-radius: var(--radius);
}
.slides-container {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.slide {
  min-width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 52px 60px;
}
.slide-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(184,154,78,0.08);
  border-radius: 2px;
}
.slide h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}
.slide p {
  font-size: 14px;
  color: var(--text2);
  line-height: 2;
}
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--gold);
  transform: scale(1.4);
}
.cases-more {
  text-align: center;
  margin-top: 48px;
}


/* =========================================
   CONTACT
   ========================================= */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}
.contact-row {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-row p {
  font-size: 14px;
  color: var(--text2);
  line-height: 2;
}
.map-area {
  height: 360px;
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  text-align: center;
  font-size: 13px;
  line-height: 2;
}
.map-area .map-icon { font-size: 40px; margin-bottom: 12px; }
.map-area strong { color: var(--text2); font-size: 14px; }
/* 실제 iframe이 들어올 경우 */
.map-area iframe {
  width: 100%; height: 100%;
  border: none;
  border-radius: var(--radius);
}


/* =========================================
   BRANCH
   ========================================= */
#branch { background: var(--off-white); }
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.branch-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.branch-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.branch-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.branch-detail {
  margin-bottom: 12px;
}
.branch-detail-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.branch-detail p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}


/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: var(--navy);
  padding: 48px 32px;
  text-align: center;
  border-top: 1px solid rgba(184,154,78,0.2);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold2); }
.footer-divider {
  width: 40px; height: 1px;
  background: rgba(184,154,78,0.3);
  margin: 0 auto 24px;
}
.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}
.back-to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: color 0.2s;
  cursor: pointer;
}
.back-to-top:hover { color: var(--gold2); }
.back-to-top .arrow { font-size: 20px; }


/* =========================================
   MEMBERS PAGE
   ========================================= */
.page-hero {
  background: var(--white);
  padding: calc(var(--nav-h) + 60px) 32px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-tag { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 15px;
  color: var(--text2);
}
.member-section { padding: 80px 32px; background: var(--white); }
.member-section:nth-child(even) { background: var(--off-white); }
.member-profile {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
.member-profile-photo {
  width: 260px;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e8e6e0 0%, #d0cdc4 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.member-profile-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.member-profile-photo .ph-icon { font-size: 48px; color: var(--text3); margin-bottom: 10px; }
.member-profile-photo .ph-text { font-size: 11px; color: var(--text3); line-height: 1.8; }
.member-profile-info {}
.member-profile-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.member-profile-role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.member-profile-divider {
  width: 36px; height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}
.member-profile-bio {
  font-size: 15px;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 36px;
}
.member-career-section { margin-bottom: 28px; }
.member-career-section h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text3);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.career-list { list-style: none; }
.career-list li {
  font-size: 14px;
  color: var(--text2);
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.7;
}
.career-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 1px;
  background: var(--gold);
}
.specialty-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.specialty-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(13,31,60,0.06);
  color: var(--navy);
  font-size: 12px;
  border-radius: 20px;
  font-weight: 500;
}
/* 구성원 구분선 */
.member-divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}
.members-group-title {
  max-width: 1100px;
  margin: 0 auto;
}
.members-group-title h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 20px;
}
.members-group-title h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}


/* =========================================
   FILTER TABS
   ========================================= */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.filter-count {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}
.filter-btn:not(.active) .filter-count {
  background: var(--light);
  color: var(--text3);
}
.news-card.hidden {
  display: none;
}

/* =========================================
   NEWS PAGE
   ========================================= */
.news-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
/* 카드: 이제 <a> 태그, 사진 포함 */
.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
/* 카드 상단 사진 — 판결문을 잘리지 않게 contain */
.news-card-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #f4f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.03);
}
/* 카드 텍스트 영역 */
.news-card-content {
  padding: 28px 28px 24px;
}
.news-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(184,154,78,0.08);
  border-radius: 3px;
  margin-bottom: 14px;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
/* 내용이 넘치면 ... 처리 */
.news-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-result {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid rgba(184,154,78,0.3);
  border-radius: 20px;
}
.news-card-more {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 0.3px;
}
.news-card:hover .news-card-more { color: var(--gold); }

/* 슬라이더 사건카드 링크 */
.slide-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.slide-cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3px;
}


/* =========================================
   CONSULTATION FORM SECTION
   ========================================= */
.consult-section {
  background: #f2f1ed;
  padding: 96px 32px;
  border-top: 1px solid #e2dfd8;
  border-bottom: 1px solid #e2dfd8;
}
.consult-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.consult-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 18px;
}
.consult-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 40px;
}
.consult-icons {
  display: flex;
  gap: 32px;
}
.consult-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.consult-icon-item:hover { color: var(--gold); }
.consult-icon-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
  margin-top: -4px;
}
.consult-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.consult-icon-item:hover .consult-icon-circle {
  background: var(--gold);
}

/* Form */
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.consult-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.consult-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.consult-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.consult-input,
.consult-textarea {
  background: var(--white);
  border: 1.5px solid #d8d4cc;
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Pretendard', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.consult-input:focus,
.consult-textarea:focus {
  border-color: var(--navy);
}
.consult-input::placeholder,
.consult-textarea::placeholder {
  color: #b0aca2;
}
.consult-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.consult-select option[disabled] { color: #b0aca2; }
.consult-agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.consult-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.consult-agree-label {
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
}
.consult-submit {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.consult-submit:hover {
  background: #1a2a4a;
  transform: translateY(-1px);
}
.consult-success {
  display: none;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}
.consult-detail-btn {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 12px;
  font-family: 'Pretendard', sans-serif;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  white-space: nowrap;
}
.consult-detail-btn:hover { color: var(--navy); }

/* 개인정보 모달 */
.privacy-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.privacy-modal-box {
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
}
.privacy-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--serif);
}
.privacy-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text2);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.privacy-modal-close:hover { color: var(--navy); }
.privacy-modal-divider {
  height: 1px;
  background: #e2dfd8;
  margin: 0 28px;
}
.privacy-modal-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.privacy-modal-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.privacy-section-title {
  font-weight: 700;
  color: var(--navy) !important;
  margin-top: 12px;
}
.privacy-section-title:first-child { margin-top: 0; }
.privacy-notice {
  margin-top: 16px;
  color: #c0392b !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  .consult-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 600px) {
  .consult-section { padding: 64px 20px; }
  .consult-form-row { grid-template-columns: 1fr; }
}


/* =========================================
   YOUTUBE SECTION
   ========================================= */
.yt-section {
  background: var(--off-white);
  padding: 96px 32px;
  border-top: 1px solid #e8e5df;
}
.yt-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.yt-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 24px;
  line-height: 1.35;
}
.yt-desc {
  font-size: 17px;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 36px;
  word-break: keep-all;
}
.yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.yt-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* 유튜브 이미지 */
.yt-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.yt-img-wrap a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yt-img-wrap a:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.yt-main-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}

@media (max-width: 960px) {
  .yt-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .yt-main-img {
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .yt-section { padding: 64px 20px; }
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(even) { border-right: none; }
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
  .practice-card { height: 260px; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }  /* 1024px: 3열 유지 */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-area { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .member-profile { grid-template-columns: 1fr; }
  .member-profile-photo { width: 200px; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile { display: none; }
  .section-wrap, .section-wrap-light, #cases, #contact, #branch, .member-section { padding: 64px 20px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 40px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card { height: 240px; }
  .members-grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    padding-bottom: 8px;
  }
  .members-grid .member-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
  }
  .slide { padding: 36px 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .members-group-title h2::after { display: none; }
}
@media (max-width: 480px) {
  .members-grid {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    padding-bottom: 8px;
  }
  .members-grid .member-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: start;
  }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 28px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
}

/* 상담 직접 연락 안내 */
.consult-direct-note {
  font-size: 16px;
  font-weight: 700;
  color: var(--text2);
  margin-top: 12px;
  line-height: 1.5;
  text-align: left;
}
