/* ============================================
   특허법인 이지 - 원본 스타일 유지 + 반응형
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-orange: #E97A1B;
  --c-orange-dark: #C95F0A;
  --c-text: #222;
  --c-text-mid: #555;
  --c-text-light: #888;
  --c-border: #E5E5E5;
  --c-border-soft: #F0F0F0;
  --c-bg: #FFFFFF;
  --c-bg-soft: #FAFAFA;
  --c-dark: #1A1A1A;
  --c-dark-soft: #2A2A2A;
  --ff-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
  --ff-serif: 'Noto Serif KR', 'Times New Roman', serif;
  --ff-mono: 'Inter', sans-serif;
  --header-h: 90px;
  --container: 1200px;
  --ease: cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER (원본 그대로 + 모바일 햄버거)
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  z-index: 1000;
  transition: all .3s var(--ease);
}
.header.scrolled {
  height: 70px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.header.scrolled .logo img { height: 36px; }

.nav-main { display: flex; gap: 8px; }
.nav-main > li > a {
  display: block;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 16px;
  color: var(--c-text);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-main > li > a:hover,
.nav-main > li.active > a {
  color: var(--c-orange);
}
.nav-main > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-main > li > a:hover::after,
.nav-main > li.active > a::after { transform: scaleX(1); }

/* Dropdown */
.nav-main > li { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: white;
  border: 1px solid var(--c-border-soft);
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s var(--ease);
}
.nav-main > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--c-text-mid);
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--c-bg-soft);
  color: var(--c-orange);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
}
.lang-switch a {
  padding: 6px 10px;
  color: var(--c-text-light);
  letter-spacing: .03em;
  transition: color .2s var(--ease);
}
.lang-switch a.active { color: var(--c-text); font-weight: 600; }
.lang-switch a:hover { color: var(--c-orange); }
.lang-switch span { color: #DDD; font-size: 10px; }

.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
.mobile-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--c-text);
  transition: all .25s var(--ease);
}
.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 21px; }
.mobile-toggle span:nth-child(3) { top: 28px; }
.mobile-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-main, .lang-switch { display: none; }
  .mobile-toggle { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: white;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > ul > li { border-bottom: 1px solid var(--c-border-soft); }
.mobile-menu > ul > li > a {
  display: block;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
}
.mobile-menu .sub-list {
  padding: 0 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu .sub-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--c-text-mid);
  background: var(--c-bg-soft);
  border-radius: 6px;
}
.mobile-menu-lang {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.mobile-menu-lang a {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-mid);
}
.mobile-menu-lang a.active {
  background: var(--c-dark);
  color: white;
  border-color: var(--c-dark);
}

/* ============================================
   HERO (4 slides like original)
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: white;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-text {
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-text .slogan {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
  margin-bottom: 16px;
}
.hero-text .slogan::before,
.hero-text .slogan::after {
  display: inline-block;
  color: var(--c-orange);
}
.hero-text .slogan::before { content: '"'; margin-right: 4px; }
.hero-text .slogan::after { content: '"'; margin-left: 4px; }
.hero-text .sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.hero-text .badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Slide indicators */
.hero-pagination {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-pagination button {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.hero-pagination button.active {
  background: white;
  width: 60px;
}

/* Slide controls */
.hero-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 3;
  pointer-events: none;
}
.hero-arrow {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .25s var(--ease);
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-arrow:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}
.hero-arrow svg { width: 24px; height: 24px; }
@media (max-width: 768px) {
  .hero-arrows { display: none; }
  .hero-pagination { bottom: 32px; }
}

/* Hero scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* ============================================
   SUBPAGE BANNER (어두운 책상 이미지)
   ============================================ */
.sub-banner {
  position: relative;
  height: 320px;
  margin-top: var(--header-h);
  background-image: url('../images/bg/subban_office.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}
.sub-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.6) 100%);
}
.sub-banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sub-banner h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: .25em;
  margin-bottom: 12px;
}
.sub-banner .breadcrumb {
  font-size: 12px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .sub-banner { height: 220px; }
}

/* Sub-tabs */
.sub-tabs {
  border-bottom: 1px solid var(--c-border);
  background: white;
}
.sub-tabs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-tabs-inner::-webkit-scrollbar { display: none; }
.sub-tabs a {
  display: block;
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-mid);
  letter-spacing: .02em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .2s var(--ease);
}
.sub-tabs a:hover { color: var(--c-text); }
.sub-tabs a.active {
  color: var(--c-text);
  border-bottom-color: var(--c-orange);
  font-weight: 600;
}
@media (max-width: 768px) {
  .sub-tabs a { padding: 18px 20px; font-size: 14px; }
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-section {
  padding: 80px 0;
}
.page-section.tight { padding: 48px 0; }
@media (max-width: 768px) { .page-section { padding: 56px 0; } }

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -.02em;
  color: var(--c-text);
  margin-bottom: 16px;
}
.section-title .sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-orange);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text-mid);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

/* Greeting page (인사말) */
.greeting {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.0;
  color: var(--c-text-mid);
}
.greeting p { margin-bottom: 24px; }
.greeting strong { color: var(--c-text); font-weight: 600; }
.greeting em { color: var(--c-orange); font-style: normal; font-weight: 500; }
.greeting .signature {
  margin-top: 48px;
  text-align: right;
  font-family: var(--ff-serif);
  color: var(--c-text);
}
.greeting .signature .firm { font-size: 18px; }
.greeting .signature .name { font-size: 22px; font-weight: 600; margin-top: 4px; }

/* ============================================
   HOME - 4 INTRO BLOCKS (원본의 단순함 유지)
   ============================================ */
.home-intro {
  padding: 100px 0;
  background: var(--c-bg-soft);
}
.home-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 1024px) { .home-intro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .home-intro-grid { grid-template-columns: 1fr; } }

.intro-card {
  background: white;
  padding: 40px 28px;
  border-radius: 4px;
  text-align: center;
  transition: all .3s var(--ease);
  border: 1px solid var(--c-border-soft);
  position: relative;
  overflow: hidden;
}
.intro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.intro-card:hover::before { transform: scaleX(1); }

.intro-card .ic {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--c-orange);
}
.intro-card .ic svg { width: 40px; height: 40px; stroke-width: 1.5; }
.intro-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-text);
  letter-spacing: -.01em;
}
.intro-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-mid);
  margin-bottom: 20px;
}
.intro-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-light);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.intro-card:hover .more { color: var(--c-orange); }
.intro-card .more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.intro-card:hover .more svg { transform: translateX(4px); }

/* ============================================
   HOME - PHILOSOPHY (理智)
   ============================================ */
.home-philosophy {
  padding: 120px 0;
  background: var(--c-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.home-philosophy::before {
  content: '理智';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(280px, 40vw, 520px);
  color: rgba(255,255,255,.025);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.05em;
}
.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.philosophy-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--c-orange);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.philosophy-quote {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,.95);
  margin-bottom: 32px;
}
.philosophy-quote em {
  color: var(--c-orange);
  font-style: italic;
  font-weight: 500;
}
.philosophy-signature {
  font-size: 13px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* ============================================
   FOOTER (원본 그대로)
   ============================================ */
.footer {
  background: white;
  padding: 60px 0 40px;
  border-top: 1px solid var(--c-border-soft);
  text-align: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 64px;
}
.footer-logo img {
  height: 80px;
  width: auto;
  /* 원본 이미지가 너무 흐려서 어둡게 보정 + 따뜻한 톤 추가 */
  filter: brightness(.35) saturate(.4) contrast(1.4) sepia(.2);
  transition: filter .25s var(--ease);
}
.footer-logo:hover img {
  filter: brightness(.25) saturate(1) contrast(1.4) sepia(.3) hue-rotate(-10deg);
}
.footer-info {
  font-size: 13px;
  line-height: 2;
  color: var(--c-text-mid);
}
.footer-info p { margin-bottom: 4px; }
.footer-info .sep { color: var(--c-border); margin: 0 8px; }
.footer-info a { color: var(--c-text-mid); }
.footer-info a:hover { color: var(--c-orange); }
.footer-copy {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border-soft);
  font-size: 11px;
  color: var(--c-text-light);
  letter-spacing: .05em;
}

/* ============================================
   FLOATING CONTACT (모바일 강화)
   ============================================ */
.float-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
  position: relative;
}
.float-btn:hover {
  transform: scale(1.08);
  background: var(--c-orange);
  color: white;
}
.float-btn.primary {
  background: var(--c-orange);
  color: white;
}
.float-btn.primary:hover { background: var(--c-orange-dark); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-dark);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.float-btn:hover::after { opacity: 1; }
@media (max-width: 600px) {
  .float-contact { right: 16px; bottom: 16px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 20px; height: 20px; }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MODERN STEP FLOW (서비스 페이지용)
   체브론 이미지 대체 - CSS 기반 깔끔한 스텝 디자인
   ============================================ */
.step-flow {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

/* 세로 연결선 (스텝 사이 배경) */
.step-flow::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 32px; bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-orange) 0%, var(--c-border) 100%);
  opacity: .3;
}
@media (max-width: 768px) { .step-flow::before { left: 28px; } }

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 16px 0 32px;
  position: relative;
}
.step-item:last-child { padding-bottom: 0; }
@media (max-width: 768px) { .step-item { grid-template-columns: 60px 1fr; gap: 16px; } }

.step-num {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-mono);
  font-size: 26px;
  font-weight: 700;
  color: white;
  letter-spacing: -.02em;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(233, 122, 27, .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-item:hover .step-num {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(233, 122, 27, .35);
}
@media (max-width: 768px) {
  .step-num { width: 58px; height: 58px; font-size: 20px; }
}
.step-num small {
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--c-text-light);
  font-weight: 600;
  font-family: var(--ff-mono);
  white-space: nowrap;
}

/* 컬러 변형: orange (출원등록), green (조사분석), navy (기술이전), purple (사업화) */
.step-flow.theme-orange .step-num { background: linear-gradient(135deg, #FFB23F 0%, #E97A1B 100%); box-shadow: 0 8px 20px rgba(233, 122, 27, .25); }
.step-flow.theme-green .step-num { background: linear-gradient(135deg, #6B8E5C 0%, #3F5A3D 100%); box-shadow: 0 8px 20px rgba(107, 142, 92, .25); }
.step-flow.theme-navy .step-num { background: linear-gradient(135deg, #4B5563 0%, #1F2937 100%); box-shadow: 0 8px 20px rgba(31, 41, 55, .25); }
.step-flow.theme-purple .step-num { background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%); box-shadow: 0 8px 20px rgba(91, 33, 182, .25); }

.step-flow.theme-orange::before { background: linear-gradient(180deg, #E97A1B 0%, transparent 100%); opacity: .4; }
.step-flow.theme-green::before { background: linear-gradient(180deg, #6B8E5C 0%, transparent 100%); opacity: .4; }
.step-flow.theme-navy::before { background: linear-gradient(180deg, #4B5563 0%, transparent 100%); opacity: .4; }
.step-flow.theme-purple::before { background: linear-gradient(180deg, #8B5CF6 0%, transparent 100%); opacity: .4; }

.step-body {
  background: white;
  border: 1px solid var(--c-border-soft);
  border-radius: 8px;
  padding: 24px 28px;
  transition: all .3s var(--ease);
  position: relative;
}
.step-item:hover .step-body {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step-flow.theme-orange .step-item:hover .step-body { border-color: var(--c-orange); }
.step-flow.theme-green .step-item:hover .step-body { border-color: #6B8E5C; }
.step-flow.theme-navy .step-item:hover .step-body { border-color: #4B5563; }
.step-flow.theme-purple .step-item:hover .step-body { border-color: #8B5CF6; }

.step-body::before {
  content: '';
  position: absolute;
  top: 28px; left: -10px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent var(--c-border-soft) transparent transparent;
}
.step-body::after {
  content: '';
  position: absolute;
  top: 29px; left: -8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 9px 7px 0;
  border-color: transparent white transparent transparent;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.step-title .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
  font-family: var(--ff-mono);
}
.step-flow.theme-orange .step-title .badge { background: rgba(233, 122, 27, .12); color: var(--c-orange-dark); }
.step-flow.theme-green .step-title .badge { background: rgba(107, 142, 92, .12); color: #3F5A3D; }
.step-flow.theme-navy .step-title .badge { background: rgba(75, 85, 99, .12); color: #1F2937; }
.step-flow.theme-purple .step-title .badge { background: rgba(139, 92, 246, .12); color: #5B21B6; }

.step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-mid);
  margin-bottom: 14px;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-border);
}
.step-list span {
  font-size: 12px;
  padding: 5px 12px;
  background: var(--c-bg-soft);
  color: var(--c-text-mid);
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: .02em;
}
.step-flow.theme-orange .step-list span { background: rgba(233, 122, 27, .06); color: var(--c-orange-dark); }
.step-flow.theme-green .step-list span { background: rgba(107, 142, 92, .08); color: #3F5A3D; }
.step-flow.theme-navy .step-list span { background: rgba(75, 85, 99, .08); color: #1F2937; }
.step-flow.theme-purple .step-list span { background: rgba(139, 92, 246, .08); color: #5B21B6; }

/* 섹션 타이틀 (조사·분석 등에서 사용) */
.flow-section-title {
  text-align: center;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin: 56px auto 32px;
  position: relative;
  padding-bottom: 16px;
  max-width: 980px;
}
.flow-section-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: var(--c-orange);
}
.step-flow.theme-green ~ .flow-section-title::after,
.flow-section-title.theme-green::after { background: #6B8E5C; }
.step-flow.theme-navy ~ .flow-section-title::after,
.flow-section-title.theme-navy::after { background: #4B5563; }
.step-flow.theme-purple ~ .flow-section-title::after,
.flow-section-title.theme-purple::after { background: #8B5CF6; }

/* ============================================================
   WordPress 추가 컴포넌트 — 정적 v3 에는 없던 영역만 보강
   ============================================================ */

/* 사이트 헤더 (워드프레스 wp_nav_menu 컨테이너) */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border-soft, #E5E7EB); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 32px; }
.site-logo img { height: 48px; width: auto; }
.site-nav { flex: 1; }
.primary-menu { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.primary-menu > li > a { font-size: 15px; font-weight: 600; color: var(--c-text, #0F1E3D); text-decoration: none; padding: 8px 0; position: relative; transition: color .2s; }
.primary-menu > li > a:hover { color: var(--c-orange, #FF6B00); }
.primary-menu > li.current-menu-item > a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--c-orange, #FF6B00); }
.primary-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: white; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 6px; padding: 8px 0; box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.08)); }
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu li { list-style: none; }
.primary-menu .sub-menu a { display: block; padding: 10px 16px; color: var(--c-text-mid, #4A5568); text-decoration: none; font-size: 14px; transition: all .2s; }
.primary-menu .sub-menu a:hover { background: var(--c-bg-soft, #F8F5EE); color: var(--c-orange, #FF6B00); }

.site-utils { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.lang-switcher a { display: inline-block; padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--c-text-light, #6b7280); text-decoration: none; border-radius: 4px; transition: all .2s; }
.lang-switcher a:hover { color: var(--c-orange, #FF6B00); }
.lang-switcher .current a { background: var(--c-orange, #FF6B00); color: white; }
.contact-btn { padding: 10px 22px; background: var(--c-orange, #FF6B00); color: white; border-radius: 100px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; }
.contact-btn:hover { background: var(--c-orange-dark, #E55D00); transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--c-text, #0F1E3D); }
@media (max-width: 900px) {
  .site-nav, .site-utils { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding: 12px 18px; }
}

/* 푸터 */
.site-footer { background: var(--c-dark, #0F1E3D); color: rgba(255,255,255,.8); padding: 60px 24px 32px; margin-top: 80px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.footer-inner .footer-logo { height: 40px; width: auto; margin-bottom: 16px; opacity: .9; }
.footer-addr { font-size: 13px; color: rgba(255,255,255,.6); margin: 0; }
.footer-menu { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; }
.footer-menu a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-menu a:hover { color: var(--c-orange, #FF6B00); }
.footer-rights { grid-column: 1 / -1; padding-top: 28px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); text-align: center; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } .footer-menu { justify-content: flex-start; } }

/* 페이지 히어로 (정적 사이트와 동일하지만 워드프레스 page.php 에서 사용) */
.page-hero { background-size: cover; background-position: center; min-height: 320px; display: grid; place-items: center; color: white; padding: 40px 24px; position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(15,30,61,.55); }
.page-hero.plain { background: var(--c-bg-soft, #F8F5EE); color: var(--c-text, #0F1E3D); min-height: 220px; }
.page-hero.plain::before { display: none; }
.page-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.page-sub { margin-top: 14px; opacity: .9; font-size: 16px; }
.page-body { padding: 80px 24px; }

/* 홈 히어로 / 서비스 그리드 */
.home-hero { background-size: cover; background-position: center; min-height: 560px; display: grid; place-items: center; color: white; padding: 80px 24px; position: relative; }
.home-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,61,.6) 0%, rgba(15,30,61,.7) 100%); }
.home-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-eyebrow { font-family: var(--ff-mono, monospace); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; opacity: .85; margin: 0 0 24px; }
.hero-title { font-size: clamp(40px, 7vw, 80px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.hero-sub { margin-top: 28px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; opacity: .9; max-width: 640px; }
.hero-cta { display: inline-block; margin-top: 40px; padding: 16px 36px; background: var(--c-orange, #FF6B00); color: white; border-radius: 100px; font-weight: 600; text-decoration: none; transition: all .25s; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,107,0,.35); }

.home-services { padding: 100px 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; color: var(--c-text, #0F1E3D); }
.section-header p { color: var(--c-text-light, #6b7280); font-size: 15px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { display: block; padding: 32px 28px; background: white; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 8px; text-decoration: none; color: inherit; transition: all .3s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--c-orange, #FF6B00); box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,.08)); }
.service-card .num { display: block; font-family: var(--ff-mono, monospace); font-size: 12px; color: var(--c-orange, #FF6B00); letter-spacing: .1em; margin-bottom: 16px; font-weight: 600; }
.service-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 12px; color: var(--c-text, #0F1E3D); }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--c-text-mid, #4A5568); margin: 0; }

/* 홈 변리사 미리보기 */
.home-attorneys { padding: 100px 24px; background: var(--c-bg-soft, #F8F5EE); }
.attorney-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .attorney-grid { grid-template-columns: repeat(2, 1fr); } }
.attorney-card { display: block; background: white; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: all .3s; }
.attorney-card:hover { transform: translateY(-6px); border-color: var(--c-orange, #FF6B00); box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,.08)); }
.attorney-card .attorney-photo { aspect-ratio: 3/4; background: white; display: grid; place-items: end center; overflow: hidden; }
.attorney-card .attorney-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: contrast(1.04) brightness(1.02) saturate(0.94); }
.attorney-card .attorney-info { padding: 20px; text-align: center; }
.attorney-card .role-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; background: var(--c-orange, #FF6B00); color: white; border-radius: 100px; letter-spacing: .08em; margin-bottom: 10px; }
.attorney-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.attorney-card .name-en { font-family: var(--ff-mono, monospace); font-size: 11px; color: var(--c-text-light, #6b7280); margin: 0; }
.link-more { font-size: 14px; font-weight: 600; color: var(--c-orange, #FF6B00); text-decoration: none; }

/* 변리사 단일 페이지 detail-grid */
.attorney-detail { padding: 80px 24px; }
.detail-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; gap: 32px; } }
.detail-left .modal-photo { aspect-ratio: 3/4; background: white; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.detail-left .modal-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: contrast(1.04) brightness(1.02) saturate(0.94); }
.modal-contact-block { padding: 18px; background: var(--c-bg-soft, #F8F5EE); border-radius: 6px; font-size: 13px; line-height: 1.9; }
.modal-contact-block strong { display: inline-block; min-width: 60px; color: var(--c-text, #0F1E3D); font-weight: 600; }
.modal-contact-block a { color: var(--c-orange, #FF6B00); }
.detail-right .role-tag { display: inline-block; padding: 5px 16px; background: var(--c-orange, #FF6B00); color: white; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 14px; }
.detail-right h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.detail-right h1 small { font-family: var(--ff-mono, monospace); font-weight: 500; font-size: 15px; color: var(--c-text-light, #6b7280); margin-left: 10px; }
.detail-right h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-orange, #FF6B00); margin: 32px 0 12px; font-weight: 700; }
.detail-right ul { padding-left: 18px; margin: 0; }
.detail-right ul li { font-size: 15px; line-height: 1.8; color: var(--c-text-mid, #4A5568); margin-bottom: 6px; }

.link-back { display: inline-block; padding: 12px 24px; border: 1px solid var(--c-border, #D1D5DB); border-radius: 100px; color: var(--c-text-mid, #4A5568); text-decoration: none; font-size: 14px; font-weight: 500; transition: all .2s; }
.link-back:hover { border-color: var(--c-orange, #FF6B00); color: var(--c-orange, #FF6B00); }

/* 문의 폼 */
.contact-form { background: white; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 8px; padding: 40px; margin-top: 32px; }
.contact-form .form-row { margin-bottom: 22px; }
.contact-form .form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--c-text, #0F1E3D); margin-bottom: 8px; letter-spacing: .02em; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--c-border, #D1D5DB); border-radius: 6px; font-family: inherit; font-size: 15px; color: var(--c-text, #0F1E3D); transition: border-color .2s; box-sizing: border-box; background: white; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-orange, #FF6B00); box-shadow: 0 0 0 3px rgba(255,107,0,.1); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.btn-submit { padding: 14px 36px; background: var(--c-orange, #FF6B00); color: white; border: none; border-radius: 100px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .25s; }
.btn-submit:hover { transform: translateY(-1px); background: var(--c-orange-dark, #E55D00); box-shadow: 0 8px 20px rgba(255,107,0,.3); }
.form-flash { padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; font-size: 14px; font-weight: 500; }
.form-flash.success { background: #ECFDF5; color: #065F46; border-left: 4px solid #10B981; }
.form-flash.error { background: #FEF2F2; color: #991B1B; border-left: 4px solid #EF4444; }
@media (max-width: 600px) { .contact-form { padding: 24px; } .contact-form .form-row.two-col { grid-template-columns: 1fr; } }

/* ============================================
   MEMBERS — 변리사 카드 그리드 (v3 Amember 이식)
   ============================================ */
.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 1024px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .member-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 420px) { .member-grid { grid-template-columns: 1fr; max-width: 320px; } }
.member-card { background: #fff; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 6px; overflow: hidden; cursor: pointer; transition: all .35s var(--ease, cubic-bezier(.22,1,.36,1)); position: relative; }
.member-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,.12)); border-color: var(--c-orange, #FF6B00); }
.member-card .photo { aspect-ratio: 3/4; background: #FFFFFF; display: grid; place-items: end center; overflow: hidden; position: relative; }
.member-card .photo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, #F8F5EE 0%, rgba(248,245,238,0) 100%); pointer-events: none; z-index: 1; }
.member-card .photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 25%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15,30,61,.04) 100%); pointer-events: none; z-index: 1; }
.member-card .photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform .4s var(--ease, cubic-bezier(.22,1,.36,1)), filter .3s; filter: contrast(1.04) brightness(1.02) saturate(.94); position: relative; z-index: 0; }
.member-card:hover .photo img { transform: scale(1.04); filter: contrast(1.06) brightness(1.04) saturate(1); }
.member-card .photo .view-detail { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(20px); padding: 8px 20px; background: var(--c-orange, #FF6B00); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .05em; border-radius: 100px; opacity: 0; transition: all .25s var(--ease, cubic-bezier(.22,1,.36,1)); white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.member-card:hover .photo .view-detail { opacity: 1; transform: translateX(-50%) translateY(0); }
.member-card .info { padding: 20px; text-align: center; }
.member-card .role-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; margin-bottom: 10px; background: var(--c-orange, #FF6B00); color: #fff; }
.member-card .name-kr { font-size: 18px; font-weight: 700; color: var(--c-text, #0F1E3D); letter-spacing: -.01em; margin-bottom: 2px; }
.member-card .name-en { font-family: var(--ff-mono, monospace); font-size: 11px; font-weight: 500; color: var(--c-text-light, #94A3B8); letter-spacing: .05em; margin-bottom: 10px; }
.member-card .team-line { font-size: 11px; color: var(--c-orange, #FF6B00); font-weight: 600; letter-spacing: .03em; padding-top: 10px; border-top: 1px solid var(--c-border-soft, #E5E7EB); }

/* MODAL (상세 정보) */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,30,61,.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.modal-overlay.open { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.modal-box { background: #fff; border-radius: 8px; max-width: 980px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(.96) translateY(20px); transition: transform .35s var(--ease, cubic-bezier(.22,1,.36,1)); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: #fff; border: 1px solid var(--c-border, #D1D5DB); border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 10; font-size: 22px; line-height: 1; color: var(--c-text, #0F1E3D); transition: all .2s; }
.modal-close:hover { background: var(--c-dark, #0F1E3D); color: #fff; border-color: var(--c-dark, #0F1E3D); transform: rotate(90deg); }
.modal-content { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 48px; }
@media (max-width: 768px) { .modal-content { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } }
.modal-left { text-align: center; }
.modal-photo { aspect-ratio: 3/4; background: #FFFFFF; border: 1px solid var(--c-border-soft, #E5E7EB); border-radius: 6px; overflow: hidden; display: grid; place-items: end center; margin-bottom: 20px; position: relative; }
.modal-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: contrast(1.04) brightness(1.02) saturate(.94); }
@media (max-width: 768px) { .modal-photo { max-width: 240px; margin: 0 auto 20px; } }
.modal-contact-block { padding: 16px; background: var(--c-bg-soft, #F8F5EE); border-radius: 6px; text-align: left; font-size: 13px; line-height: 1.8; color: var(--c-text-mid, #4A5568); }
.modal-contact-block strong { color: var(--c-text, #0F1E3D); font-weight: 600; display: inline-block; min-width: 48px; }
.modal-contact-block a { color: var(--c-orange, #FF6B00); }
.modal-contact-block a:hover { text-decoration: underline; }
.modal-right { padding-right: 8px; }
.modal-right .role-tag { display: inline-block; padding: 5px 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; border-radius: 100px; margin-bottom: 12px; background: var(--c-orange, #FF6B00); color: #fff; }
.modal-right h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.025em; color: var(--c-text, #0F1E3D); margin-bottom: 4px; }
.modal-right h2 small { display: inline-block; font-family: var(--ff-mono, monospace); font-weight: 500; font-size: 16px; color: var(--c-text-light, #94A3B8); margin-left: 10px; letter-spacing: .03em; }
.modal-right .team-line { font-size: 14px; color: var(--c-orange, #FF6B00); font-weight: 600; margin-bottom: 28px; }
.modal-bio { font-size: 14px; line-height: 1.8; color: var(--c-text-mid, #4A5568); margin-bottom: 24px; }
.modal-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
@media (max-width: 600px) { .modal-info-grid { grid-template-columns: 1fr; } }
.modal-info-block.full { grid-column: 1 / -1; }
.modal-info-block h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--c-orange, #FF6B00); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border, #D1D5DB); text-transform: uppercase; }
.modal-info-block ul { list-style: none; padding: 0; margin: 0; }
.modal-info-block ul li { font-size: 14px; line-height: 1.7; color: var(--c-text-mid, #4A5568); padding-left: 12px; position: relative; margin-bottom: 4px; }
.modal-info-block ul li::before { content: '·'; position: absolute; left: 0; color: var(--c-orange, #FF6B00); font-weight: bold; }
.modal-info-block p { font-size: 14px; line-height: 1.7; color: var(--c-text-mid, #4A5568); }

/* ============================================
   SERVICE 페이지 컴포넌트 (v3 이식)
   ============================================ */
/* Chevron flow (출원등록·기술이전) — 배경 이미지는 ../images/icons 기준 */
.tech-block { max-width: 980px; margin: 0 auto 64px; }
.tech-block:last-child { margin-bottom: 0; }
.tech-title { text-align: center; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--c-text, #0F1E3D); letter-spacing: -.02em; margin-bottom: 40px; position: relative; padding-bottom: 16px; }
.tech-title::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 48px; height: 2px; background: var(--c-orange, #FF6B00); }
.chevron-flow { max-width: 980px; margin: 0 auto; position: relative; }
.chevron-row { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 32px; align-items: center; margin-bottom: 24px; }
@media (max-width: 768px) { .chevron-row { grid-template-columns: 1fr; gap: 12px; text-align: center; } }
.chevron-shape { aspect-ratio: 320/170; background-size: 100% 100%; background-repeat: no-repeat; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .08em; text-shadow: 0 2px 4px rgba(0,0,0,.2); text-align: center; line-height: 1.3; }
.chevron-text-l, .chevron-text-r { font-size: 14px; line-height: 1.75; color: var(--c-text-mid, #4A5568); }
.chevron-text-l { text-align: right; }
.chevron-text-l ul, .chevron-text-r ul { list-style: none; padding: 0; margin: 0; }
.chevron-text-l ul li, .chevron-text-r ul li { margin-bottom: 4px; }
.chevron-row.left .chevron-text-r { visibility: hidden; }
.chevron-row.right .chevron-text-l { visibility: hidden; }
@media (max-width: 768px) { .chevron-row.left .chevron-text-r, .chevron-row.right .chevron-text-l { display: none; } .chevron-text-l, .chevron-text-r { text-align: center; } }
/* 출원등록 브라운 / 기술이전 그레이블루(gb) / 기술사업화 퍼플(pp) */
.cv-brown1 { background-image: url('../images/icons/brownDOWN1.png'); }
.cv-brown2 { background-image: url('../images/icons/brownDOWN2.png'); }
.cv-brown3 { background-image: url('../images/icons/brownDOWN3.png'); }
.cv-brown4 { background-image: url('../images/icons/brownDOWN4.png'); }
.gb1 { background-image: url('../images/icons/DOWN1.png'); }
.gb2 { background-image: url('../images/icons/DOWN2.png'); }
.gb3 { background-image: url('../images/icons/DOWN3.png'); }
.gb4 { background-image: url('../images/icons/DOWN4.png'); }
.gb5 { background-image: url('../images/icons/DOWN5.png'); }
.gb6 { background-image: url('../images/icons/DOWN6.png'); }
.pp1 { background-image: url('../images/icons/purpleDOWN1.png'); }
.pp2 { background-image: url('../images/icons/purpleDOWN2.png'); }
.pp3 { background-image: url('../images/icons/purpleDOWN3.png'); }
.pp4 { background-image: url('../images/icons/purpleDOWN4.png'); }
.pp5 { background-image: url('../images/icons/purpleDOWN5.png'); }
.pp6 { background-image: url('../images/icons/purpleDOWN6.png'); }

/* 출원등록 부가서비스 카드 */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 56px auto 0; }
@media (max-width: 768px) { .feature-cards { grid-template-columns: 1fr; } }
.feature-card { background: #fff; border: 1px solid var(--c-border, #D1D5DB); border-radius: 4px; padding: 36px 28px; text-align: center; transition: all .3s var(--ease, cubic-bezier(.22,1,.36,1)); }
.feature-card:hover { transform: translateY(-6px); border-color: var(--c-orange, #FF6B00); box-shadow: var(--shadow-md, 0 10px 24px rgba(0,0,0,.08)); }
.feature-card .ic { width: 60px; height: 60px; margin: 0 auto 16px; background: var(--c-bg-soft, #F8F5EE); border-radius: 50%; display: grid; place-items: center; color: var(--c-orange, #FF6B00); }
.feature-card .ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.feature-card h4 { font-size: 17px; font-weight: 700; color: var(--c-text, #0F1E3D); margin-bottom: 8px; }
.feature-card p { font-size: 13px; line-height: 1.65; color: var(--c-text-mid, #4A5568); }

/* 정부지원 — 다이어그램·서비스 카드·기관 */
.support-diagram { max-width: 800px; margin: 0 auto; padding: 32px; background: #fff; border-radius: 4px; text-align: center; }
.support-diagram img { width: 100%; max-width: 720px; margin: 0 auto; }
.support-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 64px auto 0; }
@media (max-width: 768px) { .support-services { grid-template-columns: 1fr; } }
.support-card { background: #fff; border: 1px solid var(--c-border, #D1D5DB); border-radius: 4px; padding: 36px 32px; transition: all .3s var(--ease, cubic-bezier(.22,1,.36,1)); }
.support-card:hover { transform: translateY(-4px); border-color: var(--c-orange, #FF6B00); box-shadow: var(--shadow-md, 0 10px 24px rgba(0,0,0,.08)); }
.support-card .ic { width: 56px; height: 56px; background: var(--c-bg-soft, #F8F5EE); border-radius: 50%; display: grid; place-items: center; color: var(--c-orange, #FF6B00); margin-bottom: 20px; }
.support-card .ic svg { width: 28px; height: 28px; stroke-width: 1.5; }
.support-card h3 { font-size: 19px; font-weight: 700; color: var(--c-text, #0F1E3D); margin-bottom: 10px; letter-spacing: -.01em; }
.support-card p { font-size: 14px; line-height: 1.7; color: var(--c-text-mid, #4A5568); }
.agencies { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1000px; margin: 64px auto 0; }
@media (max-width: 768px) { .agencies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .agencies { grid-template-columns: 1fr; } }
.agency { background: #fff; border: 1px solid var(--c-border, #D1D5DB); border-radius: 4px; padding: 20px 16px; text-align: center; transition: all .25s var(--ease, cubic-bezier(.22,1,.36,1)); }
.agency:hover { border-color: var(--c-orange, #FF6B00); }
.agency strong { display: block; font-size: 12px; font-family: var(--ff-mono, monospace); letter-spacing: .1em; color: var(--c-orange, #FF6B00); margin-bottom: 6px; }
.agency span { display: block; font-size: 13px; color: var(--c-text, #0F1E3D); font-weight: 500; line-height: 1.4; }

/* 기술이전 — 네트워크 강조 */
.network-note { max-width: 880px; margin: 48px auto 0; padding: 32px; background: var(--c-dark, #0F1E3D); color: #fff; border-radius: 4px; text-align: center; }
.network-note .ic { width: 56px; height: 56px; margin: 0 auto 16px; background: rgba(255,255,255,.1); border-radius: 50%; display: grid; place-items: center; color: var(--c-orange, #FF6B00); }
.network-note .ic svg { width: 28px; height: 28px; stroke-width: 1.5; }
.network-note p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.85); }
.network-note p strong { color: var(--c-orange, #FF6B00); font-weight: 600; }

/* 분쟁해결 — 승소율 배너 + 원형 카드 */
.win-rate-banner { max-width: 880px; margin: 0 auto 64px; padding: 32px; background: linear-gradient(135deg, var(--c-orange, #FF6B00) 0%, var(--c-orange-dark, #E55D00) 100%); color: #fff; border-radius: 4px; text-align: center; box-shadow: 0 12px 32px rgba(233,122,27,.25); }
.win-rate-banner .num { font-family: var(--ff-mono, monospace); font-size: clamp(48px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.win-rate-banner .num small { font-size: .5em; opacity: .85; }
.win-rate-banner .lbl { font-size: 14px; letter-spacing: .15em; text-transform: uppercase; opacity: .9; }
.dispute-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .dispute-grid { grid-template-columns: 1fr; } }
.dispute-card { background: #fff; border: 1px solid var(--c-border, #D1D5DB); border-radius: 200px; padding: 48px 32px; text-align: center; transition: all .3s var(--ease, cubic-bezier(.22,1,.36,1)); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.05)); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .dispute-card { border-radius: 4px; aspect-ratio: auto; padding: 32px 24px; } }
.dispute-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,.12)); border-color: var(--c-orange, #FF6B00); }
.dispute-card h3 { font-size: 20px; font-weight: 700; color: var(--c-text, #0F1E3D); margin-bottom: 16px; letter-spacing: -.01em; }
.dispute-card ul { text-align: left; max-width: 240px; margin: 0 auto; list-style: none; padding: 0; }
.dispute-card ul li { font-size: 13px; line-height: 1.6; color: var(--c-text-mid, #4A5568); padding-left: 14px; position: relative; margin-bottom: 8px; }
.dispute-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--c-orange, #FF6B00); font-weight: bold; }

/* ========== 회사소개(About) 전용 — v3 hello.html 인라인 CSS 이식 ========== */
.intro-image { max-width: 880px; margin: 0 auto 48px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); }
.intro-image img { width: 100%; display: block; }

/* 법인 소개 - 3단계 카드 */
.process-3 { max-width: 1100px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .process-3 { grid-template-columns: 1fr; gap: 24px; } }
.process-3 .step { text-align: center; }
.process-3 .step-img { aspect-ratio: 4/3; background: var(--c-bg-soft); border-radius: 4px; margin-bottom: 24px; display: grid; place-items: center; overflow: hidden; position: relative; }
.process-3 .step-img::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .85; }
.process-3 .step-1 .step-img::before { background-image: linear-gradient(135deg, #6B7280 0%, #374151 100%); }
.process-3 .step-2 .step-img::before { background-image: linear-gradient(135deg, #4B5563 0%, #1F2937 100%); }
.process-3 .step-3 .step-img::before { background-image: linear-gradient(135deg, #E97A1B 0%, #C95F0A 100%); }
.process-3 .step-img-icon { position: relative; z-index: 2; width: 80px; height: 80px; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; color: white; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.process-3 .step-img-icon svg { width: 40px; height: 40px; stroke-width: 1.5; }
.process-3 .step-num { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--c-orange); margin-bottom: 8px; }
.process-3 .step h3 { font-size: 18px; font-weight: 700; color: var(--c-text); margin-bottom: 12px; letter-spacing: -.01em; }
.process-3 .step p { font-size: 14px; line-height: 1.7; color: var(--c-text-mid); }

/* 조직 구성도 */
.org-chart { max-width: 1100px; margin: 56px auto 0; padding: 48px; background: var(--c-bg-soft); border-radius: 4px; }
@media (max-width: 768px) { .org-chart { padding: 32px 20px; } }
.org-root { text-align: center; margin-bottom: 40px; }
.org-root-box { display: inline-block; padding: 20px 36px; background: var(--c-orange); color: white; border-radius: 6px; font-weight: 700; font-size: 18px; box-shadow: 0 6px 16px rgba(233,122,27,.3); }
.org-root-box small { display: block; font-size: 11px; font-weight: 500; opacity: .9; margin-top: 4px; letter-spacing: .1em; }
.org-group { margin-top: 28px; padding-top: 28px; border-top: 1px dashed var(--c-border); }
.org-group:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.org-group-title { display: inline-block; padding: 8px 20px; background: white; border: 2px solid #2C5282; color: #2C5282; border-radius: 4px; font-weight: 700; font-size: 16px; margin-bottom: 20px; }
.org-teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .org-teams { grid-template-columns: 1fr; } }
.org-team { background: white; border-radius: 4px; overflow: hidden; border: 1px solid var(--c-border); }
.org-team-head { padding: 12px; background: #2C5282; color: white; text-align: center; font-weight: 700; font-size: 14px; }
.org-team-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.org-team-body span { padding: 8px 12px; background: var(--c-bg-soft); border: 1px solid var(--c-border-soft); border-radius: 4px; font-size: 13px; color: var(--c-text-mid); text-align: center; }
.org-affiliate { display: inline-block; margin-bottom: 24px; padding: 12px 20px; background: white; border: 1px dashed var(--c-border); border-radius: 4px; font-size: 14px; color: var(--c-text-mid); }
.org-affiliate strong { color: #2C5282; display: block; margin-bottom: 4px; font-size: 13px; }
.org-affiliate small { display: block; font-size: 12px; color: var(--c-text-light); }

/* 오시는 길 */
.location { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }
.location-info { padding: 40px 32px; background: var(--c-bg-soft); border-radius: 4px; display: flex; flex-direction: column; gap: 24px; }
.location-info-item .lbl { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--c-orange); font-weight: 600; margin-bottom: 6px; }
.location-info-item .val { font-size: 15px; line-height: 1.65; color: var(--c-text); font-weight: 500; }
.location-map { border-radius: 4px; overflow: hidden; background: var(--c-bg-soft); min-height: 400px; }
.location-map iframe { width: 100%; height: 100%; min-height: 400px; border: none; }

/* 연혁 타임라인 */
.timeline { max-width: 800px; margin: 56px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 100px; top: 8px; bottom: 8px; width: 1px; background: var(--c-border); }
@media (max-width: 600px) { .timeline::before { left: 60px; } }
.timeline-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding-bottom: 32px; position: relative; }
@media (max-width: 600px) { .timeline-item { grid-template-columns: 60px 1fr; gap: 16px; } }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { text-align: right; font-family: var(--ff-mono); font-size: 18px; font-weight: 700; color: var(--c-orange); letter-spacing: -.02em; }
.timeline-content { padding-left: 24px; position: relative; }
.timeline-content::before { content: ''; position: absolute; left: -5px; top: 10px; width: 11px; height: 11px; background: var(--c-orange); border-radius: 50%; box-shadow: 0 0 0 4px white; }
.timeline-content h4 { font-size: 16px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.timeline-content p { font-size: 14px; color: var(--c-text-mid); line-height: 1.65; }

/* ========== 고객상담(Consulting) 전용 — v3 consulting.html 인라인 CSS 이식 ========== */
.consult-hero { text-align: center; padding: 64px 24px; max-width: 800px; margin: 0 auto; }
.consult-hero .quote-mark { font-family: var(--ff-serif); font-size: 80px; color: var(--c-orange); line-height: 1; margin-bottom: 16px; }
.consult-hero h2 { font-family: var(--ff-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 500; line-height: 1.5; color: var(--c-text); margin-bottom: 16px; letter-spacing: -.01em; }
.consult-hero h2 em { color: var(--c-orange); font-style: normal; font-weight: 600; }
.consult-hero .firm { font-size: 14px; letter-spacing: .2em; color: var(--c-text-light); text-transform: uppercase; }

.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 64px auto 0; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr; } }
.channel-card { background: white; border: 1px solid var(--c-border); border-radius: 4px; padding: 40px 28px; text-align: center; transition: all .3s var(--ease); }
.channel-card:hover { transform: translateY(-6px); border-color: var(--c-orange); box-shadow: var(--shadow-md); }
.channel-card .lbl { font-size: 11px; letter-spacing: .15em; color: var(--c-text-light); text-transform: uppercase; margin-bottom: 8px; }
.channel-card h3 { font-size: 22px; font-weight: 700; color: var(--c-text); margin-bottom: 8px; letter-spacing: -.01em; }
.channel-card h3 a { color: inherit; }
.channel-card p { font-size: 13px; line-height: 1.65; color: var(--c-text-mid); }

.consult-cta { text-align: center; padding: 80px 0; background: var(--c-dark); color: white; margin-top: 80px; }
.consult-cta h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; margin-bottom: 24px; letter-spacing: -.01em; }
.consult-cta .btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 0 24px; }
.consult-cta .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 4px; font-weight: 600; font-size: 15px; transition: all .25s var(--ease); }
.consult-cta .btn-primary { background: var(--c-orange); color: white; }
.consult-cta .btn-primary:hover { background: var(--c-orange-dark); transform: translateY(-2px); }
.consult-cta .btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: white; }
.consult-cta .btn-ghost:hover { background: white; color: var(--c-dark); border-color: white; }

/* contact form */
.form-wrap { max-width: 800px; margin: 0 auto; background: white; padding: 48px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.04); border: 1px solid var(--c-border-soft); }
@media (max-width: 768px) { .form-wrap { padding: 32px 20px; } }
.form-head { text-align: center; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--c-border-soft); }
.form-head h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--c-text); margin-bottom: 8px; letter-spacing: -.02em; }
.form-head p { font-size: 14px; color: var(--c-text-mid); line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 600; color: var(--c-text); margin-bottom: 8px; letter-spacing: .03em; }
.form-field label .req { color: var(--c-orange); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea { padding: 12px 14px; font-family: inherit; font-size: 14px; color: var(--c-text); background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 6px; transition: all .2s var(--ease); width: 100%; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--c-orange); background: white; box-shadow: 0 0 0 3px rgba(233, 122, 27, .12); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--c-text-light); }
.form-field textarea { min-height: 140px; resize: vertical; line-height: 1.6; font-family: inherit; }
.form-field select { cursor: pointer; }
.form-agreement { padding: 16px; background: var(--c-bg-soft); border-radius: 6px; margin-bottom: 24px; font-size: 13px; line-height: 1.6; }
.form-agreement label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: var(--c-text-mid); }
.form-agreement input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--c-orange); flex-shrink: 0; }
.form-agreement .req { color: var(--c-orange); font-weight: 600; }
.form-agreement details { margin-top: 8px; padding-left: 26px; }
.form-agreement summary { font-size: 12px; color: var(--c-orange); cursor: pointer; font-weight: 500; }
.form-agreement .privacy-detail { margin-top: 8px; padding: 10px; background: white; border: 1px solid var(--c-border); border-radius: 4px; font-size: 12px; line-height: 1.6; color: var(--c-text-mid); }
.form-submit { width: 100%; padding: 16px; background: var(--c-orange); color: white; font-size: 16px; font-weight: 700; letter-spacing: .03em; border: none; border-radius: 6px; cursor: pointer; transition: all .25s var(--ease); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--c-orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(233, 122, 27, .3); }
.form-message { margin-top: 4px; margin-bottom: 24px; padding: 16px; border-radius: 6px; font-size: 14px; }
.form-message.success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }
.form-message.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }
.form-message strong { display: block; margin-bottom: 4px; }
