/* 공통 */
#pumda * {
  box-sizing: border-box;
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
}
:root { --brand: #800020; }

/* =========================
   HERO – 전체폭 + 커버 + 진입 모션(무JS도 보임)
   ========================= */
#pumda .hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
#pumda .hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  transform: none;
  transition: opacity .9s ease, transform .9s ease;
}
#pumda .hero h1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 38px);
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 1.2s ease, transform 1.2s ease;
}
#pumda.js-on .hero img { opacity: 0; transform: translateY(24px); }
#pumda.js-on .hero h1 { 
  opacity: 0; 
  transform: translateX(100%) translateY(0);
}
#pumda.js-on.hero-in .hero img { opacity: 1; transform: translateY(0); }
#pumda.js-on.hero-in .hero h1 { 
  opacity: 1; 
  transform: translateX(-50%) translateY(0);
}

/* =========================
   인트로 박스 - 폰트 키우고 가로 넓게
   ========================= */
#pumda .intro-box {
  max-width: 1100px;
  margin: 48px auto 40px;
  padding: 32px 48px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  line-height: 1.9;
  text-align: center;
}
#pumda .intro-box p { 
  margin-bottom: 16px; 
  font-size: 18px;
}
#pumda .intro-box p strong { 
  color: var(--brand); 
  font-size: 19px;
}

/* 두 번째 문단 이후 좌측 정렬 */
#pumda .intro-box p:nth-of-type(n+2) {
  text-align: left;
}

/* =========================
   지그재그 섹션
   ========================= */
#pumda .zigzag {
  max-width: 1120px;
  margin: 40px auto 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 16px;
}
#pumda .block {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 1;
  transform: none;
}
#pumda .block:nth-child(even) { flex-direction: row-reverse; }
#pumda .imgwrap { 
  flex: 0 0 42%; 
  overflow: hidden; 
}
#pumda .imgwrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#pumda .textwrap {
  flex: 1;
  position: relative;
  padding: 6px 20px 6px 28px;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#pumda .textwrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  width: 4px;
  background: var(--brand);
  border-radius: 2px;
}
#pumda .block:nth-child(even) .textwrap { padding: 6px 28px 6px 20px; }
#pumda .block:nth-child(even) .textwrap::before { left: auto; right: 0; }
#pumda .kicker {
  display: inline-flex;
  gap: 6px;
  color: var(--brand);
  font: bold 13px/1 "Noto Sans KR", sans-serif;
  margin-bottom: 8px;
}
#pumda .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 3px;
}
#pumda .textwrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  margin: 6px 0 10px;
}
#pumda .textwrap p {
  font-size: 16px;
  line-height: 1.85;
  color: #222;
}
#pumda .value-list {
  list-style: disc;
  margin-left: 18px;
}
#pumda .value-list li { margin: 6px 0; }

/* =========================
   지그재그 진입 모션 (이미지: 좌우, 텍스트: 위아래) - 느리게
   ========================= */
.js-on #pumda .block { opacity: 1; }

/* 홀수: 이미지 왼쪽에서, 텍스트 위에서 */
.js-on #pumda .block:nth-child(odd) .imgwrap img { 
  opacity: 0;
  transform: translateX(-120px); 
}
.js-on #pumda .block:nth-child(odd) .textwrap { 
  opacity: 0;
  transform: translateY(-60px); 
}

/* 짝수: 이미지 오른쪽에서, 텍스트 아래에서 */
.js-on #pumda .block:nth-child(even) .imgwrap img { 
  opacity: 0;
  transform: translateX(120px); 
}
.js-on #pumda .block:nth-child(even) .textwrap { 
  opacity: 0;
  transform: translateY(60px); 
}

/* show 클래스 추가 시 */
.js-on #pumda .block.show .imgwrap img,
.js-on #pumda .block.show .textwrap { 
  opacity: 1;
  transform: translate(0, 0); 
}

/* =========================
   다이어그램
   ========================= */
#pumda .diagram-section {
  max-width: 1100px;
  margin: 80px auto 60px;
  padding: 40px 16px;
  text-align: center;
}
#pumda .pumda-diagram {
  position: relative;
  width: 700px;
  height: 700px;
  margin: 0 auto;
}
#pumda .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 272px;
  height: 272px;
  background: #fff;
  border: 8px solid rgb(103, 25, 44);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
#pumda .center .logo { width: 180px; height: auto; }
#pumda .small-circle {
  position: absolute;
  width: 126px;
  height: 126px;
  border: 5px solid rgb(103, 25, 44);
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}
#pumda .small-circle span {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  padding: 5px;
}
#pumda .circle-12 { top: -5px; left: 50%; transform: translateX(-50%); }
#pumda .circle-1 { top: 20%; right: 8%; }
#pumda .circle-5 { bottom: 18%; right: 8%; }
#pumda .circle-7 { bottom: 18%; left: 8%; }
#pumda .circle-11 { top: 20%; left: 8%; }

/* =========================
   반응형
   ========================= */
@media (max-width: 900px) {
  #pumda .hero { height: 300px; }
  #pumda .hero h1 { white-space: normal; top: 6%; font-size: 22px; }
  #pumda .intro-box { 
    max-width: 90%; 
    padding: 24px 28px; 
  }
  #pumda .intro-box p { font-size: 16px; }
  #pumda .intro-box p strong { font-size: 17px; }
  #pumda .block { flex-direction: column !important; }
  #pumda .imgwrap { width: 100%; }
  #pumda .imgwrap img { height: auto; aspect-ratio: 475/420; }
  #pumda .textwrap { padding: 12px !important; }
  #pumda .textwrap::before { left: 0 !important; right: auto !important; }
  #pumda .pumda-diagram { width: 450px; height: 450px; }
  #pumda .center { width: 204px; height: 204px; }
  #pumda .center .logo { width: 135px; }
  #pumda .small-circle { width: 95px; height: 95px; }
  #pumda .small-circle span { font-size: 12px; }
}
@media (max-width: 500px) {
  #pumda .intro-box p { font-size: 15px; }
  #pumda .pumda-diagram { width: 350px; height: 350px; }
  #pumda .center { width: 160px; height: 160px; }
  #pumda .center .logo { width: 105px; }
  #pumda .small-circle { width: 75px; height: 75px; }
  #pumda .small-circle span { font-size: 10px; }
}