/* ============================================================
   DANBI PAY — 상품권 매입 랜딩
   컨셉: 밝은 톤 프리미엄 (웜 아이보리 × 딥 네이비 × 샴페인 골드)
   시그니처: 골드 물방울 + 파문(리플) 모티프
   ============================================================ */

:root {
  --bg:        #FDFCF9;
  --ivory:     #F7F3EB;
  --gray:      #F1EFEA;
  --navy:      #122C4F;
  --navy-deep: #0C1F3A;
  --gold:      #C2A25C;
  --gold-deep: #A9884A;
  --gold-soft: #EBDDBC;
  --ink:       #232A36;
  --muted:     #6F6A5E;
  --line:      #E7E1D4;
  --kakao:     #FAE100;
  --kakao-ink: #3C1E1E;
  --sms:       #34C759;
  --shadow-sm: 0 4px 16px rgba(18, 44, 79, .07);
  --shadow-md: 0 14px 40px rgba(18, 44, 79, .12);
  --radius: 18px;
  --header-h: 72px;
  --serif: "Playfair Display", "Pretendard Variable", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

/* 리빌 초기 transform이 가로 스크롤을 만들지 않도록 차단 */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: 0; cursor: pointer; }

.serif { font-family: var(--serif); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.m-only { display: none; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  font-size: clamp(.72rem, 1.2vw, .82rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.28;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-sub { color: var(--muted); font-size: clamp(.95rem, 1.6vw, 1.08rem); margin-bottom: 48px; max-width: 640px; }

/* 헤드라인 스플릿 등장용 */
.reveal-split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-split .w > span { display: inline-block; transform: translateY(110%); }

/* ---------- 스크롤 진행 바 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1200; background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--header-h);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: rgba(253, 252, 249, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 24px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-drop { width: 30px; height: 30px; fill: var(--gold); filter: drop-shadow(0 2px 4px rgba(194,162,92,.35)); }
.logo-text {
  font-weight: 900; font-size: 1.22rem; letter-spacing: -.02em; color: var(--navy);
  display: flex; flex-direction: column; line-height: 1.05;
}
.logo-text em { font-style: normal; font-family: var(--serif); font-weight: 500; font-size: .58rem; letter-spacing: .28em; color: var(--gold-deep); }

.gnb { display: flex; gap: 30px; margin-left: auto; }
.gnb a {
  font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.gnb a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.gnb a:hover::after, .gnb a.active::after { width: 100%; }
.gnb a.active { color: var(--navy); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 11px 20px; border-radius: 999px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.header-cta:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.header-cta svg { width: 15px; height: 15px; fill: currentColor; }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.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); }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 1090;
  background: rgba(253, 252, 249, .98);
  backdrop-filter: blur(12px);
  padding: 36px 28px; display: none; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: 1.25rem; font-weight: 800; color: var(--navy);
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a.active { color: var(--gold-deep); }
.mobile-menu-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- CTA 버튼 세트 ---------- */
.cta-set { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px; border-radius: 999px; min-height: 56px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.cta-ic { font-size: 1.25rem; line-height: 1; }
.cta-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.cta-txt b { font-size: .95rem; font-weight: 800; }
.cta-txt i { font-style: normal; font-size: .8rem; opacity: .85; font-weight: 500; letter-spacing: .01em; }
.cta-phone { background: var(--navy); color: #fff; }
.cta-phone:hover { background: var(--navy-deep); }
.cta-kakao { background: var(--kakao); color: var(--kakao-ink); }
.cta-sms { background: var(--sms); color: #fff; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(253,252,249,.34) 0%, rgba(253,252,249,.12) 38%, rgba(253,252,249,.58) 82%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 62%);
}
.hero-ripple {
  position: absolute; z-index: 1; width: min(72vw, 680px); height: auto;
  left: 50%; top: 50%; transform: translate(-50%, -52%);
  fill: none; stroke: rgba(194, 162, 92, .35); stroke-width: 1.2;
  pointer-events: none;
}
.hero-ripple circle { transform-origin: 300px 300px; animation: ripple 7s ease-out infinite; opacity: 0; }
.hero-ripple circle:nth-child(2) { animation-delay: 2.3s; }
.hero-ripple circle:nth-child(3) { animation-delay: 4.6s; }
@keyframes ripple {
  0% { transform: scale(.55); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: scale(1.25); opacity: 0; }
}
.ripple-drop { fill: rgba(194, 162, 92, .16); stroke: rgba(194, 162, 92, .45); }

.hero-content { position: relative; z-index: 2; padding: 120px 24px 90px; max-width: 900px; }
.hero-title {
  font-size: clamp(2.2rem, 6.4vw, 4.4rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.22;
  color: var(--navy); margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(255,255,255,.5);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: #3E4756;
  margin-bottom: 40px; font-weight: 500;
}
.hero-sub strong { color: var(--gold-deep); font-weight: 800; }
.hero-note { margin-top: 26px; font-size: .84rem; color: var(--muted); letter-spacing: .04em; }

.scroll-hint {
  position: absolute; z-index: 2; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .3em; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); display: block; animation: hint 2s ease infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 3D 쇼케이스 ---------- */
.showcase {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(165deg, #FBF8F1 0%, #F3EDDF 48%, #EFE6D2 100%);
}
#showcaseCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.showcase-fallback {
  position: absolute; inset: 0; z-index: 0; opacity: 0;
  background:
    radial-gradient(ellipse at 24% 30%, rgba(194,162,92,.18), transparent 55%),
    radial-gradient(ellipse at 78% 70%, rgba(191,211,230,.3), transparent 55%);
}
.showcase.no-webgl .showcase-fallback { opacity: 1; }
.showcase-content { position: relative; z-index: 2; padding: 100px 24px; max-width: 860px; }
.showcase-title {
  font-size: clamp(1.8rem, 4.6vw, 3.2rem); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.3; color: var(--navy); margin-bottom: 20px;
}
.showcase-sub { color: #5B6472; font-size: clamp(.98rem, 1.8vw, 1.12rem); margin-bottom: 40px; }

/* ---------- 강점 카드 ---------- */
.strengths { background: var(--bg); text-align: center; }
.strength-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px;
}
.s-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 26px 36px; text-align: left;
  transition: box-shadow .3s ease;
  transform-style: preserve-3d; will-change: transform;
}
.s-card:hover { box-shadow: var(--shadow-md); }
.s-ic {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(140deg, var(--ivory), #FDF9EF);
  border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.s-ic svg { width: 30px; height: 30px; fill: var(--gold); }
.s-ic svg .thin { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.s-card h3 { font-size: 1.14rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -.02em; }
.s-card p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* ---------- 마퀴 ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #FBF8F1; padding: 16px 0; margin-bottom: clamp(64px, 9vw, 110px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  animation: marquee 26s linear infinite; will-change: transform;
}
.marquee-track span {
  font-family: var(--serif); font-size: 1.06rem; font-weight: 500;
  color: var(--navy); letter-spacing: .04em;
}
.marquee-track i { font-style: normal; color: var(--gold); font-size: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 상품권 종류 ---------- */
.types { background: var(--bg); text-align: center; padding-top: 0; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 20px 28px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.t-ic { font-size: 2rem; display: block; margin-bottom: 14px; }
.t-card h3 { font-size: 1.04rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.t-card p { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.types-note { margin-top: 36px; font-size: .88rem; color: var(--muted); }
.types-note strong { color: var(--gold-deep); }

/* ---------- 패럴랙스 밴드 ---------- */
.parallax-band {
  position: relative; height: clamp(340px, 48vw, 520px); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.parallax-band img {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%;
  object-fit: cover; will-change: transform;
}
.parallax-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,31,58,.34), rgba(12,31,58,.18) 50%, rgba(12,31,58,.4));
}
.band-copy { position: relative; z-index: 2; color: #fff; padding: 0 24px; }
.band-copy p { font-family: var(--serif); font-style: italic; letter-spacing: .18em; font-size: clamp(.8rem, 1.4vw, .95rem); margin-bottom: 14px; color: var(--gold-soft); }
.band-copy strong { font-size: clamp(1.25rem, 3.2vw, 2rem); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.3); }

/* ---------- 이용 절차 ---------- */
.process { background: var(--ivory); }
.process .container { text-align: center; }
.process-list {
  max-width: 780px; margin: 56px auto 0; text-align: left;
  display: flex; flex-direction: column; gap: 0; position: relative;
}
.process-list::before {
  content: ""; position: absolute; left: 39px; top: 20px; bottom: 20px; width: 1px;
  background: linear-gradient(var(--gold-soft), var(--gold), var(--gold-soft));
}
.p-step {
  display: flex; gap: 30px; align-items: flex-start; position: relative;
  padding: 26px 0;
}
.p-num {
  flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: var(--gold-deep);
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.p-step h3 { font-size: 1.22rem; font-weight: 800; color: var(--navy); margin: 8px 0 8px; letter-spacing: -.02em; }
.p-step p { color: var(--muted); font-size: .95rem; max-width: 560px; }

/* ---------- 신뢰 수치 ---------- */
.stats {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, #1B3A63 100%);
  color: #fff; text-align: center; overflow: hidden; position: relative;
}
.stats .section-title { color: #fff; }
.stats-ripple {
  position: absolute; right: -140px; top: -140px; width: 520px; height: 520px;
  fill: none; stroke: rgba(194,162,92,.22); stroke-width: 1;
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.stat { padding: 10px; }
.stat strong {
  display: block; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700;
  color: var(--gold-soft); letter-spacing: .01em; line-height: 1.1; margin-bottom: 12px;
}
.stat > span { font-size: .92rem; color: rgba(255,255,255,.72); letter-spacing: .02em; }
.stats-note { margin-top: 48px; font-size: .78rem; color: rgba(255,255,255,.45); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq .container { text-align: center; }
.faq-list { margin-top: 48px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 54px 20px 24px;
  font-weight: 700; font-size: 1.02rem; color: var(--navy); position: relative;
  min-height: 44px; display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- 최종 CTA ---------- */
.final-cta {
  position: relative; padding: clamp(90px, 13vw, 150px) 24px; text-align: center; overflow: hidden;
}
.final-bg { position: absolute; inset: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(253,252,249,.9), rgba(253,252,249,.72) 45%, rgba(253,252,249,.9));
}
.final-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.final-inner h2 {
  font-size: clamp(1.8rem, 4.6vw, 3.1rem); font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; line-height: 1.3; margin-bottom: 18px;
}
.final-inner > p { color: var(--muted); margin-bottom: 40px; font-size: clamp(.96rem, 1.7vw, 1.1rem); }
.guide-link { display: inline-block; margin-top: 34px; font-size: .93rem; color: var(--muted); border-bottom: 1px solid var(--gold-soft); padding-bottom: 3px; transition: color .25s ease; }
.guide-link:hover { color: var(--gold-deep); }
.guide-link strong { color: var(--gold-deep); font-weight: 800; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 70px 24px 130px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px;
}
.footer-logo .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.55); }
.site-footer h4 { color: var(--gold-soft); font-size: .82rem; letter-spacing: .16em; margin-bottom: 16px; font-weight: 700; }
.footer-links a, .footer-contact a {
  display: block; padding: 6px 0; font-size: .92rem; color: rgba(255,255,255,.72);
  transition: color .25s ease; min-height: 32px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-soft); }
.footer-legal {
  max-width: 1200px; margin: 48px auto 0; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.9;
}
.legal-note { color: var(--gold); }

/* ---------- 모바일 하단 고정 바 ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(253,252,249,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(18,44,79,.1);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 6px;
}
.m-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; border-radius: 12px; padding: 6px 4px;
  text-align: center; line-height: 1.3;
}
.m-cta b { font-size: .82rem; font-weight: 800; white-space: nowrap; }
.m-cta i { font-style: normal; font-size: .62rem; opacity: .85; white-space: nowrap; }
.m-phone { background: var(--navy); color: #fff; }
.m-kakao { background: var(--kakao); color: var(--kakao-ink); }
.m-sms { background: var(--sms); color: #fff; }

/* ---------- PC 우측 플로팅 ---------- */
.floating-cta {
  position: fixed; right: 26px; bottom: 34px; z-index: 1150;
  display: flex; flex-direction: column; gap: 10px;
}
.f-cta {
  display: flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 10px 16px 10px 12px; min-height: 48px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.f-cta:hover { transform: translateX(-6px); }
.f-ic { font-size: 1.2rem; line-height: 1; }
.f-label { font-size: .78rem; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.f-label i { font-style: normal; font-weight: 500; opacity: .85; font-size: .7rem; }
.f-phone { background: var(--navy); color: #fff; }
.f-kakao { background: var(--kakao); color: var(--kakao-ink); }
.f-sms { background: var(--sms); color: #fff; }

/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-hero {
  position: relative; min-height: 54vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 24px 60px;
}
.guide-hero-bg { position: absolute; inset: 0; }
.guide-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.guide-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(253,252,249,.5), rgba(253,252,249,.75) 70%, var(--bg));
}
.guide-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.guide-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; line-height: 1.25; margin-bottom: 18px;
}
.guide-hero h1 span { display: block; font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--gold-deep); margin-top: 12px; }
.guide-hero-sub { color: #4A5261; font-size: clamp(.95rem, 1.7vw, 1.08rem); }

.guide-body { padding: clamp(56px, 8vw, 90px) 0 clamp(80px, 10vw, 120px); }

.toc {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; margin-bottom: clamp(48px, 7vw, 80px);
}
.toc-title { font-size: .85rem; letter-spacing: .22em; color: var(--gold-deep); margin-bottom: 14px; font-weight: 700; }
.toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.toc li { counter-increment: toc; }
.toc a {
  display: inline-flex; gap: 12px; padding: 7px 0; font-weight: 700; color: var(--navy);
  font-size: 1.02rem; transition: color .25s ease; min-height: 32px;
}
.toc a::before { content: "0" counter(toc); font-family: var(--serif); color: var(--gold); font-weight: 500; }
.toc a:hover { color: var(--gold-deep); }

.guide-sec { margin-bottom: clamp(56px, 8vw, 90px); }
.guide-sec h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; line-height: 1.3; margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--gold-soft);
  display: flex; align-items: center; gap: 12px;
}
.sec-drop {
  width: 14px; height: 18px; flex-shrink: 0; display: inline-block;
  background: var(--gold);
  clip-path: path("M7 0C7 0 0 9 0 12.5a7 7 0 0 0 14 0C14 9 7 0 7 0Z");
}
.guide-sec h3 { font-size: clamp(1.12rem, 2.4vw, 1.32rem); font-weight: 800; color: var(--navy); margin: 34px 0 12px; letter-spacing: -.02em; }
.guide-sec p { color: #3E4450; font-size: .99rem; margin-bottom: 14px; }
.guide-sec p strong { color: var(--navy); }
.guide-sec ul { padding-left: 2px; margin: 12px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.guide-sec ul li {
  position: relative; padding-left: 22px; color: #3E4450; font-size: .96rem;
}
.guide-sec ul li::before {
  content: ""; position: absolute; left: 2px; top: .58em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.guide-steps { display: flex; flex-direction: column; gap: 8px; counter-reset: gstep; }
.guide-steps > li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 6px;
}
.guide-steps h3 { margin: 0 0 8px; }
.guide-steps p { margin: 0; }
.check-list li strong { color: var(--navy); }

.guide-cta {
  text-align: center; background: var(--ivory); border-radius: 24px;
  padding: clamp(48px, 7vw, 80px) 28px; border: 1px solid var(--line);
}
.guide-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; line-height: 1.3; margin-bottom: 14px;
}
.guide-cta > p { color: var(--muted); margin-bottom: 36px; }

/* ---------- 리빌 애니메이션 초기 상태 (JS 활성 시) ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal="up"]    { transform: translateY(46px); }
.js [data-reveal="left"]  { transform: translateX(-52px); }
.js [data-reveal="right"] { transform: translateX(52px); }
.js [data-reveal="zoom"]  { transform: scale(.9); }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1200px) {
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .gnb, .header-cta { display: none; }
  .hamburger { display: flex; }
  .header-inner { justify-content: space-between; }
  .floating-cta { display: none; }
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 150px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .m-only { display: inline; }
  .type-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .strength-grid { grid-template-columns: 1fr; gap: 16px; }
  .s-card { padding: 30px 24px; }
  .process-list::before { left: 29px; }
  .p-num { width: 60px; height: 60px; font-size: 1.15rem; }
  .p-step { gap: 20px; padding: 20px 0; }
  .parallax-band { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content { padding: 100px 20px 110px; }
  .cta-set { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .cta-btn { justify-content: center; }
  .showcase { min-height: 72vh; }
  .guide-steps > li { padding: 22px 20px; }
  .toc { padding: 24px 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card { padding: 24px 12px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat strong { font-size: 1.9rem; }
  .m-cta b { font-size: .74rem; }
  .m-cta i { font-size: .56rem; }
  .mobile-cta-bar { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .hero-ripple { width: 88vw; }
}

/* ---------- 모션 최소화 존중 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
  #showcaseCanvas { display: none; }
  .showcase-fallback { opacity: 1 !important; }
}
