/* ═══════════════════════════════════════════════════
   2027 새해다짐챌린지 (사업자) — Figma 3554:1492
   Design tokens
   - text        #322219 / rgba(50,34,25,.8/.7/.6)
   - point       #02A4F0
   - dark brown  #34261F
   - page bg     #FFFDFB
   - strip bg    rgba(238,228,219,.6) · promise rgba(212,200,188,.6)
   - faq bg      #F1EEEC
   font: RIDIBatang(제목) · Pretendard(본문) · Paperlogy(플로팅)
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'RIDIBatang';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/RIDIBatang.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
/* SD UNICEF Sunny(해맑음체) — 꿈 카드 인용구 */
@font-face {
  font-family: 'SD UNICEF Sunny';
  font-weight: 400;
  font-style: normal;
  src: url('../assets/fonts/sd-unicef-sunny/SDUNICEFSunny.woff2') format('woff2');
  font-display: swap;
}

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

html, body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  background: #FFFDFB;
  color: #322219;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
em, i { font-style: normal; }

.u-stroke { -webkit-text-stroke: 1px currentColor; }

/* ───── 공통: 인디케이터 ───── */
.indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(50, 34, 25, 0.2);
  backdrop-filter: blur(20px);
  width: fit-content;
}
.indicator-bar { width: 40px; height: 8px; border-radius: 999px; background: #fff; display: none; }
.indicator-bar.is-active { display: block; }
.indicator-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.4); }
/* 밝은 배경용 */
.indicator--dark { background: none; backdrop-filter: none; padding: 0; height: auto; gap: 8px; }
.indicator--dark .indicator-bar { background: #35302C; width: 32px; }
.indicator--dark .indicator-dot { background: rgba(0,0,0,0.2); }

/* ═══════════ 01 · Hero ═══════════ */
.hero {
  position: relative;
  height: 890px;
  overflow: hidden;
  background: #322219;
}
.hero-rolling, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide:nth-child(1) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/hero1.png'); }
.hero-slide:nth-child(2) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/hero2.png'); }
.hero-slide:nth-child(3) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/hero3.png'); }
.hero-slide:nth-child(4) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/hero4.png'); }
.hero-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }

.hero-logo {
  position: fixed;   /* 스크롤 따라 내려오다 히어로 이탈 시 어두운 로고로 교체 */
  top: 48px; left: 56px;
  width: 171px; height: 170px;
  border-radius: 50%;
  background: #02A4F0;
  display: flex; align-items: center; justify-content: center;
  z-index: 99;
  transition: opacity 0.3s, visibility 0.3s;
}
.hero-logo.is-hidden { opacity: 0; visibility: hidden; }
.hero-logo img { width: 104px; }

/* 스크롤 후 좌측 상단 고정 로고 (히어로 이탈 시 노출) */
.fixed-logo {
  position: fixed;
  top: 48px; left: 56px;
  z-index: 99;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.fixed-logo img { display: block; width: 171px; }   /* 파란 세로형 로고 — 원형 컨테이너와 동일 풋프린트 */
.fixed-logo.is-visible { opacity: 1; visibility: visible; }

.hero-text {
  position: absolute;
  top: 240px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
  width: max-content;
}
.hero-eyebrow {
  font-family: 'RIDIBatang', serif;
  font-size: 40px;
  line-height: 100px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.8);
}
.hero-title {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 140px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #fff;
  -webkit-text-stroke: 3px #fff;
}
.hero-sub {
  font-family: 'RIDIBatang', serif;
  font-size: 40px;
  line-height: 1.4;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.hero-sub b { color: #fff; font-weight: 400; }
.br-mo, .mo-only { display: none; }   /* MO 전용 요소 */

.hero-floating {
  position: fixed;   /* 스크롤 내내 우하단 고정 */
  right: 0; bottom: 0;
  width: 513px; height: 180px;
  background: #02A4F0;
  z-index: 100;
  display: block;
  transition: opacity 0.3s, visibility 0.3s;
}
.hero-floating.is-hidden { opacity: 0; visibility: hidden; }   /* 푸터 노출 시 숨김 */
.hero-floating-txt {
  position: absolute;
  left: 40px; top: 32px;
  font-family: 'Paperlogy', 'Pretendard Variable', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-floating-txt em { font-weight: 600; color: rgba(255,255,255,0.9); }
.hero-floating-img {
  position: absolute;
  right: 16px; top: 16px;
  width: 186px; height: 150px;
  overflow: visible;
}
.hero-floating-img img {
  position: absolute;
  right: 0; top: -60px;
  width: 213px;
}
.hero-indicator { position: absolute; left: 64px; bottom: 64px; z-index: 3; }

/* ═══════════ 인트로 문구 ═══════════ */
.intro-strip {
  padding: 160px 24px;
  background: rgba(238, 228, 219, 0.6);
  text-align: center;
  display: flex; flex-direction: column; gap: 8px;
}
.intro-strip p {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: rgba(50, 34, 25, 0.8);
}
.intro-strip b { font-weight: 400; }
.mo-br { display: inline; }

/* ═══════════ 02 · 전 세계 어린이의 꿈 ═══════════ */
.dreams { padding: 258px 0 260px; background: #FFFDFB; }   /* 개인용 시안: 하단 여백 260 */
.dreams-title {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 88px;
  line-height: 94px;
  letter-spacing: -0.04em;
  padding: 0 120px;
  margin-bottom: 80px;
}
.dreams-title .u-stroke { -webkit-text-stroke: 1px #322219; }

.dreams-list { display: flex; flex-direction: column; gap: 96px; }   /* 개인용 시안: 카드 피치 696 */
.dream-card { display: flex; align-items: center; gap: 120px; }
.dream-card--img-right { flex-direction: row-reverse; }

.dream-media { flex: none; width: 920px; }
.dream-card--img-left .dream-media { padding-left: 120px; }
.dream-card--img-right .dream-media { padding-right: 120px; display: flex; justify-content: flex-end; }
.dream-media figure { position: relative; width: 800px; height: 600px; overflow: hidden; }
.dream-media figure img { width: 100%; height: 100%; object-fit: cover; }
.dream-media figcaption {
  position: absolute;
  right: 16px; bottom: 16px;
  padding: 4px 10px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(5px);
}
/* PC 호버: 사진 딤 + 손글씨 인용구 노출 (Figma 3318-15969) */
.dream-media { position: relative; }
.dream-media figure::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(66, 27, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
}
.dream-quote {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 40px;
  font-family: 'SD UNICEF Sunny', 'RIDIBatang', serif;
  font-size: 40px; line-height: 1.4;
  color: #fff;
  -webkit-text-stroke: 0.5px #fff;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.dream-card--img-left .dream-quote { left: 120px; }
.dream-card--img-right .dream-quote { right: 120px; }
.dream-media:hover figure::after { opacity: 1; }
.dream-media:hover .dream-quote { opacity: 1; visibility: visible; }

.dream-body { flex: 1; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.dream-card--img-right .dream-body { align-items: flex-start; text-align: left; padding-left: 120px; }
.dream-desc { font-size: 32px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(50,34,25,0.8); }
.dream-name { font-size: 32px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(50,34,25,0.8); }
.dream-name strong { font-weight: 600; color: #322219; }
.dream-tags { display: flex; gap: 16px; font-size: 20px; line-height: 2; letter-spacing: -0.02em; color: rgba(50,34,25,0.6); }
.dreams-indicator { display: none; margin: 40px auto 0; }

/* ═══════════ 03 · 가장 가치있는 첫 약속 ═══════════ */
.promise {
  background: rgba(212, 200, 188, 0.6);
  padding: 180px 0 120px;
  display: flex; flex-direction: column; gap: 120px;
}
.promise-head { display: flex; align-items: center; }
.promise-media { flex: none; width: 920px; display: flex; justify-content: flex-end; padding-right: 120px; }
.promise-rolling { position: relative; width: 800px; height: 600px; overflow: hidden; }
.promise-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s ease;
}
.promise-slide.is-active { opacity: 1; }
.promise-slide:nth-child(1) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/promise.png'); }
.promise-slide:nth-child(2) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/promise-roll-1.png'); }
.promise-slide:nth-child(3) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/promise-roll-2.png'); }
.promise-slide:nth-child(4) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/promise-roll-3.png'); }
.promise-slide:nth-child(5) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/promise-roll-4.png'); }

.promise-copy { display: flex; flex-direction: column; gap: 200px; }
.promise-title { display: flex; flex-direction: column; gap: 12px; }
.promise-title p {
  font-family: 'RIDIBatang', serif;
  font-size: 48px; line-height: 94px; letter-spacing: -0.02em;
  color: rgba(50,34,25,0.8);
}
.promise-title h2 {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 88px; line-height: 94px; letter-spacing: -0.04em;
  color: #322219;
}
.promise-desc { font-size: 28px; font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; color: rgba(50,34,25,0.8); }

/* 종이 글씨 마퀴 */
.marquee { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track img { height: 480px; width: auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.promise-sns {
  padding: 0 120px;
  margin-top: -72px;   /* 마퀴와 gap 48 유지 (섹션 gap 120 보정) */
  font-size: 18px; line-height: 1.5; letter-spacing: -0.02em;
  color: rgba(50,34,25,0.7);
}

/* ═══════════ 04 · 후원금액 안내 ═══════════ */
.pledge { padding: 260px 0 0; display: flex; flex-direction: column; gap: 48px; }   /* 개인용 시안: 약속 섹션과 간격 260 */
.pledge-top { display: flex; padding: 0 120px; gap: 12px; align-items: flex-start; }
.pledge-top { justify-content: flex-start; padding: 0 306px; }
.pledge-title { flex: none; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 0; }
.pledge-caption {
  margin-top: 28px;
  font-size: 20px; line-height: 1; letter-spacing: -0.02em;
  color: #A6A6B1;
}
.pledge-caption b { font-weight: inherit; }   /* PC 시안은 단색/단일 굵기, 볼드는 MO에서만 */
.pledge-title p {
  font-family: 'RIDIBatang', serif;
  font-size: 48px; line-height: 94px; letter-spacing: -0.02em;
  color: rgba(50,34,25,0.8);
}
.pledge-title h2 {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 88px; line-height: 94px; letter-spacing: -0.04em;
  color: #322219;
}

/* 캐러셀 — 센터 모드(양옆 peek) */
.pledge-carousel { position: relative; width: 100%; overflow: hidden; margin-top: 72px; }
.pledge-track { display: flex; gap: 51px; transition: transform 0.5s ease; width: max-content; }
.pledge-slide {
  width: 1305px; height: 880px; flex: none;
  background-size: cover; background-position: center;
}
.pledge-indicator { position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px; }

.pledge-info {
  width: 786px; flex: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 28px;
}
.pledge-notice {
  width: 720px;
  font-family: 'Pretendard Variable', Pretendard, sans-serif;   /* 피드백: 본문 글꼴 통일 */
  font-weight: 600;
  font-size: 24px; line-height: 1.5;
  color: rgba(50,34,25,0.7);
}
.pledge-notice strong { font-weight: 700; letter-spacing: -0.04em; color: #322219; }
/* 가로 4칸 × 1행 — 각 칸에 금액/수량 세로 2줄 (Figma h140) */
.pledge-table { width: 720px; display: flex; }
.pledge-row {
  flex: 1;
  height: 140px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border: solid rgba(50,34,25,0.4);
  border-width: 1px 1px 1px 0;
}
.pledge-row:first-child { border-left-width: 1px; }
.pledge-cell {
  display: flex; align-items: center; gap: 10px;
  padding: 0;
}
.pledge-cell em {
  width: 72px;             /* 라벨 56 + 래퍼 패딩 8×2 (Figma EL-e967ca21) */
  padding: 0 8px;
  font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em;
  color: rgba(50,34,25,0.8);
}
.pledge-cell p { font-size: 22px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(50,34,25,0.8); }
.pledge-cell strong { font-weight: 700; color: #322219; }
.pledge-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 20px;
  padding: 0 120px;
}
.pledge-receipt {
  width: 720px; height: 100px;
  display: flex; align-items: center; justify-content: center;
  background: #34261F;
  color: #fff;
  font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em;
}
/* 기부금 영수증 안내 레이어 (unicef.or.kr 팝업 복제) */
.receipt-modal { position: fixed; inset: 0; z-index: 1000; }
.receipt-modal[hidden] { display: none; }
.receipt-modal-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.receipt-modal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 560px; max-width: calc(100% - 32px); max-height: 85vh;
  display: flex; flex-direction: column;
  background: #fff;
  overflow: hidden;
}
.receipt-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: #1CABE2;
}
.receipt-modal-head strong { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.receipt-modal-close { color: #fff; font-size: 28px; line-height: 1; padding: 0 4px; }
.receipt-modal-body { padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.receipt-lead { font-size: 16px; font-weight: 600; color: #2D2926; letter-spacing: -0.02em; }
.receipt-btn {
  display: flex; align-items: center; justify-content: center;
  height: 52px;
  background: #1CABE2; color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
}
.receipt-btn--line { background: #fff; color: #1CABE2; border: 1px solid #1CABE2; }
.receipt-note { font-size: 13px; line-height: 1.5; color: rgba(45,41,38,0.7); letter-spacing: -0.02em; }
.receipt-cards { display: flex; flex-direction: column; gap: 12px; }
.receipt-card { padding: 20px; background: #E2F0F6; display: flex; flex-direction: column; gap: 10px; }
.receipt-card strong { font-size: 16px; font-weight: 700; color: #1CABE2; }
.receipt-card p { font-size: 14px; line-height: 1.6; color: #2D2926; letter-spacing: -0.02em; }
.receipt-card p b { font-weight: 700; }
.receipt-card a {
  align-self: flex-start;
  padding: 10px 24px;
  background: #1CABE2; color: #fff;
  font-size: 14px; font-weight: 700;
}
.receipt-foot { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #E5E6E8; padding-top: 16px; }
.receipt-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.receipt-foot-row p { font-size: 13px; line-height: 1.5; color: rgba(45,41,38,0.8); letter-spacing: -0.02em; }
.receipt-foot-row p strong { font-weight: 700; color: #2D2926; }
.receipt-foot-row a {
  flex: none;
  padding: 8px 18px;
  border: 1px solid #1CABE2; color: #1CABE2;
  font-size: 13px; font-weight: 700;
}

.pledge-notes { width: 720px; display: flex; flex-direction: column; gap: 8px; }
.pledge-notes li {
  position: relative;
  padding-left: 14px;
  font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em;
  color: rgba(50,34,25,0.7);
}
.pledge-notes li::before { content: '*'; position: absolute; left: 0; top: 2px; }

.pledge-nav {
  position: absolute;
  top: 400px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(50,34,25,0.2) no-repeat center / 32px;
  z-index: 2;
}
.pledge-nav--prev { left: 360px; transform: scaleX(-1); }
.pledge-nav--next { right: 360px; }
.pledge-nav::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M12 6l10 10-10 10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ═══════════ 05 · 2027 유니세프 다이어리 ═══════════ */
.diary { padding: 140px 0 240px; display: flex; flex-direction: column; gap: 48px; }
.diary-title {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 88px; line-height: 94px; letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 72px;
}
.diary-year { -webkit-text-stroke: 1px #322219; letter-spacing: 0; }   /* 노드상 stroke 6px이나 시안 렌더는 얇음 — 타이틀 공통 1px */
.diary-gallery { display: flex; gap: 20px; padding: 0 120px; }
.diary-photo { width: 830px; height: 640px; overflow: hidden; flex: none; }
.diary-photo img { width: 100%; height: 100%; object-fit: cover; }
.diary-indicator { display: none; margin: 0 auto; }

.diary-detail { display: flex; align-items: center; gap: 80px; padding: 0 120px; }
.swatch-grid { flex: 1; display: flex; gap: 16px; height: 280px; }
.swatch-card { flex: 1; display: flex; flex-direction: column; background: #2D211A; position: relative; }

/* 스와치 호버 — 다이어리 실사 팝오버 (Figma 3532-61) */
.swatch-pop {
  position: absolute;
  left: 50%; bottom: calc(100% + 32px);
  transform: translateX(-50%);
  width: 400px; height: 400px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
  z-index: 10;
}
.swatch-pop::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -20px;
  width: 40px; height: 40px;
  transform: translateX(-50%) rotate(45deg);
  background: inherit;
  z-index: -1;
}
.swatch-pop img { width: 220px; display: block; }
.swatch-pop img[src*="ivory"] { width: 172px; }
.swatch-card:hover .swatch-pop { opacity: 1; visibility: visible; }
.swatch-pop-close { display: none; }   /* PC는 호버 방식 — X 버튼 MO 전용 */
.swatch-color { display: block; height: 200px; }
.swatch-label { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 20px; }
.swatch-label strong { font-size: 14px; font-weight: 700; line-height: 1.3; color: #ECE6E1; }
.swatch-label em { font-size: 11px; color: #A8998E; }

.diary-spec { width: 770px; flex: none; display: flex; flex-direction: column; gap: 28px; padding: 80px 36px 80px 10px; }
.diary-spec dl { display: flex; flex-direction: column; gap: 28px; }
.diary-spec-row { display: flex; align-items: center; gap: 28px; }
.diary-spec-row dt {
  flex: none;
  padding: 2px 8px;
  border: 1px solid rgba(0,0,0,0.4);
  font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em;
  color: rgba(0,0,0,0.8);
}
.diary-spec-row dd { font-size: 22px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(0,0,0,0.8); }
.diary-spec-row dd span { color: rgba(0,0,0,0.6); }
.diary-spec-row dd b { font-weight: 400; color: rgba(0,0,0,0.8); }

.diary-eco { display: flex; align-items: flex-end; gap: 56px; padding: 0 120px; margin-top: -70px; }   /* 시안: 스펙 블록에 밀착 (Figma gap -22) */
.diary-eco-mark { width: 619px; height: 180px; object-fit: contain; flex: none; }
.diary-eco p { width: 1018px; flex: none; padding-bottom: 28px; font-size: 24px; line-height: 1.5; letter-spacing: -0.02em; color: #322219; }

/* ═══════════ 06 · FAQ ═══════════ */
.faq { background: #F1EEEC; padding: 240px; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.faq-title {
  font-family: 'RIDIBatang', serif;
  font-weight: 400;
  font-size: 88px; line-height: 94px; letter-spacing: 0.04em;
  -webkit-text-stroke: 1px #322219;
}
.faq-list { width: 100%; max-width: 1480px; display: flex; flex-direction: column; gap: 0; }
.faq-item { background: #fff; border-bottom: 1px solid #E6E6E6; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 22px;
  padding: 48px;
  text-align: left;
}
.faq-q em { width: 19px; font-size: 27px; font-weight: 600; color: #50392B; flex: none; }
.faq-q span { flex: 1; font-size: 28px; font-weight: 600; line-height: 36px; color: #101010; }
.faq-icon { position: relative; width: 25px; height: 25px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: #101010;
  top: 50%; left: 0;
  width: 25px; height: 3px;
  margin-top: -1.5px;
}
.faq-icon::after { transform: rotate(90deg); transition: transform 0.25s; }
.faq-a {
  display: none;
  gap: 22px;
  padding: 0 48px 48px;
}
.faq-a em { width: 19px; font-size: 27px; font-weight: 600; line-height: 34px; color: #50392B; flex: none; }
.faq-a p { font-size: 24px; line-height: 36px; color: #222; }

.faq-item.is-open .faq-q { background: #34261F; }
.faq-item.is-open .faq-q em, .faq-item.is-open .faq-q span { color: #fff; }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-item.is-open .faq-a { display: flex; padding-top: 48px; border: solid #50392B; border-width: 0 2px 2px; }

/* ═══════════ Footer ═══════════ */
.footer {
  background: #34261F;
  padding: 79px 20px 60px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.footer-logo { width: 317px; filter: brightness(0) invert(1); }
.footer-info {
  font-family: 'Noto Sans KR', 'Pretendard Variable', sans-serif;
  font-size: 15px; line-height: 26px; letter-spacing: -0.02em;
  color: #fff;
}
.footer-info b { font-weight: 700; }
.footer-info i { color: #999; font-weight: 700; }
.footer-copy { font-size: 15px; font-weight: 700; line-height: 26px; letter-spacing: -0.02em; color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════
   MO (≤1023px) — Figma 3554:3198 (375 기준)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  /* Hero 640 */
  .hero { height: 640px; }
  .hero-slide { background-position: top center; }   /* 시안 375×640 기준 — 넘치는 부분은 하단에서 잘림 */
  .hero-slide:nth-child(1) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/mo-hero1.png'); }
  .hero-slide:nth-child(2) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/mo-hero2.png'); }
  .hero-slide:nth-child(3) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/mo-hero3.png'); }
  .hero-slide:nth-child(4) { background-image: url('https://cdn.unicef.or.kr/images/2027newyear/mo-hero4.png'); }
  .hero-logo { top: 20px; left: 20px; width: 88px; height: 88px; }   /* 피드백: 기존 64 → 확대 */
  .hero-logo img { width: 54px; }
  .fixed-logo { top: 20px; left: 20px; }
  .fixed-logo img { width: 88px; }   /* MO 원형 로고(88px)와 동일 풋프린트 */
  .hero-text { top: 196px; left: 50%; transform: translateX(-50%); align-items: center; gap: 10px; width: max-content; padding: 0; }   /* 피드백: MO 중앙정렬 */
  .hero-eyebrow { font-size: 16px; line-height: 1; }
  .hero-title { font-size: 48px; line-height: 1; -webkit-text-stroke: 0.5px #fff; text-align: center; }
  .hero-sub { font-size: 16px; color: #fff; letter-spacing: -0.03em; }   /* 피드백: 흰색 통일 */
  .hero-sub.mo-only { display: block; }   /* 소제목은 MO에서만 노출 */
  .br-mo, .mo-only { display: inline; }
  .pc-only { display: none; }
  .hero-sub b { color: #fff; }
  .hero-floating { position: fixed; left: 0; bottom: 0; width: 100%; height: 86px; z-index: 100; }   /* MO: 스크롤 내내 하단 고정 (푸터 도달 시 숨김) */
  .hero-floating-txt { left: 28px; top: 28px; font-family: 'Pretendard Variable', Pretendard, sans-serif; font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: 0; }
  .hero-floating-txt em { font-weight: 600; color: rgba(255,255,255,0.8); }
  .hero-floating-txt br { display: none; }
  .hero-floating-txt em:first-child { margin-right: 6px; }
  .hero-floating-txt { z-index: 2; }
  .hero-floating-img { right: 23px; top: 8px; width: 89px; height: 72px; }
  .hero-floating-img img { right: 0; left: auto; top: 50%; width: 102px; transform: translateY(-50%); }
  .hero-indicator { display: none; }   /* 피드백: MO 페이지네이션 삭제 */

  /* 인트로 */
  .intro-strip { padding: 64px 24px; gap: 20px; background: #F5EFE9; }
  .intro-strip p { font-size: 14px; line-height: 1.5; color: rgba(50,34,25,0.7); }
  .intro-strip b { font-weight: 600; color: #322219; }   /* 강조 — 시안 렌더 기준 세미볼드+진한색 */
  .mo-br { display: block; }

  /* 꿈 — 캐러셀 */
  .dreams { padding: 80px 0; }
  .dreams-title {
    font-size: 32px; line-height: 46px; letter-spacing: -0.02em;
    padding: 0; text-align: center; margin-bottom: 40px;
  }
  .dreams-title .u-stroke { -webkit-text-stroke: 0.5px #322219; }
  .dreams-list {
    flex-direction: row;
    gap: 0;
    overflow: hidden;
    width: 327px;
    margin: 0 auto;
  }
  .dream-card { flex: none; width: 327px; flex-direction: column; align-items: stretch; gap: 0; transition: transform 0.4s ease; }
  .dream-media { width: 100%; padding: 0 !important; display: block !important; }
  .dream-media figure { width: 100%; height: 245px; }
  .dream-media figcaption {
    display: none;                     /* 피드백: 사진 내 크레딧과 이중 — 얹은 크레딧 삭제 */
    left: auto; right: 4px;            /* Figma x313 — 이미지 우측 가장자리 */
    bottom: auto; top: 92px;
    writing-mode: vertical-rl;         /* 세로쓰기 (시안) */
    background: none; backdrop-filter: none;
    font-size: 5px; color: rgba(255,255,255,0.6);   /* 피드백: 기존 10px 대비 50% 축소 */
    padding: 0; white-space: nowrap;
  }
  .dream-media figure::after {
    content: '';
    position: absolute; left: 0; bottom: 0; top: auto;
    width: 100%; height: 88px;
    background: linear-gradient(0deg, rgba(57,50,45,0.8) 0%, rgba(57,50,45,0) 100%);
    opacity: 1;   /* MO는 상시 노출 (PC 호버 규칙 리셋) */
  }
  .dream-quote {
    display: block;
    position: absolute;
    top: auto; left: 20px; bottom: 20px; right: 20px;
    z-index: 2;
    padding: 0;
    text-align: left;
    font-family: 'SD UNICEF Sunny', 'RIDIBatang', serif;
    font-size: 16px; line-height: 1.4;
    color: #fff;
    -webkit-text-stroke: 0.4px #fff;   /* 시안 stroke — 두께 보강 */
    text-shadow: 0 2px 2px rgba(0,0,0,0.5);
    opacity: 1; visibility: visible;   /* MO는 상시 노출 (PC 호버 규칙 리셋) */
  }
  .dream-card--img-left .dream-quote { left: 20px; }
  .dream-card--img-right .dream-quote { right: 20px; }
  .dream-media { position: relative; }
  .dream-body { max-width: none; gap: 10px; padding: 20px 24px !important; background: #EEE4DB; align-items: stretch !important; }
  .dream-desc { font-size: 12px; line-height: 1.4; color: #322219; }
  .dream-name { font-size: 12px; line-height: 1.4; color: rgba(50,34,25,0.8); display: flex; gap: 4px; align-items: center; }
  .dream-name strong { font-size: 14px; font-weight: 700; color: rgba(50,34,25,0.8); }
  .dream-tags { gap: 6px; font-size: 10px; line-height: 1.2; font-family: 'Paperlogy', 'Pretendard Variable', sans-serif; font-weight: 600; color: rgba(50,34,25,0.6); }
  .dreams-indicator { display: flex; justify-content: center; }

  /* 약속 */
  .promise { padding: 80px 0 64px; gap: 20px; }
  /* 시안 순서: 타이틀 → 이미지 → 텍스트 (copy 컨테이너 해체 후 order 배치) */
  .promise-head { flex-direction: column; gap: 20px; }
  .promise-copy { display: contents; }
  .promise-title { order: 1; gap: 4px; align-items: center; text-align: center; width: 100%; }
  .promise-media { width: 100%; padding: 0; justify-content: center; order: 2; }
  .promise-rolling { width: 327px; height: 245px; }
  .promise-title p { font-size: 16px; line-height: 1; }
  .promise-title h2 { font-size: 32px; line-height: 46px; letter-spacing: -0.08em; -webkit-text-stroke: 0.5px #322219; }
  .promise-title h2 br { display: none; }
  .promise-desc { width: 100%; font-size: 14px; font-weight: 400; line-height: 1.4; color: #322219; text-align: left; padding: 0 24px; order: 3; }
  .promise-order-fix { display: contents; }
  .marquee-track img { height: 240px; }
  .promise-sns { padding: 0 24px; margin-top: 0; font-size: 12px; color: rgba(50,34,25,0.7); }
  .promise-sns br { display: block; content: ""; }   /* ※문구 ↔ 해시태그 줄바꿈 (피드백) */

  /* 금액표 — MO 프레임 gap80 (베이지 섹션과의 간격) */
  .pledge { padding: 0; margin: 80px 0; gap: 40px; align-items: center; }
  .pledge-top { flex-direction: column; padding: 0; gap: 12px; align-items: center; width: 100%; order: 1; }   /* 대타이틀↔안내문 12 */
  .pledge-actions { order: 2; }   /* 피드백: 금액표 → 영수증 버튼 → 다이어리 사진 순 */
  .pledge-carousel { order: 3; }
  .pledge-title { gap: 4px; padding-top: 0; margin-top: 0; align-items: center; }
  .pledge-caption { margin-top: 12px; font-size: 12px; line-height: 1.6; text-align: center; padding: 0 24px; }
  .pledge-caption b { font-weight: 700; }
  .pledge-title p { font-size: 16px; line-height: 1; }
  .pledge-title h2 { font-size: 32px; line-height: 46px; -webkit-text-stroke: 0.5px #322219; }
  .pledge-carousel { margin-top: 0; padding: 12px 0 36px; }   /* 액티브 확대 여유 */
  .pledge-slide { width: 296px; height: 200px; transition: transform 0.4s ease; }   /* 개인용 시안: 가로형 (액티브 327×220) */
  .pledge-slide.is-active { transform: scale(1.105); }
  .pledge-track { gap: 21px; align-items: center; }   /* 액티브 확대(+15.5) 감안 시각 간격 ~5 */
  .pledge-indicator { bottom: 0; }
  .pledge-indicator.indicator { background: none; backdrop-filter: none; height: auto; padding: 0; gap: 8px; }
  .pledge-indicator .indicator-bar { background: #35302C; width: 32px; }
  .pledge-indicator .indicator-dot { background: rgba(0,0,0,0.2); }
  .pledge-info { width: 327px; padding: 0; align-items: center; gap: 40px; }   /* 안내문↔그리드 40 */
  .pledge-notice {
    width: auto;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-weight: 400;
    font-size: 12px; line-height: 1.4; letter-spacing: -0.04em;
    color: rgba(50,34,25,0.65);
    margin: 0;
  }
  .pledge-notice strong { font-weight: 400; letter-spacing: -0.04em; color: rgba(50,34,25,0.65); }
  .pledge-table { width: 327px; flex-direction: row; flex-wrap: wrap; }
  /* 박스(164×104) 단위 배경·패딩 — 내부는 텍스트 2행 (시안 3554:6974) */
  .pledge-row {
    width: 50%; height: 104px;
    flex-direction: column; justify-content: center;
    gap: 4px;
    padding: 10px 16px 10px 8px;
    background: rgba(238,228,219,0.2);
    border: 0;
  }
  .pledge-row:nth-child(1) { border: 1px solid #EEE4DB; }
  .pledge-row:nth-child(2) { border: 1px solid #EEE4DB; border-left: 0; }
  .pledge-row:nth-child(3) { border: 1px solid #EEE4DB; border-top: 0; }
  .pledge-row:nth-child(4) { border: 1px solid #EEE4DB; border-top: 0; border-left: 0; }
  .pledge-cell { width: 100%; height: auto; padding: 0; background: none; }
  .pledge-cell em { font-size: 13px; }
  .pledge-cell p { font-size: 18px; }
  .pledge-actions { padding: 0; align-items: center; gap: 20px; }
  .pledge-receipt { width: 327px; height: 56px; font-size: 18px; font-weight: 500; }
  .pledge-notes { width: 327px; }
  .pledge-notes li { font-size: 12px; font-weight: 400; line-height: 1.5; color: rgba(50,34,25,0.8); }   /* 시안 Regular */
  .pledge-notes li span { color: rgba(50,34,25,0.6); }
  .pledge-nav { display: none; }

  /* 다이어리 */
  .diary { padding: 56px 24px 80px; gap: 32px; background: #F1EEEC; }
  .diary-title { font-size: 32px; line-height: 46px; margin-bottom: 0; }
  .diary-year { -webkit-text-stroke: 0.5px #322219; letter-spacing: -0.08em; }   /* 피드백: 한 줄 큰 글씨 '2027 유니세프 다이어리' */
  .diary-title .u-stroke { -webkit-text-stroke: 0.5px #322219; letter-spacing: -0.08em; }
  /* 시안은 이미지가 창(327×220) 위아래로 흐르는 콜라주 연출 — 캐러셀 클립 유지로 절충 */
  .diary-gallery { padding: 0; width: 327px; margin: 0 auto; overflow: hidden; gap: 0; }   /* translateX(-100%) 슬라이드 — gap 있으면 2번째 사진 좌측 빈영역 */
  .diary-photo { width: 327px; flex: none; height: 220px; transition: transform 0.4s ease; }
  .diary-indicator { display: flex; justify-content: center; margin-top: -68px; transform: translateY(20px); position: relative; z-index: 2; }   /* 사진 하단 안쪽(바닥-13px) 배치 — flow 보정(-68) 유지, 위치는 transform */
  .diary-indicator .indicator-dot { background: rgba(255,255,255,0.5); }   /* 사진 위 가시성 (시안: 밝은 점) */
  .diary-detail { flex-direction: column; gap: 4px; padding: 0; width: 327px; margin: 0 auto; }
  .swatch-grid { width: 100%; height: auto; gap: 4px; }
  .swatch-card { height: 160px; }
  /* 스와치 팝오버 — MO 축소 버전 (탭 시 노출) */
  .swatch-pop { width: 180px; height: 180px; bottom: calc(100% + 16px); }
  .swatch-pop::after { width: 24px; height: 24px; bottom: -12px; }
  .swatch-pop img { width: 100px; }
  .swatch-pop img[src*="ivory"] { width: 78px; }
  .swatch-card:first-child .swatch-pop { left: 0; transform: none; }
  .swatch-card:first-child .swatch-pop::after { left: 22%; }
  .swatch-card:last-child .swatch-pop { left: auto; right: 0; transform: none; }
  .swatch-card:last-child .swatch-pop::after { left: auto; right: 22%; }
  /* MO: 호버 대신 탭 토글(is-open) + X 버튼 (Figma 3835-25) */
  .swatch-card:hover .swatch-pop { opacity: 0; visibility: hidden; }
  .swatch-card.is-open .swatch-pop { opacity: 1; visibility: visible; pointer-events: auto; }
  .swatch-pop-close {
    display: block;
    position: absolute;
    top: 6px; right: 10px;
    width: 28px; height: 28px;
    background: url('../assets/images/swatch-x.svg') no-repeat center / 28px;
    padding: 0;
  }
  .swatch-color { height: 96px; }
  .swatch-label { padding: 12px; }
  .swatch-label strong { font-size: 13px; }
  .swatch-label em { font-size: 10px; }
  .diary-spec { width: 100%; padding: 24px 20px; margin-top: 36px; background: #fff; border: 1px solid #E7E1D8; gap: 20px; }   /* 스와치끝+40 (Figma) */
  .diary-spec dl { gap: 20px; }
  .diary-spec-row { gap: 20px; align-items: flex-start; }
  .diary-spec-row dt { border: 0; padding: 1px 0; font-size: 16px; line-height: 1.4; }
  .diary-spec-row dd { font-size: 16px; line-height: 1.5; }
  .diary-eco { flex-direction: column; align-items: center; gap: 20px; padding: 0; margin-top: 16px; }
  .diary-eco-mark { width: 330px; height: auto; max-width: none; object-fit: contain; }   /* 시안 로고 묶음 폭 330 */
  .diary-eco p { width: 338px; flex: none; padding: 0 12px; font-size: 13px; line-height: 1.5; letter-spacing: -0.06em; }   /* 텍스트 영역 338, 좌우 패딩 12 */

  /* FAQ — MO 프레임 gap80 (다이어리 섹션과의 간격) */
  .faq { background: none; padding: 0 20px 80px; margin-top: 80px; gap: 20px; }
  .faq-title { font-size: 32px; line-height: 46px; letter-spacing: 0.08em; -webkit-text-stroke: 0.5px #322219; }
  .faq-list { gap: 0; }
  .faq-item { background: none; border-bottom: 1px solid #DEDEDE; }
  .faq-q { gap: 12px; padding: 12px 20px; height: 72px; }
  .faq-q em { font-size: 19px; }
  .faq-q span { font-size: 14px; font-weight: 700; line-height: 36px; }
  .faq-icon { width: 14px; height: 14px; }
  /* 회전 없이 가로/세로 바 개별 렌더 — 안티앨리어싱으로 가로줄이 얇아 보이는 문제 방지 (시안 1.5px) */
  .faq-icon::before { width: 14px; height: 1.5px; margin-top: -0.75px; }
  .faq-icon::after { width: 1.5px; height: 14px; top: 0; left: 50%; margin: 0 0 0 -0.75px; transform: none; }
  .faq-item.is-open .faq-icon::after { display: none; }   /* 열림 = − */
  .faq-a { gap: 12px; padding: 0 20px 12px; }
  .faq-a em { font-size: 19px; line-height: 22px; }
  .faq-a p { font-size: 14px; line-height: 22px; color: #444; }
  .faq-item.is-open .faq-a { padding-top: 12px; border-width: 0 1px 1px; border-color: #34261F; background: #fff; }

  /* Footer */
  .footer { padding: 40px 20px 60px; gap: 16px; }
  .footer-logo { width: 220px; }
  .footer-info { font-family: 'Pretendard Variable', Pretendard, sans-serif; font-size: 12px; line-height: 20px; }
  .footer-info b { font-weight: 400; }
  .footer-info i { display: none; }
  .footer-info br { display: none; }
  .footer-info b { display: block; }
  .footer-copy { font-size: 12px; font-weight: 400; line-height: 17px; }
}

/* 중간 구간(1024~1680, 태블릿 가로 포함) — PC 레이아웃 유동 보정 */
@media (min-width: 1024px) and (max-width: 1680px) {
  .hero-title { font-size: 110px; }
  /* 스와치 팝오버 — 좁은 화면에서 축소 + 화면 안쪽 정렬 */
  .swatch-pop { width: 280px; height: 280px; }
  .swatch-pop img { width: 150px; }
  .swatch-pop img[src*="ivory"] { width: 118px; }
  .swatch-card:first-child .swatch-pop { left: 0; transform: none; }
  .swatch-card:first-child .swatch-pop::after { left: 18%; }
  .swatch-card:last-child .swatch-pop { left: auto; right: 0; transform: none; }
  .swatch-card:last-child .swatch-pop::after { left: auto; right: 18%; }
  .dreams-title { padding: 0 48px; }
  .dream-card { gap: 48px; }
  .dream-media { width: 48%; }
  .dream-card--img-left .dream-media { padding-left: 48px; }
  .dream-card--img-right .dream-media { padding-right: 48px; }
  .dream-card--img-left .dream-quote { left: 48px; }
  .dream-card--img-right .dream-quote { right: 48px; }
  .dream-quote { font-size: 32px; }
  .dream-card--img-right .dream-body { padding-left: 48px; }
  .dream-media figure { width: 100%; height: auto; aspect-ratio: 4/3; }
  .dream-body { padding-right: 24px; }
  .promise-media { width: 48%; padding-right: 48px; }
  .promise-rolling { width: 100%; max-width: 800px; aspect-ratio: 4/3; }
  .promise-copy { gap: 100px; }
  .promise-sns { padding: 0 48px; }
  .pledge-top { flex-direction: column; align-items: center; gap: 48px; padding: 0 48px; }
  .pledge-title { align-items: center; }
  .pledge-info { align-items: center; }
  .pledge-info, .pledge-notice, .pledge-table, .pledge-receipt, .pledge-notes { width: 600px; }
  .pledge-actions { align-items: center; padding: 0 48px; }
  .pledge-slide { width: 900px; height: 607px; }
  .pledge-nav--prev { left: 24px; }
  .pledge-nav--next { right: 24px; }
  .diary-gallery, .diary-detail, .diary-eco { padding: 0 48px; }
  .diary-eco { margin-top: 0; }   /* 태블릿은 스펙 패딩이 작아 밀착 보정 불필요 */
  .diary-eco p { width: auto; }   /* 1018 고정폭은 1920 전용 */
  .diary-photo { width: calc(50% - 10px); height: auto; aspect-ratio: 830/640; }
  .diary-detail { gap: 40px; }
  .diary-spec { width: 50%; padding: 40px 10px; }
  .faq { padding: 160px 48px; }
}

/* 소형 기기(~359) — 플로팅 문구/이미지 겹침 방지 */
@media (max-width: 359px) {
  .hero-floating-txt { font-size: 20px; top: 31px; }
  .hero-floating-img { right: 12px; }
}
