/* ================================================================
   about-page.css — CNP About 전용 스타일
   base: default-page.css (reset, container, header, footer 공유)
   ================================================================ */

/* --primary 브릿지 ← default-page.css 의 --orange 를 사용 */
:root {
  --primary:      var(--orange);
  --primary-deep: var(--orange-dark);
}

/* about 페이지는 1240px 제한 */
.about-hero .container,
.about-subnav .container,
.about-intro-band .container,
.about-section .container {
  max-width: 1240px;
}

/* ================================================================
   HERO
   ================================================================ */
.about-hero {
  position: relative;
  min-height: 56vh;
  padding: 178px 0 96px;
  background:
    linear-gradient(120deg, rgba(8,14,26,.84), rgba(18,28,46,.72)),
    url('/CNP/images/hero/hero12.jpg') center / cover no-repeat;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.about-hero .container { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: rgba(255,255,255,.08);
}
.hero-kicker i { color: var(--orange); }

.about-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}
.about-hero-sub {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}

/* ================================================================
   STICKY SUB-NAV
   ================================================================ */
.about-subnav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 2px solid #f0f3f7;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: top .25s;
}
.about-subnav .container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.about-subnav .container::-webkit-scrollbar { display: none; }

.subnav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: all .22s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.subnav-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: .5px;
}
.subnav-item:hover {
  color: var(--orange);
  background: #fff9f4;
  border-bottom-color: #fdd0a0;
}
.subnav-item.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  background: #fff9f4;
}

/* ================================================================
   INTRO BAND
   ================================================================ */
.about-intro-band {
  padding: 48px 0;
  background: linear-gradient(135deg, #f9fbff 0%, #fff8f2 100%);
  border-bottom: 1px solid #f0f3f7;
  text-align: center;
}
.about-intro-text {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--gray-700);
  line-height: 1.8;
}
.about-intro-text strong { color: var(--orange); }

/* ================================================================
   SECTION COMMON
   ================================================================ */
.about-section {
  padding: 48px 0 96px;
  border-top: 1px solid #f0f3f7;
  scroll-margin-top: 180px; /* sticky header(70) + subnav(55) + 여유(55) — hash URL 이동 보정 */
}
.section-hd {
  margin-bottom: 36px;
}

/* ================================================================
   01. CEO
   ================================================================ */
.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* 사진 래퍼 */
.ceo-photo-wrap {
  position: relative;
  padding: 16px 0 56px 0;
}
.ceo-photo-deco {
  position: absolute;
  top: 0; left: 16px;
  width: calc(100% - 16px);
  height: calc(100% - 40px);
  background: linear-gradient(135deg, var(--orange-pale) 0%, #fde8cc 100%);
  border-radius: 24px;
  z-index: 0;
}
.ceo-photo {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,.18);
}
.ceo-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.ceo-name-badge {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  z-index: 2;
  border: 1px solid #eaeef6;
}
.ceo-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--gray-900);
}
.ceo-title {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .03em;
}
.ceo-text {
  background: #fff;
  border: 1px solid #eaeef6;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
.ceo-text p {
  font-size: 16.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.85;
}
.ceo-sign {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 800;
  color: var(--gray-900);
  text-align: right;
  padding-top: 20px;
  border-top: 1px solid #eaeef6;
}

/* ================================================================
   02. 경영철학
   ================================================================ */
.phi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.phi-card {
  background: #fff;
  border: 1px solid #eaeef6;
  border-radius: 18px;
  padding: 32px 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.phi-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(0,0,0,.1);
  border-color: #f8d4ad;
}
.phi-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--orange-pale);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.phi-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.phi-card p  { font-size: 15.5px; color: var(--gray-700); line-height: 1.7; }

/* ================================================================
   03. 연혁
   ================================================================ */
.timeline-panel {
  background: #fff;
  border: 1px solid #eaeef6;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
  max-height: 700px;
  overflow-y: auto;
}
.timeline-panel::-webkit-scrollbar { width: 4px; }
.timeline-panel::-webkit-scrollbar-thumb { background: #d1dae8; border-radius: 4px; }

.timeline {
  position: relative;
  padding-left: 4px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #d8e2ef;
}
.t-item {
  position: relative;
  padding-left: 42px;
  margin-bottom: 24px;
}
.t-item:last-child { margin-bottom: 0; }

.t-dot {
  position: absolute;
  left: 4px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(224,123,26,.22);
}
.t-year {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 7px;
}
.t-list { list-style: none; padding: 0; }
.t-list li {
  position: relative;
  padding-left: 14px;
  color: var(--gray-700);
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.65;
}
.t-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #aab5c8;
}

/* ================================================================
   04. 조직도
   ================================================================ */
/* ── 조직도 패널 ── */
.org-panel {
  background: #fff;
  border: 1px solid #eaeef6;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* 1행: 대표이사 */
.org-ceo-row { display:flex; justify-content:center; }
.org-ceo-box {
  padding: 16px 52px;
  background: var(--orange);
  color: #fff;
  border-radius: 50px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .04em;
  box-shadow: 0 4px 18px rgba(246,135,31,.35);
  position: relative;
  z-index: 1;
}

/* 직속 조직 */
.org-direct-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.org-branch-line--ceo {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--orange), #d8e2ef);
}
.org-direct-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.org-direct-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--orange-pale);
  border: 1.5px solid #f8d4ad;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-dark);
}
.org-direct-box i { font-size: 14px; color: var(--orange); }

/* 구분선 */
.org-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 32px 0 24px;
  gap: 16px;
}
.org-divider::before,
.org-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dce5ef;
}
.org-divider span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa3bf;
  white-space: nowrap;
}
.org-divider--sub { margin: 28px 0 20px; }
.org-divider--sub span { color: #9b8fcf; }
.org-divider--sub::before,
.org-divider--sub::after { background: #e2daf6; }

/* 3행: 8개 본부 */
.org-div-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  width: 100%;
}
.org-div-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 16px;
  background: #f5f8fc;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  transition: all .2s;
}
.org-div-box:hover {
  border-color: var(--orange);
  background: #fff8f2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(246,135,31,.12);
}
.org-div-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #eaf0fb;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #4a6fa5;
  transition: background .2s, color .2s;
}
.org-div-box:hover .org-div-icon {
  background: var(--orange-pale);
  color: var(--orange);
}
.org-div-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  line-height: 1.5;
}

/* 4행: 별도 사업부 */
.org-biz-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.org-biz-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #f3f0ff 0%, #ede8ff 100%);
  border: 1.5px solid #c9bbf0;
  border-radius: 16px;
  min-width: 220px;
  transition: all .2s;
}
.org-biz-box:hover {
  border-color: #8b6fde;
  box-shadow: 0 6px 18px rgba(139,111,222,.15);
  transform: translateY(-2px);
}
.org-biz-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #e2daf6;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: #7c5cbf;
  flex-shrink: 0;
}
.org-biz-name {
  font-size: 15px;
  font-weight: 800;
  color: #5a3fa8;
}
.org-biz-sub {
  font-size: 12px;
  color: #9b8fcf;
  margin-top: 2px;
}

/* ================================================================
   05. 오시는 길
   ================================================================ */
.loc-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  margin-bottom: 20px;
  line-height: 0;
}
.loc-map-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.loc-info-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}
.loc-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #eaeef6;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: box-shadow .22s;
}
.loc-info-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.loc-info-item > i {
  font-size: 20px;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.loc-info-item strong {
  display: block;
  font-size: 12px;
  color: #9aa5b8;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.loc-info-item span {
  font-size: 15px;
  color: var(--gray-900);
  font-weight: 600;
  line-height: 1.6;
}

/* ================================================================
   SIDEBAR (shared-ui.css 대체)
   ================================================================ */
.cnp-sidebar-right {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 26px rgba(0,0,0,.14);
  overflow: visible;
}
.cnp-sb-item {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #eceff5;
  border-left: 3px solid transparent;
  transition: all .22s;
}
.cnp-sb-item:first-child { border-radius: 12px 0 0 0; }
.cnp-sb-item:last-child  { border-radius: 0 0 0 12px; border-bottom: none; }
.cnp-sb-item:hover       { background: #f8fafc; border-left-color: var(--orange); }
.cnp-sb-item a           { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #6f7d95; text-decoration: none; }
.cnp-sb-item i           { font-size: 18px; }
.cnp-sb-item:hover i     { color: var(--orange); }
.cnp-sb-item.accent      { background: var(--orange); }
.cnp-sb-item.accent i    { color: #fff; }
.cnp-sb-item .sb-label {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px 0 0 8px;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-right: none;
  color: #2b3445;
  font-size: 13px;
  font-weight: 800;
}
.cnp-sb-item:hover .sb-label { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.cnp-sb-item.accent .sb-label { background: var(--orange-dark); color: #fff; border-color: var(--orange-deep); }

/* ================================================================
   REVEAL-UP ANIMATION
   ================================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
}
.reveal-up.in { opacity: 1; transform: translateY(0); }

/* ── 한양대 스타일 섹션 내부 요소 spring 등장 ── */
@keyframes secSlideUp {
  0%   { opacity: 0;  transform: translateY(32px); }
  62%  { opacity: 1;  transform: translateY(-6px); }
  80%  { transform: translateY(2px); }
  100% { opacity: 1;  transform: translateY(0); }
}
.anim-child {
  opacity: 0;
  will-change: opacity, transform;
}
.anim-child.go {
  animation: secSlideUp .7s cubic-bezier(.22,.61,.36,1) forwards;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .ceo-grid   { grid-template-columns: 1fr; }
  .ceo-photo-wrap { padding: 12px 12px 56px 0; }
  .ceo-photo-deco { left: 8px; }
  .phi-grid   { grid-template-columns: repeat(2,1fr); }
  .loc-info-bar { grid-template-columns: 1fr 1fr; }
  .cnp-sidebar-right { display: none; }
}
@media (max-width: 768px) {
  .about-hero  { padding: 132px 0 72px; }
  .about-section { padding: 36px 0 72px; }
  .phi-grid    { grid-template-columns: 1fr; }
  .org-div-row { grid-template-columns: repeat(4, 1fr); }
  .org-biz-row { flex-direction: column; align-items: stretch; }
  .org-biz-box { min-width: unset; }
  .loc-info-bar { grid-template-columns: 1fr; }
  .loc-map-wrap iframe { height: 300px; }
  .ceo-text, .timeline-panel, .org-panel { padding: 24px; }
  .subnav-item { padding: 14px 16px; font-size: 14px; }
}
@media (max-width: 480px) {
  .org-div-row { grid-template-columns: repeat(2, 1fr); }
  .org-direct-row { flex-direction: column; align-items: center; }
}