/* ============================================================
 * Pretendard 로컬 폰트 (Regular 400 / Medium 500 / SemiBold 600)
 * ============================================================ */

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Pretendard-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2');
}

/* ============================================================
 * 루루캐시 — 디자인 토큰 & 글로벌 스타일
 * ============================================================ */

:root {
  /* --- 브랜드 컬러 --- */
  --color-main:  #3B82F6; /* Sky Blue */
  --color-sub:   #DBEAFE; /* Pale Blue */
  --color-point: #5EEAD4; /* Mint */
  --color-dark:  #1E1B4B; /* Deep Indigo */

  /* --- 폰트 컬러 (5) --- */
  --text-main-dark:  #111111;
  --text-main-light: #FFFFFF;
  --text-sub-1:      #505050;
  --text-sub-2:      #767676;
  --text-disabled:   #999999;

  /* --- 아이콘 컬러 (5) --- */
  --icon-main-dark:  #2A2A37;
  --icon-main-light: #FFFFFF;
  --icon-sub-1:      #484858;
  --icon-sub-2:      #81818D;
  --icon-disabled:   #A5A5AF;

  /* --- 라인 컬러 (3) --- */
  --line-light:   #F1F1F5;
  --line-regular: #E5E5EC;
  --line-black:   #111111;

  /* --- 배경 컬러 (3) --- */
  --bg-white:   #FFFFFF;
  --bg-light:   #F7F7FB;
  --bg-regular: #F1F1F5;

  /* --- 상태 컬러 (3) --- */
  --state-danger:  #D32F2F;
  --state-success: #00C853;
  --state-warning: #FBC02D;

  /* --- 폰트 굵기 (3) --- */
  --fw-semibold: 600;
  --fw-medium:   500;
  --fw-regular:  400;

  /* --- 자간 (공통) --- */
  --letter-spacing: -0.025em;

  /* --- 레이아웃 --- */
  --container-max: 1000px;
  --container-px:  24px;
  --header-h:      72px;
}

/* 모바일에서 컨테이너 패딩 축소 */
@media (max-width: 767px) {
  :root {
    --container-px: 16px;
    --header-h:      60px;
  }
}

/* ============================================================
 * Reset (간단)
 * ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;         /* GSAP entrance의 translateX로 인한 모바일 가로 스크롤 차단 (sticky 헤더 유지 위해 hidden 대신 clip 사용) */
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-weight: var(--fw-regular);
  font-size: 16px;          /* Body 1 */
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  letter-spacing: var(--letter-spacing);
}

/* 반응형 줄바꿈 헬퍼 */
.br-mobile { display: none; }
@media (max-width: 767px) {
  .br-mobile { display: inline; }
}

/* ============================================================
 * Layout — 컨테이너 (1280px)
 * ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ============================================================
 * 헤더
 * ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.header.is-scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 16px rgba(17, 17, 17, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* 로고 */
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.header__logo-text {
  font-size: 20px;          /* Title 4 */
  font-weight: var(--fw-semibold);
  line-height: 140%;
  color: var(--text-main-dark);
}

/* 메뉴 */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__link {
  font-size: 16px;          /* Body 1 */
  font-weight: var(--fw-medium);
  line-height: 140%;
  color: var(--text-sub-1);
  padding: 8px 0;
  position: relative;
  transition: color .15s ease;
}

.header__link:hover {
  color: var(--text-main-dark);
}

.header__link.is-active {
  color: var(--color-main);
  font-weight: var(--fw-semibold);
}

.header__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
}

/* 햄버거 버튼 (모바일에서만 표시) */
.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  height: 2px;
  background: var(--text-main-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.header__backdrop {
  display: none;
}

/* 모바일 햄버거 활성 상태 */
.header__toggle.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.header__toggle.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.header__toggle.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ============================================================
 * 헤더 — 반응형
 * ============================================================ */

/* Tablet (≤ 1023px) — 메뉴 gap 축소 */
@media (max-width: 1023px) {
  .header__menu {
    gap: 24px;
  }
  .header__inner {
    gap: 20px;
  }
}

/* Mobile (≤ 767px) — 햄버거 메뉴 */
@media (max-width: 767px) {
  /* PC에서는 투명, 모바일에서는 흰 배경 + 스크롤 그림자 복구 */
  .header {
    background: var(--bg-white);
    border-bottom-color: var(--line-light);
  }
  .header.is-scrolled {
    border-bottom-color: transparent;
    box-shadow: 0 2px 16px rgba(17, 17, 17, 0.06);
  }

  .header__logo-img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  .header__logo-text {
    font-size: 18px;        /* Title 5 */
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 16px 40px;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 90;
    overflow-y: auto;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .header__menu li {
    border-bottom: 1px solid var(--line-light);
  }

  .header__link {
    display: block;
    font-size: 18px;        /* Title 5 */
    padding: 18px 8px;
    color: var(--text-main-dark);
  }

  .header__link.is-active {
    color: var(--color-main);
  }

  .header__link.is-active::after {
    display: none;
  }

  /* 배경 딤 */
  .header__backdrop {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(17, 17, 17, 0);
    pointer-events: none;
    transition: background .25s ease;
    z-index: 80;
  }
  .header__backdrop.is-open {
    background: rgba(17, 17, 17, 0.35);
    pointer-events: auto;
  }

  /* 메뉴 열렸을 때 본문 스크롤 잠금 */
  body.is-menu-locked {
    overflow: hidden;
  }
}

/* ============================================================
 * 섹션 공통 (스켈레톤)
 * ============================================================ */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-light);
}

.section__title {
  font-size: 40px;          /* Headline 2 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  color: var(--text-main-dark);
}

/* ============================================================
 * Hero 섹션
 * ============================================================ */

.section--hero {
  /* 헤더 영역까지 확장 — 투명 헤더 뒤로 그라데이션이 비치도록 */
  margin-top: calc(-1 * var(--header-h));
  padding: calc(80px + var(--header-h)) 0 120px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--color-sub) 0%, transparent 60%),
    var(--bg-white);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column-reverse; /* 텍스트(위) ↔ 비주얼(아래) */
  align-items: center;
  gap: 56px;
}

/* --- 비주얼 (텍스트 아래) --- */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 800 / 600;
}

/* ============================================================
 * Hero 비주얼 — 휴대폰 + 떠다니는 지폐
 * ============================================================ */

/* --- 휴대폰 (중앙) --- */
.hero__phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero__phone-frame {
  width: 280px;
  height: 560px;
  padding: 10px;
  background: linear-gradient(160deg, #2D2A6E 0%, var(--color-dark) 60%, #15123A 100%);
  border-radius: 46px;
  box-shadow:
    0 30px 60px rgba(30, 27, 75, 0.35),
    0 10px 20px rgba(30, 27, 75, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border-radius: 36px;
  padding: 32px 22px 22px;
  overflow: hidden;
}

.hero__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: var(--color-dark);
  border-radius: 0 0 14px 14px;
}

.hero__phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;        /* Body 3 — 14px 최소 룰 준수 */
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
  margin-top: 6px;
  margin-bottom: 22px;
}

.hero__phone-battery {
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
  font-size: 14px;
}

.hero__phone-brand {
  font-size: 22px;        /* Title 2~3 */
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  margin-bottom: 16px;
}

.hero__phone-card {
  padding: 22px 20px;
  background: linear-gradient(135deg, #60A5FA 0%, var(--color-main) 100%);
  border-radius: 18px;
  color: var(--text-main-light);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.30);
}

.hero__phone-card-label {
  font-size: 14px;        /* Body 3 */
  font-weight: var(--fw-medium);
  opacity: 0.9;
  margin-bottom: 8px;
}

.hero__phone-card-balance {
  font-size: 28px;        /* Headline 4 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  white-space: nowrap;    /* 줄바꿈 방지 */
}

.hero__phone-amount {
  font-variant-numeric: tabular-nums;
}

.hero__phone-currency {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  margin-left: 2px;
  opacity: 0.95;
}

.hero__phone-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.hero__phone-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-white);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-main-dark);
  line-height: 130%;
}

.hero__phone-action svg {
  width: 18px;
  height: 18px;
  color: var(--color-main);
  flex-shrink: 0;
}

/* --- 떠다니는 지폐 --- */
.hero__money {
  position: absolute;
  top: var(--top);
  left: var(--left, auto);
  right: var(--right, auto);
  width: 72px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 22px;
  font-weight: var(--fw-semibold);
  color: var(--text-main-light);
  box-shadow:
    0 12px 24px rgba(30, 27, 75, 0.18),
    0 4px 8px rgba(30, 27, 75, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  z-index: 3;
  will-change: transform, opacity;
}

.hero__money::before,
.hero__money::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.hero__money::before { left: 6px; }
.hero__money::after  { right: 6px; }

.hero__money-label {
  position: relative;
  z-index: 1;
}

.hero__money--main   { background: linear-gradient(135deg, #60A5FA 0%, var(--color-main) 100%); }
.hero__money--mint   { background: linear-gradient(135deg, #99F6E4 0%, var(--color-point) 100%); color: var(--color-dark); }
.hero__money--indigo { background: linear-gradient(135deg, #4F46E5 0%, var(--color-dark) 100%); }
.hero__money--sky    { background: linear-gradient(135deg, #93C5FD 0%, var(--color-main) 100%); }
.hero__money--sub    { background: linear-gradient(135deg, #FFFFFF 0%, var(--color-sub) 100%); color: var(--color-main); }

/* --- 떠다니는 애니메이션 (entrance 후 시작) --- */
.hero__visual.is-ready .hero__phone {
  animation: hero-float-phone 6s ease-in-out infinite;
}
.hero__visual.is-ready .hero__money {
  animation: hero-float-money 5s ease-in-out infinite;
}
.hero__visual.is-ready .hero__money:nth-child(2) { animation-delay: -.8s; }
.hero__visual.is-ready .hero__money:nth-child(3) { animation-delay: -1.6s; }
.hero__visual.is-ready .hero__money:nth-child(4) { animation-delay: -2.4s; }
.hero__visual.is-ready .hero__money:nth-child(5) { animation-delay: -3.2s; }
.hero__visual.is-ready .hero__money:nth-child(6) { animation-delay: -4s; }

@keyframes hero-float-phone {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 8px)); }
}

@keyframes hero-float-money {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual.is-ready .hero__phone,
  .hero__visual.is-ready .hero__money {
    animation: none;
  }
}

/* ============================================================
 * Hero — entrance 애니메이션 초기 상태 (.js + GSAP)
 * ============================================================ */
.js .hero__phone,
.js .hero__money,
.js .hero__headline .word,
.js .hero__features .hero__feature {
  opacity: 0;
}

.js .hero__headline .word {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__phone,
  .js .hero__money,
  .js .hero__headline .word,
  .js .hero__features .hero__feature {
    opacity: 1;
  }
}

/* --- 하단 텍스트 --- */
.hero__content {
  text-align: center;
  max-width: 960px;   /* 헤드라인 1행("상품권 팔고 최대 3,000만원까지")이 줄바꿈 없이 들어가는 폭 */
}

.hero__headline {
  font-size: 64px;          /* Display 5 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  color: var(--text-main-dark);
  margin-bottom: 20px;
}

.hero__brand {
  color: var(--color-main);
}

/* --- 서브 헤드라인 카드 3종 --- */
.hero__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-white);
  border: 1px solid var(--line-regular);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(30, 27, 75, 0.06);
  font-size: 16px;          /* Body 1 */
  font-weight: var(--fw-semibold);
  line-height: 140%;
  color: var(--text-main-dark);
  white-space: nowrap;
}

.hero__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-sub);
  color: var(--color-main);
}

.hero__feature-icon svg {
  width: 18px;
  height: 18px;
}


/* ============================================================
 * Hero — 반응형
 * ============================================================ */

/* Tablet (≤ 1023px) */
@media (max-width: 1023px) {
  .hero__headline {
    font-size: 48px;        /* Headline 1 — 태블릿에서도 1행 유지 */
  }
  .hero__visual {
    max-width: 760px;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .section--hero {
    margin-top: 0;
    padding: 120px 0 72px;
    overflow-x: clip;      /* 가로는 클리핑 */
    overflow-y: visible;   /* 세로는 풀어서 휴대폰 그림자가 다음 섹션으로 자연스럽게 */
  }

  .hero__inner {
    gap: 40px;
  }

  .hero__visual {
    max-width: 100%;
    aspect-ratio: 360 / 540;
  }

  /* 휴대폰 — 260 × 500 */
  .hero__phone-frame {
    width: 260px;
    height: 500px;
    padding: 8px;
    border-radius: 40px;
  }
  .hero__phone-screen {
    border-radius: 32px;
    padding: 28px 16px 16px;
  }
  .hero__phone-notch {
    width: 80px;
    height: 18px;
  }
  .hero__phone-status      { font-size: 14px; margin-bottom: 16px; }
  .hero__phone-brand       { font-size: 18px; margin-bottom: 12px; }
  .hero__phone-card        { padding: 16px 14px; border-radius: 14px; }
  .hero__phone-card-label  { font-size: 14px; margin-bottom: 6px; }
  .hero__phone-card-balance{ font-size: 22px; }
  .hero__phone-currency    { font-size: 15px; }
  .hero__phone-actions     { gap: 6px; margin-top: 12px; }
  .hero__phone-action      { padding: 10px 12px; font-size: 14px; gap: 8px; }
  .hero__phone-action svg  { width: 16px; height: 16px; }

  /* 지폐 — 휴대폰 주변 재배치 */
  .hero__money {
    width: 60px;
    height: 38px;
    font-size: 18px;
    border-radius: 8px;
  }
  .hero__money::before,
  .hero__money::after {
    width: 14px;
    height: 14px;
  }
  .hero__money::before { left: 5px; }
  .hero__money::after  { right: 5px; }

  .hero__money:nth-child(2) { top: 4%;  left: 0%;  right: auto; }
  .hero__money:nth-child(3) { top: 4%;  right: 0%; left: auto; }
  .hero__money:nth-child(4) { top: 44%; left: 0%;  right: auto; }
  .hero__money:nth-child(5) { top: 44%; right: 0%; left: auto; }
  .hero__money:nth-child(6) { top: 86%; left: 6%;  right: auto; }
  .hero__money:nth-child(7) { top: 86%; right: 6%; left: auto; }

  /* 타이포 축소 */
  .hero__headline {
    font-size: 24px;        /* Headline 5 */
    margin-bottom: 32px;
  }

  .hero__features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero__feature {
    width: 100%;
    max-width: 300px;
    justify-content: flex-start;
    padding: 10px 16px;
    font-size: 15px;        /* Body 2 */
  }
}

/* ============================================================
 * 섹션 공통 — 반응형
 * ============================================================ */

@media (max-width: 1023px) {
  .section {
    padding: 72px 0;
  }
  .section__title {
    font-size: 32px;        /* Headline 3 */
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }
  .section__title {
    font-size: 24px;        /* Headline 5 / Title 3 */
  }
}

/* ============================================================
 * 푸터 — 반응형
 * ============================================================ */

@media (max-width: 767px) {
  .footer {
    padding: 32px 0;
  }
  .footer__info,
  .footer__copy,
  .footer__notice {
    font-size: 14px;        /* Body 3 — 최소 크기 유지 */
  }
  .footer__copy {
    margin-bottom: 16px;
  }
}

/* ============================================================
 * 서비스 소개 섹션 (#about) — 토스 스타일 2×2 대각선 레이아웃
 * - 좌상: 카테고리 + 헤드라인  /  우상: 휴대폰 B (신용카드 한도)
 * - 좌하: 휴대폰 A (휴대폰결제 한도)  /  우하: 서브헤드라인
 * ============================================================ */

.section--about {
  position: relative;
  background: var(--bg-white);
  padding: 140px 0;
  overflow: hidden;
}

/* 2×2 대각선 그리드 */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 60px;
  row-gap: 80px;
  align-items: start;
}

/* --- 좌상단: 카테고리 + 헤드라인 --- */
.about__head {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 12px;
}

.about__category {
  margin: 0 0 24px;
  font-size: 18px;            /* Title 5 */
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing);
}

.about__headline {
  margin: 0;
  font-size: 56px;            /* Display 6 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.about__headline-em { color: var(--color-main); }

/* --- 우하단: 서브헤드라인 --- */
.about__foot {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-bottom: 24px;
}

.about__sub-headline {
  margin: 0;
  font-size: 22px;            /* Title 3~4 */
  font-weight: var(--fw-medium);
  line-height: 160%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.about__sub-headline strong {
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

/* --- 휴대폰 (대각선 배치) --- */
/* 데스크탑/태블릿: 래퍼는 그리드를 통과시켜 자식 휴대폰이 .about__layout 그리드에 직접 참여 */
.about__phones,
.about__phones-track { display: contents; }

.about__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__phone--b {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.about__phone--a {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

.about__phone-frame {
  width: 260px;
  height: 520px;
  padding: 10px;
  background: linear-gradient(160deg, #2D2A6E 0%, var(--color-dark) 60%, #15123A 100%);
  border-radius: 44px;
  box-shadow:
    0 30px 60px rgba(30, 27, 75, 0.25),
    0 10px 20px rgba(30, 27, 75, 0.12);
}

.about__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  border-radius: 34px;
  padding: 30px 22px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.about__phone-screen--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  background: var(--color-dark);
  border-radius: 0 0 14px 14px;
}

.won { font-size: 0.7em; margin-left: 2px; }

/* ============================================================
 * 휴대폰 B (flow) — 신용카드 → 즉시 현금화 플로우
 * ============================================================ */
.about__phone-screen--flow {
  padding: 32px 18px 20px;
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 50%);
  gap: 14px;
}

/* 상단 알림 토스트 */
.flow__notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(94, 234, 212, 0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-dark);
  letter-spacing: var(--letter-spacing);
}

.flow__notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-point);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7);
  animation: flow-dot-pulse 1.6s ease-out infinite;
}

@keyframes flow-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

/* 신용카드 */
.flow__card {
  position: relative;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #1E1B4B 100%);
  border-radius: 18px;
  color: #fff;
  box-shadow:
    0 18px 36px rgba(30, 27, 75, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
  transform-origin: center;
  animation: flow-card-float 5.5s ease-in-out infinite;
}

@keyframes flow-card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.flow__card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: flow-card-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flow-card-shine {
  0%, 60% { transform: translateX(-100%); }
  80%     { transform: translateX(120%); }
  100%    { transform: translateX(120%); }
}

.flow__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.flow__card-row--top    { margin-bottom: 14px; }
.flow__card-row--bottom { margin-top: 14px; }

.flow__card-brand {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  opacity: 0.95;
}

.flow__card-chip {
  width: 26px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #FFD580 0%, #C5953A 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}
.flow__card-chip::before,
.flow__card-chip::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: rgba(0, 0, 0, 0.28);
}
.flow__card-chip::before { top: 7px; }
.flow__card-chip::after  { top: 12px; }

.flow__card-number {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  font-feature-settings: "tnum";
  position: relative;
  z-index: 1;
}

.flow__card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flow__card-label {
  font-size: 10px;
  opacity: 0.75;
  letter-spacing: var(--letter-spacing);
}

.flow__card-limit {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  font-feature-settings: "tnum";
}

.flow__card-logo {
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* 변환 화살표 */
.flow__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-main);
  margin: -2px 0;
}
.flow__arrow svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.35));
  animation: flow-arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes flow-arrow-pulse {
  0%, 100% { transform: translateY(-3px); opacity: 0.55; }
  50%      { transform: translateY(3px);  opacity: 1; }
}

/* 입금 완료 카드 — 화살표 바로 아래 붙임 */
.flow__deposit {
  padding: 14px 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 27, 75, 0.08);
}

.flow__deposit-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.flow__deposit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5EEAD4 0%, #3B82F6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(94, 234, 212, 0.45);
}
.flow__deposit-icon svg { width: 18px; height: 18px; }

.flow__deposit-titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.flow__deposit-title {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
}
.flow__deposit-bank {
  font-size: 11px;
  color: var(--text-sub-2);
}
.flow__deposit-time {
  font-size: 11px;
  color: var(--text-sub-2);
}

.flow__deposit-amount {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  font-feature-settings: "tnum";
  color: var(--color-main);
}
.flow__deposit-plus { font-size: 18px; font-weight: var(--fw-semibold); }
.flow__deposit-num  { font-size: 26px; font-weight: var(--fw-semibold); letter-spacing: -0.03em; line-height: 1; }
.flow__deposit-unit { font-size: 16px; font-weight: var(--fw-semibold); margin-left: 2px; }

/* ============================================================
 * 휴대폰 A (gauge) — 한도 게이지 + 3,000만원 카운트업
 * ============================================================ */
.about__phone-screen--gauge {
  padding: 32px 18px 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F8FF 100%);
  gap: 16px;
}

/* 헤더 */
.gauge__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.gauge__head-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: var(--color-main);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
}
.gauge__head-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-point);
  border-radius: 50%;
  margin-right: 6px;
  animation: flow-dot-pulse 1.6s ease-out infinite;
}
.gauge__head-title {
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

/* 도넛 게이지 */
.gauge__ring {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 4px auto 0;
  align-self: center;
}
.gauge__ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gauge__ring-track {
  fill: none;
  stroke: var(--line-light);
  stroke-width: 14;
}
.gauge__ring-fill {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  /* JS 또는 reduced-motion 폴백으로 채워짐 */
  stroke-dasharray: 527.79;       /* 2 * π * 84 */
  stroke-dashoffset: 527.79;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.35));
}

.gauge__ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.gauge__ring-label {
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-2);
  letter-spacing: var(--letter-spacing);
}
.gauge__ring-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-feature-settings: "tnum";
  color: var(--color-main);
}
.gauge__ring-num {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.gauge__ring-unit {
  font-size: 13px;
  font-weight: var(--fw-semibold);
}
.gauge__ring-sub {
  font-size: 11px;
  color: var(--text-sub-2);
  margin-top: 2px;
}

/* 지급률 바 */
.gauge__rate {
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.06);
}
.gauge__rate-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-sub-1);
}
.gauge__rate-percent {
  color: var(--color-main);
  font-weight: var(--fw-semibold);
  font-feature-settings: "tnum";
}
.gauge__rate-num { font-size: 16px; }
.gauge__rate-bar {
  position: relative;
  height: 8px;
  background: var(--line-light);
  border-radius: 999px;
  overflow: hidden;
}
.gauge__rate-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5EEAD4 0%, var(--color-main) 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

/* CTA */
.gauge__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-main) 0%, #2563EB 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
  box-shadow:
    0 14px 28px rgba(59, 130, 246, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.18) inset;
  overflow: hidden;
}
.gauge__cta svg { width: 16px; height: 16px; }
.gauge__cta-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.32) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: flow-card-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* --- entrance 초기 상태 (.js + GSAP) --- */
.js .section--about .about__head > *,
.js .section--about .about__foot,
.js .section--about .about__phone { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .section--about .about__head > *,
  .js .section--about .about__foot,
  .js .section--about .about__phone { opacity: 1; }
}

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--about           { padding: 100px 0; }
  .about__layout            { column-gap: 32px; row-gap: 56px; }
  .about__headline          { font-size: 40px; }   /* Headline 2 */
  .about__category          { font-size: 16px; margin-bottom: 16px; }
  .about__sub-headline      { font-size: 18px; }

  .about__phone-frame       { width: 240px; height: 480px; }
  .about__phone-screen--flow,
  .about__phone-screen--gauge { padding: 28px 16px 16px; }

  .gauge__ring              { width: 176px; height: 176px; }
  .gauge__ring-num          { font-size: 20px; }
  .gauge__ring-unit         { font-size: 12px; }

  .flow__card-number        { font-size: 14px; }
  .flow__card-limit         { font-size: 13px; }
  .flow__deposit-num        { font-size: 24px; }
}

@media (max-width: 767px) {
  .section--about           { padding: 40px 0; }

  /* 모바일: 1열 3행 — 헤드라인(고정) → 휴대폰 트랙(가로 스크롤) → 서브헤드라인(고정) */
  .about__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 24px;
    column-gap: 0;
  }
  .about__head        { grid-column: 1; grid-row: 1; padding-top: 0; text-align: left; }
  .about__phones      { grid-column: 1; grid-row: 2; }
  .about__foot        { grid-column: 1; grid-row: 3; align-self: start; padding-bottom: 0; text-align: left; }

  /* 가로 스크롤 스테이지 — 풀 너비 + 수평 클립 + 수직 그림자 보존 */
  .about__phones {
    display: block;
    min-width: 0;               /* 그리드 트랙이 트랙 max-content로 부풀어 오르는 것 차단 */
    margin-inline: -16px;
    padding: 24px 0;            /* 그림자 상하 여백 */
    overflow-x: clip;           /* 수평만 클립 — 트랙이 페이지 가로 스크롤 유발하지 않게 */
    overflow-y: visible;        /* 수직 그림자 자유롭게 확장 */
  }
  .about__phones-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    width: max-content;
    padding-left: calc((100vw - 240px) / 2);
    padding-right: calc((100vw - 240px) / 2);
    will-change: transform;
  }
  .about__phone {
    flex: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
  }

  .about__category    { font-size: 14px; margin-bottom: 8px; }
  .about__headline    { font-size: 26px; line-height: 135%; }
  .about__sub-headline{ font-size: 20px; line-height: 155%; }

  .about__phone-frame       { width: 240px; height: 440px; padding: 8px; border-radius: 38px; }
  .about__phone-screen      { border-radius: 30px; }
  .about__phone-screen--flow,
  .about__phone-screen--gauge { padding: 24px 14px 14px; gap: 12px; }
  .about__phone-notch       { width: 72px; height: 16px; }

  .gauge__ring              { width: 152px; height: 152px; }
  .gauge__ring-num          { font-size: 18px; }
  .gauge__ring-unit         { font-size: 11px; }

  /* 모바일 카드 컴팩트 */
  .flow__card               { padding: 12px; }
  .flow__card-row--top      { margin-bottom: 10px; }
  .flow__card-row--bottom   { margin-top: 10px; }
  .flow__card-number        { font-size: 13px; }
  .flow__deposit            { padding: 12px 12px 14px; }
  .flow__deposit-num        { font-size: 22px; }
}

/* prefers-reduced-motion — 모든 내부 애니메이션 즉시 최종 상태 */
@media (prefers-reduced-motion: reduce) {
  .flow__card,
  .flow__card-shine,
  .flow__notice-dot,
  .gauge__head-badge::before,
  .flow__arrow svg,
  .gauge__cta-pulse { animation: none !important; }
  .gauge__ring-fill { stroke-dashoffset: 0; }         /* 100% 채워짐 */
  .gauge__rate-fill { width: 88% !important; }
}

/* ============================================================
 * 서비스 장점 섹션 (#benefits)
 * - zigzag 4 row (좌 텍스트/우 비주얼 ↔ 우 텍스트/좌 비주얼)
 * - 비주얼 4종: 타이머·별점·인증·보안
 * ============================================================ */

.section--benefits {
  background: var(--bg-light);
  padding: 140px 0;
}

/* --- 섹션 헤더 --- */
.benefits__head {
  text-align: center;
  margin-bottom: 96px;
}

.benefits__category {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing);
}

.benefits__title {
  margin: 0;
  font-size: 44px;
  font-weight: var(--fw-semibold);
  line-height: 130%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

/* --- Rows (zigzag) --- */
.benefits__rows {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.benefits__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.benefits__row--reverse .benefits__text   { order: 2; }
.benefits__row--reverse .benefits__visual { order: 1; }

/* --- 텍스트 영역 --- */
.benefits__row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 14px;
  background: var(--color-sub);
  border-radius: 999px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing);
}

.benefits__row-label svg {
  width: 16px;
  height: 16px;
}

.benefits__row-title {
  margin: 0 0 20px;
  font-size: 36px;
  font-weight: var(--fw-semibold);
  line-height: 130%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.benefits__row-desc {
  margin: 0;
  font-size: 18px;
  font-weight: var(--fw-medium);
  line-height: 150%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-sub-1);
}

/* --- 비주얼 카드 공통 --- */
.bv-card {
  background: var(--bg-white);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow:
    0 24px 48px rgba(30, 27, 75, 0.08),
    0 8px 16px rgba(30, 27, 75, 0.04);
  text-align: center;
}

/* === 1. Timer === */
.bv-card--timer {
  background: linear-gradient(135deg, var(--bg-white) 0%, #F3F6FF 100%);
}

.bv-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.bv-timer__num {
  font-size: 96px;
  font-weight: var(--fw-semibold);
  line-height: 100%;
  color: var(--color-main);
  letter-spacing: -0.04em;
}

.bv-timer__unit {
  font-size: 32px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

.bv-timer__label {
  margin: 0 0 32px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

.bv-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bv-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-main);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.bv-step__name {
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

.bv-step__line {
  flex: 1;
  max-width: 48px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
  margin-bottom: 22px;        /* 도트 가운데와 라인 정렬 */
  transform-origin: left center;
}

/* === 2. Rating === */
.bv-card--rating {
  background: linear-gradient(135deg, var(--bg-white) 0%, #FFFAF0 100%);
}

.bv-rating-stars {
  display: inline-flex;
  gap: 4px;
  color: #FFC72C;
  margin-bottom: 16px;
}

.bv-rating-stars .bv-star {
  width: 28px;
  height: 28px;
}

.bv-rating-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.bv-rating-num {
  font-size: 56px;
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
  letter-spacing: -0.03em;
  line-height: 100%;
}

.bv-rating-max {
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-2);
}

.bv-rating-label {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

.bv-reviews {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bv-review {
  padding: 10px 16px;
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

/* === 3. Cert === */
.bv-card--cert {
  background: linear-gradient(135deg, var(--bg-white) 0%, #F0FFF6 100%);
}

.bv-cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--state-success);
}

.bv-cert-badge svg {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 20px rgba(0, 200, 83, 0.25));
}

.bv-cert-title {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
  letter-spacing: var(--letter-spacing);
  margin-bottom: 4px;
}

.bv-cert-sub {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--state-success);
  margin-bottom: 24px;
}

.bv-cert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.bv-cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-main-dark);
}

.bv-cert-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--state-success);
}

/* === 4. Security === */
.bv-card--security {
  background: linear-gradient(135deg, var(--bg-white) 0%, #F0F5FF 100%);
}

.bv-sec-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-main);
}

.bv-sec-shield svg {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 10px 24px rgba(59, 130, 246, 0.3));
}

.bv-sec-count {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.bv-sec-num {
  font-size: 56px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: -0.03em;
  line-height: 100%;
}

.bv-sec-plus {
  font-size: 32px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

.bv-sec-label {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
}

.bv-sec-users {
  display: inline-flex;
  align-items: center;
}

.bv-sec-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c, var(--color-main));
  color: var(--text-main-light);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--bg-white);
}

.bv-sec-user + .bv-sec-user {
  margin-left: -10px;
}

.bv-sec-user--more {
  background: var(--bg-regular);
  color: var(--text-sub-2);
}

/* --- entrance 초기 상태 (.js + GSAP) --- */
.js .section--benefits .benefits__head > *,
.js .benefits__text,
.js .benefits__visual { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .section--benefits .benefits__head > *,
  .js .benefits__text,
  .js .benefits__visual { opacity: 1; }
}

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--benefits      { padding: 112px 0; }
  .benefits__head         { margin-bottom: 72px; }
  .benefits__title        { font-size: 36px; }
  .benefits__rows         { gap: 96px; }
  .benefits__row          { gap: 40px; }
  .benefits__row-title    { font-size: 30px; }

  .bv-card                { padding: 40px 28px; }
  .bv-timer__num          { font-size: 80px; }
  .bv-timer__unit         { font-size: 26px; }
  .bv-rating-num          { font-size: 48px; }
  .bv-sec-num             { font-size: 48px; }
  .bv-cert-badge svg      { width: 76px; height: 76px; }
  .bv-sec-shield svg      { width: 80px; height: 80px; }
}

@media (max-width: 767px) {
  .section--benefits      { padding: 80px 0; }
  .benefits__head         { margin-bottom: 56px; }
  .benefits__category     { font-size: 16px; margin-bottom: 14px; }
  .benefits__title        { font-size: 28px; }

  .benefits__rows         { gap: 72px; }
  .benefits__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  /* 모바일은 항상 텍스트 위, 카드 아래 */
  .benefits__row--reverse .benefits__text   { order: 1; }
  .benefits__row--reverse .benefits__visual { order: 2; }

  .benefits__row-label    { font-size: 13px; padding: 6px 12px; margin-bottom: 14px; }
  .benefits__row-label svg{ width: 14px; height: 14px; }
  .benefits__row-title    { font-size: 24px; margin-bottom: 14px; }
  .benefits__row-desc     { font-size: 16px; }

  .bv-card                { padding: 32px 22px; border-radius: 22px; }
  .bv-timer__num          { font-size: 64px; }
  .bv-timer__unit         { font-size: 22px; }
  .bv-rating-num          { font-size: 40px; }
  .bv-rating-stars .bv-star { width: 24px; height: 24px; }
  .bv-sec-num             { font-size: 40px; }
  .bv-sec-plus            { font-size: 26px; }
  .bv-cert-badge svg      { width: 64px; height: 64px; }
  .bv-sec-shield svg      { width: 72px; height: 72px; }
  .bv-step__line          { max-width: 32px; }
  .bv-cert-title          { font-size: 18px; }
  .bv-sec-user            { width: 32px; height: 32px; font-size: 12px; }
}

/* ============================================================
 * 이용 후기 (#reviews)
 * - 풀폭 마퀴 2줄 (위: 좌→우, 아래: 우→좌)
 * - 카드 hover 시 떠오름 + 마퀴 일시정지
 * ============================================================ */

.section--reviews {
  background: var(--bg-light);
  padding: 120px 0 140px;
  overflow: hidden;          /* 풀폭 마퀴가 가로 스크롤 만들지 않도록 */
}

/* --- 섹션 헤더 --- */
.reviews__head {
  text-align: center;
  margin-bottom: 64px;
}

.reviews__category {
  margin: 0 0 16px;
  font-size: 16px;           /* Body 1 */
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing);
}

.reviews__title {
  margin: 0;
  font-size: 40px;           /* Headline 2 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.reviews__title-em {
  color: var(--color-main);
}

/* --- 마퀴 컨테이너 --- */
.reviews__marquee {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* 양옆 페이드 마스크 */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.reviews__row {
  width: 100%;
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.reviews__track--right {
  animation: reviews-marquee-right 80s linear infinite;
}

.reviews__track--left {
  animation: reviews-marquee-left 90s linear infinite;
}

/* hover 시 마퀴 일시정지 */
.reviews__row:hover .reviews__track {
  animation-play-state: paused;
}

@keyframes reviews-marquee-right {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes reviews-marquee-left {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* prefers-reduced-motion: 마퀴 정지 */
@media (prefers-reduced-motion: reduce) {
  .reviews__track--right,
  .reviews__track--left {
    animation: none;
    transform: translateX(0);
  }
}

/* --- 후기 카드 --- */
.review-card {
  flex-shrink: 0;
  width: 320px;
  min-height: 280px;
  padding: 28px 28px 24px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.08);
}

.review-card__title {
  margin: 0 0 16px;
  font-size: 18px;           /* Title 5 */
  font-weight: var(--fw-semibold);
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.review-card__body {
  flex: 1;
  margin: 0 0 20px;
  font-size: 14px;           /* Body 3 */
  font-weight: var(--fw-regular);
  line-height: 160%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-sub-2);
  /* 너무 긴 후기는 6줄까지만 노출 */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__author {
  margin: 0;
  font-size: 14px;           /* Body 3 */
  font-weight: var(--fw-regular);
  letter-spacing: var(--letter-spacing);
  color: var(--icon-disabled); /* #A5A5AF — 옅은 회색 */
}

/* --- entrance 초기 상태 (JS + GSAP) --- */
.js .section--reviews .reviews__head > * {
  opacity: 0;
}

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--reviews        { padding: 96px 0 112px; }
  .reviews__head           { margin-bottom: 48px; }
  .reviews__title          { font-size: 32px; }   /* Headline 3 */
  .review-card             { width: 280px; min-height: 260px; padding: 24px; }
  .review-card__title      { font-size: 17px; }
}

@media (max-width: 767px) {
  .section--reviews        { padding: 72px 0 88px; }
  .reviews__head           { margin-bottom: 36px; }
  .reviews__category       { font-size: 14px; margin-bottom: 12px; }
  .reviews__title          { font-size: 24px; }   /* Headline 5 */
  .reviews__marquee        { gap: 16px; }
  .reviews__track          { gap: 16px; }

  /* 모바일은 카드 폭 축소 + 마퀴 속도 살짝 빠르게 */
  .review-card             { width: 260px; min-height: 240px; padding: 20px; border-radius: 16px; }
  .review-card__title      { font-size: 16px; margin-bottom: 12px; }
  .review-card__body       { font-size: 14px; line-height: 155%; margin-bottom: 16px; -webkit-line-clamp: 5; }
  .review-card__author     { font-size: 14px; }

  .reviews__track--right   { animation-duration: 55s; }
  .reviews__track--left    { animation-duration: 60s; }
}

/* ============================================================
 * 취급 상품권 (#brands)
 * - 4 + 3 grid (PC), 3+3+1 (Tablet), 2 cols (Mobile)
 * - 각 브랜드별 컬러 그라데이션 카드
 * ============================================================ */

.section--brands {
  background: var(--bg-white);
  padding: 120px 0;
}

/* --- 섹션 헤더 --- */
.brands__head {
  text-align: center;
  margin-bottom: 56px;
}

.brands__category {
  margin: 0 0 16px;
  font-size: 16px;           /* Body 1 */
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: var(--letter-spacing);
}

.brands__title {
  margin: 0;
  font-size: 40px;           /* Headline 2 */
  font-weight: var(--fw-semibold);
  line-height: 130%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.brands__title-em {
  color: var(--color-main);
}

/* --- Grid --- */
.brands__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* --- 카드 공통 --- */
.brand-card {
  /* 4 cols: (1000 - 24*2(컨테이너) - 20*3(gap)) / 4 ≈ 223px */
  flex: 0 0 calc(25% - 15px);
  aspect-ratio: 5 / 6;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
}

.brand-card__visual {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.brand-card__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.brand-card:hover .brand-card__logo {
  transform: scale(1.12) rotate(-4deg);
}

.brand-card__info {
  flex: 1;
  padding: 18px 20px 20px;
  background: var(--bg-white);
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.brand-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.brand-card__rate {
  margin: 0;
  font-size: 14px;           /* Body 3 */
  font-weight: var(--fw-regular);
  letter-spacing: var(--letter-spacing);
  color: var(--text-sub-2);
}

.brand-card__rate strong {
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

/* 모든 카드 visual 배경은 공통 .brand-card__visual에서 #fff로 통일 */

/* --- 푸터 안내 --- */
.brands__notice {
  margin: 40px 0 0;
  text-align: center;
  font-size: 14px;           /* Body 3 */
  font-weight: var(--fw-regular);
  letter-spacing: var(--letter-spacing);
  color: var(--text-disabled);
}

/* --- entrance 초기 상태 (.js + GSAP) --- */
.js .section--brands .brands__head > *,
.js .section--brands .brand-card,
.js .section--brands .brands__notice { opacity: 0; }

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--brands     { padding: 96px 0; }
  .brands__head        { margin-bottom: 48px; }
  .brands__title       { font-size: 32px; }   /* Headline 3 */

  /* 3 cols → 첫 줄 3, 둘째 3, 셋째 1 (가운데) */
  .brand-card          { flex: 0 0 calc(33.333% - 14px); }
  .brand-card__logo    { width: 76px; height: 76px; }
}

@media (max-width: 767px) {
  .section--brands     { padding: 72px 0; }
  .brands__head        { margin-bottom: 36px; }
  .brands__category    { font-size: 14px; margin-bottom: 12px; }
  .brands__title       { font-size: 24px; }   /* Headline 5 */

  /* 모바일: 1줄 가로 카드 (좌 로고 + 우 정보) */
  .brands__grid        { gap: 10px; flex-direction: column; }

  .brand-card {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: auto;        /* 가로형이므로 비율 해제 */
    flex-direction: row;       /* 좌우 배치 */
    border-radius: 16px;
    min-height: 92px;
  }

  .brand-card__visual {
    flex: 0 0 92px;            /* 정사각형 로고 영역 */
    width: 92px;
  }

  .brand-card__logo { width: 60px; height: 60px; }

  .brand-card__info {
    flex: 1;
    padding: 16px 20px;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    /* 가로 카드: 위쪽 라인 → 좌측 라인으로 전환 */
    border-top: none;
    border-left: 1px solid var(--line-light);
  }

  .brand-card__name    { font-size: 16px; }
  .brand-card__rate    { font-size: 14px; }

  .brands__notice      { margin-top: 28px; font-size: 14px; line-height: 1.5; padding: 0 8px; }
}

/* ============================================================
 * 실시간 이용자 (#live)
 * - 헤더 + TODAY/TOTAL 카드 2종 + 리스트 카드 (세로 마퀴)
 * ============================================================ */

.section--live {
  background: var(--bg-light);
  padding: 120px 0;
}

/* --- 섹션 헤더 --- */
.live__head {
  text-align: center;
  margin-bottom: 48px;
}

.live__headline {
  margin: 0 0 16px;
  font-size: 40px;           /* Headline 2 */
  font-weight: var(--fw-semibold);
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.live__headline-em { color: var(--color-main); }

.live__sub {
  margin: 0;
  font-size: 16px;           /* Body 1 */
  font-weight: var(--fw-regular);
  color: var(--text-sub-2);
  letter-spacing: var(--letter-spacing);
}

.live__sub strong {
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
}

/* --- TODAY / TOTAL 카드 --- */
.live__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.live-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  background: var(--bg-white);
  border: 1.5px solid var(--color-main);
  border-radius: 999px;        /* 알약 형태 */
}

.live-stat__label {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
  letter-spacing: 0.02em;
}

.live-stat__value {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  color: var(--text-main-dark);
  letter-spacing: var(--letter-spacing);
}

.live-stat__unit {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-2);
  margin-left: 4px;
}

/* --- 리스트 카드 --- */
.live__list-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

/* 워터마크 (카드 가운데 큰 회색 텍스트) */
.live__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(56px, 12vw, 120px);
  font-weight: var(--fw-semibold);
  color: var(--bg-regular);    /* #F1F1F5 — 매우 옅은 회색 */
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.7;
}

/* --- 헤더: 실시간 업데이트 + 컬럼 라벨 --- */
.live__list-head {
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line-light);
}

.live__list-update {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 12px;
  font-size: 14px;
  color: var(--text-sub-2);
  letter-spacing: var(--letter-spacing);
}

.live__list-update svg {
  width: 16px;
  height: 16px;
  color: var(--icon-sub-2);
}

.live__list-cols {
  display: grid;
  grid-template-columns: 1.4fr 2.2fr 1.6fr 1.2fr;
  align-items: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-sub-1);
  letter-spacing: var(--letter-spacing);
}

.live__list-cols > :nth-child(3) { text-align: right; }
.live__list-cols > :nth-child(4) { text-align: center; }

/* --- 본문: 세로 마퀴 --- */
.live__list-body {
  position: relative;
  z-index: 2;
  height: 480px;              /* 8행 정도 보임 */
  overflow: hidden;
  /* 하단 페이드 (워터마크 살짝 비치게) */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 80%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 80%,
    transparent 100%
  );
}

.live__list-track {
  display: flex;
  flex-direction: column;
  animation: live-scroll 45s linear infinite;
  will-change: transform;
}

.live__list-body:hover .live__list-track {
  animation-play-state: paused;
}

@keyframes live-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .live__list-track {
    animation: none;
  }
}

/* --- 행 --- */
.live-row {
  display: grid;
  grid-template-columns: 1.4fr 2.2fr 1.6fr 1.2fr;
  align-items: center;
  padding: 14px 28px;
  background: transparent;     /* 워터마크가 비치도록 */
  border-bottom: 1px solid var(--line-light);
}

.live-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.live-cell--name {
  font-weight: var(--fw-medium);
}

.live-cell--product {
  color: var(--text-sub-1);
  font-weight: var(--fw-regular);
}

.live-cell--amount {
  justify-content: flex-end;
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

.live-cell--status {
  justify-content: center;
}

/* --- 상품 아이콘 (취급 상품권 로고) --- */
.live-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- 입금완료 뱃지 --- */
.live-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-main);
  color: var(--text-main-light);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  border-radius: 999px;
  letter-spacing: var(--letter-spacing);
}

/* --- entrance 초기 상태 (.js + GSAP) --- */
.js .section--live .live__head > *,
.js .section--live .live-stat,
.js .section--live .live__list-card { opacity: 0; }

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--live        { padding: 96px 0; }
  .live__headline       { font-size: 32px; }   /* Headline 3 */
  .live__head           { margin-bottom: 36px; }
  .live__stats          { gap: 12px; margin-bottom: 32px; }
  .live-stat            { padding: 16px 22px; }
  .live-stat__value     { font-size: 20px; }

  .live__list-cols      { padding: 12px 20px; font-size: 14px; }
  .live-row             { padding: 12px 20px; }
  .live-cell            { font-size: 14px; }
  .live__list-body      { height: 440px; }
}

@media (max-width: 767px) {
  .section--live        { padding: 72px 0; }
  .live__headline       { font-size: 22px; line-height: 145%; }
  .live__sub            { font-size: 14px; }
  .live__head           { margin-bottom: 28px; }

  /* TODAY / TOTAL: 모바일은 세로 적층 */
  .live__stats          { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .live-stat            { padding: 14px 20px; border-radius: 16px; justify-content: space-between; }
  .live-stat__label     { font-size: 14px; }
  .live-stat__value     { font-size: 18px; }
  .live-stat__unit      { font-size: 13px; }

  /* 리스트: 컬럼 비율 + 상태 컬럼 숨김 (뱃지를 금액 옆에 작게) */
  .live__list-cols,
  .live-row             { grid-template-columns: 1.3fr 2fr 1.4fr; padding: 12px 16px; gap: 8px; }
  .live__list-cols > :nth-child(4),
  .live-row .live-cell--status { display: none; }

  .live-cell            { font-size: 13px; gap: 8px; }
  .live-icon            { width: 30px; height: 30px; border-radius: 7px; }
  .live-icon svg        { width: 16px; height: 16px; }

  .live__list-body      { height: 400px; }
  .live__watermark      { font-size: clamp(40px, 14vw, 72px); }
}

/* ============================================================
 * CTA (#cta) — 비대면 상담 유도
 * - DARK 배경 + 헤드라인 + 흰 버튼 1개 (실시간 상담하기)
 * ============================================================ */

.section--cta {
  background: var(--color-dark);   /* #1E1B4B */
  padding: 96px 0;
}

/* 좌우 분할 컨테이너 */
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta__head {
  flex: 1;
  min-width: 0;
}

.cta__headline {
  margin: 0 0 14px;
  font-size: 36px;           /* Headline 2~3 */
  font-weight: var(--fw-semibold);
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-light);
}

.cta__headline-em { color: var(--color-point); }   /* Mint — 어두운 배경에서 강조 */

.cta__sub {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: var(--letter-spacing);
}

/* --- 실시간 상담하기 버튼 --- */
.cta__button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  background: var(--bg-white);
  color: var(--text-main-dark);
  font-size: 17px;
  font-weight: var(--fw-semibold);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: var(--letter-spacing);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.cta__button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta__button:hover svg {
  transform: translateX(4px);
}

/* --- entrance 초기 상태 (.js + GSAP) --- */
.js .section--cta .cta__head > *,
.js .section--cta .cta__button { opacity: 0; }

/* --- 반응형 --- */
@media (max-width: 1023px) {
  .section--cta      { padding: 80px 0; }
  .cta__inner        { gap: 28px; }
  .cta__headline     { font-size: 28px; }   /* Headline 4 */
  .cta__button       { padding: 16px 28px; font-size: 16px; }
}

@media (max-width: 767px) {
  .section--cta      { padding: 64px 0; }

  /* 좌우 → 세로 적층 + 가운데 정렬 */
  .cta__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .cta__head         { flex: none; }
  .cta__headline     { font-size: 24px; line-height: 145%; }   /* Headline 5 */
  .cta__sub          { font-size: 14px; }
  .cta__button       { padding: 14px 28px; font-size: 15px; }
  .cta__button svg   { width: 18px; height: 18px; }
}

/* ============================================================
 * 푸터
 * ============================================================ */

.footer {
  background: var(--bg-light);     /* #F7F7FB */
  padding: 48px 0;
  text-align: center;
}

.footer__info,
.footer__copy,
.footer__notice {
  margin: 0;
  font-size: 14px;          /* Body 3 */
  line-height: 145%;
}

.footer__info {
  font-weight: var(--fw-medium);
  color: var(--text-main-dark);
  margin-bottom: 8px;
}

.footer__copy {
  font-weight: var(--fw-regular);
  color: var(--text-sub-1);
  margin-bottom: 20px;
}

.footer__notice {
  font-weight: var(--fw-regular);
  color: var(--text-sub-2);
}

/* ============================================================
 * 플로팅 CTA — 실시간 상담하기
 * 데스크탑: 우하단 알약 버튼 / 모바일: 하단 풀폭 바
 * ============================================================ */

.float-cta {
  /* button 기본 스타일 초기화 (링크 → 버튼 교체에 따른 보강) */
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;

  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 90;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;

  background: linear-gradient(95deg, #4F46E5 0%, #818CF8 100%);
  border-radius: 999px;
  box-shadow:
    0 6px 16px rgba(79, 70, 229, 0.18),
    0 2px 6px rgba(79, 70, 229, 0.12);

  color: var(--text-main-light);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
  text-decoration: none;
  white-space: nowrap;

  animation: float-cta-pulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 10px 24px rgba(79, 70, 229, 0.28),
    0 4px 10px rgba(79, 70, 229, 0.18);
}

.float-cta:active {
  transform: translateX(-50%) scale(0.98);
  box-shadow:
    0 4px 10px rgba(79, 70, 229, 0.15),
    0 1px 4px rgba(79, 70, 229, 0.1);
}

.float-cta__text {
  position: relative;
  z-index: 1;
}

.float-cta__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .float-cta {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: none;
    display: flex;
    padding: 12px 24px;
    font-size: 15px;
  }

  .float-cta:hover {
    transform: none;
    box-shadow:
      0 6px 16px rgba(79, 70, 229, 0.18),
      0 2px 6px rgba(79, 70, 229, 0.12);
  }

  .float-cta:active {
    transform: scale(0.98);
  }
}

@keyframes float-cta-pulse {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(79, 70, 229, 0.18),
      0 2px 6px rgba(79, 70, 229, 0.12);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(79, 70, 229, 0.25),
      0 3px 8px rgba(79, 70, 229, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta {
    animation: none;
  }
}

/* ============================================================
 * 실시간 상담 모달 — 3단계 자격 확인
 * ============================================================ */

.consult {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consult.is-open {
  display: flex;
}

/* [hidden] 속성이 author display 규칙에 가려지지 않도록 */
.consult [hidden] {
  display: none !important;
}

.consult__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  animation: consult-fade 0.2s ease;
}

.consult__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 28px 28px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.25);
  text-align: center;
  animation: consult-pop 0.25s ease;
}

.consult__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--icon-sub-2);
  cursor: pointer;
  transition: background 0.2s ease;
}

.consult__close:hover {
  background: var(--bg-regular);
}

.consult__close svg {
  width: 20px;
  height: 20px;
}

/* 프로세스 바 */
.consult__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.consult__step-dot {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--line-regular);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-disabled);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.consult__step-dot.is-active {
  border-color: var(--color-main);
  background: var(--color-main);
  color: var(--text-main-light);
}

.consult__step-dot.is-done {
  border-color: var(--color-main);
  background: var(--color-sub);
  color: var(--color-main);
}

.consult__step-line {
  width: 36px;
  height: 2px;
  background: var(--line-regular);
}

/* 패널 */
.consult__panel {
  display: none;
}

.consult__panel.is-active {
  display: block;
}

.consult__title {
  margin: 0 0 24px;
  font-size: 24px;          /* Headline 5 */
  line-height: 140%;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
  color: var(--text-main-dark);
}

.consult__choices {
  display: flex;
  gap: 12px;
}

.consult__choices[hidden] {
  display: none;
}

.consult__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 16px;          /* Body 1 */
  font-weight: var(--fw-semibold);
  letter-spacing: var(--letter-spacing);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.consult__btn:active {
  transform: scale(0.98);
}

.consult__btn--primary {
  background: var(--color-main);
  color: var(--text-main-light);
}

.consult__btn--primary:hover {
  background: #2563EB;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.consult__btn--ghost {
  background: var(--bg-white);
  border-color: var(--line-regular);
  color: var(--text-sub-1);
}

.consult__btn--ghost:hover {
  border-color: var(--text-sub-2);
}

/* 거절(이용 불가) 안내 */
.consult__reject {
  margin-top: 4px;
}

.consult__error {
  margin: 0 0 20px;
  font-size: 15px;          /* Body 2 */
  line-height: 145%;
  color: var(--state-danger);
}

.consult__reject .consult__btn {
  width: 100%;
}

/* 3단계 — 상담 연결 */
.consult__btn--cta {
  width: 100%;
  min-height: 56px;
  font-size: 17px;
  text-decoration: none;
}

/* hidden 속성이 .consult__btn 의 display 선언에 밀리지 않도록 */
.consult__btn[hidden],
.consult__pc[hidden] {
  display: none;
}

/* PC 대체 안내 (문자 발송 불가) */
.consult__pc {
  padding: 20px 16px;
  border: 1.5px solid var(--line-regular);
  border-radius: 12px;
  background: var(--bg-light);
  text-align: center;
}

.consult__pc-text {
  margin: 0 0 12px;
  font-size: 16px;          /* Body 1 */
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  color: var(--text-sub-1);
}

.consult__pc-tel {
  margin: 0;
  font-size: 24px;          /* Headline 5 */
  line-height: 140%;
  letter-spacing: var(--letter-spacing);
  font-weight: var(--fw-semibold);
  color: var(--color-main);
}

.consult__sub {
  margin: 16px 0 8px;
  font-size: 15px;          /* Body 2 */
  line-height: 145%;
  color: var(--text-sub-1);
}

.consult__btn--text {
  width: 100%;
  min-height: 44px;
  background: transparent;
  color: var(--text-sub-2);
}

.consult__btn--text:hover {
  background: var(--bg-light);
}

body.is-modal-locked {
  overflow: hidden;
}

@keyframes consult-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes consult-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
  .consult__dialog {
    padding: 36px 20px 24px;
    border-radius: 18px;
  }

  .consult__title {
    font-size: 20px;        /* 모바일: 위계 1단계 낮춤 (Headline 6) */
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult__backdrop,
  .consult__dialog {
    animation: none;
  }
}
