/* =====================================================
   자신만만렌터카 — 저신용장기렌트 | style.css
   Harbor Amber Edition — 신뢰감 있는 웜 에디토리얼 톤
   ===================================================== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css');

:root {
  --bg:          #fbfaf6;
  --bg-alt:      #f2efe6;
  --surface:     #eef1ea;
  --surface-h:   #e3e8dd;

  --border:      rgba(16,32,28,.10);
  --border-mid:  rgba(16,32,28,.16);

  --ink-950:     #0a1512;
  --ink-900:     #10201c;
  --ink-700:     #35443f;
  --ink-500:     #647069;
  --ink-400:     #8a9590;
  --ink-100:     rgba(16,32,28,.06);

  --brand:       #c17f3e;
  --brand-600:   #a3672f;
  --brand-pale:  rgba(193,127,62,.12);

  --accent:      #1f4d43;
  --accent-pale: rgba(31,77,67,.08);

  --white:       #ffffff;
  --text-on-light: #10201c;
  --text-on-dark:  #ffffff;

  --radius:    10px;
  --radius-lg: 20px;
  --shadow:    0 1px 0 rgba(16,32,28,.05), 0 6px 20px rgba(16,32,28,.08);
  --shadow-md: 0 8px 32px rgba(16,32,28,.12);
  --ease: cubic-bezier(.16,1,.3,1);
  --nav-h: 64px;

  --font-display: 'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
  --font-body: 'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.25; }
section { padding: 72px 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 트러스트 유틸리티 바 ---------- */
.trust-bar { background: var(--ink-950); color: rgba(255,255,255,.62); font-size: 12.5px; }
.trust-bar-inner {
  max-width: 1120px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.trust-bar-facts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trust-bar b { color: rgba(255,255,255,.92); font-weight: 600; }
.trust-bar-sep { color: rgba(255,255,255,.22); }
.trust-bar-tag { color: rgba(255,255,255,.44); letter-spacing: .04em; }
@media (max-width: 640px) {
  .trust-bar-inner { justify-content: center; text-align: center; font-size: 11.5px; padding: 8px 18px; }
  .trust-bar-tag { display: none; }
}

/* ---------- 헤더 (Fluid Island Nav) ---------- */
.site-hdr { position: sticky; top: 0; z-index: 40; padding: 16px 20px 0; }
.hdr-island {
  max-width: 880px; margin: 0 auto; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(251,250,246,.78);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 10px 30px rgba(16,32,28,.09);
}
.hdr-logo { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hdr-logo img { width: 28px; height: 28px; flex: none; }
.hdr-logo-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.hdr-logo-brand { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink-900); letter-spacing: -.01em; }
.hdr-logo-kw { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.hdr-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: var(--ink-700); }

/* 버튼 안 버튼 — nested trailing icon CTA */
.btn-cta-nested { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--accent); color: var(--white); white-space: nowrap; }
.cta-icon-wrap {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); font-size: 14px; transition: transform .45s cubic-bezier(.32,.72,0,1);
}
@media (hover: hover) and (pointer: fine) {
  .btn-cta-nested:hover .cta-icon-wrap { transform: translate(2px,-2px) scale(1.08); }
}
.hero-actions .btn-cta-nested { font-size: 15.5px; padding: 10px 10px 10px 26px; }
.hero-actions .btn-cta-nested .cta-icon-wrap { width: 34px; height: 34px; font-size: 16px; background: rgba(255,255,255,.2); }

/* ---------- 상담 페이지 — 전화·문자 동일 비중 강조 ---------- */
.contact-phone-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0 20px;
}
.contact-channel-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius-lg); padding: 24px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-channel-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; opacity: .85; }
.contact-channel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.contact-channel-value { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.contact-channel-cta { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.contact-channel-cta .cta-icon-wrap {
  width: 26px; height: 26px; font-size: 14px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  transition: transform .45s cubic-bezier(.32,.72,0,1);
}
.contact-sub { color: var(--ink-500); font-size: 15px; margin: 0 0 8px; }
@media (hover: hover) and (pointer: fine) {
  .contact-channel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .contact-channel-card:hover .cta-icon-wrap { transform: translate(2px,-2px) scale(1.08); }
}
@media (max-width: 640px) {
  .contact-phone-block { grid-template-columns: 1fr; }
}

/* 햄버거 — X 모프 */
#hamburger { display: none; position: relative; width: 40px; height: 40px; flex: none; background: none; border: none; cursor: pointer; }
#hamburger .hb-line {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink-900); border-radius: 2px;
  font-size: 0; line-height: 0; overflow: hidden;
  transition: transform .4s cubic-bezier(.32,.72,0,1);
}
#hamburger .hb-line-1 { top: 16px; }
#hamburger .hb-line-2 { top: 23px; }
#hamburger.open .hb-line-1 { transform: translateY(3.5px) rotate(45deg); }
#hamburger.open .hb-line-2 { transform: translateY(-3.5px) rotate(-45deg); }

/* 모바일 메뉴 — 전체화면 모달 확장 + 스태거 리빌 */
#mob-nav {
  display: none; position: fixed; inset: 0; z-index: 39;
  background: rgba(251,250,246,.97);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 32px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease);
  overflow-y: auto;
}
#mob-nav.open { opacity: 1; visibility: visible; }
#mob-nav a {
  display: block; width: 100%; padding: 12px 4px; font-size: 21px; font-weight: 700; color: var(--ink-900);
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
#mob-nav.open a { opacity: 1; transform: translateY(0); }
#mob-nav.open a:nth-child(1) { transition-delay: .05s; }
#mob-nav.open a:nth-child(2) { transition-delay: .09s; }
#mob-nav.open a:nth-child(3) { transition-delay: .13s; }
#mob-nav.open a:nth-child(4) { transition-delay: .17s; }
#mob-nav.open a:nth-child(5) { transition-delay: .21s; }
#mob-nav.open a:nth-child(6) { transition-delay: .25s; }
#mob-nav.open a:nth-child(7) { transition-delay: .29s; }
#mob-nav.open a:nth-child(8) { transition-delay: .33s; }
#mob-nav.open a:nth-child(9) { transition-delay: .37s; }
#mob-nav.open a:nth-child(10) { transition-delay: .41s; }
#mob-nav.open a:nth-child(11) { transition-delay: .45s; }
#mob-nav.open a:nth-child(12) { transition-delay: .49s; }
#mob-nav.open a:nth-child(13) { transition-delay: .53s; }
#mob-nav .mob-nav-cta {
  margin-top: 20px; text-align: center; background: var(--accent); color: var(--white);
  border-radius: var(--radius); border-bottom: none; font-size: 16px;
}

/* ---------- 히어로 (시네마틱 풀블리드 — 세부페이지 10개 공용) ---------- */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: flex-end; }
.hero-content { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 64px; width: 100%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10,21,18,.94) 0%, rgba(10,21,18,.8) 28%, rgba(10,21,18,.44) 54%, rgba(10,21,18,.12) 74%, transparent 90%),
    linear-gradient(100deg, rgba(10,21,18,.6) 0%, rgba(10,21,18,.18) 44%, transparent 64%);
}
.hero-eyebrow {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 18px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none;
  box-shadow: 0 0 10px var(--brand); animation: hero-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes hero-dot-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.55; transform:scale(1.3); } }
.hero h1 { position: relative; z-index: 2; font-size: clamp(38px, 6.4vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: var(--white); }
.hero .hero-sub { position: relative; z-index: 2; color: rgba(255,255,255,.82); font-size: 17px; margin-top: 16px; line-height: 1.7; max-width: 560px; }
.hero .hero-actions { position: relative; z-index: 2; }
.hero-sub { font-size: 17px; margin-top: 16px; line-height: 1.7; max-width: 560px; color: var(--ink-700); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.45); }
@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
}

/* ---------- 히어로 (메인 페이지 전용 — Editorial Split + Double-Bezel) ---------- */
.hero-split { padding: 56px 0 72px; }
.hero-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; line-height: 1.03; }
.hero-split-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-pale); color: var(--brand-600); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero-split-badge::before { content:''; width:7px; height:7px; border-radius:50%; background: var(--brand); flex:none; }

/* Double-Bezel 이미지 패널 (메인 히어로 전용) */
.hero-visual { position: relative; }
.bezel-shell {
  background: var(--surface); border: 1px solid var(--border-mid); border-radius: var(--radius-lg);
  padding: 10px; box-shadow: 0 24px 60px -20px rgba(16,32,28,.2);
}
.bezel-core {
  position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 6px);
  aspect-ratio: 4 / 5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease);
  background-size: cover; background-position: center;
  animation: hero-drift-a 7s ease-in-out infinite;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(2) { animation-name: hero-drift-b; animation-duration: 8s; }
.hero-slide:nth-child(3) { animation-name: hero-drift-c; animation-duration: 6.5s; }
@keyframes hero-drift-a { 0%,100% { transform: scale(1.05) translateX(0); } 50% { transform: scale(1.1) translateX(-2.5%); } }
@keyframes hero-drift-b { 0%,100% { transform: scale(1.08) translateX(2%); } 50% { transform: scale(1.13) translateX(-2%); } }
@keyframes hero-drift-c { 0%,100% { transform: scale(1.06) translateY(-1%); } 50% { transform: scale(1.11) translateY(1%); } }

/* 포토 캡션 바 — 에디토리얼 사진 크레딧 스타일 */
.hero-photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(10,21,18,.82) 0%, rgba(10,21,18,.35) 60%, transparent 100%);
  color: var(--white);
}
.hero-photo-caption-label { font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.72); line-height: 1.4; }
.hero-photo-caption-stat { text-align: right; }
.hero-photo-caption-stat b { display:block; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height:1; }
.hero-photo-caption-stat span { font-size: 10.5px; color: rgba(255,255,255,.65); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius); font-weight: 700; font-size: 15.5px;
  border: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink-900); border: 1px solid var(--border-mid); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .link-card:hover .link-card-img img { transform: scale(1.05); }
}
.btn:active { transform: translateY(0); }

/* ---------- 섹션 헤딩 ---------- */
.sec-eyebrow { display:inline-flex; align-items:center; gap:8px; color: var(--brand-600); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.sec-eyebrow::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--brand); flex:none; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.sec-head h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.sec-head p { color: var(--ink-500); margin-top: 14px; font-size: 16px; }
/* 사진 없는 가이드 페이지는 sec-head가 곧 페이지 타이틀 영역이라 폭 제한 해제 + 여백 확대 */
.guide-intro.sec-head { max-width: 780px; margin-bottom: 8px; }

/* ---------- 그리드 ---------- */
.dp-g2  { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.dp-g3  { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.dp-stat3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center; align-items:center; }
@media (max-width:768px) { .dp-g2,.dp-g3 { grid-template-columns:1fr; } }
@media (max-width:600px) { .dp-stat3 { grid-template-columns:1fr; gap:16px; } }

/* ---------- 카드 ---------- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 14.5px; }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--brand-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px;
}

/* 카드 뱃지 */
.card-badges { display:flex; flex-wrap:wrap; gap:8px; margin-top: 14px; }
.badge { background: var(--accent-pale); color: var(--accent); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
@media (max-width:768px) {
  .card-badges { flex-direction:column; align-items:flex-start; gap:6px; }
}

/* ---------- 내부링크 카드(실사진 썸네일) ---------- */
.link-row { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:768px) { .link-row { grid-template-columns:1fr 1fr; } }
@media (max-width:480px) { .link-row { grid-template-columns:1fr; } }
.link-card { display:block; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border); }
.link-card-img { aspect-ratio: 4/3; overflow: hidden; }
.link-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.link-card-body { padding: 16px 18px; }
.link-card-body h4 { font-size: 15.5px; font-family: var(--font-body); font-weight: 700; }
.link-card-body span { font-size: 12.5px; color: var(--ink-400); }

/* 갤러리용 실차 이미지(인라인 border-radius 금지 규칙 대응 공용 클래스) */
.dp-photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; display: block; }

/* 세로 체크리스트 (3열 카드 대신 쓰는 대체 레이아웃 — 동질화 방지용) */
.checklist-vertical, .check-vlist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0; }
.checklist-vertical li, .check-vlist li { display:flex; gap:16px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--border); }
.checklist-vertical li:last-child, .check-vlist li:last-child { border-bottom:none; padding-bottom:0; }
.checklist-mark { flex:none; width:32px; height:32px; border-radius:50%; border:2px solid var(--accent); color:var(--accent); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; font-family:var(--font-display); }
.check-vlist .proc-num { flex:0 0 40px; width:40px; height:40px; margin:0; font-size:14px; }
.checklist-vertical h3, .check-vlist h3 { font-size:17px; margin-bottom:6px; }
.checklist-vertical p, .check-vlist p { color:var(--ink-500); font-size:14.5px; margin:0; }

/* ---------- 프로세스 타임라인 (스크롤 리빌 + 순차 팝인) ---------- */
.proc-list { display:flex; list-style:none; margin:0; padding:0; }
.proc-step { flex:1; position:relative; padding:0 12px; text-align:center; }
.proc-step:not(:last-child)::after {
  content:''; position:absolute; top:28px; left:50%; width:100%; height:2px;
  background: var(--border-mid); z-index:0;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease);
}
.sec-dark .proc-step::after { background: rgba(255,255,255,.22); }
.proc-num {
  position:relative; z-index:1; margin:0 auto 14px; width:56px; height:56px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(150deg, var(--accent), #16342d);
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size:19px;
  box-shadow: 0 8px 22px rgba(16,32,28,.3), inset 0 1px 0 rgba(255,255,255,.22);
  transform: scale(.4); opacity: 0;
  transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .4s var(--ease), box-shadow .25s var(--ease);
}
.sec-dark .proc-num { background: linear-gradient(150deg, var(--brand), var(--brand-600)); box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.28); }
.proc-step p { font-size: 14px; color: var(--ink-700); font-weight: 600; margin:0; opacity:0; transform:translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sec-dark .proc-step p { color: rgba(255,255,255,.85); }

/* 조상 섹션이 스크롤 리빌로 .in을 받으면 1→N 순서로 라인이 그려지고 번호가 팝인 */
.in .proc-list .proc-step:nth-child(1)::after, .in .proc-list .proc-step:nth-child(1) .proc-num, .in .proc-list .proc-step:nth-child(1) p { transition-delay: 0s; }
.in .proc-list .proc-step:nth-child(2)::after, .in .proc-list .proc-step:nth-child(2) .proc-num, .in .proc-list .proc-step:nth-child(2) p { transition-delay: .18s; }
.in .proc-list .proc-step:nth-child(3)::after, .in .proc-list .proc-step:nth-child(3) .proc-num, .in .proc-list .proc-step:nth-child(3) p { transition-delay: .36s; }
.in .proc-list .proc-step:nth-child(4)::after, .in .proc-list .proc-step:nth-child(4) .proc-num, .in .proc-list .proc-step:nth-child(4) p { transition-delay: .54s; }
.in .proc-list .proc-step:nth-child(5)::after, .in .proc-list .proc-step:nth-child(5) .proc-num, .in .proc-list .proc-step:nth-child(5) p { transition-delay: .72s; }
.in .proc-list .proc-step:nth-child(6)::after, .in .proc-list .proc-step:nth-child(6) .proc-num, .in .proc-list .proc-step:nth-child(6) p { transition-delay: .9s; }
.in .proc-list .proc-step:nth-child(7)::after, .in .proc-list .proc-step:nth-child(7) .proc-num, .in .proc-list .proc-step:nth-child(7) p { transition-delay: 1.08s; }
.in .proc-list .proc-step::after { transform: scaleX(1); }
.in .proc-list .proc-num { transform: scale(1); opacity: 1; }
.in .proc-list .proc-step p { opacity: 1; transform: translateY(0); }

@media (hover:hover) and (pointer:fine) {
  .proc-step { transition: transform .25s var(--ease); }
  .proc-step:hover { transform: translateY(-4px); }
  .proc-step:hover .proc-num { box-shadow: 0 14px 30px rgba(16,32,28,.4); }
  .sec-dark .proc-step:hover .proc-num { box-shadow: 0 14px 30px rgba(0,0,0,.5); }
}

@media (max-width:768px) {
  .proc-list { flex-direction:column; gap:0; }
  .proc-step { flex:none; display:flex; align-items:flex-start; gap:18px; text-align:left; padding:0 0 26px; }
  .proc-step:last-child { padding-bottom:0; }
  .proc-num { margin:0; flex:none; width:48px; height:48px; font-size:16px; }
  .proc-step:not(:last-child)::after {
    top:48px; left:23px; width:2px; height:calc(100% - 20px);
    transform: scaleY(0); transform-origin: top center;
  }
  .in .proc-list .proc-step::after { transform: scaleY(1); }
  .proc-step p { padding-top:13px; }
}

/* ---------- 통계 카운터 ---------- */
.stat-num { font-family: var(--font-display); font-size: clamp(32px,4vw,44px); color: var(--accent); font-weight: 700; }
.stat-label { color: var(--ink-500); font-size: 14px; margin-top: 6px; }

/* ---------- 통계 스트립 (구분선 밴드) ---------- */
.stats-strip {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-strip-item {
  flex: 1; min-width: 160px; text-align: center;
  padding: 32px 24px; border-right: 1px solid var(--border);
}
.stats-strip-item:last-child { border-right: none; }
@media (max-width:600px) {
  .stats-strip-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-strip-item:last-child { border-bottom: none; }
}

/* ---------- 비교/체크 테이블 ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
table.dp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
table.dp-table th, table.dp-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
table.dp-table th { background: var(--surface); color: var(--ink-700); font-weight: 700; }
table.dp-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .tbl-wrap { position: relative; }
  .tbl-wrap::before {
    content: '옆으로 스크롤하면 전체 내용을 볼 수 있습니다 →';
    display: block; padding: 10px 14px 0; font-size: 11.5px; font-weight: 600; color: var(--ink-400);
  }
  table.dp-table th, table.dp-table td { padding: 12px 14px; font-size: 13.5px; }
}

/* ---------- 어두운 배경 섹션 ---------- */
.sec-dark { background: var(--accent); color: var(--text-on-dark); }
.sec-dark h2, .sec-dark h3 { color: var(--text-on-dark); }
.sec-dark p { color: rgba(255,255,255,.78); }
.sec-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.sec-dark .card h3 { color: var(--text-on-dark); }
.sec-dark .card p { color: rgba(255,255,255,.72); }

/* ---------- FAQ 아코디언 ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); color: var(--ink-900);
}
.faq-q .icon { transition: transform .3s var(--ease); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 20px; color: var(--ink-500); font-size: 14.5px; }

/* ---------- CTA 배너 ---------- */
.cta-band { background: var(--brand-pale); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.cta-band h2 { font-size: clamp(22px,3vw,30px); }
.cta-band p { color: var(--ink-500); margin: 12px 0 24px; }

/* ---------- 푸터 ---------- */
.site-ftr { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 24px; margin-top: 40px; }
.ftr-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr-col h3 { font-family: var(--font-body); font-size: 14px; color: var(--ink-500); margin-bottom: 14px; }
.ftr-col p, .ftr-col a { font-size: 14px; color: var(--ink-700); line-height: 1.9; }
.ftr-col ul li { margin-bottom: 4px; }
.ftr-disclaimer {
  max-width: 1120px; margin: 36px auto 0; padding: 24px 24px 0; border-top: 1px solid var(--border);
}
.ftr-disclaimer p { margin: 0 0 6px; font-size: 11.5px; line-height: 1.7; color: var(--ink-400); }
.ftr-disclaimer p:last-child { margin-bottom: 0; }
.ftr-copy { text-align: center; color: var(--ink-400); font-size: 12.5px; margin: 24px 0 0; }
@media (max-width:768px) { .ftr-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 모바일 스티키 CTA ---------- */
#mob-bar { display: none; }
#float-cta { display: block; position: fixed; right: 28px; bottom: 28px; z-index: 30; }
.btn-float {
  display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--white);
  padding: 15px 24px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-md); font-size: 15px;
}

/* ---------- 스크롤 리빌 (섹션 성격에 따라 다르게 — 전 섹션 동일 fade-up 금지, translateX는 가로 스크롤 위험이 있어 쓰지 않음) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.reveal-soft { opacity: 0; transform: translateY(10px); transition: opacity .9s ease-out, transform .9s ease-out; }
.reveal-soft.in { opacity: 1; transform: translateY(0); }
/* 애니메이션 없이 즉시 노출하고 싶은 섹션은 reveal 계열 클래스를 아예 쓰지 않는다 */
.stagger.in > * { animation: stagger-in .6s var(--ease) both; }
.stagger.in > *:nth-child(2) { animation-delay: .08s; }
.stagger.in > *:nth-child(3) { animation-delay: .16s; }
.stagger.in > *:nth-child(4) { animation-delay: .24s; }
@keyframes stagger-in { from { opacity:0; transform: translateY(18px);} to { opacity:1; transform: translateY(0);} }

/* ---------- 반응형 브레이크포인트 ---------- */
@media (max-width: 1024px) {
  .ftr-inner { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { width: 100%; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .hdr-island .btn-cta-nested span:first-child { display: none; }
  .hdr-island .btn-cta-nested { padding: 8px; }
  .hdr-island .cta-icon-wrap { background: var(--white); color: var(--accent); }
  #hamburger { display: block; }
  #mob-nav { display: flex; }
  #mob-bar { display: block; position: fixed; left:0; right:0; bottom:0; z-index: 35; background: var(--white); border-top: 1px solid var(--border); padding: 10px 16px; box-shadow: 0 -4px 16px rgba(16,32,28,.08); }
  .mob-bar-btn { display:block; text-align:center; background: var(--accent); color: var(--white); padding: 14px; border-radius: var(--radius); font-weight: 700; }
  #float-cta { display: none; }
  body { padding-bottom: 64px; }
  .hero-split { padding: 40px 0 56px; }
  .hero-visual { width: 100%; max-width: 320px; margin: 0 auto; }
  .hero { min-height: 520px; }
  .hero-content { padding-top: 40px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .site-hdr { padding: 12px 14px 0; }
  .hdr-island { padding: 6px 6px 6px 18px; }
}
