/* =============================================
   최윤홍 부산교육감 후보 홈페이지 - Mobile First CSS
   메인 컬러: 마젠타 핫핑크 (공보 표지 색상)
   ============================================= */

:root {
  --primary: #D81B60;
  --primary-dark: #AD1457;
  --primary-light: #EC407A;
  --accent: #FFFFFF;
  --accent-gold: #FFD700;
  --bg-party: #FCE4EC;
  /* 공통 */
  --text: #1A1A1A;
  --text-light: #555;
  --text-muted: #888;
  --bg: #FFFFFF;
  --bg-light: #FAFAFA;
  --border: #E0E0E0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --nav-height: 64px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-bottom: var(--nav-height);
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-bottom: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* 하단 고정 네비게이션 */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: 10px; color: var(--text-muted);
  transition: var(--transition); padding: 8px 4px; min-width: 48px;
  -webkit-tap-highlight-color: transparent;
}
.nav-item i { font-size: 18px; transition: var(--transition); }
.nav-item.active, .nav-item:hover { color: var(--primary); }
.nav-item.active i { transform: scale(1.15); }

/* ===== 히어로 섹션 (풀스크린 포스터) ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex; flex-direction: column;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-meta {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; margin-bottom: 12px;
}

.party-name-tag {
  background: rgba(255,255,255,0.15);
  color: white; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(8px);
}

.hero-poster {
  width: 100%;
  overflow: hidden;
}

.hero-poster-img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.hero-text {
  text-align: center;
  padding: 20px 20px 12px;
  color: white;
}

.hero-badges {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 12px;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  color: white; font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title-sub {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.hero-divider-line {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto 12px;
}

.slogan-main {
  font-size: 24px; font-weight: 900;
  color: white; margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.slogan-sub {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.hero-cta {
  display: flex; gap: 10px; justify-content: center;
  padding: 16px 20px 8px;
}

.hero-sns { display: flex; gap: 16px; justify-content: center; padding: 4px 0 12px; }
.hero-sns a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; transition: 0.3s ease; opacity: 0.85; }
.hero-sns a:hover { opacity: 1; transform: scale(1.15); }
.hero-sns a[aria-label="인스타그램"] { color: #E4405F; }
.hero-sns a[aria-label="페이스북"] { color: #1877F2; }
.hero-sns a[aria-label="유튜브"] { color: #FF0000; }
.hero-sns a.naver-blog { color: #03C75A; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 50px;
  font-size: 15px; font-weight: 600; border: none;
  cursor: pointer; transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: white; color: var(--primary);
}
.btn-primary:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.profile-img {
  width: 80px; height: 96px; object-fit: cover;
  border-radius: var(--radius); flex-shrink: 0;
}

.video-thumb {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.scroll-indicator {
  padding-bottom: 12px;
  animation: bounce 2s infinite;
  color: white;
}
.scroll-indicator i { font-size: 20px; opacity: 0.5; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* 슬로건 배너 */
.slogan-banner { background: var(--primary); padding: 20px 0; }
.slogan-items { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.slogan-item {
  display: flex; align-items: center; gap: 8px;
  color: white; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.slogan-item i { color: var(--accent); font-size: 16px; }

/* 섹션 공통 */
.section { padding: 60px 0; }
.section:nth-child(even) { background: var(--bg-light); }

.section-title { text-align: center; margin-bottom: 40px; font-size: 24px; font-weight: 700; line-height: 1.4; }
.title-accent { display: block; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 8px; }

/* 후보 소개 */
.about-highlight {
  text-align: center; margin-bottom: 28px;
  padding: 28px 20px; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.highlight-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number { font-size: 48px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 18px; font-weight: 700; color: var(--text); }
.stat-desc { font-size: 14px; color: var(--text-light); }

.about-intro {
  background: var(--bg-party);
  border-left: 4px solid var(--primary);
  padding: 24px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
}
.intro-text { font-size: 16px; font-weight: 500; color: var(--primary-dark); line-height: 1.8; }

.profile-card {
  display: flex; align-items: center; gap: 16px;
  background: white; padding: 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 32px;
}
.profile-info h3 { font-size: 20px; font-weight: 700; }
.age-tag { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.party-affiliation { font-size: 14px; color: var(--primary); font-weight: 500; margin-top: 4px; }

/* 타임라인 */
.timeline-section { margin-bottom: 28px; }
.subsection-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.subsection-title i { font-size: 18px; }
.timeline { list-style: none; position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 16px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -20px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--border); border: 2px solid white; }
.timeline-item.current .timeline-dot { background: var(--primary); box-shadow: 0 0 0 4px var(--bg-party); }
.timeline-content strong { font-size: 15px; font-weight: 600; display: block; }
.timeline-content p { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.badge { display: inline-block; background: var(--primary); color: white; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 50px; margin-top: 4px; }

/* 공약 카드 */
.pledge-cards { display: flex; flex-direction: column; gap: 20px; }
.pledge-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.pledge-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.pledge-card:nth-child(1)::before { background: var(--primary); }
.pledge-card:nth-child(2)::before { background: #00BCD4; }
.pledge-card:nth-child(3)::before { background: #4CAF50; }
.pledge-card:nth-child(4)::before { background: #FF9800; }
.pledge-card:nth-child(5)::before { background: #9C27B0; }
.pledge-card:nth-child(6)::before { background: #1E88E5; }
.pledge-card:nth-child(7)::before { background: #FF5722; }

.pledge-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.pledge-icon.character { background: var(--bg-party); color: var(--primary); }
.pledge-icon.future { background: #E0F7FA; color: #00BCD4; }
.pledge-icon.safety { background: #E8F5E9; color: #4CAF50; }
.pledge-icon.welfare { background: #FFF3E0; color: #FF9800; }
.pledge-icon.communication { background: #F3E5F5; color: #9C27B0; }
.pledge-icon.essence { background: #E3F2FD; color: #1E88E5; }
.pledge-icon.guard { background: #FBE9E7; color: #FF5722; }

.pledge-number { position: absolute; top: 20px; right: 20px; font-size: 36px; font-weight: 900; line-height: 1; }
.pledge-card:nth-child(1) .pledge-number { color: rgba(216,27,96,0.15); }
.pledge-card:nth-child(2) .pledge-number { color: rgba(0,188,212,0.2); }
.pledge-card:nth-child(3) .pledge-number { color: rgba(76,175,80,0.2); }
.pledge-card:nth-child(4) .pledge-number { color: rgba(255,152,0,0.2); }
.pledge-card:nth-child(5) .pledge-number { color: rgba(156,39,176,0.2); }
.pledge-card:nth-child(6) .pledge-number { color: rgba(30,136,229,0.2); }
.pledge-card:nth-child(7) .pledge-number { color: rgba(255,87,34,0.2); }
.pledge-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pledge-desc { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.pledge-details { list-style: none; }
.pledge-details li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; line-height: 1.5; }
.pledge-details li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: 0.4; }
.pledge-details li:last-child { margin-bottom: 0; }

/* PDF식 카테고리(•) + 화살표(➠) 그룹 */
.pledge-groups { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.pledge-group {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 14px;
}
.pledge-group-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  display: flex; align-items: flex-start; gap: 6px;
  line-height: 1.5;
}
.pledge-group-title::before {
  content: '•';
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  flex-shrink: 0;
}
.pledge-arrows { list-style: none; margin-top: 8px; padding-left: 18px; }
.pledge-arrows li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-light);
  margin-bottom: 5px;
}
.pledge-arrows li::before {
  content: '➠';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}
.pledge-arrows li:last-child { margin-bottom: 0; }

/* 사진첩 */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tab {
  flex-shrink: 0; padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border);
  background: white; color: var(--text-light);
  cursor: pointer; transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.gallery-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; cursor: pointer; transition: var(--transition); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

/* 라이트박스 */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: white; font-size: 28px; cursor: pointer; padding: 8px; }

/* 관련기사 */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card { display: flex; align-items: center; gap: 14px; background: white; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-thumb { width: 80px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #f0f0f0; }
.news-icon-placeholder { width: 80px; height: 56px; background: var(--primary-light, #e8f0fe); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.news-icon-placeholder i { font-size: 22px; color: var(--primary); opacity: 0.6; }
.news-card-body { flex: 1; min-width: 0; }
.news-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { font-size: 12px; color: var(--text-light); }
.news-card-arrow { color: #ccc; font-size: 14px; flex-shrink: 0; }

/* 영상 */
.video-list { display: flex; flex-direction: column; gap: 20px; }
.video-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-placeholder i { position: relative; z-index: 2; font-size: 56px; color: rgba(255,255,255,0.9); transition: var(--transition); text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.video-placeholder:hover i { color: #FF0000; transform: scale(1.1); }
.video-info { padding: 16px; }
.video-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.video-info p { font-size: 13px; color: var(--text-light); }

/* 공유 버튼 */
.share-buttons { display: flex; gap: 12px; justify-content: center; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); -webkit-tap-highlight-color: transparent; }
.share-btn.kakao { background: #FEE500; color: #3C1E1E; }
.share-btn.copy { background: #F5F5F5; color: var(--text); border: 1px solid var(--border); }
.share-btn:hover { transform: translateY(-2px); }

/* 연락처 */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card { background: white; border-radius: var(--radius); padding: 20px 16px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact-icon { width: 48px; height: 48px; background: var(--bg-party); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; }
.contact-info h4 { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.contact-info p { font-size: 13px; font-weight: 500; line-height: 1.4; }

/* 푸터 */
.footer { background: #1A1A1A; color: rgba(255,255,255,0.6); padding: 32px 0 calc(32px + var(--nav-height)); text-align: center; }
.footer-party { font-size: 14px; font-weight: 600; color: var(--primary-light); margin-bottom: 4px; }
.footer-candidate { font-size: 16px; color: white; margin-bottom: 16px; }
.footer-candidate strong { font-weight: 700; }
.footer-legal { font-size: 12px; margin-bottom: 4px; }
.footer-disclaimer { font-size: 11px; opacity: 0.5; }

/* 맨 위로 */
.scroll-top { position: fixed; bottom: calc(var(--nav-height) + 16px); right: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; border: none; font-size: 18px; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 900; -webkit-tap-highlight-color: transparent; }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); }

/* 토스트 */
.toast { position: fixed; bottom: calc(var(--nav-height) + 24px); left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: white; padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 500; z-index: 2000; opacity: 0; transition: var(--transition); white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 애니메이션 */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* 반응형 */
@media (max-height: 667px) {
  .hero-text { padding: 12px 16px 8px; }
  .slogan-main { font-size: 20px; }
  .hero-cta .btn { padding: 10px 22px; font-size: 14px; }
}

@media (min-width: 768px) {
  .container { max-width: 640px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (min-width: 1024px) {
  .container { max-width: 768px; }
  .bottom-nav { top: 0; bottom: auto; border-top: none; border-bottom: 1px solid var(--border); height: 56px; }
  body { padding-bottom: 0; padding-top: 56px; }
  .footer { padding-bottom: 32px; }
  .scroll-top { bottom: 24px; }
  .toast { bottom: 24px; }
  .pledge-cards { display: grid; grid-template-columns: repeat(2, 1fr); }
  .pledge-cards .pledge-card:last-child:nth-child(odd) { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .contact-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (hover: none) {
  .pledge-card:hover, .contact-card:hover, .gallery-item:hover img {
    transform: none; box-shadow: var(--shadow);
  }
}

/* D-day 카운트다운 */
#dday { text-align: center; padding: 4px 0 0; }
.dday-label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 600; letter-spacing: 2px; }
.dday-number { font-size: 52px; font-weight: 900; color: #fff; letter-spacing: -3px; line-height: 1; text-shadow: 0 4px 24px rgba(0,0,0,0.4); animation: ddayGlow 3s ease-in-out infinite; }
.dday-prevote { font-size: 12px; color: #FFD700; font-weight: 700; margin-top: 4px; animation: ddayPulse 1.5s ease-in-out infinite; }
@keyframes ddayGlow { 0%,100% { text-shadow: 0 4px 24px rgba(0,0,0,0.4); } 50% { text-shadow: 0 4px 32px rgba(255,255,255,0.25), 0 0 60px rgba(255,255,255,0.1); } }
@keyframes ddayPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (max-height: 667px) { .dday-number { font-size: 40px; } }
@media (min-width: 768px) { .dday-number { font-size: 64px; } }

/* 일정 섹션 */
.schedule-list { display: flex; flex-direction: column; gap: 12px; }
.schedule-item { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.schedule-item.past { opacity: 0.5; }
.schedule-date { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 8px; background: var(--bg-light); border-radius: 10px; }
.schedule-month { font-size: 11px; color: var(--text-light); font-weight: 600; }
.schedule-day { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.2; }
.schedule-weekday { font-size: 11px; color: var(--text-light); }
.schedule-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.schedule-title { font-size: 15px; font-weight: 700; color: var(--text); }
.schedule-time { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.schedule-location { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ===== 히어로 - 메인 슬로건 강조 (공보 색감) ===== */
.slogan-main {
  font-size: 30px; font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: -1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.slogan-keyword {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: 2px 12px;
  border-radius: 8px;
  font-weight: 900;
}

/* CHANGE 핵심 키워드 배너 */
.slogan-banner { background: var(--primary); padding: 22px 0; }
.slogan-banner .container { padding: 0 12px; }
.slogan-items { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; row-gap: 10px; }
.slogan-item {
  display: flex; align-items: center; gap: 6px;
  color: white; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.slogan-item i { color: var(--accent-gold); font-size: 14px; }

/* ===== 검증된 실력 (왜 최윤홍인가) ===== */
.proof-section { padding: 60px 0 40px; background: var(--bg-light); }
.proof-intro {
  text-align: center; font-size: 15px; color: var(--text-light);
  line-height: 1.8; margin: 0 auto 32px; max-width: 480px; padding: 0 16px;
}
.proof-intro strong { color: var(--primary); font-weight: 700; }
.proof-list { display: flex; flex-direction: column; gap: 16px; }
.proof-card {
  background: white; border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.proof-card-num {
  display: inline-block;
  background: var(--primary); color: white;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 13px; font-weight: 800; line-height: 28px;
  text-align: center; margin-right: 8px;
}
.proof-card-title { font-size: 16px; font-weight: 800; color: var(--text); display: flex; align-items: center; margin-bottom: 6px; }
.proof-card-role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.proof-card-body { font-size: 14px; line-height: 1.7; color: var(--text-light); }

/* ===== 이미 해낸 성과 (실적) ===== */
.results-section { padding: 60px 0; }
.results-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.result-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white; padding: 22px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.result-card-num { font-size: 32px; font-weight: 900; color: var(--accent-gold); line-height: 1; margin-bottom: 8px; }
.result-card-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.result-card-desc { font-size: 13px; line-height: 1.6; opacity: 0.92; }

/* ===== 공보 PDF 뷰어 섹션 ===== */
.brochure-section { padding: 60px 0; background: var(--bg-light); }
.brochure-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.brochure-cover {
  position: relative; cursor: pointer;
  background: var(--primary-dark);
}
.brochure-cover img {
  width: 100%; display: block;
  aspect-ratio: 0.74; object-fit: cover;
}
.brochure-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.brochure-cover-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: white; font-size: 15px; font-weight: 700;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
  padding: 10px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
}
.brochure-meta {
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
}
.brochure-meta-text { font-size: 13px; color: var(--text-muted); }
.brochure-actions { display: flex; gap: 8px; }
.brochure-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  background: var(--bg-light); color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.brochure-btn.primary {
  background: var(--primary); color: white; border-color: var(--primary);
}

/* PDF 뷰어 풀스크린 모달 */
.brochure-modal {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.96);
  display: none; flex-direction: column;
}
.brochure-modal.active { display: flex; }
.brochure-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  color: white;
  padding-top: calc(12px + env(safe-area-inset-top, 0));
}
.brochure-modal-title { font-size: 14px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brochure-modal-counter {
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px; border-radius: 12px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.brochure-modal-close {
  background: rgba(255,255,255,0.15); color: white;
  border: none; width: 36px; height: 36px; border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brochure-modal-page { cursor: zoom-in; }
.brochure-modal-body {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 12px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
}
.brochure-modal-pages { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.brochure-modal-page {
  width: 100%; display: block; border-radius: 4px;
  background: white; box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.brochure-modal-footer {
  padding: 12px 16px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  display: flex; gap: 10px; justify-content: center;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}
.brochure-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px;
  background: var(--primary); color: white;
  font-size: 14px; font-weight: 700; text-decoration: none;
}

/* OG/메인 이미지 풀폭 (히어로 포스터 자동 contain) */
.hero { background: var(--primary); }
.hero-poster-img { background: var(--primary); }

/* 공약 섹션 메인 헤딩 강조 */
.pledges .section-title { font-size: 26px; }
.pledges-lead {
  text-align: center; font-size: 14px; color: var(--text-light);
  line-height: 1.7; margin: -20px auto 32px; max-width: 480px; padding: 0 20px;
}
.pledges-lead strong { color: var(--primary); font-weight: 700; }

/* 마무리 호소문 */
.closing-section {
  padding: 60px 20px; background: var(--primary);
  color: white; text-align: center;
}
.closing-quote {
  font-size: 19px; font-weight: 800; line-height: 1.7;
  margin-bottom: 24px; letter-spacing: -0.5px;
}
.closing-quote em {
  font-style: normal; color: var(--accent-gold);
}
.closing-body {
  font-size: 14px; line-height: 1.9; opacity: 0.92;
  max-width: 480px; margin: 0 auto;
}
.closing-sign {
  margin-top: 28px;
  font-size: 20px; font-weight: 900;
  color: var(--accent-gold);
}
