/* =============================================
   GDI · C&P Consulting — style.css
   ============================================= */

/* ── 1. CSS Variables ─────────────────────── */
:root {
  --primary:      #e88124;
  --primary-dark: #c0611a;
  --primary-light:#f0a050;
  --accent:       #e88124;
  --accent-dark:  #c0611a;
  --teal:         #2d3748;
  --teal-light:   #4a5568;
  --text:         #1a1a2e;
  --text-mid:     #3d3d5c;
  --text-light:   #7a7a9a;
  --bg:           #fdf8f4;
  --bg-alt:       #fef2e8;
  --white:        #ffffff;
  --border:       #f0d9c0;
  --shadow-sm:    0 2px 8px rgba(232,129,36,.10);
  --shadow-md:    0 6px 24px rgba(232,129,36,.18);
  --shadow-lg:    0 16px 48px rgba(232,129,36,.22);
  --radius:       12px;
  --radius-lg:    20px;
  --nav-h:        72px;
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

/* ── 2. Reset & Base ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; overflow-x: hidden; }
body {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── SPA 페이지 전환 ──────────────────────── */
.page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: pageFadeIn .35s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── 3. Utility ───────────────────────────── */
.accent { color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,129,36,.40);
}
.btn-secondary {
  background: #2d3748;
  color: var(--white);
}
.btn-secondary:hover {
  background: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,129,36,.35);
}
.btn-full { width: 100%; justify-content: center; }

/* ── 4. Navbar ────────────────────────────── */
#navbar {
  display: none;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.logo-gdi {
  background: var(--accent);
  color: var(--white);
  padding: .2rem .7rem;
  border-radius: 6px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  transition: var(--transition);
}
.logo-gdi { background: var(--primary); }
.logo-sep { color: var(--border); font-weight: 300; }
.logo-cp { color: var(--text-mid); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-item {
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.nav-item:hover { background: rgba(232,129,36,.08); color: var(--primary); }
#navbar.scrolled .nav-item:hover,
#navbar.solid .nav-item:hover { background: var(--bg-alt); color: var(--primary); }

.nav-item.active { color: var(--white); }
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
#navbar.scrolled .nav-item.active,
#navbar.solid .nav-item.active { color: var(--primary); background: var(--bg-alt); }

.nav-cta { display: none; }
.nav-cta::after { display: none !important; }

/* Hero 텍스트 링크 (버튼 옆 나열) */
.hero-text-link {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding: .6rem 1.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.7);
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.hero-text-link:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.hero-text-link::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span,
#navbar.solid .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. Page Hero (inner pages) ─────────────── */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 45%, #c0611a 100%);
  padding: calc(var(--nav-h) + 3.5rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(232,129,36,.20) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,.05) 0%, transparent 40%);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* page-hero 내비게이션 패널 레이아웃 */
.page-hero-inner--nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.page-hero-content { flex: 1; }

/* Glass Panel 내비 */
.ph-glass-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: .6rem;
  flex-shrink: 0;
  min-width: 170px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ph-nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .18s;
  border: none;
  background: transparent;
}
.ph-nav-item i {
  width: 15px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
  transition: color .18s;
}
.ph-nav-item:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
}
.ph-nav-item:hover i { color: var(--primary); }
.ph-nav-item.active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.ph-nav-item.active i { color: #fff; }

@media (max-width: 768px) {
  .page-hero-inner--nav { flex-direction: column; align-items: flex-start; }
  .ph-glass-nav { flex-direction: row; flex-wrap: wrap; min-width: unset; width: 100%; }
}
/* Style A — Slim Line Tag */
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.1rem;
}
.page-hero-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}
.page-hero-label span,
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 800px;
  line-height: 1.65;
  white-space: nowrap;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .65rem; }

/* ── 6. Hero (홈 전용) ────────────────────── */
#page-home {
  overflow: visible;
  height: auto;
  min-height: 100vh;
}
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 48% 52%;
  overflow: visible;
  position: relative;
}

/* ── LEFT panel (white) ── */
.hero-left-panel {
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  padding-top: 0;
}
.hero-left-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 95% 5%,  rgba(232,129,36,.06) 0%, transparent 40%),
    radial-gradient(circle at 5%  95%, rgba(232,129,36,.04) 0%, transparent 35%);
  pointer-events: none;
}
/* 오른쪽 경계선 — 오렌지 그라데이션 */
.hero-left-panel::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 1.5px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(232,129,36,.4) 20%,
    rgba(232,129,36,.6) 50%,
    rgba(232,129,36,.4) 80%,
    transparent 100%);
}
.hero-left-inner {
  position: relative; z-index: 1;
  padding: 5rem 3.5rem 3.5rem 5rem;
  width: 100%;
}

/* eyebrow */
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #e88124;
  margin-bottom: 2.2rem;
  display: flex; align-items: center; gap: .9rem;
  animation: fadeInUp .6s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: #e88124;
  flex-shrink: 0;
}

/* title */
.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
  animation: fadeInUp .6s .08s ease both;
}

/* sub */
.hero-sub {
  font-size: 1.15rem;
  color: rgba(26,26,46,.55);
  max-width: 100%;
  line-height: 1.75;
  margin-bottom: 2.4rem;
  animation: fadeInUp .6s .16s ease both;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* buttons */
.hero-btns {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp .6s .24s ease both;
}
/* hero 내 btn 크기 (참고 사이트 동일) */
.hero-btns .btn {
  padding: .85rem 2rem;
  font-size: 1.05rem;
  white-space: nowrap;
  border-radius: 8px;
  border: none;
  box-shadow: none;
}
/* About Us : 채워진 주황 버튼 */
.hero-btns .btn-primary {
  background: var(--accent);
  color: var(--white);
}
.hero-btns .btn-primary:hover {
  background: var(--primary-dark);
}
/* 나머지 메뉴 : 밑줄 슬라이드 효과 */
.hero-btns .btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: none;
  position: relative;
}
.hero-btns .btn-outline-dark::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 1.4rem; right: 1.4rem;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.hero-btns .btn-outline-dark:hover { color: var(--primary); }
.hero-btns .btn-outline-dark:hover::after { transform: scaleX(1); }

/* stats */
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26,26,46,.1);
  animation: fadeInUp .6s .32s ease both;
}
.stat-item { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num  { font-size: 2rem; font-weight: 900; color: #1a1a2e; line-height: 1; }
.stat-unit { font-size: 1.1rem; font-weight: 700; color: #e88124; display: inline; }
.stat-label{ font-size: .72rem; color: rgba(26,26,46,.42); margin-top: .3rem; letter-spacing: 1px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: rgba(26,26,46,.1); }

/* ── RIGHT panel (white/off-white) ── */
.hero-right-panel {
  background: #fafafa;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  border-left: none;
}
.hero-right-inner {
  padding: 5rem 3rem 4rem 3.5rem;
  width: 100%;
}

/* label */
.hrp-label {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e88124;
  margin-bottom: 1.8rem;
  animation: fadeInUp .6s .1s ease both;
}

/* title */
.hrp-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
  animation: fadeInUp .6s .18s ease both;
}

/* list */
.hrp-list {
  display: flex; flex-direction: column; gap: 0;
  animation: fadeInUp .6s .26s ease both;
}
.hrp-item {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(232,129,36,.15);
}
.hrp-item:first-child { border-top: 1px solid rgba(232,129,36,.15); }
.hrp-num {
  font-size: .85rem;
  font-weight: 800;
  color: #e88124;
  letter-spacing: 1px;
  padding-top: .2rem;
  flex-shrink: 0;
  width: 28px;
}
.hrp-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: .4rem;
  line-height: 1.3;
}
.hrp-desc {
  font-size: .82rem;
  color: rgba(26,26,46,.52);
  line-height: 1.5;
  white-space: nowrap;
}

/* partners */
.hrp-partners {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26,26,46,.1);
  animation: fadeInUp .6s .34s ease both;
}
.hrp-partners-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(26,26,46,.4);
  margin-bottom: 1rem;
}
.hrp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.hrp-tags span {
  background: rgba(232,129,36,.07);
  border: 1px solid rgba(232,129,36,.25);
  color: #c0611a;
  padding: .38rem 1rem;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .3px;
}

/* ── Hero 반응형 ── */

/* 대형 모니터 (1600px+) */
@media (min-width: 1600px) {
  .hero-left-inner {
    padding: 6rem 4rem 4rem 7rem;
  }
  .hero-right-inner {
    padding: 6rem 6rem 4rem 6rem;
  }
  .hero-title { font-size: 5.2rem; }
  .hero-sub   { font-size: 1.25rem; max-width: 540px; }
  .hrp-title  { font-size: 2rem; }
  .hrp-name   { font-size: 1.2rem; }
  .hrp-desc   { font-size: 1rem; }
}

/* 일반 모니터 (1280px ~ 1599px) — 기본값 유지 */

/* 노트북 (1024px ~ 1279px) */
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-left-inner {
    padding: 4rem 3rem 3rem 4rem;
  }
  .hero-right-inner {
    padding: 4rem 3.5rem 3rem 3.5rem;
  }
  .hero-title { font-size: clamp(2.4rem, 3.5vw, 4rem); }
  .hero-sub   { font-size: 1.05rem; max-width: 400px; }
  .hrp-title  { font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
  .hrp-name   { font-size: 1rem; }
  .hrp-desc   { font-size: .88rem; }
  .hrp-item   { padding: 1.2rem 0; }
}

/* 태블릿 (1024px 이하) — 우측 패널 숨김, 단일 컬럼 */
@media (max-width: 1023px) {
  #hero { grid-template-columns: 1fr; }
  .hero-right-panel { display: none; }
  .hero-left-panel::after { display: none; }
  .hero-left-inner {
    padding: 4rem 3rem 4rem 3rem;
  }
  .hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
}

/* 모바일 (640px 이하) */
@media (max-width: 640px) {
  .hero-left-inner { padding: 3rem 1.5rem 3rem 1.5rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub   { font-size: 1rem; }
  .hero-btns  { flex-wrap: wrap; gap: .4rem; }
  .hero-btns .btn { font-size: .9rem; padding: .6rem 1.1rem; }
}

/* ── 7. Section Common ────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-inner--wide { max-width: 1800px; padding: 0 48px; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: .5rem;
}
.section-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: .9rem;
}
.section-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
.section-header.centered .section-desc { margin: 0 auto; }

/* ── 8. Home Quick Links ──────────────────── */
.home-nav-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
.hnav-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 44px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(232,129,36,.07);
}
.hnav-card:hover {
  border-color: var(--primary);
  background: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.hnav-card:hover .hnav-icon,
.hnav-card:hover h4,
.hnav-card:hover p,
.hnav-card:hover .hnav-arrow { color: var(--white); }
.hnav-card:hover .hnav-icon { background: rgba(255,255,255,.2); }
.hnav-icon {
  width: 80px; height: 80px;
  background: var(--bg-alt);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.hnav-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.hnav-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
  line-height: 1.45;
  letter-spacing: 0.01em;
  height: calc(0.9rem * 1.55 * 2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  word-break: keep-all;
}
.hnav-arrow {
  font-size: 1rem;
  color: var(--accent);
  transition: var(--transition);
  margin-top: 2px;
}

/* ── 9. Home Summary Sections ─────────────── */
.home-summary { padding: 80px 0; }
.home-summary-alt { padding: 80px 0; background: var(--bg-alt); }
.home-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.home-2col.reverse { direction: rtl; }
.home-2col.reverse > * { direction: ltr; }
.home-col-text {}
.home-col-text h2 { font-size: clamp(1.9rem,2.5vw,2.3rem); font-weight:800; color:var(--text); margin-bottom:1rem; line-height:1.3; letter-spacing:-0.02em; }
.home-col-text p  { font-size:1.15rem; color:var(--text-mid); margin-bottom:1.5rem; line-height:1.7; }
.home-col-visual {
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.home-mini-list { display: flex; flex-direction: column; gap: .85rem; }
.home-mini-list li {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.05rem;
  white-space: nowrap;
}
.home-mini-list li i { color: var(--accent); width: 20px; flex-shrink: 0; font-size: 1.1rem; }
.home-stats-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  text-align: center;
}
.hs-item { padding: 1.25rem .5rem; }
.hs-num { font-size: 2.8rem; font-weight:900; color:var(--accent); }
.hs-label { font-size: 1.1rem; opacity: .8; margin-top: .3rem; }

/* ── 10. About Tabs ───────────────────────── */
.tab-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 48px;
  border-bottom: 2px solid var(--border);
}
.tab-btn {
  padding: .9rem 1.85rem;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-light);
  border-radius: var(--radius) var(--radius) 0 0;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: transparent;
}
.tab-btn:hover { color: var(--primary); background: var(--bg-alt); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--bg-alt); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .4s ease; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-block { display: flex; gap: 20px; margin-bottom: 32px; }
.about-icon-box {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
}
.about-block h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .55rem; }
.about-block p  { color: var(--text-mid); font-size: 1.1rem; line-height: 1.65; }
.value-list { display: flex; flex-direction: column; gap: .6rem; }
.value-list li { display: flex; align-items: center; gap: .65rem; font-size: 1.1rem; color: var(--text-mid); line-height: 1.55; }
.value-list li i { color: var(--primary); font-size: .8rem; }
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.identity-card {
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.identity-logo { font-size: 3rem; font-weight: 900; letter-spacing: 4px; margin-bottom: .5rem; }
.identity-name { font-size: 1.1rem; opacity: .85; margin-bottom: .75rem; }
.identity-tagline { font-style: italic; font-size: 1.05rem; opacity: .7; margin-bottom: 1.5rem; }
.identity-areas { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.identity-areas span { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); padding: .35rem 1rem; border-radius: 50px; font-size: .95rem; }
.focus-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.focus-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: 1.15rem; font-weight: 600; color: var(--text);
  transition: var(--transition);
}
.focus-item i { font-size: 1.4rem; color: var(--primary); }
.focus-item:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-2px); }
.focus-item:hover i { color: var(--accent); }

/* C&P Section */
.cp-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.cp-overview {
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  border-radius: var(--radius-lg); padding: 2.5rem;
  color: var(--white); text-align: center;
}
.cp-logo-big { font-size: 3.5rem; font-weight: 900; letter-spacing: 3px; line-height: 1; }
.cp-logo-sub { font-size: 1rem; opacity: .75; margin-bottom: 2rem; }
.info-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.15); gap: 1rem;
}
.info-label { font-size: 1.05rem; opacity: .75; flex-shrink: 0; }
.info-val { font-size: 1.1rem; font-weight: 600; text-align: right; }
.cp-desc h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 .75rem; }
.cp-desc h3:first-child { margin-top: 0; }
.cp-desc > p { color: var(--text-mid); font-size: 1.15rem; line-height: 1.7; }
.service-cards-mini { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem; }
.scard {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: 1.1rem; font-weight: 600; color: var(--text); text-align: center; transition: var(--transition);
}
.scard i { font-size: 1.3rem; color: var(--primary); }
.scard:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.scard:hover i { color: var(--accent); }
.partner-logos { display: flex; flex-wrap: wrap; gap: .5rem; }
.partner-tag {
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text-mid); padding: .5rem 1.25rem;
  border-radius: 50px; font-size: 1.05rem; font-weight: 500;
}
.partner-tag-w {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9); padding: .5rem 1.25rem;
  border-radius: 50px; font-size: 1.05rem; font-weight: 500;
}
/* ── Overview 통합 탭 ─────────────────────────── */

/* 상단 아이덴티티 + 기본정보 2열 */
.ov-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  color: #fff;
  margin-bottom: 2.5rem;
  width: 100%;
  box-sizing: border-box;
}
.ov-logo-block {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1rem;
}
.ov-logo-gdi {
  font-size: 3rem; font-weight: 900; letter-spacing: 4px;
  color: var(--primary);
}
.ov-logo-sep { font-size: 2rem; opacity: .3; }
.ov-logo-cp {
  display: flex; flex-direction: row; align-items: baseline; gap: .25rem;
  font-size: 1.05rem; font-weight: 800; letter-spacing: .5px; line-height: 1.2; white-space: nowrap;
}
.ov-logo-cp .ov-logo-amp { color: #fff; }
.ov-logo-cp span.ov-logo-amp { font-size: 1.05rem; font-weight: 800; opacity: 1; }
.ov-logo-cp span:not(.ov-logo-amp) { font-size: 1.05rem; font-weight: 800; opacity: 1; letter-spacing: .5px; }
.ov-tagline {
  font-style: italic; font-size: .95rem;
  opacity: .65; margin-bottom: 1.2rem;
}
.ov-tags { display: flex; flex-wrap: nowrap; gap: .45rem; }
.ov-tags span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 500;
  white-space: nowrap;
}
.ov-info-table { display: flex; flex-direction: column; margin-left: auto; min-width: 340px; }
.ov-info-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ov-info-row:last-child { border-bottom: none; }
.ov-info-lbl {
  flex-shrink: 0; width: 110px;
  font-size: .8rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; opacity: .55; padding-top: .1rem;
}
.ov-info-val { font-size: .92rem; font-weight: 500; line-height: 1.5; }

/* Mission / Vision / Core Values 3열 카드 */
.ov-mvv {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.3fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ov-mvv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: var(--transition);
}
.ov-mvv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.ov-mvv-icon {
  width: 48px; height: 48px;
  background: var(--bg-alt); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.ov-mvv-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: .7rem;
}
.ov-mvv-card p {
  font-size: .92rem; color: var(--text-mid); line-height: 1.7;
}
.ov-value-list {
  display: flex; flex-direction: column; gap: .55rem;
  list-style: none; padding: 0; margin: 0;
}
.ov-value-list li {
  display: grid;
  grid-template-columns: 16px 100px 1fr;
  align-items: flex-start;
  gap: .3rem .55rem;
  font-size: .9rem; color: var(--text-mid); line-height: 1.55;
}
.ov-value-list li i { color: var(--primary); font-size: .75rem; margin-top: .25rem; flex-shrink: 0; }
.ov-value-list li strong { white-space: nowrap; }

/* 하단 섹션 레이블 */
.ov-section-lbl {
  font-size: .75rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
/* Business Areas 6열 그리드 */
.ov-biz-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: .85rem; margin-bottom: .5rem;
}
.ov-biz-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem .9rem;
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600;
  color: var(--text); text-align: center;
  transition: var(--transition);
}
.ov-biz-card i { font-size: 1.3rem; color: var(--primary); }
.ov-biz-card:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary); transform: translateY(-2px);
}
.ov-biz-card:hover i { color: #fff; }

/* Key Partners */
.ov-partner-row {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.ov-partner-row span {
  background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text-mid); padding: .45rem 1.1rem;
  border-radius: 50px; font-size: .88rem; font-weight: 500;
}

/* 반응형 */
@media (max-width: 900px) {
  .ov-hero { grid-template-columns: 1fr; }
  .ov-mvv { grid-template-columns: 1fr; }
  .ov-biz-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .ov-biz-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA 배너 */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 50%, #c0611a 100%);
  border-radius: 20px; padding: 64px 48px; text-align: center;
  color: var(--white); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight:800; margin-bottom:1rem; }
.cta-banner p  { font-size:0.95rem; opacity:.9; margin-bottom:2rem; max-width:980px; margin-left:auto; margin-right:auto; white-space: normal; line-height: 1.6; }
.cta-btns { display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; }
/* 브레드크럼 홈 링크 */
.bc-home { cursor: pointer; }
.bc-home:hover { color: var(--white); }

/* Timeline */
/* ── Deloitte-style Timeline (tl3) ── */
.tl3 {
  position: relative;
  padding-left: 0;
}
.tl3::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 5.8rem;
  width: 1px;
  background: #e5e7eb;
}
.tl3-item {
  display: grid;
  grid-template-columns: 5.8rem 1.4rem 1fr;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
}
.tl3-item:last-child { margin-bottom: 0; }
.tl3-year-wrap {
  text-align: right;
  padding-right: 0;
  padding-top: .05rem;
}
.tl3-year {
  font-size: 2.4rem;
  font-weight: 900;
  color: #9ca3af;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: color .25s;
}
.tl3-item:hover .tl3-year { color: #6b7280; }
.tl3-item.tl3-key .tl3-year { color: var(--primary); }
.tl3-item.tl3-key:hover .tl3-year { color: #c0611a; }
.tl3-connector {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: .85rem;
  justify-content: center;
}
.tl3-connector::before {
  content: '';
  width: 8px; height: 8px;
  background: #d1d5db;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d1d5db;
  flex-shrink: 0;
  transition: background .25s, box-shadow .25s;
}
.tl3-item:hover .tl3-connector::before {
  background: #9ca3af;
  box-shadow: 0 0 0 1px #9ca3af;
}
.tl3-item.tl3-key .tl3-connector::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,129,36,.2);
}
.tl3-body {
  padding-left: 1.4rem;
  padding-top: .1rem;
  padding-bottom: .5rem;
}
.tl3-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9ca3af;
  margin-bottom: .3rem;
  line-height: 1;
}
.tl3-item.tl3-key .tl3-label { color: var(--primary); }
.tl3-text {
  font-size: .88rem;
  color: #374151;
  line-height: 1.72;
}

/* Location */
.location-grid { display: grid; grid-template-columns: 1.8fr 380px; gap: 2.5rem; align-items: start; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 100%; min-height: 520px; display: flex; flex-direction: column; }
.map-wrap iframe { flex: 1; min-height: 520px; }
.contact-info-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-info-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail i {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--bg-alt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: .9rem;
}
.contact-detail strong { display: block; font-size: 1.05rem; color: var(--text-light); margin-bottom: .2rem; }
.contact-detail p { font-size: 1rem; color: var(--text-mid); }
.transport-info { background: var(--bg-alt); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.transport-info h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .75rem; }
.transport-info h4 i { color: var(--primary); margin-right: .4rem; }
.transport-info p { font-size: .95rem; color: var(--text-mid); margin-bottom: .35rem; }

/* ── 11. Services ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.services-section .services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.svc-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--accent); color: var(--white);
  font-size: .95rem; font-weight: 700; padding: .35rem 1rem; border-radius: 50px;
}
.svc-header {
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  padding: 2.25rem 2.25rem 2rem;
  color: var(--white);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-card.featured .svc-header { background: linear-gradient(135deg, #c0611a, #e88124); }
.svc-icon {
  width: 64px; height: 64px; background: rgba(255,255,255,.15);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.1rem;
}
.svc-header h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 0; line-height: 1.2; }
.svc-en { font-size: 1rem; opacity: .7; letter-spacing: .01em; }
.svc-body { padding: 2rem 2.25rem; flex: 1; }
.svc-desc { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 1.5rem; line-height: 1.65; }
.svc-list { display: flex; flex-direction: column; gap: .9rem; }
.svc-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: 1.1rem; color: var(--text-mid); line-height: 1.55; }
.svc-list li i { color: var(--primary); margin-top: .38rem; flex-shrink: 0; font-size: .95rem; }
.svc-footer { padding: 1.4rem 2.25rem; border-top: 1px solid var(--border); }
.svc-link { font-size: 1.1rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: .4rem; transition: var(--transition); }
.svc-link:hover { color: var(--accent); gap: .7rem; }

/* Approach */
.approach-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3.5rem; margin-top: 4rem; }
.approach-title { text-align: center; font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 3rem; letter-spacing: -0.02em; }
.approach-steps { display: flex; align-items: flex-start; gap: 0; flex-wrap: nowrap; justify-content: center; }
.step { text-align: center; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 0 1.25rem; }
.step-num { font-size: 2.5rem; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: .4rem; }
.step-icon {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, #c0611a, #e88124);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--white); margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(232,129,36,.35);
}
.step h4 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; letter-spacing: -0.01em; }
.step p  {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.55;
  white-space: normal;
  text-align: center;
  min-height: 3.1rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-arrow { font-size: 1.4rem; color: var(--border); flex-shrink: 0; align-self: flex-start; margin: 0 -.25rem; padding-top: 5.5rem; }

/* Service Detail Boxes */
.service-detail-section { margin-top: 5rem; }
.svc-detail-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.svc-detail-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #c0611a, #e88124);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); flex-shrink: 0;
}
.svc-detail-header h3 { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.svc-detail-header p  { font-size: 1rem; color: var(--text-light); }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.svc-detail-item {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 1.25rem; display: flex; gap: .75rem; align-items: flex-start;
}
.svc-detail-item i { color: var(--primary); margin-top: .2rem; flex-shrink: 0; }
.svc-detail-item strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: .25rem; }
.svc-detail-item p { font-size: .95rem; color: var(--text-mid); }

/* ── 12. Projects ─────────────────────────── */
.project-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .55rem 1.35rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600; color: var(--text-mid);
  border: 1.5px solid var(--border); background: var(--white); transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.project-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; transition: var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.project-card.hidden { display: none; }
.proj-top { display: flex; align-items: center; gap: .5rem; }
.proj-flag { font-size: 1.5rem; }
.proj-tags { display: flex; gap: .4rem; flex: 1; flex-wrap: wrap; }
/* ── PROJ STATS SECTION (redesigned) ─────── */
.proj-stats-section {
  position: relative;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 50%, #1a1a2e 100%);
  overflow: hidden;
}
.proj-stats-bg-deco {
  position: absolute; inset: 0; pointer-events: none;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  background: var(--primary);
}
.deco-c1 { width: 320px; height: 320px; top: -100px; left: -80px; }
.deco-c2 { width: 220px; height: 220px; bottom: -80px; right: 10%; background: #fff; }
.deco-c3 { width: 140px; height: 140px; top: 30%; right: 3%; }

.proj-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.ps-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  backdrop-filter: blur(6px);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.ps-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.11);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.ps-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ps-icon-orange { background: rgba(232,129,36,.2); color: #f0a050; }
.ps-icon-teal   { background: rgba(56,189,189,.18); color: #38bdbd; }
.ps-icon-navy   { background: rgba(100,130,220,.18); color: #8aa8f0; }
.ps-icon-green  { background: rgba(52,211,153,.18); color: #34d399; }

.ps-body { flex: 1; }
.ps-number {
  display: flex;
  align-items: baseline;
  gap: .1rem;
  line-height: 1;
  margin-bottom: .35rem;
}
.ps-count {
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
}
.ps-plus {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-light);
}
.ps-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: .25rem;
}
.ps-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}

/* progress bar */
.ps-bar {
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 99px;
  overflow: hidden;
}
.ps-bar span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #e88124, #f0a050);
  animation: barGrow .9s .4s both;
}
.ps-bar-teal span  { background: linear-gradient(90deg, #2bbdbd, #38e8e8); }
.ps-bar-navy span  { background: linear-gradient(90deg, #6482dc, #8aa8f0); }
.ps-bar-green span { background: linear-gradient(90deg, #10b981, #34d399); }

@keyframes barGrow {
  from { width: 0 !important; }
}

@media (max-width: 900px) {
  .proj-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .proj-stats-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .ps-count { font-size: 2rem; }
  .ps-card { padding: 1.2rem 1rem .9rem; }
}

/* ── END PROJ STATS SECTION ───────────────── */

.ptag { font-size: .9rem; font-weight: 700; padding: .3rem .8rem; border-radius: 6px; }
.ptag.tvet       { background: #e6f4ea; color: #137333; }
.ptag.employment { background: #e6f4ea; color: #137333; }
.ptag.me         { background: #fff3e0; color: #d46b08; }
.ptag.africa     { background: #fce8e6; color: #c0392b; }
.ptag.asia       { background: #f3e8ff; color: #6d28d9; }
.proj-status { font-size: .82rem; font-weight: 700; padding: .25rem .8rem; border-radius: 50px; flex-shrink: 0; }
.proj-status.ongoing   { background: #e6f4ea; color: #137333; }
.proj-status.completed { background: var(--bg-alt); color: var(--text-light); }
.proj-title { font-size: 1.2rem; font-weight: 700; color: var(--text); line-height: 1.4; letter-spacing: -0.01em; }
.proj-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.proj-meta span { display: flex; align-items: center; gap: .3rem; font-size: .95rem; color: var(--text-light); }
.proj-meta i { color: var(--primary); font-size: .85rem; }
.proj-desc { font-size: 1rem; color: var(--text-mid); flex: 1; line-height: 1.6; }
.proj-outcomes { display: flex; flex-wrap: wrap; gap: .5rem; }
.proj-outcomes span {
  display: flex; align-items: center; gap: .3rem;
  font-size: 1rem; font-weight: 600; color: var(--primary);
  background: var(--bg-alt); padding: .4rem 1rem; border-radius: 50px;
}
.proj-outcomes span i { font-size: .85rem; }
.proj-detail-btn {
  margin-top: auto; padding: .8rem 1.3rem;
  border-radius: var(--radius); background: var(--bg-alt);
  color: var(--primary); font-size: 1.1rem; font-weight: 600;
  transition: var(--transition); border: 1px solid var(--border);
}
.proj-detail-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.projects-more {
  text-align: center; padding: 2.5rem;
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  border-radius: var(--radius-lg); color: var(--white);
}
.projects-more p { font-size: 1.2rem; margin-bottom: 1.5rem; opacity: .9; }
.projects-more strong { color: var(--accent); font-size: 1.35rem; }

/* ── 12-B. Project Bulletin Board Table ──── */
/* ══════════════════════════════════════════
   Project Table — 안 A (McKinsey Minimal)
══════════════════════════════════════════ */
.proj-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.proj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

/* 헤더 — 흰 배경 + 굵은 하단 언더라인 */
.proj-table thead tr {
  background: #fff;
  border-bottom: 2px solid #111827;
}
.proj-table thead th {
  padding: .9rem 1.2rem;
  font-size: .67rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: #9ca3af; text-align: left;
  white-space: nowrap;
}
.proj-table thead th.col-title { color: #111827; }

/* 행 */
.proj-row {
  border-bottom: 1px solid #f3f4f6;
  transition: background .15s;
  cursor: pointer;
}
.proj-row:last-child { border-bottom: none; }
.proj-row:hover { background: #fafafa; }
/* 호버 시 왼쪽 인셋 주황 바 */
.proj-row:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--primary);
}
.proj-row.hidden { display: none; }

.proj-row td {
  padding: 1rem 1.2rem;
  vertical-align: middle;
  color: #374151;
  font-size: .88rem;
}

/* 컬럼 너비 */
.col-no     { width: 40px; color: #d1d5db; font-size: .78rem; font-weight: 600; text-align: center; }
.col-flag   { width: 36px; font-size: 1.2rem; text-align: center; padding-left: .5rem !important; padding-right: .3rem !important; }
.col-title  { min-width: 240px; }
.col-country{ width: 100px; white-space: nowrap; color: #6b7280; }
.col-period { width: 105px; white-space: nowrap; color: #9ca3af; font-size: .82rem; }
.col-client { width: 110px; }
.col-cat    { width: 155px; }
.col-status { width: 100px; }
.col-arrow  { width: 32px; text-align: right; padding-right: 1.2rem !important; }
.col-action { width: 52px; text-align: center; }

/* 타이틀 */
.proj-row-title {
  font-size: .92rem; font-weight: 700;
  color: #111827; line-height: 1.45;
  display: block; cursor: pointer;
  transition: color .15s;
  text-decoration: none;
}
.proj-row:hover .proj-row-title { color: var(--primary); }

/* 화살표 */
.col-arrow i {
  color: #e5e7eb; font-size: .75rem;
  transition: color .15s;
}
.proj-row:hover .col-arrow i { color: var(--primary); }

/* 태그 */
.col-cat .ptag { font-size: .72rem; padding: .18rem .55rem; margin-right: .2rem; display: inline-block; margin-bottom: .2rem; }
.col-client .event-badge { font-size: .72rem; padding: .2rem .6rem; }

/* 반응형 */
@media (max-width: 900px) {
  .col-period, .col-client { display: none; }
}
@media (max-width: 640px) {
  .col-country, .col-status { display: none; }
  .proj-row td { padding: .75rem .7rem; }
}

/* ── 13. Experts ──────────────────────────── */
.expert-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.expert-tab-btn {
  padding: .65rem 1.6rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600; color: var(--text-mid);
  border: 1.5px solid var(--border); background: var(--white);
  transition: var(--transition);
}
.expert-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.expert-tab-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* 그리드 */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* ══════════════════════════════════════════════
   Expert Card — 안 A (McKinsey / BCG Clean Line)
══════════════════════════════════════════════ */
.expert-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.expert-card.hidden { display: none; }

/* 상단 컬러 바 */
.ec-bar {
  height: 4px;
  background: var(--primary);
  flex-shrink: 0;
}

/* 카드 본문 */
.ec-body {
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
}

/* 아바타 — 사진 없을 때 이니셜, 있을 때 사진 */
.ec-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800;
  color: #fff; letter-spacing: -.02em;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
/* data-initials 속성으로 이니셜 표시 */
.ec-avatar::before {
  content: attr(data-initials);
}
/* 사진이 있을 때 이니셜 숨김 */
.ec-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  display: block;
}
.ec-avatar:has(img)::before { display: none; }

/* 이름 */
.ec-name {
  font-size: 1rem; font-weight: 700; color: #111827;
  line-height: 1.3; margin-bottom: .25rem;
  transition: color .15s;
}
.expert-card:hover .ec-name { color: var(--primary); }

/* 직책 */
.ec-role {
  font-size: .8rem; color: #6b7280; font-weight: 500;
  margin-bottom: 1rem;
}

/* 구분선 */
.ec-divider {
  height: 1px; background: #f3f4f6; margin-bottom: .85rem;
}

/* 전문 분야 */
.ec-field {
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary);
}

/* ── 하위 호환: 구 클래스들 (모달에서 사용) ── */
.expert-body {
  padding: .5rem 1.4rem 1.4rem;
  flex: 1; display: flex; flex-direction: column; gap: .9rem;
}
.expert-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.expert-tags span {
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: .35rem 1rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600; color: var(--primary);
}
.expert-bio { font-size: 1.05rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.expert-divider { height: 1px; background: var(--border); }
.expert-career-section { display: flex; flex-direction: column; gap: .4rem; }
.career-label { font-size: 1rem; font-weight: 700; color: var(--primary); letter-spacing: .8px; text-transform: uppercase; margin-bottom: .2rem; }
.expert-career-item { display: flex; align-items: flex-start; gap: .55rem; font-size: 1.05rem; color: var(--text-mid); line-height: 1.5; }
.expert-career-item i { color: var(--primary); width: 14px; flex-shrink: 0; margin-top: .15rem; }
.expert-edu-section { display: flex; flex-direction: column; gap: .35rem; }
.expert-edu-item { display: flex; align-items: flex-start; gap: .55rem; font-size: 1.05rem; color: var(--text-mid); line-height: 1.5; }
.expert-edu-item i { color: var(--primary); width: 14px; flex-shrink: 0; margin-top: .15rem; }
.expert-project-section { display: flex; flex-direction: column; gap: .35rem; }
.expert-project-item { display: flex; align-items: flex-start; gap: .55rem; font-size: 1.05rem; color: var(--text-mid); line-height: 1.5; padding: .5rem .75rem; background: var(--bg-alt); border-radius: 8px; border-left: 3px solid var(--primary); }
.expert-project-item i { color: var(--primary); width: 14px; flex-shrink: 0; margin-top: .15rem; }
.expert-affiliation { font-size: .82rem; color: var(--text-light); font-weight: 500; }
.expert-card-info .expert-role { font-size: .9rem; color: var(--text-mid); font-weight: 600; }
.expert-name-link { font-size: 1.1rem; font-weight: 800; color: var(--text); cursor: pointer; transition: color .18s; }
.expert-card:hover .expert-name-link { color: var(--primary); }
.expert-card-footer { display: none; }
.expert-view-btn    { display: none; }

/* ── 14. Contact ──────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 56px; }
.contact-form-wrap h3 { font-size: 1.65rem; font-weight: 800; color: var(--text); margin-bottom: 2rem; }
.contact-form-wrap .btn-full {
  padding: 1.1rem 2rem;
  font-size: 1.15rem;
  margin-top: .5rem;
  border-radius: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: .45rem; }
.required { color: var(--accent); }
.form-group input:not([type="checkbox"]),
.form-group select {
  width: 100%; padding: .75rem 2.5rem .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.82rem; color: var(--text); background: var(--bg);
  transition: var(--transition); outline: none;
  appearance: none; -webkit-appearance: none;
}
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.82rem; color: var(--text); background: var(--bg);
  transition: var(--transition); outline: none;
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  padding-right: 2.5rem;
  cursor: pointer;
}
.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .75rem;
  color: var(--text-light);
  pointer-events: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  font-size: 0.82rem;
  color: var(--text-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(232,129,36,.15); }
.form-group input.error,
.form-group textarea.error { border-color: #e53935; }
.form-error { display: block; font-size: .95rem; color: #e53935; margin-top: .3rem; min-height: 1rem; }
.privacy-check label { display: flex; align-items: center; gap: .75rem; font-size: 1.05rem; color: var(--text-mid); cursor: pointer; line-height: 1.5; }
.privacy-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.privacy-link { color: var(--primary); }
.form-success { text-align: center; padding: 3rem 2rem; }
.form-success i { font-size: 3rem; color: #2e7d32; margin-bottom: 1rem; }
.form-success h4 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.form-success p { color: var(--text-mid); font-size: 1rem; }
.contact-info-card,
.faq-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; }
.contact-info-card h3,
.faq-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }
.contact-item { display: flex; gap: .75rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-item i {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--bg-alt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.contact-item strong { display: block; font-size: 1.05rem; color: var(--text-light); margin-bottom: .25rem; }
.contact-item a, .contact-item span { font-size: 1.15rem; color: var(--text-mid); }
.contact-item a:hover { color: var(--primary); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 1rem 0;
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q i { flex-shrink: 0; transition: var(--transition); font-size: .9rem; color: var(--text-light); }
.faq-q.open i { transform: rotate(45deg); color: var(--primary); }
.faq-a { display: none; padding: 0 0 1rem; font-size: 1.05rem; color: var(--text-mid); line-height: 1.65; }
.faq-a.open { display: block; animation: fadeIn .3s ease; }

/* ── 15. Footer ───────────────────────────── */
#footer { background: #1a1a2e; color: var(--white); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  padding: 28px 0 24px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .92;
  transition: opacity .25s;
}
.footer-logo-img:hover { opacity: 1; }
.footer-brand p { font-size: 0.68rem; opacity: .75; line-height: 1.6; margin-bottom: 1.25rem; }

/* 푸터 텍스트 로고 */
.footer-logo-text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  margin-bottom: .8rem;
}
.footer-logo-gdi {
  background: #e88124;
  color: #fff;
  padding: .2rem .7rem;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.footer-logo-sep {
  color: rgba(255,255,255,.3);
  font-weight: 300;
  font-size: 1.2rem;
}
.footer-logo-cp {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.footer-col h5 { font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 1rem; color: rgba(255,255,255,.65); padding: .3rem 0; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .9rem 0;
  text-align: center;
}
.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .3rem .2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-weight: 400;
}
.footer-company-info span { white-space: nowrap; }
.footer-divider {
  color: rgba(255,255,255,.25);
  font-size: .7rem;
  padding: 0 .2rem;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-policy { display: flex; gap: 1.2rem; }
.footer-policy a { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-policy a:hover { color: rgba(255,255,255,.7); }

/* ── 16. Project Detail Page (Blog Post) ──── */

/* page-project-detail: 독립 스크롤 컨테이너 (항상 상단 시작 보장) */
#page-project-detail {
  background: #fff;
}
#page-project-detail.active {
  /* 독립 full-page 레이어로 표시 */
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 500;
  /* navbar 아래에서 시작 되도록 */
  padding-top: var(--nav-h);
  /* pageFadeIn 애니메이션 상속 */
}

/* ═══════════════════════════════════════════════════════
   Project Detail Page — Consulting Firm Style (pd-*)
═══════════════════════════════════════════════════════ */

/* ── 상단 Back 바 ── */
.pd-topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8eaf0;
  padding: .7rem 2.5rem;
}
.pd-back-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: #6b7280;
  background: none; border: none; cursor: pointer;
  transition: color .15s;
}
.pd-back-btn:hover { color: var(--primary); }
.pd-back-btn i { font-size: .8rem; }

/* ── 히어로 ── */
.pd-hero {
  display: flex; align-items: center;
  min-height: 300px;
  padding: 0 6vw;
}
.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 0;
}
.pd-hero-chips {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1.2rem;
}
.pd-chip-country {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border-radius: 20px; padding: .3rem .9rem;
}
.pd-chip-status {
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 20px; padding: .28rem .85rem;
}
.pd-chip-status.ongoing {
  color: #e88124; border: 1.5px solid rgba(232,129,36,.6);
  background: rgba(232,129,36,.12);
}
.pd-chip-status.completed {
  color: #4caf50; border: 1.5px solid rgba(76,175,80,.6);
  background: rgba(76,175,80,.12);
}
.pd-hero-title {
  font-size: 2.1rem; font-weight: 900; color: #fff;
  line-height: 1.3; letter-spacing: -.03em; margin: 0 0 1.2rem;
}
.pd-hero-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.pd-hero-tags .ptag { font-size: .8rem; opacity: .85; }

/* 메타 카드 */
.pd-meta-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border-radius: 14px; overflow: hidden;
}
.pd-meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: .85rem 1.6rem;
  align-items: baseline;
  min-width: 280px;
}
.pd-meta-row:last-child { border-bottom: none; }
.pd-meta-label {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}
.pd-meta-val {
  font-size: .88rem; font-weight: 600;
  color: rgba(255,255,255,.9); line-height: 1.45;
  white-space: nowrap;
}

/* ── 본문 ── */
.pd-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 6vw 5rem;
  width: 100%;
}

/* ── 연차별 탭 ── */
.pd-yearly-wrap {
  margin-top: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.pd-yearly-header {
  display: flex; align-items: center;
  justify-content: space-between;
  background: #0d1b2a; padding: 1rem 1.6rem;
}
.pd-yearly-label {
  font-size: .7rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.pd-yearly-tabs { display: flex; gap: .5rem; }
.pd-yr-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .42rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: transparent;
  font-size: .84rem; font-weight: 700;
  color: rgba(255,255,255,.45);
  cursor: pointer; transition: all .2s;
}
.pd-yr-btn:hover { border-color: rgba(232,129,36,.5); color: rgba(255,255,255,.8); }
.pd-yr-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pd-yr-period { font-size: .74rem; font-weight: 400; opacity: .65; }
.pd-yr-btn.active .pd-yr-period { opacity: .85; }
.pd-yearly-panels { background: #fafbfc; padding: 2rem 2.2rem 2.5rem; }
.pd-yr-panel { display: none; animation: pdPanelIn .25s ease both; }
.pd-yr-panel.active { display: block; }
@keyframes pdPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── proj-intro (Overview / Rationale / Outcomes) ── */
.proj-intro-wrap {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 2.5rem;
  border-radius: 14px; overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.pi-main-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 0;
}
.pi-section--overview {
  padding: 2.4rem 2.8rem; background: #fff;
  border-right: 1px solid #e5e7eb;
}
.pi-section--rationale { padding: 2.4rem 2.8rem; background: #fff; border-left: 4px solid var(--primary); }
.pi-section-eyebrow {
  font-size: .67rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.pi-section-eyebrow::before {
  content: ''; display: inline-block;
  width: 18px; height: 2px;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
.pi-section-eyebrow--light { color: var(--primary); }
.pi-section-eyebrow--light::before { background: var(--primary); }
.pi-section-body { font-size: .95rem; color: #374151; line-height: 1.75; margin: 0 0 1.2rem; }
.pi-section-body:last-child { margin-bottom: 0; }
.pi-section-body--light { color: #374151; }
.pi-outcomes-wrap { border-top: 1px solid #e5e7eb; background: #fff; }
.pi-outcomes-title {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 2rem; border-bottom: 1px solid #e5e7eb;
  background: #0d1b2a;
}
.pi-outcomes-label {
  font-size: .7rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.pi-outcomes-line { flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.pi-out-list { display: flex; flex-direction: column; }
.pi-out-row {
  display: flex; align-items: center; gap: 1.4rem;
  padding: .95rem 2rem; border-bottom: 1px solid #f3f4f6;
  transition: background .15s;
}
.pi-out-row:last-child { border-bottom: none; }
.pi-out-row:hover { background: #f9fafb; }
.pi-out-num {
  font-size: 1.1rem; font-weight: 900; color: #c0611a;
  letter-spacing: -.04em; line-height: 1; flex-shrink: 0; width: 32px;
  opacity: 1;
}
.pi-out-bar { width: 3px; height: 28px; background: var(--primary); border-radius: 2px; flex-shrink: 0; opacity: .6; }
.pi-out-text { font-size: .92rem; color: #374151; line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════════
   Rwanda SDEP — rw-intro Block
═══════════════════════════════════════════════════════ */
.rw-intro-wrap {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 2rem;
  border-radius: 14px; overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* 상단 2열 그리드 */
.rw-top-grid {
  display: grid; grid-template-columns: 5fr 4fr; gap: 0;
}
.rw-overview-col {
  padding: 2.6rem 3rem;
  background: #fff;
  border-right: 1px solid #e5e7eb;
}
.rw-challenges-col {
  padding: 2.6rem 2.4rem;
  background: #0d1b2a;
}

/* Eyebrow 레이블 */
.rw-eyebrow {
  font-size: .65rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .5rem;
}
.rw-eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
.rw-eyebrow--dark { color: var(--primary); }
.rw-eyebrow--dark::before { background: var(--primary); }

.rw-overview-body {
  font-size: .96rem; color: #374151; line-height: 1.75; margin: 0;
}

/* 도전과제 카드 */
.rw-challenge-list { display: flex; flex-direction: column; gap: .8rem; }
.rw-challenge-card {
  display: flex; align-items: flex-start; gap: .9rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: .9rem 1rem;
  transition: background .2s;
}
.rw-challenge-card:hover { background: rgba(255,255,255,.13); }
.rw-challenge-icon {
  width: 34px; height: 34px;
  background: rgba(232,129,36,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rw-challenge-icon i { color: var(--primary); font-size: .9rem; }
.rw-challenge-label {
  font-size: .82rem; font-weight: 700; color: #fff;
  margin-bottom: .25rem; line-height: 1.3;
}
.rw-challenge-desc {
  font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.55;
}

/* 하단 그리드 */
.rw-bottom-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid #fde8cc;
}
.rw-sdg-col {
  padding: 2rem 2.4rem;
  background: #fff8f2;
  border-right: 1px solid #fde8cc;
}
.rw-outcomes-col {
  padding: 2rem 2.4rem;
  background: #fff;
}
.rw-bottom-label {
  font-size: .65rem; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .5rem;
}
.rw-bottom-label::before {
  content: ''; display: inline-block;
  width: 16px; height: 2px;
  background: var(--primary); border-radius: 2px; flex-shrink: 0;
}
.rw-un-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #009edb;
  color: #fff;
  font-size: .62rem; font-weight: 900;
  letter-spacing: .1em;
  padding: .15rem .42rem;
  border-radius: 3px;
  line-height: 1.2;
  box-shadow: 0 1px 5px rgba(0,158,219,.35);
  flex-shrink: 0;
}

/* SDG 카드 */
.rw-sdg-list { display: flex; flex-direction: column; gap: .6rem; }
.rw-sdg-card {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: .75rem 1rem;
  border-left: 4px solid var(--primary);
}
.rw-sdg-num {
  font-size: .72rem; font-weight: 900;
  color: var(--primary);
  letter-spacing: .5px; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0; min-width: 44px;
}
.rw-sdg-label {
  font-size: .83rem; font-weight: 700; color: #1f2937;
  line-height: 1.3; white-space: nowrap;
}
.rw-sdg-desc {
  font-size: .78rem; color: #6b7280; line-height: 1.45;
  margin-left: auto; text-align: right; max-width: 200px;
}

/* Outcomes 리스트 */
.rw-outcome-list { display: flex; flex-direction: column; gap: .85rem; }
.rw-outcome-row {
  display: flex; align-items: flex-start; gap: .9rem;
}
.rw-outcome-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: #fff7ed; border: 1px solid #fcd5a0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: .1rem;
}
.rw-outcome-icon i { color: var(--primary); font-size: .85rem; }
.rw-outcome-text { font-size: .9rem; color: #374151; line-height: 1.6; margin: 0; }

/* rw-intro 반응형 */
@media (max-width: 900px) {
  .rw-top-grid { grid-template-columns: 1fr; }
  .rw-overview-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .rw-bottom-grid { grid-template-columns: 1fr; }
  .rw-sdg-col { border-right: none; border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 640px) {
  .rw-overview-col, .rw-challenges-col, .rw-sdg-col, .rw-outcomes-col { padding: 1.6rem 1.4rem; }
  .rw-sdg-desc { display: none; }
}

/* ═══════════════════════════════════════════════════════
   Rwanda rpt-* 전용 카드 스타일 (르완다 녹색 계열)
═══════════════════════════════════════════════════════ */
.rpt-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px; overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.rpt-card-header {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.6rem;
  background: #0d1b2a;
  font-size: .82rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.rpt-card-header i { color: var(--primary); font-size: .9rem; }

/* KPI Row */
.rpt-kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-bottom: 1.4rem;
}
.rpt-kpi {
  display: flex; flex-direction: column; align-items: center;
  gap: .4rem; padding: 1.6rem 1rem;
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; margin: 0 .35rem .35rem 0;
  text-align: center;
  transition: box-shadow .2s;
}
.rpt-kpi:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.rpt-kpi i { font-size: 1.3rem; color: var(--primary); }
.rpt-kpi-value { font-size: 1.45rem; font-weight: 900; color: #0d1b2a; letter-spacing: -.03em; }
.rpt-kpi-label { font-size: .78rem; color: #6b7280; font-weight: 500; }

/* Section 상단 전체 너비 이미지 */
.rpt-section-img-top {
  padding: 2rem 3rem 1.2rem;
  border-bottom: 1px solid #f3f4f6;
  background: #f8f9fa;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.rpt-section-img-top-img {
  width: 100%; max-width: 560px;
  border-radius: 12px; display: block;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.rpt-section-img-caption {
  font-size: .8rem; color: #9ca3af;
  text-align: center; margin: 0; line-height: 1.5;
}

/* Table rows */
.rpt-table { padding: 0; }
.rpt-table-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 1.2rem; align-items: center;
  padding: .8rem 1.6rem;
  border-bottom: 1px solid #f3f4f6;
}
.rpt-table-row:last-child { border-bottom: none; }
.rpt-table-label {
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); white-space: nowrap;
}
.rpt-table-value { font-size: .9rem; color: #374151; line-height: 1.5; }

/* ── Key Deliverables (rw-deliverables) ── */
.rwd-card { overflow: hidden; }
.rwd-list { padding: .4rem 0; }
.rwd-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 1.8rem;
  border-bottom: 1px solid #f1f3f5;
  transition: background .15s;
}
.rwd-item:last-child { border-bottom: none; }
.rwd-item:hover { background: #fafbfc; }
.rwd-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff7ed;
  border: 1.5px solid #f5c187;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800;
  color: var(--primary);
  letter-spacing: .03em;
  margin-top: .05rem;
}
.rwd-body {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  flex: 1;
}
.rwd-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.rwd-desc {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Chips */
.rpt-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.2rem 1.6rem; }
.rpt-chip {
  font-size: .82rem; font-weight: 600;
  background: #fff7ed; border: 1px solid #fcd5a0;
  color: #92400e; border-radius: 20px;
  padding: .3rem .9rem;
}

/* Modules */
.rpt-modules { display: flex; flex-direction: column; gap: 0; }
.rpt-module {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.1rem 1.6rem; border-bottom: 1px solid #f3f4f6;
}
.rpt-module:last-child { border-bottom: none; }
.rpt-module-num {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 900; color: #fff;
}
.rpt-module-title { font-size: .93rem; font-weight: 700; color: #111827; margin-bottom: .3rem; }
.rpt-module-desc { font-size: .87rem; color: #6b7280; line-height: 1.6; }

/* Visits */
.rpt-visits { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding: 1.2rem 1.6rem; }
.rpt-visit--last { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
.rpt-visit {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; padding: 1rem; text-align: center;
  background: #f8f9fa; border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.rpt-visit-icon { font-size: 1.3rem; color: var(--primary); }
.rpt-visit-name { font-size: .8rem; font-weight: 600; color: #374151; line-height: 1.4; }
.rpt-visits-desc { font-size: .88rem; color: #6b7280; padding: .6rem 1.6rem 0; line-height: 1.6; }

/* Actions */
.rpt-actions { display: flex; flex-direction: column; gap: 0; }
.rpt-action {
  display: flex; align-items: flex-start; gap: 1.4rem;
  padding: 1.1rem 1.6rem; border-bottom: 1px solid #f3f4f6;
}
.rpt-action:last-child { border-bottom: none; }
.rpt-action-num {
  font-size: 2rem; font-weight: 900;
  color: #c0611a;
  line-height: 1; flex-shrink: 0; min-width: 42px;
}
.rpt-action-title { font-size: .93rem; font-weight: 700; color: #111827; margin-bottom: .3rem; }
.rpt-action-desc { font-size: .87rem; color: #6b7280; line-height: 1.6; }

/* Scorecard */
.rpt-scorecard {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.rpt-score {
  padding: 1.4rem 1.2rem; text-align: center;
  border-right: 1px solid #f3f4f6;
  border-top: 3px solid var(--sc, var(--primary));
}
.rpt-score:last-child { border-right: none; }
.rpt-score-value { font-size: 1.9rem; font-weight: 900; color: #111827; letter-spacing: -.04em; }
.rpt-score-label { font-size: .8rem; font-weight: 700; color: #374151; margin: .3rem 0 .2rem; }
.rpt-score-sub { font-size: .74rem; color: #9ca3af; line-height: 1.4; }

/* Closing block */
.rpt-closing {
  display: flex; align-items: flex-start; gap: 1.4rem;
  background: #fff8f2;
  border: 1px solid #fde8cc;
  border-left: 4px solid var(--primary);
  border-radius: 14px; padding: 2rem 2.4rem;
  margin-bottom: 1.4rem;
}
.rpt-closing-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #fde8cc; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.rpt-closing-icon i { color: var(--primary); font-size: 1.1rem; }
.rpt-closing-title {
  font-size: 1rem; font-weight: 800; color: #111827; margin-bottom: .6rem;
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.rpt-closing-title .un-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #009edb;
  color: #fff;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 4px;
  vertical-align: middle;
  box-shadow: 0 1px 6px rgba(0,158,219,.4);
}
.rpt-closing-title .un-badge i { font-size: .7rem; }
.rpt-closing-text { font-size: .9rem; color: #374151; line-height: 1.75; margin: 0; }
.rpt-closing-text strong { color: #111827; font-weight: 700; }
.rpt-link-card { text-align: center; }
.rpt-link-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .65rem 1.6rem;
  background: #1877f2;
  color: #fff;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.rpt-link-btn:hover { background: #1558b0; }

/* rpt-* 반응형 */
@media (max-width: 900px) {
  .rpt-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .rpt-scorecard { grid-template-columns: repeat(2, 1fr); }
  .rpt-visits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rpt-kpi-row { grid-template-columns: 1fr 1fr; }
  .rpt-scorecard { grid-template-columns: 1fr 1fr; }
  .rpt-visits { grid-template-columns: 1fr 1fr; }
  .rpt-table-row { grid-template-columns: 80px 1fr; }
}

/* ── bp-* 블록 (label/text/list/numbered/spacer 등) ── */
.bp-label { margin: 2rem 0 .75rem; }
.bp-label span {
  display: inline-block; background: #0d1b2a; color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: .28rem .8rem; border-radius: 4px;
  letter-spacing: .06em; text-transform: uppercase;
}
.bp-text { font-size: .96rem; color: #374151; line-height: 1.82; margin: 0 0 .5rem; }
.bp-numbered { display: flex; flex-direction: column; gap: 0; margin: .4rem 0; }
.bp-numbered-item { margin-bottom: .85rem; }
.bp-numbered-title { font-size: .96rem; font-weight: 700; color: #111827; margin: 0 0 .3rem; line-height: 1.5; }
.bp-numbered-body { font-size: .93rem; color: #6b7280; line-height: 1.75; margin: 0; }
.bp-list { display: flex; flex-direction: column; gap: .5rem; padding: 0; margin: .4rem 0; list-style: none; }
.bp-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .96rem; color: #374151; line-height: 1.65; }
.bp-list li span { flex: 1; }
.bp-list-check li i { color: var(--primary); font-size: .83rem; flex-shrink: 0; margin-top: .36rem; }
.bp-list-bullet li i { color: #d1d5db; font-size: .4rem; flex-shrink: 0; margin-top: .76rem; }
.bp-spacer { height: 1.2rem; }
.bp-figure { margin: 1.5rem 0; }
.bp-img { width: 100%; border-radius: 8px; display: block; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.bp-figcaption { text-align: center; font-size: .83rem; color: #9ca3af; margin-top: .6rem; }
.bp-stats-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.bp-stat {
  flex: 1; min-width: 110px;
  background: #fff7ed; border: 1px solid #fcd5a0;
  border-radius: 10px; padding: 1rem 1.2rem; text-align: center;
}
.bp-stat-val { font-size: 1.7rem; font-weight: 900; color: var(--primary); letter-spacing: -.03em; line-height: 1; }
.bp-stat-label { font-size: .78rem; color: #9ca3af; margin-top: .35rem; font-weight: 500; }
.bp-chart-wrap { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.4rem; margin: 1rem 0; }

/* 반응형 */
@media (max-width: 1100px) {
  .pd-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-meta-card { display: grid; grid-template-columns: repeat(3, 1fr); }
  .pd-meta-row { border-right: 1px solid rgba(255,255,255,.1); border-bottom: none; }
  .pd-meta-row:nth-child(3) { border-right: none; }
  .pd-meta-row:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
  .pd-meta-row:last-child { border-right: none; }
}
@media (max-width: 768px) {
  .pd-hero { padding: 0 1.5rem; min-height: auto; }
  .pd-hero-title { font-size: 1.5rem; }
  .pd-body { padding: 2rem 1.5rem 4rem; }
  .pi-main-grid { grid-template-columns: 1fr; }
  .pi-section--overview { border-right: none; border-bottom: 1px solid #e5e7eb; }
  .pd-yearly-header { flex-direction: column; gap: .8rem; align-items: flex-start; }
  .pd-meta-card { display: flex; flex-direction: column; }
  .pd-meta-row { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
}



/* (레거시 bp-cover 제거됨) */
.bp-cover {
  display: none;
}
.bp-cover-inner { width: 100%; max-width: 860px; margin: 0 auto; }
.bp-cover-meta {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  margin-bottom: .9rem;
}
.bp-cover-country {
  font-size: .88rem; color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: .35rem;
}
.bp-cover-title {
  font-size: 2rem; font-weight: 900; color: #fff;
  line-height: 1.35; letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.bp-cover-byline {
  font-size: .9rem; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin-bottom: .9rem;
}
.bp-cover-byline strong { color: rgba(255,255,255,.88); }
.bp-cover-dot { opacity: .4; }
.bp-cover-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.bp-cover-tags .ptag { font-size: .8rem; opacity: .9; }

/* Info strip */
.bp-infostrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--border);
  max-width: 100%;
}
.bp-infostrip-item {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--border);
}
.bp-infostrip-item:last-child { border-right: none; }
.bp-infostrip-item > i { font-size: 1.05rem; color: var(--primary); flex-shrink: 0; }
.bp-infostrip-item > div { display: flex; flex-direction: column; gap: .08rem; }
.bp-infostrip-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-light); text-transform: uppercase; letter-spacing: .07em;
}
.bp-infostrip-val { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.35; }

/* ── 연차별 탭 ── */
.yearly-tab-wrap {
  margin: 2rem 0 2.5rem;
  width: 100%;
}
.yearly-tab-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(26,26,46,.4);
  margin-bottom: 1rem;
}
.yearly-tab-btns {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  border-bottom: 2px solid rgba(26,26,46,.1);
}
.yearly-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  flex: 1;
  padding: .9rem 1rem;
  border-radius: 8px 8px 0 0;
  border: 2px solid transparent;
  border-bottom: none;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(26,26,46,.4);
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  bottom: -2px;
}
.yearly-tab-btn:hover {
  color: var(--primary);
  background: rgba(232,129,36,.04);
}
.yearly-tab-btn.active {
  color: var(--primary);
  background: #fff;
  border-color: rgba(26,26,46,.1);
  border-bottom-color: #fff;
}
.yearly-tab-period {
  font-size: .75rem;
  font-weight: 400;
  color: rgba(26,26,46,.3);
}
.yearly-tab-btn.active .yearly-tab-period {
  color: rgba(232,129,36,.65);
}

/* 패널 슬라이드 전환 */
.yearly-tab-panels {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(26,26,46,.1);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fafafa;
  padding: 2.2rem 2.5rem;
  min-height: 200px;
}
.yearly-tab-panel {
  display: none;
  animation: yearSlideIn .3s ease both;
}
.yearly-tab-panel.active {
  display: block;
}
@keyframes yearSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Blog body (peerlab 스타일 — 단일 컬럼, 넉넉한 여백) ── */
.bp-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 4rem 5rem;
  display: flex; flex-direction: column; gap: 0;
}

/* 섹션 레이블 — 짙은 배경 인라인 박스 */
.bp-label { margin: 2rem 0 .75rem; }
.bp-label span {
  display: inline-block;
  background: #3d1f0d;
  color: #fff;
  font-size: .88rem; font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 3px;
  letter-spacing: .01em;
}

/* 본문 단락 */
.bp-text {
  font-size: 1.02rem; color: #333;
  line-height: 1.75; margin: 0 0 .5rem;
}

/* 번호 섹션 */
.bp-numbered { display: flex; flex-direction: column; gap: 0; margin: .4rem 0; }
.bp-numbered-item { margin-bottom: .8rem; }
.bp-numbered-title {
  font-size: 1.02rem; font-weight: 700; color: #1a1a2e;
  margin: 0 0 .3rem; line-height: 1.5;
}
.bp-numbered-body {
  font-size: 1.02rem; color: #555;
  line-height: 1.65; margin: 0;
}

/* 리스트 */
.bp-list {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 0; margin: .4rem 0; list-style: none;
}
.bp-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: 1.02rem; color: #444; line-height: 1.6;
}
.bp-list li span { flex: 1; }
.bp-list-check li i { color: var(--primary); font-size: .88rem; flex-shrink: 0; margin-top: .33rem; }
.bp-list-bullet li i { color: #bbb; font-size: .42rem; flex-shrink: 0; margin-top: .74rem; }

/* 여백 */
.bp-spacer { height: 1.2rem; }

/* 이미지 */
.bp-figure { margin: 1.5rem 0; }
.bp-img { width: 100%; border-radius: 8px; display: block; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.bp-figcaption { text-align: center; font-size: .84rem; color: #999; margin-top: .6rem; line-height: 1.5; }

/* 통계 카드 */
.bp-stats-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.bp-stat {
  flex: 1; min-width: 110px;
  background: #fff7ed; border: 1px solid #fcd5a0;
  border-radius: 10px; padding: 1rem 1.2rem; text-align: center;
}
.bp-stat-val { font-size: 1.7rem; font-weight: 900; color: var(--primary); letter-spacing: -.03em; line-height: 1; }
.bp-stat-label { font-size: .8rem; color: #888; margin-top: .35rem; font-weight: 500; }

/* 차트 */
.bp-chart-wrap { background: #f9f9f9; border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem; margin: 1rem 0; }

/* 작성자 카드 */
.bp-author-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: #f8f8f8; border: 1px solid #e5e5e5;
  border-radius: 14px; padding: 1.75rem 2rem;
  margin-top: 3.5rem;
}
.bp-author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e, #c0611a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; flex-shrink: 0;
}
.bp-author-name { font-size: 1.08rem; font-weight: 800; color: #1a1a2e; margin-bottom: .2rem; }
.bp-author-role { font-size: .86rem; color: #888; margin-bottom: .6rem; }
.bp-author-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.bp-author-tag {
  font-size: .78rem; color: #666;
  background: #fff; border: 1px solid #ddd;
  border-radius: 4px; padding: .2rem .6rem;
}

/* 반응형 */
@media (max-width: 900px) {
  .bp-infostrip { grid-template-columns: 1fr 1fr; }
  .bp-infostrip-item:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .bp-cover { padding: 2.5rem 1.5rem 2rem; }
  .bp-cover-title { font-size: 1.4rem; }
  .bp-infostrip { grid-template-columns: 1fr 1fr; }
  .bp-body { padding: 2.5rem 1.5rem 3.5rem; }
  .bp-topbar { padding: .6rem 1.2rem; }
  .bp-author-card { flex-direction: column; text-align: center; padding: 1.4rem; }
}

/* ═══════════════════════════════════════════════════
   Project Intro Block — Consulting Firm Style
═══════════════════════════════════════════════════ */

.proj-intro-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 -4rem 2rem;
  width: calc(100% + 8rem);
}

/* ① 메타 스트립 */
.pi-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: #0d1b2a;
  border-radius: 10px 10px 0 0;
}
.pi-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pi-meta-flag { font-size: 2rem; line-height: 1; }
.pi-meta-country {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.pi-meta-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: .2rem;
}
.pi-status-pill {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e88124;
  border: 1.5px solid rgba(232,129,36,.5);
  border-radius: 20px;
  padding: .28rem .85rem;
}

/* ① 메인 2열 그리드 */
.pi-main-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  border: 1px solid #e2e6ef;
  border-radius: 10px 10px 0 0;
}

/* 왼쪽 — Overview */
.pi-section--overview {
  padding: 2.4rem 2.6rem;
  background: #fff;
  border-right: 1px solid #e2e6ef;
}

/* 오른쪽 — Rationale */
.pi-section--rationale {
  padding: 2.4rem 2.2rem;
  background: #f7f8fb;
}

.pi-section-eyebrow {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pi-section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}
.pi-section-eyebrow--light {
  color: #6b7a99;
}
.pi-section-eyebrow--light::before {
  background: #6b7a99;
}

.pi-section-body {
  font-size: .95rem;
  color: #2a2a3e;
  line-height: 1.85;
  margin: 0;
}
.pi-section-body--light {
  color: #4a5068;
}

/* ③ Expected Outcomes */
.pi-outcomes-wrap {
  border: 1px solid #e2e6ef;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff;
  overflow: hidden;
}
.pi-outcomes-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #e2e6ef;
  background: #0d1b2a;
}
.pi-outcomes-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.pi-outcomes-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.pi-out-list {
  display: flex;
  flex-direction: column;
}
.pi-out-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.05rem 2rem;
  border-bottom: 1px solid #f0f2f8;
  transition: background .15s;
}
.pi-out-row:last-child { border-bottom: none; }
.pi-out-row:hover { background: #f9fafd; }

.pi-out-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: #c0611a;
  letter-spacing: -.04em;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  font-variant-numeric: tabular-nums;
}
.pi-out-bar {
  width: 3px;
  height: 32px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
  opacity: .7;
}
.pi-out-text {
  font-size: .93rem;
  color: #2a2a3e;
  line-height: 1.6;
  margin: 0;
}

/* 반응형 */
@media (max-width: 860px) {
  .pi-main-grid { grid-template-columns: 1fr; }
  .pi-section--overview { border-right: none; border-bottom: 1px solid #e2e6ef; }
}
@media (max-width: 640px) {
  .proj-intro-wrap {
    margin: 0 -1.5rem 2rem;
    width: calc(100% + 3rem);
  }

}
@media (max-width: 540px) {
  .pi-meta-strip { padding: .9rem 1.2rem; }
  .pi-section--overview,
  .pi-section--rationale { padding: 1.6rem 1.4rem; }
  .pi-out-row { padding: .9rem 1.2rem; gap: 1rem; }
  .pi-outcomes-title { padding: 1rem 1.2rem; }
}

/* ═══════════════════════════════════════════════════
   Report-Style Blocks — Year 2 Iraq Program
═══════════════════════════════════════════════════ */

/* ── Hero Banner ── */
.rpt-hero {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  background: linear-gradient(135deg, #1a3a5c 0%, #2c2c50 100%);
  border-radius: 14px;
  padding: 2.2rem 2.4rem;
  margin-bottom: 1.6rem;
  color: #fff;
}
.rpt-hero-flag {
  font-size: 3.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .2rem;
}
.rpt-hero-badge {
  display: inline-block;
  background: rgba(232,129,36,.85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .8rem;
}
.rpt-hero-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 .4rem;
  color: #fff;
}
.rpt-hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin: 0 0 .6rem;
}
.rpt-hero-desc {
  font-size: .93rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin: 0;
}

/* ── KPI 카드 행 ── */
.rpt-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.rpt-kpi {
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .2s;
}
.rpt-kpi:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.rpt-kpi i {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: .5rem;
  display: block;
}
.rpt-kpi-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpt-kpi-label {
  font-size: .78rem;
  color: #888;
  margin-top: .3rem;
  font-weight: 500;
}

/* ── 공통 rpt-card ── */
.rpt-card {
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.rpt-card-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #f4f6fb;
  border-bottom: 1px solid #e8e8ee;
  padding: .9rem 1.4rem;
  font-size: .92rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: .01em;
}
.rpt-card-header i { color: var(--primary); font-size: 1rem; }

/* ── 개요 테이블 ── */
.rpt-table { padding: .5rem 0; }
.rpt-table-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: start;
  gap: .6rem 1.2rem;
  padding: .75rem 1.4rem;
  border-bottom: 1px solid #f0f0f4;
}
.rpt-table-row:last-child { border-bottom: none; }
.rpt-table-label {
  font-size: .82rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding-top: .05rem;
}
.rpt-table-value {
  font-size: .96rem;
  color: #2a2a3e;
  line-height: 1.55;
}

/* ── 칩 (Key Learning) ── */
.rpt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 1.1rem 1.4rem;
}
.rpt-chip {
  background: #fff7ed;
  border: 1px solid #fcd5a0;
  color: #b35c00;
  font-size: .86rem;
  font-weight: 600;
  border-radius: 20px;
  padding: .35rem .95rem;
  line-height: 1.3;
}

/* ── 커리큘럼 모듈 ── */
.rpt-modules { padding: .8rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.rpt-module {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #f9fafc;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--primary);
}
.rpt-module-num {
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: -.5px;
}
.rpt-module-title {
  font-size: .96rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: .3rem;
  line-height: 1.4;
}
.rpt-module-desc {
  font-size: .88rem;
  color: #666;
  line-height: 1.6;
}

/* ── 현장 방문 ── */
.rpt-visits-desc {
  font-size: .9rem;
  color: #555;
  line-height: 1.65;
  padding: .9rem 1.4rem .2rem;
  margin: 0;
}
.rpt-visits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  padding: 1rem 1.4rem 1.2rem;
}
.rpt-visit {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #f9fafc;
  border-radius: 10px;
  padding: .8rem 1rem;
  border: 1px solid #eee;
}
.rpt-visit-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #1a3a5c, #2c2c50);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rpt-visit-icon i { color: #fff; font-size: .9rem; }
.rpt-visit-name {
  font-size: .88rem;
  font-weight: 600;
  color: #2a2a3e;
  line-height: 1.4;
}

/* ── 액션 플랜 ── */
.rpt-actions { padding: 1rem 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.rpt-action {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, #fff7ed, #fff);
  border-radius: 12px;
  border: 1px solid #fcd5a0;
}
.rpt-action-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #c0611a;
  opacity: 1;
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  width: 36px;
}
.rpt-action-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: .35rem;
  line-height: 1.4;
}
.rpt-action-desc {
  font-size: .9rem;
  color: #666;
  line-height: 1.6;
}

/* ── 성과 스코어카드 ── */
.rpt-scorecard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: none;
}
.rpt-score {
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid #e8e8ee;
  position: relative;
}
.rpt-score:last-child { border-right: none; }
.rpt-score::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--sc, var(--primary));
  border-radius: 2px;
  margin: .7rem auto 0;
}
.rpt-score-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--sc, var(--primary));
  line-height: 1;
  letter-spacing: -.03em;
}
.rpt-score-label {
  font-size: .8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: .5rem;
  line-height: 1.35;
}
.rpt-score-sub {
  font-size: .75rem;
  color: #aaa;
  margin-top: .2rem;
}

/* ── 의의(Closing) ── */
.rpt-closing {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff8f2;
  border: 1px solid #fde8cc;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
}
.rpt-closing-icon {
  width: 44px; height: 44px;
  background: #fde8cc;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rpt-closing-icon i { color: var(--primary); font-size: 1.1rem; }
.rpt-closing-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: .5rem;
}
.rpt-closing-text {
  font-size: .95rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}
.rpt-closing-text strong { color: #111827; font-weight: 700; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .rpt-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .rpt-scorecard { grid-template-columns: repeat(2, 1fr); }
  .rpt-score:nth-child(2) { border-right: none; }
  .rpt-score:nth-child(3) { border-top: 1px solid #e8e8ee; }
  .rpt-score:nth-child(4) { border-top: 1px solid #e8e8ee; }
}
@media (max-width: 640px) {
  .rpt-hero { flex-direction: column; gap: 1rem; padding: 1.6rem 1.2rem; }
  .rpt-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .rpt-visits { grid-template-columns: 1fr; }
  .rpt-scorecard { grid-template-columns: repeat(2, 1fr); }
  .rpt-table-row { grid-template-columns: 1fr; gap: .2rem; }
  .rpt-table-label { font-size: .75rem; }
  .rpt-hero-title { font-size: 1.2rem; }
}

/* ── Expert Modal (centre overlay) ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,46,.72); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: 20px;
  max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform var(--transition);
  box-shadow: 0 24px 60px rgba(26,26,46,.35);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: sticky; top: 1rem; float: right; margin: 1rem 1rem 0;
  width: 36px; height: 36px; background: var(--bg-alt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: .9rem; transition: var(--transition); z-index: 1;
  border: 1.5px solid var(--border);
}
.modal-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.modal-content { padding: 2rem 2.5rem 2.5rem; }
.modal-section { margin-top: 1.5rem; }
.modal-section h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .85rem; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.modal-info-item { background: var(--bg-alt); border-radius: var(--radius); padding: .75rem 1rem; }
.modal-info-item .label { font-size: 1rem; color: var(--text-light); margin-bottom: .25rem; }
.modal-info-item .value { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.modal-outcome-list { display: flex; flex-direction: column; gap: .5rem; }
.modal-outcome-list li { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; color: var(--text-mid); line-height: 1.75; }
.modal-outcome-list li i { color: var(--primary); font-size: .95rem; }

/* ── 17. Scroll Top ───────────────────────── */
  position: fixed; inset: 0;
  background: rgba(26,26,46,.5);
  backdrop-filter: blur(3px);
  z-index: 1900;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.proj-panel-backdrop.open { opacity: 1; pointer-events: all; }

/* -- Panel shell -- */
.proj-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(820px, 100vw);
  background: #fff;
  z-index: 1910;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,.61,.36,1);
  box-shadow: -6px 0 40px rgba(26,26,46,.18);
  overflow: hidden;
}
.proj-panel.open { transform: translateX(0); }

/* -- Top bar -- */
.proj-panel-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0; z-index: 2;
}
.proj-panel-breadcrumb {
  font-size: .82rem; font-weight: 600; color: var(--text-light);
  display: flex; align-items: center; gap: .4rem;
}
.proj-panel-breadcrumb i { color: var(--primary); }
.proj-panel-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  color: var(--text-light); font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.proj-panel-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* -- Scrollable body -- */
.proj-panel-body {
  flex: 1; overflow-y: auto; scroll-behavior: smooth;
  background: #fff;
}
.proj-panel-body::-webkit-scrollbar { width: 4px; }
.proj-panel-body::-webkit-scrollbar-thumb { background: rgba(232,129,36,.3); border-radius: 99px; }

/* ══════════════════════════════════════
   BLOG POST LAYOUT  (참고: peerlab.kr)
   ══════════════════════════════════════ */

/* Cover */
.bp-cover {
  padding: 3rem 3.5rem 2.5rem;
  min-height: 220px;
  display: flex; align-items: flex-end;
}
.bp-cover-inner { width: 100%; }
.bp-cover-meta {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  margin-bottom: .9rem;
}
.bp-cover-country {
  font-size: .85rem; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: .3rem;
}
.bp-cover-title {
  font-size: 1.75rem; font-weight: 900; color: #fff;
  line-height: 1.35; letter-spacing: -.025em;
  margin-bottom: 1rem;
}
.bp-cover-byline {
  font-size: .88rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  margin-bottom: .85rem;
}
.bp-cover-byline strong { color: rgba(255,255,255,.9); }
.bp-cover-dot { opacity: .45; }
.bp-cover-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.bp-cover-tags .ptag { font-size: .78rem; opacity: .88; }

/* Info strip */
.bp-infostrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--border);
}
.bp-infostrip-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .85rem 1rem;
  border-right: 1px solid var(--border);
}
.bp-infostrip-item:last-child { border-right: none; }
.bp-infostrip-item > i { font-size: 1rem; color: var(--primary); flex-shrink: 0; }
.bp-infostrip-item > div { display: flex; flex-direction: column; gap: .08rem; }
.bp-infostrip-label {
  font-size: .68rem; font-weight: 700;
  color: var(--text-light); text-transform: uppercase; letter-spacing: .07em;
}
.bp-infostrip-val { font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ── Blog body — single column, generous whitespace ── */
.bp-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.8rem 2.5rem 4rem;
  display: flex; flex-direction: column; gap: 0;
}

/* label — 짙은 배경 인라인 박스 (peerlab 스타일) */
.bp-label {
  margin: 1.6rem 0 .7rem;
}
.bp-label span {
  display: inline-block;
  background: #4a2c1a;   /* 짙은 갈색-다크 */
  color: #fff;
  font-size: .88rem; font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 3px;
  letter-spacing: .01em;
}

/* text paragraph */
.bp-text {
  font-size: 1rem; color: #333;
  line-height: 1.95; margin: 0 0 .6rem;
}

/* numbered sections — "1. 볼드제목\n본문" */
.bp-numbered { display: flex; flex-direction: column; gap: .15rem; margin: .3rem 0; }
.bp-numbered-item { margin-bottom: .5rem; }
.bp-numbered-title {
  font-size: 1rem; font-weight: 700; color: #1a1a2e;
  margin: 0 0 .25rem; line-height: 1.5;
}
.bp-numbered-body {
  font-size: 1rem; color: #555;
  line-height: 1.85; margin: 0 0 0 .1rem;
}

/* lists */
.bp-list {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 0; margin: .3rem 0; list-style: none;
}
.bp-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: 1rem; color: #444; line-height: 1.8;
}
.bp-list li span { flex: 1; }
.bp-list-check li i  { color: var(--primary); font-size: .85rem; flex-shrink: 0; margin-top: .32rem; }
.bp-list-bullet li i { color: #aaa; font-size: .4rem; flex-shrink: 0; margin-top: .72rem; }

/* spacer */
.bp-spacer { height: 1rem; }

/* image */
.bp-figure { margin: 1.2rem 0; }
.bp-img {
  width: 100%; border-radius: 8px; display: block;
  box-shadow: 0 3px 18px rgba(26,26,46,.1);
}
.bp-figcaption {
  text-align: center; font-size: .82rem; color: #999;
  margin-top: .5rem; line-height: 1.5;
}

/* stats */
.bp-stats-row { display: flex; gap: 1rem; flex-wrap: wrap; margin: .8rem 0; }
.bp-stat {
  flex: 1; min-width: 100px;
  background: #fff7ed; border: 1px solid #fcd5a0;
  border-radius: 10px; padding: .9rem 1.1rem; text-align: center;
}
.bp-stat-val { font-size: 1.65rem; font-weight: 900; color: var(--primary); letter-spacing: -.03em; line-height: 1; }
.bp-stat-label { font-size: .78rem; color: #888; margin-top: .3rem; font-weight: 500; }

/* chart */
.bp-chart-wrap {
  background: #f9f9f9; border: 1px solid var(--border);
  border-radius: 10px; padding: 1.2rem; margin: .8rem 0;
}

/* ── Author card (하단 작성자 카드) ── */
.bp-author-card {
  display: flex; align-items: center; gap: 1.4rem;
  background: #f8f8f8; border: 1px solid #e8e8e8;
  border-radius: 14px; padding: 1.5rem 1.75rem;
  margin-top: 2.8rem;
}
.bp-author-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2e, #c0611a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; flex-shrink: 0;
}
.bp-author-name { font-size: 1.05rem; font-weight: 800; color: #1a1a2e; margin-bottom: .18rem; }
.bp-author-role { font-size: .85rem; color: #888; margin-bottom: .55rem; }
.bp-author-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.bp-author-tag {
  font-size: .78rem; color: #666;
  background: #fff; border: 1px solid #ddd;
  border-radius: 4px; padding: .18rem .55rem;
}

/* ── responsive ── */
@media (max-width: 640px) {
  .proj-panel { width: 100vw; }
  .bp-cover { padding: 2rem 1.4rem 1.8rem; }
  .bp-cover-title { font-size: 1.25rem; }
  .bp-infostrip { grid-template-columns: 1fr 1fr; }
  .bp-infostrip-item:nth-child(2) { border-right: none; }
  .bp-body { padding: 2rem 1.4rem 3rem; }
  .bp-author-card { flex-direction: column; text-align: center; }
}

/* ───────────────────────────────────────────────
   Expert Modal  (centre overlay — unchanged)
   ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,46,.72); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: 20px;
  max-width: 720px; width: 100%; max-height: 88vh; overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform var(--transition);
  box-shadow: 0 24px 60px rgba(26,26,46,.35);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: sticky; top: 1rem; float: right; margin: 1rem 1rem 0;
  width: 36px; height: 36px; background: var(--bg-alt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: .9rem; transition: var(--transition); z-index: 1;
  border: 1.5px solid var(--border);
}
.modal-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.modal-content { padding: 2rem 2.5rem 2.5rem; }
.modal-section { margin-top: 1.5rem; }
.modal-section h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .85rem; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.modal-info-item { background: var(--bg-alt); border-radius: var(--radius); padding: .75rem 1rem; }
.modal-info-item .label { font-size: 1rem; color: var(--text-light); margin-bottom: .25rem; }
.modal-info-item .value { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.modal-outcome-list { display: flex; flex-direction: column; gap: .5rem; }
.modal-outcome-list li { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; color: var(--text-mid); line-height: 1.75; }
.modal-outcome-list li i { color: var(--primary); font-size: .95rem; }

  position: fixed; inset: 0;
  background: rgba(26,26,46,.55);
  backdrop-filter: blur(3px);
  z-index: 1900;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.proj-panel-backdrop.open { opacity: 1; pointer-events: all; }

/* -- Panel shell -- */
.proj-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(780px, 100vw);
  background: #fff;
  z-index: 1910;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.22,.61,.36,1);
  box-shadow: -8px 0 48px rgba(26,26,46,.22);
  overflow: hidden;
}
.proj-panel.open { transform: translateX(0); }

/* -- Top bar -- */
.proj-panel-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  z-index: 2;
}
.proj-panel-breadcrumb {
  font-size: .85rem; font-weight: 600;
  color: var(--text-light);
  display: flex; align-items: center; gap: .45rem;
}
.proj-panel-breadcrumb i { color: var(--primary); }
.proj-panel-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text-light);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.proj-panel-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* -- Scrollable body -- */
.proj-panel-body {
  flex: 1; overflow-y: auto;
  scroll-behavior: smooth;
}
.proj-panel-body::-webkit-scrollbar { width: 5px; }
.proj-panel-body::-webkit-scrollbar-thumb { background: rgba(232,129,36,.35); border-radius: 99px; }

/* ── Cover (hero image area) ── */
.pb-cover {
  padding: 2.8rem 2.5rem 2.2rem;
  display: flex; align-items: flex-end; gap: 1.6rem;
  position: relative; min-height: 200px;
}
.pb-cover-flag {
  font-size: 4rem; line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.pb-cover-inner { flex: 1; }
.pb-cover-meta {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  margin-bottom: .8rem;
}
.pb-cover-country {
  font-size: .88rem; color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: .35rem;
}
.pb-cover-title {
  font-size: 1.5rem; font-weight: 900;
  color: var(--white); line-height: 1.35;
  letter-spacing: -.025em; margin-bottom: 1rem;
}
.pb-cover-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.pb-cover-tags .ptag { font-size: .8rem; }

/* ── Info strip ── */
.pb-infostrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-alt);
  border-bottom: 1.5px solid var(--border);
}
.pb-infostrip-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1rem;
  border-right: 1px solid var(--border);
}
.pb-infostrip-item:last-child { border-right: none; }
.pb-infostrip-item > i {
  font-size: 1.05rem; color: var(--primary); flex-shrink: 0;
}
.pb-infostrip-item > div { display: flex; flex-direction: column; gap: .1rem; }
.pb-infostrip-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-light); text-transform: uppercase; letter-spacing: .06em;
}
.pb-infostrip-val {
  font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.3;
}

/* ── Blog post body ── */
.pb-body {
  padding: 2.4rem 2.5rem 3.5rem;
  max-width: 680px;
  display: flex; flex-direction: column; gap: 1.1rem;
}

/* heading blocks */
.pb-h2 {
  font-size: 1.2rem; font-weight: 800; color: var(--text);
  letter-spacing: -.02em; margin: .8rem 0 -.3rem;
  padding-bottom: .55rem;
  border-bottom: 2.5px solid var(--primary);
  display: inline-block;
}
.pb-h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: .4rem 0 -.4rem;
}

/* text paragraph */
.pb-text {
  font-size: .97rem; color: var(--text-mid);
  line-height: 1.9; margin: 0;
}

/* lists */
.pb-list {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 0; margin: 0; list-style: none;
}
.pb-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .97rem; color: var(--text-mid); line-height: 1.75;
}
.pb-list li span { flex: 1; }

/* check list */
.pb-list-check li i { color: var(--primary); font-size: .88rem; flex-shrink: 0; margin-top: .3rem; }

/* bullet list */
.pb-list-bullet li i { color: var(--text-light); font-size: .45rem; flex-shrink: 0; margin-top: .65rem; }

/* number list */
.pb-list-number { counter-reset: pb-counter; }
.pb-list-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--primary); color: var(--white);
  border-radius: 50%;
  font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: .22rem;
}

/* callout blocks */
.pb-callout {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  border-left: 4px solid;
}
.pb-callout-orange { background: #fff7ed; border-color: var(--primary); }
.pb-callout-blue   { background: #eff6ff; border-color: #3b82f6; }
.pb-callout-green  { background: #f0fdf4; border-color: #22c55e; }
.pb-callout-title {
  font-size: .88rem; font-weight: 800;
  display: flex; align-items: center; gap: .45rem;
  margin-bottom: .5rem;
}
.pb-callout-orange .pb-callout-title { color: var(--primary); }
.pb-callout-blue   .pb-callout-title { color: #3b82f6; }
.pb-callout-green  .pb-callout-title { color: #16a34a; }
.pb-callout p {
  font-size: .95rem; color: var(--text-mid);
  line-height: 1.8; margin: 0;
}

/* image */
.pb-figure { margin: .4rem 0; }
.pb-img {
  width: 100%; border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 4px 20px rgba(26,26,46,.1);
}
.pb-caption {
  text-align: center; font-size: .82rem;
  color: var(--text-light); margin-top: .55rem; line-height: 1.5;
}

/* stats row */
.pb-stats-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.pb-stat {
  flex: 1; min-width: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  text-align: center;
}
.pb-stat-val {
  font-size: 1.7rem; font-weight: 900;
  color: var(--primary); letter-spacing: -.03em;
  line-height: 1;
}
.pb-stat-label {
  font-size: .8rem; color: var(--text-light);
  margin-top: .35rem; font-weight: 500;
}

/* chart */
.pb-chart-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* divider */
.pb-divider {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: .4rem 0;
}

/* responsive */
@media (max-width: 640px) {
  .proj-panel { width: 100vw; }
  .pb-cover { padding: 2rem 1.4rem 1.6rem; gap: 1rem; }
  .pb-cover-flag { font-size: 2.8rem; }
  .pb-cover-title { font-size: 1.2rem; }
  .pb-infostrip { grid-template-columns: 1fr 1fr; }
  .pb-infostrip-item:nth-child(2) { border-right: none; }
  .pb-body { padding: 1.6rem 1.4rem 2.5rem; }
}

/* ───────────────────────────────────────────────
   Expert Modal  (keeps centre-overlay style)
   ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,46,.72); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: 20px;
  max-width: 780px; width: 100%; max-height: 88vh; overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform var(--transition);
  box-shadow: 0 24px 60px rgba(26,26,46,.35);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  width: 36px; height: 36px; background: rgba(255,255,255,.7); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--text-light); font-size: .9rem; transition: var(--transition); z-index: 10;
  border: 1.5px solid rgba(232,129,36,.25);
}
.modal-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Expert 모달 헤더 */
.expert-modal-header {
  display: flex; align-items: center; gap: 1.2rem;
  background: linear-gradient(135deg, #fdf3e7 0%, #fce8cc 100%);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(232,129,36,.15);
  position: relative;
}
.expert-modal-header .modal-close {
  position: absolute; top: 1rem; right: 1rem;
}
.expert-modal-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; flex-shrink: 0;
}
.expert-modal-title h3 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: 0 0 .2rem; }
.expert-modal-affiliation { font-size: .92rem; font-weight: 600; color: var(--primary); margin-bottom: .15rem; }
.expert-modal-role { font-size: .85rem; color: var(--text-mid); }

/* Expert 모달: 탭 구조 사용 — padding 0, em-tab-panel 내부에서 처리 */
.modal-content { padding: 0; }
.modal-section { margin-top: 1.5rem; }
.modal-section h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .85rem; }
.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.modal-info-item { background: var(--bg-alt); border-radius: var(--radius); padding: .75rem 1rem; }
.modal-info-item .label { font-size: 1rem; color: var(--text-light); margin-bottom: .25rem; }
.modal-info-item .value { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.modal-outcome-list { display: flex; flex-direction: column; gap: .5rem; }
.modal-outcome-list li { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; color: var(--text-mid); line-height: 1.75; }
.modal-outcome-list li i { color: var(--primary); font-size: .95rem; }

/* ── Hero Footer Bar ───────────────────────── */
.hero-footer-bar {
  background: #12122a;
  padding: .85rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.hfl-gdi {
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: .45rem .7rem;
  border-radius: 8px;
  letter-spacing: .5px;
}
.hfl-sep { color: rgba(255,255,255,.3); font-size: 1.4rem; font-weight: 200; margin: 0 .5rem; }
.hfl-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.hfl-cp-top { color: var(--primary); font-size: .95rem; font-weight: 600; }
.hfl-amp { color: #fff; }
.hfl-cp-bottom { color: var(--primary); font-size: .85rem; font-weight: 400; }
.hero-footer-social { display: flex; gap: .5rem; }
.hero-footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .8rem;
  transition: var(--transition);
}
.hero-footer-social a:hover { background: var(--primary); color: #fff; }
.hero-footer-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: .25rem;
}
.hero-cnp-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .8rem;
  margin-bottom: .35rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.hero-cnp-link:hover {
  border-color: var(--primary);
  background: rgba(241,140,34,.12);
  color: #fff;
}
.hero-footer-info {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; justify-content: flex-end;
  font-size: .75rem; color: rgba(255,255,255,.55);
}
.hf-div { color: rgba(255,255,255,.2); }
.hero-footer-copy { font-size: .7rem; color: rgba(255,255,255,.35); }

/* ── 17. Scroll Top ───────────────────────── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; background: var(--primary);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: var(--shadow-md);
  transition: var(--transition); opacity: 0; pointer-events: none; z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ── 18. Animations ───────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 19. Responsive ───────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cp-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-2col { grid-template-columns: 1fr; gap: 40px; }
  .home-2col.reverse { direction: ltr; }
  .home-nav-cards { grid-template-columns: repeat(3,1fr); gap: 20px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); max-width: none; margin: 0 auto 4rem; gap: 28px; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .experts-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-links  { grid-template-columns: repeat(2,1fr); }
  .approach-steps { flex-direction: column; align-items: center; }
  .step { max-width: 320px; width: 100%; }
  .step-arrow { transform: rotate(90deg); margin: -.25rem 0; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .home-nav-cards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px 24px 32px; gap: 4px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform var(--transition); z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-item { color: var(--text) !important; padding: .75rem 1rem; border-radius: var(--radius); }
  .nav-item:hover, .nav-item.active { background: var(--bg-alt) !important; color: var(--primary) !important; }
  .nav-item.active::after { display: none; }
  .nav-cta { background: var(--accent) !important; color: var(--white) !important; text-align: center; margin-left: 0 !important; margin-top: .5rem; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .experts-grid  { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .tab-nav { gap: .25rem; }
  .tab-btn { padding: .75rem 1.25rem; font-size: 1rem; }
  .modal-content { padding: 1.5rem; }
  .modal-info-grid { grid-template-columns: 1fr; }
  .home-nav-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .approach-section { padding: 1.5rem; }
  .home-nav-cards { grid-template-columns: 1fr; gap: 14px; }
  .cta-banner p { white-space: normal; font-size: 1rem; line-height: 1.7; }
}

/* ── 20. Expert Modal Styles ─────────────────── */
.expert-modal-header {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 2rem 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.expert-modal-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); flex-shrink: 0;
}
.expert-modal-title h3 {
  font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: .15rem;
}
.expert-modal-affiliation {
  font-size: .9rem; color: var(--primary); font-weight: 600; margin-bottom: .15rem;
}
.expert-modal-role {
  font-size: .95rem; color: var(--text-light); font-weight: 500; margin-bottom: .6rem;
}
.expert-modal-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.expert-tag-modal {
  background: var(--primary); color: var(--white);
  border-radius: 20px; padding: .3rem .9rem; font-size: .9rem; font-weight: 600;
}
.modal-detail-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .65rem 0; border-bottom: 1px solid var(--border);
  font-size: .92rem; color: var(--text-mid); line-height: 1.6;
}
.modal-detail-item:last-child { border-bottom: none; }
.modal-detail-item i {
  color: var(--primary); font-size: .85rem;
  margin-top: .22rem; flex-shrink: 0;
  width: 16px; text-align: center;
}
.modal-detail-item span {
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}
.modal-detail-item span strong {
  color: var(--text);
  font-weight: 700;
}
.modal-expertise-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.modal-expertise-block {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.modal-expertise-block h5 {
  font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .5rem;
}
.modal-expertise-block p {
  font-size: .92rem; color: var(--text-mid); line-height: 1.65;
}

/* Expert card "View Full Profile" button */
.expert-card .proj-detail-btn {
  width: calc(100% - 3rem);
}

@media (max-width: 768px) {
  .expert-modal-header { flex-direction: column; text-align: center; padding: 1.5rem; }
  .expert-modal-tags { justify-content: center; }
  .modal-expertise-grid { grid-template-columns: 1fr; }
}

/* ── 21. Expert Modal — Tab System ──────────── */

/* 탭 네비 */
.em-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
  padding: 0 1.5rem;
}
.em-tab-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .85rem 1.4rem;
  font-size: .9rem; font-weight: 600;
  color: var(--text-light);
  border: none; background: none; cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.em-tab-btn i { font-size: .85rem; }
.em-tab-btn:hover { color: var(--primary); }
.em-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* 탭 패널 */
.em-tab-panel {
  display: none;
  padding: 1.5rem 2rem 2rem;
  animation: fadeIn .25s ease;
}
.em-tab-panel.active { display: block; }

/* ── Achievements 탭 ── */
.em-ach-summary {
  background: linear-gradient(135deg, rgba(232,129,36,.08) 0%, rgba(232,129,36,.03) 100%);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: .92rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* 통계 수치 행 */
.em-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.em-stat-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem .75rem;
  text-align: center;
}
.em-stat-val {
  font-size: 1.8rem; font-weight: 900;
  color: var(--primary); letter-spacing: -.03em; line-height: 1;
}
.em-stat-label {
  font-size: .72rem; color: var(--text-light);
  margin-top: .35rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px;
}

/* 논문/출판물 */
.em-pub-list { display: flex; flex-direction: column; gap: .55rem; }
.em-pub-item {
  background: var(--bg-alt); border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  overflow: hidden;
}
.em-pub-content { padding: .8rem 1rem; }
.em-pub-header { margin-bottom: .4rem; }
.em-pub-year-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  color: var(--primary);
  background: rgba(232,129,36,.12);
  border-radius: 4px;
  padding: .15rem .5rem;
  letter-spacing: .3px;
}
.em-pub-title {
  font-size: .88rem; font-weight: 700; color: var(--text);
  line-height: 1.5; margin-bottom: .3rem;
}
.em-pub-venue {
  font-size: .76rem; color: var(--text-light);
  display: flex; align-items: center; gap: .3rem;
}
.em-pub-venue i { font-size: .72rem; color: var(--primary); }
/* bold 항목 강조 */
.em-pub-bold { border-left: 3px solid var(--primary); background: rgba(232,129,36,.06); }
.em-pub-bold .em-pub-title strong { color: var(--primary); }
.em-pub-bold .em-pub-venue strong { color: var(--text); font-weight: 700; }

/* ── Key Projects 탭 ── */
.em-kp-list { display: flex; flex-direction: column; gap: 1rem; padding-top: .25rem; }
.em-kp-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  transition: border-color .2s, box-shadow .2s;
}
.em-kp-card:hover {
  border-color: rgba(232,129,36,.4);
  box-shadow: 0 4px 16px rgba(232,129,36,.08);
}
.em-kp-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  margin-bottom: .6rem;
}
.em-kp-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.4; flex: 1;
}
.em-kp-badge {
  background: rgba(232,129,36,.12); color: var(--primary);
  font-size: .75rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
  border: 1px solid rgba(232,129,36,.25);
}
.em-kp-meta {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-light);
  margin-bottom: .75rem;
}
.em-kp-meta i { margin-right: .3rem; color: var(--primary); }
.em-kp-desc {
  font-size: .88rem; color: var(--text-mid); line-height: 1.7;
  margin: 0;
}

/* ── Pagination ── */
.em-pagination {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: .85rem;
  border-top: 1px solid var(--border);
}
.em-page-info {
  font-size: .82rem; color: var(--text-light); font-weight: 500;
}
.em-page-info strong { color: var(--text); }
.em-page-btns { display: flex; gap: .35rem; align-items: center; }
.em-page-btn {
  min-width: 32px; height: 32px; padding: 0 .5rem;
  border-radius: 7px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-mid);
  font-size: .83rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .18s;
}
.em-page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.em-page-btn:disabled { opacity: .3; cursor: not-allowed; }
.em-page-btn.current {
  background: var(--primary); border-color: var(--primary);
  color: #fff;
}
.em-page-nav { font-size: .75rem; }

/* 반응형 */
@media (max-width: 640px) {
  .em-tab-nav { padding: 0 .75rem; overflow-x: auto; }
  .em-tab-btn { padding: .75rem 1rem; font-size: .82rem; }
  .em-tab-panel { padding: 1.25rem 1.25rem 1.5rem; }
  .em-kp-header { flex-direction: column; gap: .4rem; }
  .em-pagination { flex-direction: column; gap: .6rem; align-items: flex-start; }
}

/* ================================================================
   MULTI-PAGE ASP 오버라이드: SPA display:none 무효화
================================================================ */
.page {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.scroll-top { display: flex; }