/* ===== RESET & ROOT ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --gd: #0A1128;      /* 프리미엄 딥 네이비 */
  --gm: #1C2D5A;      /* 클래식 미드나 Midnight 블루 */
  --gb: #00468C;      /* 신뢰를 주는 프러시안 블루 */
  --gl: #4A90E2;      /* 정제된 스카이 블루 */
  --gp: #F0F4F8;      /* 플래티넘 그레이 백그라운드 */
  --white: #ffffff;
  --td: #111111;      /* 묵직한 다크 그레이 타이포 */
  --tm: #444444; 
  --ts: #777777; 
  --border: #E5E9F0;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  color: var(--td);
  background: var(--white);
  line-height: 1.8;
  letter-spacing: -0.4px;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 90px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.scrolled { background: #FEFEFE; border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; cursor: pointer; height: 100%; min-width: 0; flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: -0.7px;
  color: white; white-space: nowrap; line-height: 1;
  transition: color 0.3s ease;
}
nav.scrolled .nav-logo-text { color: var(--gd); }

.nav-menu { display: flex; height: 100%; }
.nav-item {
  position: relative;
  padding: 0 24px;
  height: 90px;
  display: flex; align-items: center;
  color: rgba(255,255,255,0.85);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
nav.scrolled .nav-item { color: var(--tm); }
.nav-item.active, .nav-item:hover { color: white; }
nav.scrolled .nav-item.active, nav.scrolled .nav-item:hover { color: var(--gb); }
.nav-item::after {
  content: '';
  position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 3px; background: white;
  transform: scaleX(0); transition: transform 0.2s ease;
}
nav.scrolled .nav-item::after { background: var(--gb); }
.nav-item:hover::after, .nav-item.active::after { transform: scaleX(1); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* 드롭다운 */
.dropdown {
  position: absolute; top: 90px; left: 50%; transform: translateX(-50%) translateY(10px);
  background: white; min-width: 200px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 10px 0; opacity: 0; visibility: hidden;
  transition: all 0.25s ease; z-index: 200;
}
.dropdown a {
  display: block; padding: 12px 24px;
  color: var(--tm); font-size: 13.5px; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--gp); color: var(--gb); }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.7); color: white;
  padding: 9px 20px; font-size: 13.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.nav-cta:hover { background: white; color: var(--gd); }
nav.scrolled .nav-cta { border: 1px solid var(--gm); color: var(--gm); }
nav.scrolled .nav-cta:hover { background: var(--gm); color: white; }

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: white; transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
nav.scrolled .nav-toggle span { background: var(--gd); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 75px; left: 0; width: 100%;
  max-height: calc(100vh - 75px);
  overflow-y: auto;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 999;
  flex-direction: column;
  padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-item > .mnav-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; font-size: 15px; font-weight: 500; color: var(--td);
  cursor: pointer;
}
.mobile-nav-item .mnav-arrow { transition: transform 0.2s; font-size: 12px; color: var(--ts); }
.mobile-nav-item.expanded .mnav-arrow { transform: rotate(180deg); }
.mobile-dropdown {
  display: none;
  flex-direction: column;
  background: var(--gp);
}
.mobile-nav-item.expanded .mobile-dropdown { display: flex; }
.mobile-dropdown a {
  padding: 14px 24px 14px 36px; font-size: 14px; color: var(--tm); text-decoration: none;
}
.mobile-cta {
  margin: 12px 24px; text-align: center;
  border: 1px solid var(--gm); color: var(--gm);
  padding: 12px; font-size: 14px; font-weight: 500; cursor: pointer;
}

/* ===== PAGES ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== FADE ANIMATION ===== */
.fade {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade.show { opacity: 1; transform: none; }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; z-index: 0; pointer-events: none;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,11,28,0.88) 0%, rgba(8,14,32,0.68) 48%, rgba(10,17,40,0.32) 100%);
}
.hero-slide-content {
  position: relative; z-index: 1;
  padding: 90px 80px 0; width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-slide-inner { max-width: 720px; }
.hero-slide-num {
  color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 600; letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-slide-num b { color: white; font-size: 15px; }
.hero-slide-eyebrow {
  color: var(--gl); font-size: 11.5px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero-slide-content h1, .hero-slide-content h2 {
  color: white; font-weight: 700; line-height: 1.32; letter-spacing: -1.5px; margin-bottom: 22px;
}
.hero-slide-content h1 { font-size: 46px; }
.hero-slide-content h2 { font-size: 38px; }
.hero-slide-content p {
  color: rgba(255,255,255,0.78); font-size: 16px; font-weight: 300;
  line-height: 1.85; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-slide-btns { display: flex; gap: 14px; align-items: center; justify-content: center; }
.hero-slide-link {
  color: white; font-size: 14.5px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 4px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s;
}
.hero-slide-link:hover { border-color: white; }

.hero-slider-controls {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 28px;
}
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05); color: white; font-size: 17px; cursor: pointer; transition: all 0.2s;
}
.hero-arrows button:hover { background: white; color: var(--gd); border-color: white; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.25s; padding: 0; border: none;
}
.hero-dots .dot.active { background: white; width: 26px; border-radius: 5px; }
.btn-primary {
  background: white; color: var(--gd);
  padding: 15px 32px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary:hover { background: var(--gp); }
.btn-outline {
  background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4);
  padding: 15px 32px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ===== PRACTICE AREAS CAROUSEL ===== */
.areas-section { position: relative; padding: 96px 0; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FD 50%, #FFFFFF 100%); }
.areas-head { position: relative; z-index: 1; padding: 0 80px; margin-bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.areas-head .sec-eye { color: var(--gb); }
.areas-head .sec-title { color: var(--gd); margin-bottom: 0; }
.areas-nav-btns { display: flex; gap: 10px; }
.areas-nav-btns button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: white; color: var(--gd); font-size: 17px; cursor: pointer; transition: all 0.2s;
}
.areas-nav-btns button:hover { background: var(--gd); color: white; border-color: var(--gd); }
.areas-track {
  position: relative; z-index: 1;
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 80px 20px; scrollbar-width: none;
}
.areas-track::-webkit-scrollbar { display: none; }
.area-card {
  scroll-snap-align: start; flex-shrink: 0; width: calc((100% - 160px - 56px) / 3);
  min-width: 360px;
  padding: 40px; display: flex; flex-direction: column;
  background: linear-gradient(150deg, #E9F2FC 0%, #F6FAFE 100%);
  color: var(--gd); border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,17,40,0.08); }
.area-card.light, .area-card.dark { background: linear-gradient(150deg, #E9F2FC 0%, #F6FAFE 100%); color: var(--gd); }
.area-label { font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 16px; opacity: 0.6; color: var(--gb); }
.area-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; line-height: 1.35; }
.area-img { width: 100%; height: 240px; overflow: hidden; margin-bottom: 24px; }
.area-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.area-card:hover .area-img img { transform: scale(1.06); }
.area-card p { font-size: 14.5px; line-height: 1.9; opacity: 0.75; font-weight: 300; }

.pc-list { list-style: none; margin-bottom: 30px; }
.pc-list li { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--tm); }
.pc-list li .pt { flex-shrink: 0; width: 30px; font-size: 11px; font-weight: 700; color: var(--gb); padding-top: 1px; }
.pc-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; padding: 0;
  color: var(--gd); font-size: 14px; font-weight: 600; cursor: pointer;
  border-bottom: 1px solid var(--gd); padding-bottom: 3px; text-decoration: none;
}
.pc-link:hover { color: var(--gb); border-color: var(--gb); }
.pc-map { width: 100%; height: 200px; overflow: hidden; margin-bottom: 24px; cursor: pointer; position: relative; border: 1px solid var(--border); }
.pc-map img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.pc-map:hover img { transform: scale(1.05); }
.pc-map .tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 8px;
  background: linear-gradient(transparent, rgba(10,17,40,0.8));
  color: rgba(255,255,255,0.9); font-size: 10.5px; letter-spacing: 0.3px;
}
.pc-addr { color: var(--ts); font-size: 13px; margin-bottom: 24px; line-height: 1.7; }
.pc-contact-list { list-style: none; margin-bottom: 30px; }
.pc-contact-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--gd); font-weight: 500; }
.pc-contact-list .ic {
  width: 26px; height: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--gb); font-size: 11px; font-weight: 700;
}

.hero-stats { display: none; }

/* ===== HERO PROFILE CARD ===== */
.hero-side {
  display: none;
}

.hero-profile {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  background: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-top: 3px solid var(--gl);
  padding: 36px 30px 30px;
  z-index: 2;
}
.hero-profile-photo {
  width: 112px; height: 112px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
}
.hero-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-profile-badge { text-align: center; color: var(--gl); font-size: 11px; font-weight: 600; letter-spacing: 2px; margin-bottom: 12px; }
.hero-profile-name { text-align: center; color: white; font-size: 19px; font-weight: 700; }
.hero-profile-name span { display: block; font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.55); margin-top: 6px; letter-spacing: 0.2px; line-height: 1.6; }
.hero-profile-list { list-style: none; margin: 22px 0; }
.hero-profile-list li { color: rgba(255,255,255,0.72); font-size: 12.5px; line-height: 2.1; padding-left: 14px; position: relative; }
.hero-profile-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--gl); }
.hero-profile-stats { display: flex; justify-content: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 22px; }
.hero-profile-stat-num { color: white; font-size: 24px; font-weight: 700; text-align: center; line-height: 1; }
.hero-profile-stat-label { color: rgba(255,255,255,0.45); font-size: 10.5px; text-align: center; margin-top: 6px; letter-spacing: 1px; }
.hero-profile-btn {
  display: block; width: 100%; text-align: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white;
  padding: 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.hero-profile-btn:hover { background: white; color: var(--gd); border-color: white; }

/* ===== HERO CONTACT CARD ===== */
.hero-contact {
  width: 340px;
  flex-shrink: 0;
  background: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-top: 3px solid var(--gl);
  padding: 30px 24px 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.hero-contact-badge { text-align: center; color: var(--gl); font-size: 11px; font-weight: 600; letter-spacing: 2px; margin-bottom: 16px; }
.hero-contact-map {
  width: 100%; height: 170px;
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  margin-bottom: 14px;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  position: relative;
}
.hero-contact-map img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hero-contact-map:hover img { transform: scale(1.05); }
.hero-contact-map .cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(10,17,40,0.85));
  color: rgba(255,255,255,0.85); font-size: 10.5px; letter-spacing: 0.3px;
  text-align: center; padding: 14px 6px 8px;
}
.hero-contact-addr { color: rgba(255,255,255,0.5); font-size: 11px; text-align: center; margin-bottom: 16px; line-height: 1.6; }
.hero-contact-list { list-style: none; margin: 0 auto 18px; width: fit-content; max-width: 100%; }
.hero-contact-list li {
  display: flex; align-items: center; gap: 10px; justify-content: flex-start;
  color: rgba(255,255,255,0.78); font-size: 12.5px; line-height: 1.7;
  padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-contact-list li:last-child { border-bottom: none; }
.hero-contact-list .ic {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25); color: var(--gl);
  font-size: 10px; font-weight: 700;
}
.hero-contact-btn {
  display: block; width: 100%; text-align: center; margin-top: auto;
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white;
  padding: 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s;
  text-decoration: none; box-sizing: border-box;
}
.hero-contact-btn:hover { background: white; color: var(--gd); border-color: white; }

@media (max-width: 1720px) {
  .hero-side { display: none; }
}

/* ===== VALUE SECTION ===== */
.value-section { background: var(--gp); padding: 84px 80px; }
.sec-eye {
  font-size: 12px; font-weight: 600; color: var(--gb);
  letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase;
}
.sec-title { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin-bottom: 14px; color: var(--gd); }
.sec-sub { font-size: 15.5px; color: var(--ts); margin-bottom: 44px; font-weight: 300; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  position: relative;
  background: white; padding: 40px 32px 36px; transition: all 0.3s ease;
  border: 1px solid var(--border); overflow: hidden;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,17,40,0.08); }
.value-num {
  position: absolute; top: -6px; right: 14px;
  font-size: 64px; font-weight: 800; color: var(--gp);
  font-family: 'Cinzel', serif; z-index: 0; line-height: 1;
}
.value-icon {
  position: relative; z-index: 1;
  width: 40px; height: 40px; background: var(--gp);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.value-icon svg { width: 20px; height: 20px; stroke: var(--gm); fill: none; stroke-width: 1.5; }
.value-eng {
  position: relative; z-index: 1;
  font-size: 10.5px; font-weight: 700; color: var(--gb); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 6px;
}
.value-card h3 { position: relative; z-index: 1; font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--gd); }
.value-card p { position: relative; z-index: 1; font-size: 14px; color: var(--tm); line-height: 1.75; font-weight: 300; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 25%, rgba(74,144,226,0.10) 0, rgba(74,144,226,0) 34%),
    radial-gradient(circle at 88% 78%, rgba(0,70,140,0.08) 0, rgba(0,70,140,0) 38%),
    linear-gradient(135deg, #FFFFFF 0%, #F7F9FC 48%, #EEF3F8 100%);
  color: var(--gd); padding: 0; border-top: 1px solid var(--border); overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 420px; height: 420px; right: -150px; top: -210px;
  border: 1px solid rgba(74,144,226,0.10); border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(74,144,226,0.025), 0 0 0 84px rgba(74,144,226,0.018);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; width: 260px; height: 260px; left: -130px; bottom: -150px;
  background: radial-gradient(circle, rgba(10,17,40,0.035) 0%, rgba(10,17,40,0) 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center;
  padding: 76px 80px;
}
.cta-text h2 { font-size: 32px; font-weight: 600; letter-spacing: -1px; margin: 14px 0 16px; color: var(--gd); }
.cta-text p { font-size: 15px; color: var(--tm); margin-bottom: 30px; font-weight: 300; line-height: 1.8; }
.cta-section .sec-eye { color: var(--gb); }
.btn-cta {
  background: var(--gd); color: white; padding: 15px 34px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-cta:hover { background: var(--gm); }
.cta-facts { display: flex; flex-direction: column; gap: 22px; border-left: 1px solid var(--border); padding-left: 48px; }
.cta-fact { display: flex; align-items: baseline; gap: 16px; }
.cf-num { font-family: 'Cinzel', serif; font-size: 30px; font-weight: 700; color: var(--gd); width: 64px; }
.cf-label { font-size: 11.5px; color: var(--ts); letter-spacing: 0.5px; line-height: 1.5; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 150px 80px 60px;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551268587-2ce3185fea42?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,11,28,0.9) 0%, rgba(8,14,32,0.78) 45%, rgba(10,17,40,0.55) 100%);
  z-index: 0;
}
.page-hero h1, .page-hero h2, .page-hero p, .breadcrumb { position: relative; z-index: 1; }
.page-hero h1, .page-hero h2 { color: white; font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 14.5px; font-weight: 300; }
.breadcrumb { font-size: 13px; color: var(--gl); margin-bottom: 14px; letter-spacing: 0px; }

/* ===== SECTION ===== */
.sec { padding: 72px 80px; }
.sec.gray { background: var(--gp); }

/* ===== CENTERED CONTENT LAYOUT (2.5 : 5 : 2.5) ===== */
.center-wrap { display: grid; grid-template-columns: 2.5fr 5fr 2.5fr; }
.center-wrap > .center-col { grid-column: 2; min-width: 0; }
@media (max-width: 1300px) {
  .center-wrap { grid-template-columns: 1fr 7fr 1fr; }
}

/* ===== GREETING ===== */
.greeting-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.greeting-avatar { position: sticky; top: 110px; }
.greeting-avatar { width: 100%; }
.avatar-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-top: 3px solid var(--gl);
  box-shadow: 0 24px 50px rgba(10,17,40,0.14);
}
.avatar-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(20%) contrast(1.04);
  transition: filter 0.5s ease;
}
.avatar-frame:hover img { filter: grayscale(0%) contrast(1.02); }
.avatar-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(transparent, rgba(10,17,40,0.92));
}
.avatar-name-en { font-family: 'Cinzel', serif; color: white; font-size: 14px; letter-spacing: 1.5px; }
.avatar-role-en { color: rgba(255,255,255,0.65); font-size: 8.5px; letter-spacing: 1px; margin-top: 5px; text-transform: uppercase; }

.greeting-quote {
  font-family: 'Noto Serif KR', serif;
  font-size: 23px; font-weight: 600; line-height: 1.62;
  color: var(--gd);
  position: relative;
  margin-bottom: 38px;
}
.greeting-body p { font-size: 15px; color: var(--tm); line-height: 1.95; margin-bottom: 16px; font-weight: 300; }
.greeting-sig {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.sig-text-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sig-name { font-family: 'Noto Serif KR', serif; font-size: 19px; font-weight: 700; color: var(--gd); }
.sig-role { font-size: 13px; color: var(--ts); }

.profile-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border);
}
.profile-col-title {
  font-family: 'Noto Serif KR', serif; font-size: 15px; font-weight: 600; color: var(--gd);
  letter-spacing: 0.5px; margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 1px solid var(--gl); display: inline-block;
}
.profile-rows { list-style: none; }
.profile-rows li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 15.5px; align-items: baseline; }
.profile-rows li:last-child { border-bottom: none; }
.pr-tag { flex-shrink: 0; width: 32px; font-size: 12px; font-weight: 700; color: var(--gl); letter-spacing: 0.5px; }
.pr-body { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pr-body strong { color: var(--td); font-weight: 600; }
.pr-body em { font-style: normal; color: var(--ts); font-size: 13.5px; flex-shrink: 0; white-space: nowrap; }
.profile-tags { display: flex; flex-wrap: wrap; row-gap: 10px; font-size: 14.5px; color: var(--tm); font-weight: 400; }
.profile-tags span { position: relative; padding-right: 16px; margin-right: 16px; }
.profile-tags span:last-child { padding-right: 0; margin-right: 0; }
.profile-tags span:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--border);
}

/* ===== LOCATION / DIRECTIONS ===== */
.loc-map {
  position: relative;
  width: 100%; height: 220px;
  background: var(--gp);
  border: 1px solid var(--border);
  margin: 36px 0 40px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: background 0.2s;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
}
.loc-map:hover { background-color: #EFF2F6; }
.loc-map-pin { width: 48px; height: 48px; border-radius: 50%; background: var(--gd); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(10,17,40,0.18); }
.loc-map-pin svg { width: 24px; height: 24px; fill: white; }
.loc-map-label { font-size: 13.5px; font-weight: 600; color: var(--gd); background: white; padding: 8px 16px; border: 1px solid var(--border); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 44px; margin-bottom: 40px; }
.loc-block { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.loc-block h3 { font-family: 'Noto Serif KR', serif; font-size: 14px; font-weight: 600; color: var(--gb); letter-spacing: 0.5px; margin-bottom: 10px; }
.loc-block p { font-size: 14.5px; color: var(--tm); line-height: 1.7; font-weight: 300; }
.loc-btn {
  display: inline-block; text-decoration: none;
  background: var(--gd); color: white;
  padding: 15px 32px; font-size: 14px; font-weight: 600;
  border: none; transition: all 0.2s;
}
.loc-btn:hover { background: var(--gm); }

/* ===== SERVICES ===== */
.center-wrap.ratio-2-6-2 { grid-template-columns: 2fr 6fr 2fr; }
@media (max-width: 1300px) {
  .center-wrap.ratio-2-6-2 { grid-template-columns: 1fr 8fr 1fr; }
}
.services-tab { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 60px; }
.stab {
  padding: 16px 32px; font-size: 15px; font-weight: 400; color: var(--ts);
  cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s;
  flex-shrink: 0; white-space: nowrap;
}
.stab.active { color: var(--gd); border-bottom-color: var(--gd); font-weight: 700; }
.stab-content { display: none; }
.stab-content.active { display: block; }
.service-img { grid-column: 1 / -1; width: 100%; height: 320px; overflow: hidden; margin-bottom: 44px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-img:hover img { transform: scale(1.04); }
.service-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.service-info h2 { font-size: 26px; font-weight: 700; color: var(--gd); margin-bottom: 20px; }
.service-info p { font-size: 15px; color: var(--tm); margin-bottom: 36px; font-weight: 300; }
.service-list { list-style: none; }
.service-list li {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--td); display: flex; align-items: center; gap: 12px;
}
.service-list li::before { content: ''; width: 4px; height: 4px; background: var(--gb); }
.service-list li:last-child { border-bottom: none; }
.service-highlight { background: var(--gp); padding: 40px; }
.service-highlight h3 { font-size: 15px; font-weight: 700; color: var(--gd); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.5px; }
.hl-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.hl-num { color: var(--gb); font-size: 14px; font-weight: 700; margin-top: 2px; }
.hl-item p { font-size: 14px; color: var(--tm); line-height: 1.7; font-weight: 300; }

/* ===== SERVICE EXTRA (SEO 본문 보강) ===== */
.service-extra { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.service-extra h3 { font-size: 21px; font-weight: 700; color: var(--gd); margin-bottom: 22px; }
.service-extra > p { font-size: 15px; color: var(--tm); font-weight: 300; margin-bottom: 20px; max-width: 920px; }
.service-faq { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--gp); padding: 26px 30px; }
.faq-q { font-size: 15px; font-weight: 700; color: var(--gb); margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--tm); font-weight: 300; line-height: 1.75; }
@media (max-width: 768px) {
  .service-extra { margin-top: 44px; padding-top: 32px; }
  .faq-item { padding: 20px 22px; }
}

/* ===== CONSULT ===== */
.consult-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.consult-info h2 { font-size: 26px; font-weight: 700; color: var(--gd); margin-bottom: 20px; }
.consult-info p { font-size: 15px; color: var(--tm); margin-bottom: 40px; font-weight: 300; }
.contact-item { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--gd); fill: none; stroke-width: 1.5; }
.contact-label { font-size: 12px; color: var(--ts); margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--td); }

.form-card { background: var(--gp); padding: 48px 40px; }
.form-card h3 { font-size: 20px; font-weight: 700; color: var(--gd); margin-bottom: 32px; }
.form-row { margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--gd); margin-bottom: 8px; display: block; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px; background: white; border: 1px solid var(--border);
  font-size: 14px; outline: none; font-family: inherit; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gd); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--gd); color: white; padding: 16px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; margin-top: 12px;
}
.form-submit:hover { background: var(--gm); }

/* ===== FOOTER ===== */
footer {
  background: #050914; padding: 60px 80px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
}
.footer-brand .fn { color: white; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.8; font-weight: 300; }
.footer-info { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 2.2; font-weight: 300; }
.footer-info span { color: rgba(255,255,255,0.6); font-weight: 400; }
.footer-copy {
  grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px;
  color: rgba(255,255,255,0.25); font-size: 12px; font-weight: 300;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
  nav { padding: 0 16px; height: 75px; }
  .nav-menu { display: none; }
  .nav-logo-text { font-size: 16px; letter-spacing: -0.8px; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .center-wrap, .center-wrap.ratio-2-6-2 { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; gap: 24px; }
  .loc-map { height: 180px; }
  .center-wrap > .center-col { grid-column: 1; }
  .nav-cta { padding: 7px 12px; font-size: 12px; flex-shrink: 0; }
  .hero-slider { height: 100vh; min-height: 480px; }
  .hero-slide-content { padding: 75px 24px 0; }
  .hero-slide-inner { max-width: 100%; }
  .hero-slide-content h1 { font-size: 27px; letter-spacing: -1px; }
  .hero-slide-content h2 { font-size: 24px; letter-spacing: -1px; }
  .hero-slide-content p { font-size: 14.5px; margin-bottom: 20px; }
  .hero-slide-num { font-size: 11.5px; margin-bottom: 14px; }
  .mobile-br { display: none; }
  .hero-slide-btns { flex-wrap: wrap; }
  .hero-slider-controls { bottom: 20px; padding: 0 24px; }
  .hero-arrows button { width: 38px; height: 38px; font-size: 14px; }
  .btn-primary, .btn-outline { padding: 14px 24px; font-size: 13.5px; }
  .areas-section { padding: 48px 0; }
  .areas-head { padding: 0 24px; margin-bottom: 24px; }
  .areas-nav-btns { display: none; }
  .areas-track { padding: 4px 24px 16px; gap: 16px; }
  .area-card { width: 270px; min-width: 270px; padding: 24px; }
  .area-img { height: 150px; }
  .cta-inner { grid-template-columns: 1fr; padding: 56px 24px; gap: 32px; }
  .cta-facts { flex-direction: row; border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; gap: 20px; flex-wrap: wrap; }
  .cta-text h2 { font-size: 25px; }
  .page-hero { padding: 120px 24px 44px; }
  .sec { padding: 60px 24px; }
  .greeting-wrap { grid-template-columns: 1fr; gap: 40px; }
  .avatar-frame { aspect-ratio: 4 / 3; max-width: 360px; margin: 0 auto; }
  .greeting-quote { font-size: 19px; }
  .profile-detail { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; padding-top: 24px; }
  .services-tab { overflow-x: auto; margin-bottom: 32px; }
  .stab { padding: 12px 18px; font-size: 13.5px; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-img { height: 200px; margin-bottom: 28px; }
  .consult-wrap { grid-template-columns: 1fr; gap: 40px; }
  footer { grid-template-columns: 1fr; padding: 48px 24px; }
  .footer-copy { grid-column: 1; }
}
