/* ─── 다온주차대행 디자인 시스템 v2 (Slate Mono) ──────────────── */
:root {
  /* 단일 톤 슬레이트 그레이스케일 (Tailwind slate 매핑) */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* 의미적 토큰 (3단계 타이포 컬러) */
  --color-fg:        var(--slate-900);  /* 타이틀 — font-bold (700) */
  --color-fg-soft:   var(--slate-600);  /* 서브타이틀 — font-semibold (600) */
  --color-fg-muted:  var(--slate-500);  /* 본문 — font-normal (400) */

  /* 표면/배경 */
  --color-bg:           #ffffff;
  --color-bg-soft:      var(--slate-50);
  --color-bg-elevated:  var(--slate-100);
  --color-bg-card:      #ffffff;
  --color-overlay:      rgba(15, 23, 42, 0.55);

  /* 테두리 */
  --color-border:        var(--slate-200);
  --color-border-strong: var(--slate-300);

  /* 인터랙티브 (다크 슬레이트로 통일된 액션 컬러) */
  --color-primary:       #1E5BA8;          /* 선명한 다온 네이비 (채도 ↑) */
  --color-primary-dark:  #0F4C8A;          /* 깊은 네이비 (호버/active) */
  --color-primary-light: #4B89D8;          /* 밝은 네이비 (보조) */
  --color-accent:        #1E5BA8;          /* 액센트 — primary와 동일 톤 */
  --color-accent-dark:   #0F4C8A;

  /* 호환용 alias */
  --color-text:        var(--color-fg);
  --color-text-soft:   var(--color-fg-soft);
  --color-text-muted:  var(--color-fg-muted);

  --color-success: #16a34a;
  --color-warning: #ca8a04;
  --color-error:   #dc2626;

  /* 타이포 */
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-display: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;

  /* 공간 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* 라운드 (5-스텝 표준) */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  /* 폰트 사이즈 (9-스텝 표준 · 반쪽 픽셀 제거) */
  --text-xs:   11px;
  --text-sm:   12px;
  --text-base: 13px;
  --text-md:   14px;
  --text-lg:   15px;
  --text-xl:   16px;
  --text-2xl:  18px;
  --text-3xl:  20px;
  --text-4xl:  24px;

  /* 타이포그래피 시멘틱 위계 (semantic tokens) ────────────────
     중요도 = 사이즈 갭 + 굵기 차등 + 자간/줄간격 역상관
       Display  clamp(30→44) / 800 / -0.025em / 1.15  ← 섹션 h2
       Title    22           / 700 / -0.02em  / 1.30  ← 카드 h3
       H4       17           / 700 / -0.01em  / 1.35  ← 소제목
       Lead     17           / 400 / -0.005em / 1.70  ← 부제
       Body-L   16           / 400 /  0       / 1.75  ← 본문(강조)
       Body     15           / 400 /  0       / 1.70  ← 본문(일반)
       Meta     12           / 600 / +0.12em UC / 1.4 ← 라벨·캡션
  */
  --type-display: clamp(30px, 4vw, 44px);
  --type-title:   22px;
  --type-h4:      17px;
  --type-lead:    17px;
  --type-body-l:  16px;
  --type-body:    15px;
  --type-meta:    12px;

  --w-display: 800;
  --w-title:   700;
  --w-meta:    600;
  --w-strong:  500;
  --w-body:    400;

  --track-display: -0.025em;
  --track-title:   -0.02em;
  --track-h4:      -0.01em;
  --track-lead:    -0.005em;
  --track-meta:    0.12em;

  --lh-display: 1.15;
  --lh-title:   1.30;
  --lh-h4:      1.35;
  --lh-lead:    1.70;
  --lh-body-l:  1.75;
  --lh-body:    1.70;
  --lh-meta:    1.40;

  /* 그림자 */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);

  /* 레이아웃 */
  --container-max: 1240px;
  --header-h: 72px;

  /* 전환 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-base: 0.28s;
  --t-slow: 0.48s;
}

/* ═══════════════════════════════════════════════════════════════
   성능 최적화 — 오프스크린 페인트/레이아웃 컷
   ═══════════════════════════════════════════════════════════════ */
.section-calc,
.bento-section,
.story-trust,
.story-process,
.story-menu,
.cta-card {
  contain: layout paint style;
}

.bento-card,
.menu-flow-item,
.sp-step,
.story-stats .st-item,
.toggle-card,
.option-row,
.faq-item {
  contain: layout paint style;
}

/* Pretendard CDN */
@font-face {
  font-family: 'Pretendard';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/variable/woff2/PretendardVariable.woff2') format('woff2-variations');
}

/* ─── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 8px; }

/* 접근성: 스크린리더 전용 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Layout helpers ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-title {
  text-align: center;
  margin-bottom: var(--space-7);
}
.section-title .eyebrow {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(15, 76, 138, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.section-title h2 {
  font-size: var(--type-display);
  font-weight: var(--w-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.section-title h2 .accent { color: var(--color-primary); }
.section-title p {
  color: var(--color-text-soft);
  font-size: var(--type-lead);
  font-weight: var(--w-body);
  letter-spacing: var(--track-lead);
  line-height: var(--lh-lead);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--color-accent-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─── Header ─────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--t-base) var(--ease);
}
.header.transparent {
  background: rgba(248, 250, 252, 0.72);     /* slate-50 with translucency */
  border-bottom-color: transparent;
}
.header.transparent .logo,
.header.transparent .nav a { color: var(--color-fg); }
.header.transparent .nav a::after { background: var(--color-fg); }
.header.transparent .header-cta { color: var(--color-fg); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-5);
}
/* ─── 다온주차대행 워드마크 로고 ─────────────────────────── */
.logo {
  display: inline-flex; align-items: center;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.22s var(--ease);
}
.logo:hover { opacity: 0.78; }
.logo-text {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: 'Pretendard', sans-serif;
  line-height: 1;
}
.logo-text .lt-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-fg);
}
.logo-text .lt-rest {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-fg-soft);
}
.header.transparent .logo-text .lt-brand { color: #ffffff; }
.header.transparent .logo-text .lt-rest  { color: rgba(255, 255, 255, 0.6); }

/* 푸터 워드마크 */
.footer-brand {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: 'Pretendard', sans-serif;
  line-height: 1;
}
.footer-brand .lt-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
}
.footer-brand .lt-rest {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 768px) {
  .logo-text .lt-brand { font-size: 19px; }
  .logo-text .lt-rest  { font-size: 12px; }
}
.nav {
  display: flex; gap: 8px;
  height: 100%; align-items: stretch;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-parent {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 100%;
  padding: 0 16px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  transition: color var(--t-fast) var(--ease);
}
.nav-item-home .nav-parent { padding-left: 12px; padding-right: 12px; }
.nav-item-home .nav-parent svg { color: var(--color-fg); }
.nav-parent::after {
  content: '';
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  height: 1.5px; background: var(--color-fg);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.32s var(--ease);
}
.nav-item:hover .nav-parent::after,
.nav-item.is-current .nav-parent::after { transform: scaleX(1); }

/* ─── GNB 2-depth Dropdown ─────────────────────────────────── */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.18), 0 4px 8px -4px rgba(15, 23, 42, 0.08);
  padding: 8px;
  min-width: 180px;
  display: flex; flex-direction: column;
  gap: 2px;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  z-index: 10;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 12px;             /* 호버 간격 메우기 (드롭다운 사라짐 방지) */
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-fg-soft);
  border-radius: 8px;
  letter-spacing: -0.01em;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--slate-50);
  color: var(--color-fg);
}
.nav-dropdown a[aria-current="page"] {
  background: var(--slate-100);
  color: var(--color-fg);
}

/* 헤더 transparent 상태에서 드롭다운은 항상 솔리드 흰색 유지 */
.header.transparent .nav-dropdown {
  background: #ffffff;
  color: var(--color-fg);
}
.header-actions { display: flex; gap: var(--space-3); align-items: center; }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--color-primary);
}
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  width: 22px; height: 2px; background: currentColor; border-radius: 1px;
  transition: all var(--t-base) var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99;
  transform: translateY(-100%); opacity: 0;
  transition: all var(--t-base) var(--ease);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.mobile-menu .mnav { padding: 20px 24px 8px; list-style: none; }
.mobile-menu .mnav-section {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.mobile-menu .mnav-section:last-child { border-bottom: 0; }
.mobile-menu .mnav-parent {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  padding: 6px 0;
}
.mobile-menu .mnav-children {
  list-style: none;
  padding: 6px 0 0 0;
  display: flex; flex-direction: column;
  gap: 2px;
}
.mobile-menu .mnav-children li { border: 0; padding: 0; }
.mobile-menu .mnav-children a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg-soft);
  border-radius: 8px;
  transition: background-color 0.18s var(--ease);
}
.mobile-menu .mnav-children a:hover,
.mobile-menu .mnav-children a[aria-current="page"] {
  background: var(--slate-50);
  color: var(--color-fg);
}
.mobile-menu .menu-cta { padding: 20px 24px 32px; display: grid; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════
   Plus-X 인터랙티브 컴포넌트 (Hero-X / 마퀴 / 매그네틱 / 카운트업)
   ═══════════════════════════════════════════════════════════════ */

/* ─── 공통 디스플레이 헤딩 (전 섹션 공유) ─────────────────────── */
.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--slate-50);
  color: var(--color-fg-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.display-h {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-fg);
  margin: 12px 0;
}
.display-h .line { display: block; overflow: hidden; }
.display-h .italic {
  font-style: normal;
  color: var(--color-fg-soft);
  font-weight: 700;
}
.display-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  color: var(--color-fg-muted);
  line-height: 1.7;
}

/* ─── Split-Text 워드 리빌 (줄별 순차) ─────────────────────── */
.split-text .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.split-text .word {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.split-text:not(.in) .word { will-change: transform; }
.split-text.in .word { transform: translate3d(0, 0, 0); }
.split-text.in .line:nth-child(1) .word { transition-delay: 0s; }
.split-text.in .line:nth-child(2) .word { transition-delay: 0.32s; }
.split-text.in .line:nth-child(3) .word { transition-delay: 0.62s; }
/* 등장 끝나면 will-change 해제 — GPU 메모리 회수 */
.split-text.in .word { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .split-text .word { transform: none !important; transition: none !important; }
}

/* ─── Magnetic Button ──────────────────────────────────────── */
.btn-magnet {
  display: inline-block;
  padding: 0; background: transparent; border: 0;
  cursor: pointer;
}
.btn-magnet-inner {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 64px;
  padding: 18px 36px;
  background: var(--slate-900);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: background-color 0.36s var(--ease), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  /* will-change: hover 진입 시 적용 (CSS hover state) */
}
.btn-magnet:hover .btn-magnet-inner {
  background: var(--slate-800);
}
.btn-magnet:active { transform: scale(0.98); }
.btn-magnet:focus-visible { outline: 3px solid var(--slate-300); outline-offset: 4px; border-radius: 999px; }
.btn-magnet-inner svg { transition: transform 0.32s var(--ease); }
.btn-magnet:hover .btn-magnet-inner svg { transform: translateX(3px); }
.btn-magnet-light .btn-magnet-inner {
  background: #ffffff;
  color: var(--slate-900);
}
.btn-magnet-light:hover .btn-magnet-inner {
  background: var(--slate-100);
}

/* ─── Hero-X 레이아웃 ─────────────────────────────────────── */
.hero-x {
  min-height: 100vh;
  background: var(--color-bg);
  padding-top: var(--header-h);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-x-container {
  flex: 1;
  display: flex; align-items: center;
  padding-top: 56px;
  padding-bottom: 32px;
}
.hero-x-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  width: 100%;
  align-items: center;
}
.hero-x-text {
  grid-column: span 7;
  display: flex; flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.hero-x-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--slate-50);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg-soft);
}
.hero-x-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--slate-900);
  position: relative;
}
.hero-x-tag .dot::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.18);
  animation: dotPulseX 2.4s ease-in-out infinite;
}
@keyframes dotPulseX {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(2); opacity: 0; }
}

/* HERO-X DISPLAY TITLE */
.hero-x-title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--color-fg);
  margin: 0;
}
.hero-x-title .italic {
  font-style: normal;
  font-weight: 700;
  color: var(--color-fg-soft);
}

.hero-x-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-fg-muted);
  max-width: 460px;
  margin: 0;
}

/* ─── 히어로 핵심 포인트 3가지 ───────────────────────────── */
.hero-x-points {
  list-style: none;
  margin: 8px 0 8px;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.hero-x-points li {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg);
  letter-spacing: -0.01em;
}
.hero-x-points .hpt-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--slate-900);
  flex-shrink: 0;
}
.hero-x-cta {
  display: flex; align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-x-phone {
  display: inline-flex; flex-direction: column;
  gap: 2px;
  color: var(--color-fg);
  text-decoration: none;
  padding: 4px 0;
}
.hero-x-phone .lbl {
  font-size: 11px; font-weight: 500;
  color: var(--color-fg-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-x-phone strong {
  font-size: 20px; font-weight: 700;
  color: var(--color-fg);
  letter-spacing: -0.02em;
}
.hero-x-phone:hover strong { color: var(--slate-700); }

/* HERO-X VISUAL (3-Photo 시네마틱 콜라주 + 3D 틸트) */
.hero-x-visual {
  grid-column: 8 / span 5;
  position: relative;
  aspect-ratio: 1 / 1.1;
  align-self: center;
  perspective: 1200px;
}
.hp {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.22);
  transform-style: preserve-3d;
  will-change: transform;
}
.hp-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  /* will-change: JS가 hover 시점에만 부착 (메모리 절약) */
}
.hp img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── 단일 큰 사진 (solo) — 신규 메인 레이아웃 ─────────────── */
.hero-x-visual-solo {
  aspect-ratio: 4 / 5;
}
.hp-solo {
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  border-radius: 24px;
}
.hp-solo .hp-inner img {
  animation: kenBurns 18s ease-in-out infinite alternate;
  transform-origin: center 55%;
}
.hp-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.08) 0%, transparent 30%, transparent 70%, rgba(15,23,42,0.35) 100%);
  pointer-events: none;
  z-index: 2;
}
.hp-overlay-top {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 4;
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.62);
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hp-overlay-top .hp-loc { white-space: nowrap; }

/* Main photo (legacy 3-photo collage variant — 호환용 잔존) */
.hp-main {
  top: 0; left: 0;
  width: 68%; height: 72%;
  z-index: 2;
}
.hp-main .hp-inner img {
  animation: kenBurns 18s ease-in-out infinite alternate;
  transform-origin: center 60%;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0)  translate(0, 0); }
  50%  { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.04) translate(1%, -2%); }
}
/* 광택 sweep (마우스 오버 시 빛 한 줄기) */
.hp-shine {
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.18) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 3;
}
.hp-main:hover .hp-shine { transform: translateX(100%); }

/* Secondary right-top */
.hp-a {
  top: 6%; right: 0;
  width: 38%; height: 38%;
  z-index: 3;
  border: 5px solid var(--color-bg);
}

/* Secondary right-bottom */
.hp-b {
  bottom: 4%; right: 6%;
  width: 44%; height: 36%;
  z-index: 4;
  border: 5px solid var(--color-bg);
}

/* 3D tilt 호버 시 미세 lift */
.hp-tilt:hover { z-index: 5; }
@media (prefers-reduced-motion: reduce) {
  .hp-main .hp-inner img { animation: none; }
  .hp-inner { transition: none !important; }
}

.hp-stat-card {
  position: absolute;
  bottom: 24px; left: -28px;
  z-index: 6;
  background: var(--slate-900);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.40);
  min-width: 200px;
}
.hp-stat-card .num {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.hp-stat-card .num small {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--slate-400);
}
.hp-stat-card .lbl {
  display: block;
  margin-top: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.hp-badge {
  position: absolute;
  top: 28px; right: -16px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.18);
}

/* 부유 애니메이션 (subtle floating) */
.hp-float    { animation: floatY 4.5s ease-in-out infinite; }
.hp-float-alt{ animation: floatY 5.2s ease-in-out infinite reverse; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hp-badge .kw {
  display: block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-fg-muted);
  text-transform: uppercase;
}
.hp-badge strong {
  display: block;
  margin-top: 2px;
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-fg);
}

/* HERO-X 하단 사진 마퀴 (썸네일 + 텍스트 혼합) */
.hero-x-marquee {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--color-bg);
  position: relative;
}
.hero-x-marquee::before,
.hero-x-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}
.hero-x-marquee::before { left: 0; background: linear-gradient(90deg, var(--color-bg), transparent); }
.hero-x-marquee::after  { right: 0; background: linear-gradient(270deg, var(--color-bg), transparent); }
.hero-x-marquee .marquee-track {
  display: inline-flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: marqueeX 42s linear infinite;
  will-change: transform;
}
.hero-x-marquee:hover .marquee-track { animation-play-state: paused; }

.photo-marquee .pm-text {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--color-fg);
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.photo-marquee .pm-text.italic {
  font-style: normal;
  color: var(--color-fg-soft);
}
.photo-marquee .pm-cell {
  display: inline-block;
  width: 120px; height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  vertical-align: middle;
  contain: layout paint;
}
.photo-marquee .pm-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-marquee .pm-cell:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 22px -6px rgba(15, 23, 42, 0.18);
}
.photo-marquee .pm-cell:hover img { transform: scale(1.08); }

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

/* 섹션 마퀴 (mid-page strip) */
.marquee-strip {
  background: var(--slate-900);
  color: #ffffff;
  overflow: hidden;
  padding: 22px 0;
  border: 0;
}
.marquee-strip .marquee-track {
  display: inline-flex; align-items: center; gap: 28px;
  white-space: nowrap;
  animation: marqueeX 28s linear infinite;
  transform: translateZ(0);
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-strip .m-item {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.015em;
}
.marquee-strip .m-item.italic {
  font-style: normal;
  color: var(--slate-400);
  font-weight: 500;
}
.marquee-strip .m-bullet {
  font-size: 18px;
  color: var(--slate-700);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   Scroll Storytelling Sections (Chapter 01 / 04 / 06)
   ═══════════════════════════════════════════════════════════════ */

/* 공통 스토리 헤딩 */
/* Meta — 챕터 라벨 */
.story-chapter {
  display: inline-block;
  padding: 6px 14px;
  background: var(--slate-50);
  color: var(--color-fg-soft);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.story-chapter.light {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.20);
}
/* Display — 스토리 헤드라인 */
.story-h {
  font-size: var(--type-display);
  font-weight: var(--w-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  color: var(--color-fg);
  margin: 0 0 18px;
}
.story-h.light { color: #ffffff; }
.story-h .italic, .story-h em.italic, .story-h em {
  font-style: normal;
  font-weight: var(--w-display);
  color: var(--color-fg-soft);
}
.story-h.light em, .story-h.light .italic {
  color: rgba(255, 255, 255, 0.70);
}
/* Lead — 스토리 부제 */
.story-sub {
  font-size: var(--type-lead);
  font-weight: var(--w-body);
  letter-spacing: var(--track-lead);
  line-height: var(--lh-lead);
  color: var(--color-fg-muted);
  max-width: 560px;
  margin: 0;
}
.story-sub.light { color: rgba(255, 255, 255, 0.78); }
.story-link {
  display: inline-flex; align-items: center;
  margin-top: 20px;
  padding: 8px 0;
  font-size: var(--type-body);
  font-weight: var(--w-meta);
  color: var(--color-fg);
  border-bottom: 1.5px solid var(--color-fg);
  transition: gap 0.3s var(--ease);
}
.story-link:hover { color: var(--color-fg); }

/* ─── Chapter 01 — Trust Moment ──────────────────────────── */
.story-trust {
  padding: 120px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.story-trust .story-head {
  max-width: 880px;
  margin-bottom: 64px;
}
.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.story-stats .st-item {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  background: var(--slate-50);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-stats .st-item:hover {
  transform: translateY(-4px);
  border-color: var(--slate-300);
  background: #ffffff;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.10);
}
.story-stats .st-num {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-fg);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.story-stats .st-num small {
  font-size: 0.42em;
  font-weight: 500;
  color: var(--color-fg-muted);
}
.story-stats .st-lbl {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-fg-muted);
  letter-spacing: -0.01em;
}

/* ─── Chapter 04 — Sticky Process Story ─────────────────── */
.story-process {
  padding: 120px 0;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}
.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.sp-sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}
.sp-flow {
  list-style: none;
  display: flex; flex-direction: column;
}
.sp-step {
  display: flex; gap: 24px;
  padding-bottom: 60px;
  position: relative;
}
.sp-step:last-child { padding-bottom: 0; }
.sp-step-mark {
  display: flex; flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 56px;
}
.sp-num {
  width: 48px; height: 48px;
  background: var(--slate-900);
  color: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.sp-bar {
  flex: 1;
  width: 1.5px;
  background: var(--color-border);
  margin-top: 12px;
  margin-bottom: -12px;
}
.sp-step-body {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-step:hover .sp-step-body {
  transform: translateX(6px);
  border-color: var(--slate-300);
  box-shadow: 0 10px 20px -8px rgba(15, 23, 42, 0.10);
}
.sp-step-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  margin-bottom: 8px;
}
.sp-step-body p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-fg-muted);
  max-width: 380px;
}
.sp-step-icon {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  background: var(--slate-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-fg);
}

/* ─── Sticky Process · 사진 포함 단계 ────────────────────── */
.sp-step-photo .sp-step-body {
  padding: 0;
  overflow: hidden;
}
.sp-step-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-100);
}
.sp-step-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-step-photo:hover .sp-step-photo-wrap img { transform: scale(1.06); }
.sp-step-photo-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.42) 100%);
  pointer-events: none;
}
.sp-step-tag {
  position: absolute;
  bottom: 16px; left: 18px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-fg);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sp-step-text {
  padding: 24px 28px 26px;
}
.sp-step-text h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  margin-bottom: 8px;
}
.sp-step-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-fg-muted);
  max-width: 460px;
}

/* ─── CHAPTER 05 — Horizontal Image Accordion ──────────────── */
.story-menu {
  padding: 120px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.story-menu-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.story-menu-head h2 { margin: 8px 0 0; }
.story-menu-hint {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--slate-50);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-fg-soft);
}
.hint-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-fg);
  animation: dotPulseCine 2.4s ease-in-out infinite;
}

/* 아코디언 컨테이너 */
.menu-accordion {
  display: flex;
  gap: 8px;
  height: clamp(420px, 56vh, 560px);
  border-radius: 24px;
  overflow: hidden;
  /* perspective 제거 — 3D transform 안 쓰는데 컨텍스트만 생성하던 비용 절감 */
  /* contain: layout paint style; — 컨테이너 단위 변화 격리 */
  contain: layout paint style;
}

.ma-tile {
  position: relative;
  flex: 1;
  min-width: 72px;
  overflow: hidden;
  cursor: pointer;
  background: var(--slate-900);
  text-decoration: none;
  border-radius: 16px;
  isolation: isolate;
  transition: flex 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  /* 한 타일 내부 변화가 형제 타일로 전파되지 않도록 layout 범위 제한 */
  contain: layout paint style;
  /* GPU 레이어 강제 — 컴포지팅 안정화 */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 기본 featured 카드 (가운데 03번) — 강조 */
.ma-tile-feature { flex: 2.4; }
/* hover 시 해당 타일 확장, 다른 타일은 그대로 */
.menu-accordion:hover .ma-tile { flex: 1; }
.menu-accordion .ma-tile:hover,
.menu-accordion .ma-tile:focus-visible {
  flex: 4;
}

/* lag 최적화: filter 대신 opacity overlay 사용 (GPU 부담 ↓) */
.ma-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* will-change는 hover / featured 일 때만 — idle 시 GPU 메모리 회수 */
.menu-accordion:hover .ma-tile img,
.ma-tile-feature img,
.ma-tile:hover img,
.ma-tile:focus-visible img { will-change: transform; }
.ma-tile:hover img,
.ma-tile-feature img { transform: scale(1.06); }
.menu-accordion:hover .ma-tile-feature img { transform: scale(1); }
.menu-accordion:hover .ma-tile:hover img,
.menu-accordion .ma-tile:focus-visible img { transform: scale(1.06); }

/* 어두운 오버레이(고정 그라데이션) — filter 애니메이션 대체 */
.ma-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.85) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
/* 호버 / featured 시 마스크 옅어짐 → 사진이 밝아 보이는 효과 (GPU 가벼움) */
.ma-tile:hover .ma-mask,
.ma-tile-feature .ma-mask { opacity: 0.55; }
.menu-accordion:hover .ma-tile-feature .ma-mask { opacity: 1; }
.menu-accordion:hover .ma-tile:hover .ma-mask,
.menu-accordion .ma-tile:focus-visible .ma-mask { opacity: 0.55; }
/* edge 바 — width transition은 layout 트리거 → transform: scaleX로 대체 (composite-only) */
.ma-edge {
  position: absolute;
  top: 16px; left: 16px;
  width: 60px;                       /* 최대 크기로 고정 */
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 2;
  transform-origin: left center;
  transform: scaleX(0.533);          /* 기본 = 32/60 비율 */
  transition: transform 0.5s var(--ease);
}
.ma-tile:hover .ma-edge,
.ma-tile-feature .ma-edge { transform: scaleX(1); }
.menu-accordion:hover .ma-tile-feature .ma-edge { transform: scaleX(0.533); }
.menu-accordion .ma-tile:hover .ma-edge { transform: scaleX(1); }

.ma-content {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
  color: #ffffff;
}
.ma-num {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.ma-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}
.ma-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 6px 0 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s 0.06s var(--ease), transform 0.32s 0.06s var(--ease);
  max-height: 0;
  overflow: hidden;
}
.ma-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  /* backdrop-filter 제거 — GPU 부담 가장 큰 효과. 알파 + 보더로 유사한 글래스 룩 */
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s 0.12s var(--ease), transform 0.32s 0.12s var(--ease);
  pointer-events: none;
}
/* Featured 03번은 처음부터 디테일 노출 */
.ma-tile-feature .ma-desc { opacity: 1; transform: none; max-height: 60px; }
.ma-tile-feature .ma-link { opacity: 1; transform: none; pointer-events: auto; }
/* Hover로 열린 타일도 디테일 노출 */
.menu-accordion .ma-tile:hover .ma-desc,
.menu-accordion .ma-tile:focus-visible .ma-desc {
  opacity: 1; transform: translateY(0);
  max-height: 60px;
}
.menu-accordion .ma-tile:hover .ma-link,
.menu-accordion .ma-tile:focus-visible .ma-link {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.menu-accordion:hover .ma-tile-feature .ma-desc { opacity: 0; max-height: 0; transform: translateY(8px); }
.menu-accordion:hover .ma-tile-feature .ma-link { opacity: 0; pointer-events: none; transform: translateY(8px); }

@media (max-width: 768px) {
  .menu-accordion {
    flex-direction: column;
    height: auto;
    gap: 10px;
    border-radius: 16px;
  }
  .ma-tile { flex: none; height: 180px; border-radius: 14px; }
  .menu-accordion:hover .ma-tile { flex: none; }
  .menu-accordion .ma-tile:hover { flex: none; }
  .ma-tile-feature { flex: none; height: 220px; }
  .ma-desc { opacity: 1; transform: none; max-height: 60px; }
  .ma-link { opacity: 1; transform: none; pointer-events: auto; }
}

/* ─── Chapter 06 — Big Photo Moment ─────────────────────── */
.story-photo {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--slate-900);
  padding: 100px 0;
}
.story-photo .sp-bg {
  position: absolute;
  inset: -10% 0 -10% 0;
  z-index: 0;
  will-change: transform;
}
.story-photo .sp-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.7);
}
.story-photo .sp-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.55) 100%);
}
.story-photo .sp-photo-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

/* ─── 반응형 ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .sp-grid { grid-template-columns: 1fr; gap: 48px; }
  .sp-sticky { position: static; }
}
@media (max-width: 640px) {
  .story-trust, .story-process { padding: 72px 0; }
  .story-photo { min-height: 60vh; padding: 80px 0; }
  .story-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .story-stats .st-item { padding: 24px 18px; }
  .story-stats .st-num { font-size: clamp(32px, 8vw, 44px); }
  .sp-step { gap: 16px; padding-bottom: 40px; }
  .sp-step-body { padding: 20px; }
  .sp-num { width: 40px; height: 40px; font-size: 12px; }
  .sp-step-icon { display: none; }
}

/* ─── 실시간 요금 계산기 (Plus-X 스타일) ──────────────────── */
.section-calc {
  padding: 120px 0;
  background: var(--color-bg-soft);
  position: relative;
}
.calc-x-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}
.calc-x-head {
  grid-column: span 12;
  margin-bottom: 16px;
}
.calc-x-form {
  grid-column: span 7;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.calc-x-display {
  grid-column: span 5;
  background: var(--slate-900);
  color: #ffffff;
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.qc-field { display: flex; flex-direction: column; }
.qc-label {
  display: block;
  font-size: 13px; font-weight: 500;
  color: var(--color-fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.qc-label i { color: var(--color-error); font-style: normal; margin-left: 2px; }
.qc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qc-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--slate-50);
  border: 1.6px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-fg);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.qc-input:focus {
  outline: none;
  border-color: var(--slate-900);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.qc-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.qc-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--slate-50);
  border: 1.6px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.qc-opt:hover { border-color: var(--slate-300); }
.qc-opt:has(input:checked) {
  border-color: var(--slate-900);
  background: #ffffff;
}
.qc-opt input { width: 18px; height: 18px; accent-color: var(--slate-900); flex-shrink: 0; }
.qc-opt-body { display: flex; flex-direction: column; gap: 2px; }
.qc-opt-t { font-size: 14px; font-weight: 500; color: var(--color-fg); }
.qc-opt-t small { font-weight: 400; color: var(--color-fg-muted); margin-left: 4px; }
.qc-opt-p { font-size: 12px; font-weight: 500; color: var(--color-fg-soft); }

.qc-display-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.qc-amount {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 4px;
}
.qc-amount-num {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.qc-amount-unit {
  font-size: 24px; font-weight: 500;
  color: var(--slate-400);
}
.qc-breakdown {
  list-style: none;
  margin: 8px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
}
.qc-breakdown li {
  display: flex; justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: var(--slate-400);
  font-weight: 400;
}
.qc-breakdown li strong {
  font-weight: 500;
  color: #ffffff;
}
.qc-breakdown li em {
  font-style: normal; font-size: 12px;
  color: var(--slate-500);
}

/* ─── 메뉴 카드 5장 ─────────────────────────────────────── */
.section-menu {
  padding: 120px 0;
  background: var(--color-bg);
}
.menu-x-head { margin-bottom: 56px; }
.menu-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.menu-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.14);
  border-color: var(--slate-300);
}
.menu-num {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-fg-muted);
}
.menu-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--slate-100);
}
.menu-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-card:hover .menu-thumb img { transform: scale(1.08); }
.menu-info { display: flex; flex-direction: column; gap: 6px; }
.menu-info h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}
.menu-info p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-fg-muted);
}
.menu-go {
  margin-top: 6px;
  font-size: 12px; font-weight: 500;
  color: var(--color-fg);
  transition: transform 0.32s var(--ease);
}
.menu-card:hover .menu-go { transform: translateX(4px); }

/* ─── Scroll Progress Bar ───────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--slate-900);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
  transition: transform 0.05s linear;
}

/* ─── 반응형 ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-x-text { grid-column: span 12; }
  .hero-x-visual { display: none; }
  /* hero-x-title: base clamp(40px,5.8vw,80px) 가 충분히 반응형 */
  .calc-x-form { grid-column: span 12; }
  .calc-x-display { grid-column: span 12; position: static; }
  .menu-cards { grid-template-columns: repeat(3, 1fr); }
  .menu-cards .menu-card:nth-child(n+4) { display: none; }   /* 모바일에서는 3장만 */
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .menu-cards { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  .section-calc, .section-menu { padding: 80px 0; }
  .hero-x-container { padding-top: 32px; padding-bottom: 24px; }
  .hero-x-cta { gap: 16px; }
  .hero-x-phone strong { font-size: 18px; }
  .calc-x-form { padding: 24px; }
  .calc-x-display { padding: 28px; }
  .qc-row, .qc-options { grid-template-columns: 1fr; }
  /* qc-amount-num: base 가 충분 */
  .menu-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-cards .menu-card:nth-child(n+4) { display: flex; }   /* 모바일 1x2 다 보이기 */
}
@media (max-width: 480px) {
  .marquee-strip .m-item, .hero-x-marquee span { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════
   Hero Cinematic (Phase 1 · 풀스크린 · 마우스 패럴랙스 · text-8xl)
   ═══════════════════════════════════════════════════════════════ */
.hero-cine {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--slate-950);
  color: #ffffff;
  isolation: isolate;
}

/* 풀스크린 배경 (마우스 패럴랙스용으로 사방 여유) */
.hero-cine-bg {
  position: absolute;
  top: -6%; left: -6%; right: -6%; bottom: -6%;
  z-index: 0;
  will-change: transform;
}
.hero-cine-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenBurnsCine 24s ease-in-out infinite alternate;
  /* GPU 레이어 분리 + 페인트 격리 */
  transform: translateZ(0);
}
@keyframes kenBurnsCine {
  /* scale 범위 축소: 페인트 영역 ↓ */
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1%, -0.8%, 0); }
}

/* 단일 그라데이션 오버레이 (radial+linear 2-layer → 1-layer, paint cost ↓) */
.hero-cine-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(2, 6, 23, 0.55) 0%,
      rgba(15, 23, 42, 0.40) 35%,
      rgba(15, 23, 42, 0.55) 65%,
      rgba(2, 6, 23, 0.85) 100%);
  pointer-events: none;
}
/* 노이즈 텍스처는 SVG turbulence + mix-blend-mode overlay가 무거워서 제거
   (시각 차이 미미, 페인트 비용은 큼) */
.hero-cine-noise { display: none; }

/* 콘텐츠 컨테이너 — 좌측 정렬 + 풍부한 여백 */
.hero-cine-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: calc(var(--header-h) + 80px) var(--space-5) 240px;
  max-width: 1280px;
  margin: 0 auto;
}

/* 중앙 정렬 변형 (TURBOZ-style 레퍼런스 적용) */
.hero-cine-centered {
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 64px) var(--space-5) 96px;
  min-height: 100vh;
}
.hero-cine-centered .hero-cine-tag { margin-bottom: 28px; }
.hero-cine-centered .hero-cine-title { margin-bottom: 22px; max-width: 1100px; }
.hero-cine-centered .hero-cine-sub {
  margin: 0 auto 36px;
  max-width: 640px;
}
.hero-cine-centered .hero-cine-points {
  justify-content: center;
  margin-top: 24px;
}
.hero-cine-centered .hero-cine-points a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
}

/* ─── 인라인 퀵 필터 바 (glass-morphism) ──────────────────── */
/* ── 히어로 예약 바 ── */
.hcf-bar {
  display: inline-flex; align-items: stretch; gap: 0;
  width: 100%; max-width: 700px; padding: 5px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 20px 48px -8px rgba(0,0,0,0.38), inset 0 1px 0 0 rgba(255,255,255,0.06);
}
.hcf-field {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  gap: 2px; padding: 9px 16px; text-align: left;
  border-right: 1px solid rgba(255,255,255,0.10);
  min-width: 0;
}
.hcf-field:last-of-type { border-right: 0; }
.hcf-label {
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.48); letter-spacing: 0.04em;
}
.hcf-select, .hcf-date {
  width: 100%; background: transparent; border: 0; color: #fff;
  font-size: 13px; font-weight: 600; outline: none; font-family: inherit;
  cursor: pointer; padding: 0;
}
.hcf-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.hcf-select option { background: #fff; color: #111; }
.hcf-terminal { display: flex; gap: 4px; }
.hcf-t-btn {
  padding: 4px 12px; border-radius: 6px; border: 0;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.18s;
}
.hcf-t-btn:hover { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.8); }
.hcf-t-btn.is-active {
  background: rgba(255,255,255,0.18); color: #fff;
}
.hcf-date { color-scheme: dark; }
.hcf-date::-webkit-calendar-picker-indicator { filter: invert(1) opacity(0.6); cursor: pointer; }

/* CTA */
.hcf-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #ffffff; color: var(--slate-900); border: 0; border-radius: 10px;
  padding: 0 28px; font-size: 14.5px; font-weight: 700; font-family: inherit;
  cursor: pointer; white-space: nowrap; min-height: 50px;
  transition: background-color 0.3s cubic-bezier(0.22,1,0.36,1), transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.hcf-cta:hover { background: var(--slate-100); transform: scale(1.02); }
.hcf-cta:active { transform: scale(0.98); }
.hcf-cta svg { transition: transform 0.3s var(--ease); }
.hcf-cta:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .hero-cine-centered { padding-bottom: 80px; }
  .hcf-bar {
    flex-direction: column; border-radius: 12px; padding: 6px;
  }
  .hcf-field {
    border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 9px 14px; width: 100%;
  }
  .hcf-field:last-of-type { border-bottom: 0; }
  .hcf-cta {
    width: 100%; padding: 12px; margin-top: 4px; border-radius: 10px;
    font-size: 13px; min-height: auto;
  }
}

/* ─── hcf-wrap (bar + calendar positioning anchor) ──── */
.hcf-wrap {
  position: relative; display: inline-flex; flex-direction: column;
  align-items: center; width: 100%; max-width: 700px;
}

/* ─── Date Trigger (hcf-bar 날짜 필드) ──────────────── */
.hcf-date-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; color: #fff;
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; padding: 2px 0; white-space: nowrap;
  transition: opacity 0.2s;
}
.hcf-date-trigger:hover { opacity: 0.85; }
.hcf-date-icon { opacity: 0.45; flex-shrink: 0; }
.hcf-field--date.is-active .hcf-date-trigger { opacity: 1; }
.hcf-field--date.is-active { box-shadow: inset 0 -2px 0 0 var(--color-primary-light); }

/* ─── Daon Calendar (dcal) — 2-month range picker ──── */
.dcal {
  position: fixed; z-index: 9999;
  width: 640px; max-width: calc(100vw - 32px);
  padding: 24px 24px 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 24px 64px -12px rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.22,1,0.36,1), transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.dcal--open {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

/* header */
.dcal__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.dcal__nav {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 0; color: rgba(255,255,255,0.6);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.dcal__nav:hover { background: rgba(255,255,255,0.12); color: #fff; }
.dcal__nav:disabled { opacity: 0.25; pointer-events: none; }
.dcal__titles {
  display: flex; gap: 48px; font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em;
}
.dcal__close {
  position: absolute; top: 16px; right: 16px;
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 0; color: rgba(255,255,255,0.6);
  cursor: pointer; transition: background 0.2s;
}
.dcal__close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* status */
.dcal__status {
  text-align: center; font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.45); padding: 6px 0 12px;
}
.dcal__status-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary-light); margin-right: 6px; vertical-align: middle;
}

/* months grid */
.dcal__months {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.dcal__month-title {
  text-align: center; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
  padding-bottom: 10px;
}
.dcal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
}

/* day of week */
.dcal__dow {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.35);
  padding: 6px 0 8px; user-select: none;
}
.dcal__dow--sun { color: rgba(239, 68, 68, 0.6); }
.dcal__dow--sat { color: rgba(96, 165, 250, 0.55); }

/* empty cell */
.dcal__empty { display: block; }

/* day cell */
.dcal__day {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8);
  background: transparent; border: 0; cursor: pointer;
  transition: background 0.15s; position: relative;
  font-family: inherit;
}
.dcal__day:hover:not(.dcal__day--disabled) { background: rgba(255,255,255,0.08); }
.dcal__day--sun { color: rgba(239, 68, 68, 0.75); }
.dcal__day--sat { color: rgba(96, 165, 250, 0.7); }
.dcal__day--holiday { color: rgba(239, 68, 68, 0.8); }

/* today */
.dcal__day--today {
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
}

/* disabled / past */
.dcal__day--disabled {
  color: rgba(255,255,255,0.15) !important;
  pointer-events: none; cursor: default;
}

/* start date */
.dcal__day--start {
  background: var(--color-primary) !important;
  color: #fff !important; font-weight: 700;
  border-radius: 10px 0 0 10px; z-index: 1;
}
.dcal__day--start.dcal__day--solo { border-radius: 10px; }

/* end date */
.dcal__day--end {
  background: var(--color-primary) !important;
  color: #fff !important; font-weight: 700;
  border-radius: 0 10px 10px 0; z-index: 1;
}

/* range between */
.dcal__day--range {
  background: rgba(30, 91, 168, 0.22); color: rgba(255,255,255,0.9);
  border-radius: 0;
}
.dcal__day--range.dcal__day--row-start { border-radius: 10px 0 0 10px; }
.dcal__day--range.dcal__day--row-end   { border-radius: 0 10px 10px 0; }
.dcal__day--start.dcal__day--row-end   { border-radius: 10px; }
.dcal__day--end.dcal__day--row-start   { border-radius: 10px; }

/* body scroll lock */
body.dcal-locked { overflow: hidden; }

/* ─── Mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .dcal {
    inset: 0; width: 100%; max-width: 100%; border-radius: 0;
    transform: translateY(100%);
    display: flex; flex-direction: column;
    padding: 20px 16px;
  }
  .dcal--open { transform: translateY(0); }
  .dcal__months { grid-template-columns: 1fr; gap: 24px; overflow-y: auto; flex: 1; }
  .dcal__close { display: flex; }
  .dcal__day { font-size: 14px; }
  .dcal__titles { gap: 24px; font-size: 14px; }
}

/* TAG — 가벼운 반투명 (backdrop-filter 제거, 페인트 비용 ↓) */
.hero-cine-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.hero-cine-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.hero-cine-tag .dot::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: dotPulseCine 2.4s ease-in-out infinite;
}
@keyframes dotPulseCine {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(2.2); opacity: 0; }
}

/* MAIN TITLE — 균형 잡힌 위계 (32~58px, 이전 40~72px) */
.hero-cine-title {
  font-size: clamp(22px, 2.8vw, 37px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.028em;
  color: #ffffff;
  margin: 0 0 26px;
  max-width: 880px;
  word-break: keep-all;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
}
.hero-cine-title .italic {
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

/* SUB — font-semibold (600) · slate-200 톤 */
.hero-cine-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 40px;
  max-width: 540px;
  letter-spacing: -0.005em;
}

/* CTA — px-12 py-6 text-xl 스케일 */
.hero-cine-cta {
  display: flex; align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-cine {
  display: inline-block;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn-cine-inner {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px;
  background: #ffffff;
  color: var(--slate-900);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.28);
  transition:
    background-color 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  white-space: nowrap;
}
.btn-cine:hover .btn-cine-inner {
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: 0 24px 56px -8px rgba(0, 0, 0, 0.48);
}
.btn-cine:active { transform: scale(0.98); }
.btn-cine:focus-visible { outline: 3px solid #ffffff; outline-offset: 4px; border-radius: 999px; }
.btn-cine-inner svg { transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-cine:hover .btn-cine-inner svg { transform: translateX(4px); }

.hero-cine-phone {
  display: inline-flex; flex-direction: column;
  gap: 4px;
  color: #ffffff;
  text-decoration: none;
}
.hero-cine-phone .lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero-cine-phone strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero-cine-phone:hover strong { color: rgba(255, 255, 255, 0.84); }

/* 신뢰 포인트 라인 */
.hero-cine-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.005em;
}
.hero-cine-points li { padding: 0; }

/* 스크롤 버튼 — 마우스 휠 인디케이터 */
.hero-cine-scroll-btn {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; flex-direction: column;
  align-items: center; gap: 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  transition: color 0.3s var(--ease), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cine-scroll-btn:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(3px);
}
/* data-fade와 충돌 방지 — translateX(-50%)를 항상 유지하면서 fade-up 적용 */
.hero-cine-scroll-btn[data-fade="up"] {
  transform: translateX(-50%) translateY(28px);
}
.hero-cine-scroll-btn[data-fade="up"].in {
  transform: translateX(-50%) translateY(0);
}
.hero-cine-scroll-btn[data-fade="up"].in:hover {
  transform: translateX(-50%) translateY(3px);
}
.hero-cine-scroll-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 8px;
  border-radius: 14px;
}

/* 마우스 모양 컨테이너 */
.hcsb-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.3s var(--ease);
}
.hero-cine-scroll-btn:hover .hcsb-mouse { border-color: #ffffff; }

/* 내부 점이 위→아래로 떨어지는 애니메이션 */
.hcsb-dot {
  position: absolute;
  top: 7px; left: 50%;
  width: 2.5px; height: 7px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollMouseDot 1.9s cubic-bezier(0.55, 0, 0.55, 1) infinite;
}
@keyframes scrollMouseDot {
  0%   { transform: translateX(-50%) translateY(0);    opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateX(-50%) translateY(13px); opacity: 0; }
}

.hcsb-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .hcsb-dot { animation: none; opacity: 0.85; }
}
@media (max-width: 768px) {
  .hero-cine-scroll-btn { display: none; }
}

/* Floating stat (좌하단) */
.hero-cine-stat {
  position: absolute;
  bottom: 32px; left: var(--space-5);
  z-index: 4;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #ffffff;
}
.hero-cine-stat .num {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-cine-stat .num small {
  font-size: 0.55em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}
.hero-cine-stat .lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Location pin (위치 정보) */
.hero-cine-loc {
  position: absolute;
  bottom: 56px; right: 84px;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.hero-cine-loc .hcl-pin { font-size: 14px; }

/* 반응형 */
@media (max-width: 1024px) {
  .hero-cine-content { padding-bottom: 200px; }
  .hero-cine-loc { display: none; }
}
@media (max-width: 768px) {
  .hero-cine-content { padding: calc(var(--header-h) + 56px) var(--space-4) 180px; }
  .hero-cine-tag { font-size: 11px; padding: 8px 14px; margin-bottom: 28px; }
  .hero-cine-title { margin-bottom: 24px; letter-spacing: -0.035em; }
  .hero-cine-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-cine-cta { gap: 20px; }
  .btn-cine-inner { padding: 18px 32px; font-size: 17px; }
  .hero-cine-phone strong { font-size: 18px; }
  .hero-cine-points { font-size: 12px; gap: 10px; }
  .hero-cine-stat { left: var(--space-4); right: var(--space-4); bottom: 16px; }
  .hero-cine-stat .num { font-size: 28px; }
  .hero-cine-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cine-bg img { animation: none !important; }
  .hero-cine-tag .dot::after { animation: none !important; }
  .hero-cine-scroll .hcs-line::after { animation: none !important; }
}

/* ─── Hero (라이트 미니멀 슬레이트) ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex; align-items: center;
  background: var(--color-bg-soft);
  color: var(--color-fg);
  overflow: hidden;
}
.hero-bg, .hero-overlay { display: none; }

/* 12-col rigid grid 컨테이너 (콘텐츠는 col-span-8 / mx-auto) */
.hero-minimal { min-height: 100vh; }
.hero-center {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;                       /* gap-6 */
  padding: var(--space-9) var(--space-5);
  min-height: 100vh;
  align-content: center;
}
.hero-content {
  grid-column: 3 / span 8;         /* 12-col 중 8칸, 좌우 2칸 여백 */
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

/* 미니멀 원칙: 헤드라인 + 서브카피 + CTA "만" */
.hero-eyebrow { display: none !important; }
.hero-scroll  { display: none !important; }

.hero-title {
  font-size: clamp(48px, 7.6vw, 96px);
  font-weight: 700;                /* font-bold (strict 3-tier) */
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--color-fg);          /* text-slate-900 */
  margin: 0;
  max-width: 880px;
}
.hero-title em {
  font-style: italic;
  font-weight: 700;                /* 동일 weight 유지 */
  color: var(--color-fg-soft);     /* text-slate-600 → 단일 톤 콘트라스트 */
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;                /* font-normal */
  line-height: 1.65;
  color: var(--color-fg-muted);    /* text-slate-400 (본문) */
  margin: 0;
  max-width: 540px;
}
.hero-actions {
  margin-top: 12px;
  display: flex; justify-content: center;
}

/* Flat slate CTA: 최소 44px 터치 타겟, 단일 톤 */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px;                /* >= 44px (touch target) */
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--slate-900);
  color: #ffffff;
  font-weight: 500;                /* font-medium */
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid var(--slate-900);
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-cta:hover {
  background: var(--slate-800);
  border-color: var(--slate-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible {
  outline: 3px solid var(--slate-300);
  outline-offset: 3px;
}
.btn-cta svg { transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-cta:hover svg { transform: translateX(3px); }

/* ─── Fade-up entrance animation (Phase 1) ──────────────────── */
[data-fade="up"] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-fade="up"]:not(.in) { will-change: opacity, transform; }
[data-fade="up"].in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-fade="up"], .hero-bg img, .hero-scroll span, .hero-eyebrow .dot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-content { gap: var(--space-4); }
  .hero-scroll { bottom: 24px; }
  .btn-cta { padding: 16px 28px 16px 32px; font-size: 15px; }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  padding: var(--space-7) 0;
  align-items: center;
}
.hero-text .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  border-radius: var(--radius-pill);
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.hero-text h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.hero-text h1 .highlight {
  background: linear-gradient(120deg, var(--color-accent) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text .lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-5);
  max-width: 540px;
}
.hero-stats {
  display: flex; gap: var(--space-6);
  margin: var(--space-5) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.hero-stat .num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  display: block;
}
.hero-stat .label {
  font-size: 13px; color: rgba(255,255,255,0.75);
}
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ─── Calculator card ────────────────────────────────────────── */
.calc-card {
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.calc-card h2 {
  font-size: 22px; font-weight: 800; margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}
.calc-card .sub {
  color: var(--color-text-soft); font-size: 14px; margin-bottom: var(--space-5);
}
.field { margin-bottom: var(--space-4); }
.field-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--color-text); margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}
.field-label .req { color: var(--color-error); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: all var(--t-fast) var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 138, 0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-2); }

/* 터미널 토글 카드 */
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.toggle-card {
  position: relative;
  padding: var(--space-3);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  background: var(--color-bg-soft);
  text-align: center;
}
.toggle-card input { position: absolute; opacity: 0; }
.toggle-card .t-title { font-weight: 700; font-size: 14px; }
.toggle-card .t-desc { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.toggle-card:has(input:checked),
.toggle-card.active {
  border-color: var(--slate-900);
  background: var(--slate-50);
}
.toggle-card:has(input:checked) .t-title { color: var(--slate-900); font-weight: 700; }

/* 옵션 체크박스 */
.option-row {
  display: flex; gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  align-items: flex-start;
}
.option-row:hover { border-color: var(--color-primary-light); }
.option-row:has(input:checked) {
  border-color: var(--slate-900);
  background: var(--slate-50);
}
.option-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--slate-900);
  margin-top: 2px; flex-shrink: 0;
}
.option-row .o-title { font-weight: 500; font-size: 14px; color: var(--color-fg); }
.option-row .o-desc { font-size: 12px; color: var(--color-fg-muted); font-weight: 400; }
.option-row .o-price {
  margin-left: auto;
  align-self: center;
  font-weight: 500; color: var(--color-fg); font-size: 14px;
}

/* 결과 박스 */
.result-box {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, #fff 100%);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 14px;
}
.result-row .key { color: var(--color-text-soft); }
.result-row .val { font-weight: 600; color: var(--color-text); }
.result-row.total {
  margin-top: var(--space-2); padding-top: var(--space-3);
  border-top: 2px dashed var(--color-border-strong);
  font-size: 18px;
}
.result-row.total .key { color: var(--color-text); font-weight: 700; }
.result-row.total .val {
  font-size: 26px; font-weight: 800; color: var(--color-primary);
  letter-spacing: -0.02em;
}
.muted { color: var(--color-text-muted); }
.alert-info {
  margin-top: var(--space-3);
  padding: 10px 14px;
  background: rgba(15, 76, 138, 0.06);
  color: var(--color-primary);
  font-size: 13px;
  border-radius: var(--radius-sm);
  line-height: 1.55;
}
.alert-warn {
  margin-top: var(--space-3);
  padding: 10px 14px;
  background: rgba(220, 38, 38, 0.06);
  color: var(--color-error);
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ─── Bento Grid · 컴팩트 + 유니크 ─────────────────────────── */
.bento-section {
  padding: 96px 0;
  background: var(--color-bg);
  position: relative;
}
.bento-section .container { max-width: 1100px; }
.bento-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  text-align: left;
  flex-wrap: wrap;
}
.bento-head > * { margin: 0; }
.bento-head .bento-eyebrow { margin-bottom: 8px; }
.bento-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--slate-100);
  color: var(--color-fg-soft);
  border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.bento-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;                /* font-bold */
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-fg);          /* text-slate-900 */
  margin-bottom: 12px;
}
.bento-title em, .bento-title .italic { font-style: normal; }
.bento-sub {
  color: var(--color-fg-muted);    /* text-slate-400 (본문) */
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 400;                /* font-normal */
  line-height: 1.65;
}

/* ─── Bento Grid · Rigid 12-col + 컴팩트 ─────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
  align-items: stretch;
}

/* 12-col 유틸리티 (Tailwind 등가) */
.col-span-4  { grid-column: span 4; }
.col-span-6  { grid-column: span 6; }
.col-span-8  { grid-column: span 8; }
.col-span-12 { grid-column: span 12; }
.row-span-2  { grid-row: span 2; }

/* 공통 Bento Card */
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 22px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.bento-card:hover { will-change: transform, box-shadow; }
/* ── hover: scale-[1.02] + shadow-lg ── */
.bento-card:hover {
  transform: scale(1.02);
  box-shadow:
    0 10px 15px -3px rgba(15, 23, 42, 0.10),
    0 4px 6px -4px rgba(15, 23, 42, 0.10);    /* tailwind shadow-lg */
  border-color: var(--slate-300);
  z-index: 2;
}

/* ─── Why Daon 비대칭 레이아웃 ────────────────────────────── */
.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.why-aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
  display: flex; flex-direction: column;
}
.why-aside .bento-eyebrow { margin-bottom: 16px; }
.why-aside .bento-title { margin-bottom: 10px; }
.why-aside .bento-sub { margin-bottom: 28px; }

/* sticky 사이드 stat */
.why-stat {
  background: var(--slate-900);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.why-stat::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  border-radius: 50%;
}
.why-stat .ws-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.why-stat .ws-num {
  display: flex; align-items: baseline; gap: 2px;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.why-stat .ws-num small {
  font-size: 0.4em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.why-stat .ws-lbl {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}
.why-stat .ws-bar {
  margin-top: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  overflow: hidden;
}
.why-stat .ws-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.45));
  width: 0;
  animation: wsBarGrow 2.4s 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes wsBarGrow {
  to { width: 92%; }
}
.why-stat .ws-side {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}
.why-stat .ws-side strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ─── 비대칭 카드 stack (거대 숫자 BG + 라인 인터랙션) ────── */
.why-cards {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 14px;
  perspective: 1200px;             /* 3D 틸트 효과 — 자식 카드의 깊이감 */
}
.why-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  /* 명시적 grid: 아이콘 | 텍스트(1fr) | 큰 번호 — 빈 공간 없는 균형 */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
  min-height: 180px;
  cursor: default;
  isolation: isolate;
}
/* 3D 틸트 — JS가 --rx, --ry 업데이트, mouseleave 시 0으로 복귀
   [data-bento] reveal transform과 결합 (translateY = --ty, 기본 24px → in 시 0) */
.why-card[data-bento] {
  --rx: 0deg;
  --ry: 0deg;
  --ty: 24px;
  transform: perspective(900px) translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-card[data-bento].in { --ty: 0px; }
/* mousemove 중에는 빠르게 따라옴 (snappy) */
.why-card[data-bento].tilt {
  transition: transform 0.12s linear,
              border-color 0.5s var(--ease),
              box-shadow 0.4s var(--ease);
}
.why-card:nth-child(even) { margin-left: 0; }   /* zigzag 제거 */

/* 마우스 추적 조명 (radial gradient) — JS가 --mx, --my 업데이트 */
.why-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(15, 76, 138, 0.10),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  z-index: 1;
}
.why-card.tilt::after { opacity: 1; }
/* 카드 콘텐츠는 조명 위에 */
.wc-icon, .wc-body, .wc-bignum { position: relative; z-index: 2; }
/* 큰 번호 — grid 우측 셀 (시각 무게 우측 anchor) */
.wc-bignum {
  position: static;
  font-size: clamp(80px, 9vw, 124px);
  font-weight: 800;
  -webkit-text-stroke: 2px var(--slate-300);
  text-stroke: 2px var(--slate-300);
  color: transparent;
  line-height: 0.85;
  letter-spacing: -0.045em;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-base);
  font-variant-numeric: tabular-nums;
  align-self: center;
  transition: -webkit-text-stroke 0.4s var(--ease),
              color 0.4s var(--ease),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-card:hover .wc-bignum {
  -webkit-text-stroke: 1.5px var(--slate-900);
  color: var(--slate-50);
  transform: scale(1.04);
}

.wc-body {
  position: static;
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 0;            /* grid 자식 텍스트 줄임 허용 */
}
.wc-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: var(--slate-100);
  color: var(--color-fg-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wc-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-fg);
}
.wc-body p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-fg-muted);
  margin: 0;
}
/* 아이콘 — grid 좌측 셀 (균형 anchor) */
.wc-icon {
  position: static;
  width: 56px; height: 56px;
  background: var(--slate-50);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-fg-soft);
  flex-shrink: 0;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.wc-icon svg { width: 24px; height: 24px; }
.why-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.18),
              0 6px 16px -8px rgba(15, 23, 42, 0.08);
}
.why-card:hover .wc-icon {
  background: var(--slate-900);
  color: #ffffff;
  transform: rotate(-10deg);
}
.why-card:hover .wc-bignum {
  -webkit-text-stroke: 2px var(--color-primary);
  text-stroke: 2px var(--color-primary);
  color: rgba(15, 76, 138, 0.05);
}

/* Extras 행 — 시설 + FAQ */
.bento-extras {
  grid-auto-rows: minmax(280px, auto);
}

@media (max-width: 1024px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why-aside { position: static; }
  .why-card { padding: 24px 28px; min-height: 160px; gap: 22px; }
  .wc-bignum { font-size: clamp(72px, 12vw, 104px); }
  .wc-icon { width: 52px; height: 52px; }
  .wc-icon svg { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  .why-card { padding: 20px 22px; min-height: 130px; gap: 16px; }
  .wc-bignum { font-size: 56px; -webkit-text-stroke: 1.5px var(--slate-300); }
  .wc-icon { width: 40px; height: 40px; border-radius: 10px; }
  .wc-icon svg { width: 20px; height: 20px; }
  .wc-body { gap: 4px; }
  .wc-body h3 { font-size: 16px; }
  .wc-body p { font-size: 13px; line-height: 1.55; }
}

/* ① 주요 성과 지표 카드 (Dark Slate Surface) — col-span-8 row-span-2 */
.b-stat {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
  padding: 32px;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
/* 인터랙티브: 호버 시 백그라운드 그라데이션 반응 */
.b-stat::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.b-stat:hover::before { opacity: 1; }
.b-stat:hover {
  border-color: var(--slate-900);
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.35),
    0 8px 10px -6px rgba(15, 23, 42, 0.20);
}
.b-eyebrow {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.b-stat-num {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 8px;
}
.b-stat-num .num {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.b-stat-num .num small {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--slate-400);
}
.b-stat-num .unit {
  font-style: normal;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;                   /* font-medium */
  color: var(--slate-400);
}
.b-stat-title {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #ffffff;
}
.b-stat-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--slate-400);
  max-width: 440px;
}
.b-stat-link {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  min-height: 44px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.b-stat-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}
.b-stat-link svg { transition: transform 0.3s var(--ease); }
.b-stat-link:hover svg { transform: translateX(3px); }

/* ② ~ ⑥ 보조 카드 — col-span-4 */
.b-feat {
  background: var(--color-bg);
  justify-content: flex-start;
  gap: 14px;
}
.b-feat .b-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--slate-900);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.32s var(--ease), transform 0.4s var(--ease);
}
/* 인터랙티브: 호버 시 아이콘 회전 + 슬레이트 반전 */
.b-feat:hover .b-icon {
  background: var(--slate-900);
  color: #ffffff;
  transform: rotate(-12deg) scale(1.06);
}
.b-feat h3 {
  position: relative;
  display: inline-block;
}
/* 인터랙티브: 호버 시 제목 밑에 라인 그려짐 */
.b-feat h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1.5px;
  width: 0;
  background: var(--slate-900);
  transition: width 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.b-feat:hover h3::after { width: 100%; }
.b-feat h3 {
  font-size: 18px;
  font-weight: 700;                   /* font-bold */
  letter-spacing: -0.02em;
  color: var(--color-fg);             /* text-slate-900 */
  margin: 0;
}
.b-feat p {
  font-size: 14px;
  font-weight: 400;                   /* font-normal */
  line-height: 1.65;
  color: var(--color-fg-muted);       /* text-slate-400 (본문) */
  margin: 0;
}

/* ─── Bento Gallery 카드 ─────────────────────────────────── */
/* ─── Bento FACILITY 카드 (Editorial Hero + Strip) ─────────── */
.b-gallery {
  background: var(--color-bg);
  padding: 0;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
  overflow: hidden;
  min-height: 360px;
}
.b-gallery-hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  display: block;
}
.b-gallery-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.b-gallery-hero:hover img { transform: scale(1.04); }
.b-gallery-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}
.b-gallery-overlay {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 12px;
  color: #ffffff;
}
.b-gallery-overlay .b-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.b-gallery-overlay h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: var(--w-title);
  letter-spacing: var(--track-title);
  line-height: 1.25;
  color: #ffffff;
  max-width: 380px;
}
.b-gallery-overlay .b-gallery-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.b-gallery-overlay .b-gallery-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.b-gallery-overlay .b-gallery-cta {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--slate-900);
  border-radius: 999px;
  font-size: var(--type-body);
  font-weight: var(--w-meta);
  letter-spacing: -0.005em;
  transition: gap 0.3s var(--ease), background 0.3s var(--ease);
}
.b-gallery-hero:hover .b-gallery-cta { gap: 12px; }
.b-gallery-stack {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0;
}
.b-gallery-stack-cell {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  border-left: 1px solid var(--color-border);
}
.b-gallery-stack-cell + .b-gallery-stack-cell { border-top: 1px solid var(--color-border); }
.b-gallery-stack-cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.b-gallery-stack-cell:hover img { transform: scale(1.08); }
.b-gallery-stack-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.b-gallery-stack-cell:hover::after { opacity: 1; }

/* Meta — 공용 태그 (다른 카드용) */
.b-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--slate-100);
  color: var(--color-fg-soft);
  border-radius: 999px;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
}
.b-more {
  white-space: nowrap;
  color: var(--color-fg);
  font-weight: var(--w-meta);
  font-size: var(--type-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}
.b-more:hover { color: var(--color-fg); opacity: 0.7; }

/* ─── Bento FAQ Teaser 카드 (Featured + Numbered List) ─────── */
.b-faq {
  background: var(--color-bg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 360px;
}
.b-faq-head {
  display: flex; justify-content: space-between; align-items: center;
}
.b-faq-feature {
  display: block;
  padding: 22px 22px 20px;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  border-radius: 14px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.b-faq-feature::before {
  content: '"';
  position: absolute;
  top: -22px; right: 14px;
  font-size: 110px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
}
.b-faq-feature:hover { transform: translateY(-2px); color: #ffffff; }
.b-faq-feature .q-mark {
  display: inline-block;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.b-faq-feature h3 {
  font-size: var(--type-h4);
  font-weight: var(--w-title);
  letter-spacing: var(--track-h4);
  line-height: 1.45;
  color: #ffffff;
  margin-bottom: 14px;
}
.b-faq-feature .feature-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.b-faq-feature:hover .feature-more { gap: 10px; color: #ffffff; }

.b-faq-list {
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 2px;
}
.b-faq-list li { border: 0; }
.b-faq-list a {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  color: var(--color-fg-soft);
  font-size: var(--type-body);
  font-weight: var(--w-body);
  letter-spacing: -0.005em;
  line-height: 1.5;
  border-radius: 8px;
  transition: padding 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.b-faq-list a:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: var(--slate-50);
  color: var(--color-fg);
}
.b-faq-list .n {
  font-family: 'Courier New', monospace;
  font-size: var(--type-meta);
  font-weight: var(--w-meta);
  letter-spacing: var(--track-meta);
  color: var(--color-primary);
}
.b-faq-list .t { font-weight: var(--w-meta); }
.b-faq-list a::after {
  content: '→';
  color: var(--color-fg-muted);
  font-size: 14px;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.b-faq-list a:hover::after { color: var(--color-fg); transform: translateX(3px); }

@media (max-width: 768px) {
  .b-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 220px auto;
    min-height: auto;
  }
  .b-gallery-stack {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    height: 110px;
  }
  .b-gallery-stack-cell { border-left: 0; border-right: 1px solid var(--color-border); }
  .b-gallery-stack-cell:last-child { border-right: 0; }
  .b-gallery-stack-cell + .b-gallery-stack-cell { border-top: 0; }
  .b-gallery-overlay { left: 20px; right: 20px; bottom: 20px; }
  .b-gallery-overlay h3 { font-size: 19px; }
  .b-faq { padding: 24px 22px; min-height: auto; }
  .b-faq-feature { padding: 20px; }
  .b-faq-feature h3 { font-size: 16px; }
  .b-faq-list a { font-size: var(--type-body); }
}

/* ─── Bento Stagger reveal (IntersectionObserver) ──────────── */
[data-bento] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* will-change는 reveal 진행 중에만 (한 번 보이고 나면 해제) */
[data-bento]:not(.in) { will-change: opacity, transform; }
[data-bento].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-bento] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bento-card { transition: none !important; }
  .bento-card:hover { transform: none !important; box-shadow: none !important; }
}

/* ─── 반응형 (12-col → 점진적 단순화) ────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
  }
  .col-span-8 { grid-column: span 6; }
  .col-span-4 { grid-column: span 3; }
  .row-span-2 { grid-row: auto; }
  .b-stat { min-height: 320px; }
}
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .col-span-8, .col-span-4, .col-span-6 { grid-column: 1 / -1; }
  .b-stat { padding: 28px 24px; }
  .bento-card { padding: 24px; }
  /* b-stat-num .num: base clamp(44px,5.6vw,76px) 충분 */
  .bento-card:hover { transform: none; }
}

/* ─── 주차 시설 (Phase 3) · 수직 스택 + aspect-video ────────── */
.section-facility {
  padding: 96px 0;
  background: var(--color-bg-soft);   /* bg-slate-50 */
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 데스크탑 2-col */
  gap: 24px;                                /* gap-6 */
  align-items: stretch;                     /* items-stretch */
}
.facility-card {
  display: flex; flex-direction: column;
  gap: 14px;
}
.facility-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;                     /* aspect-video */
  border-radius: 16px;
  overflow: hidden;
  background: var(--slate-100);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.facility-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;                        /* object-cover (통일) */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.facility-card:hover .facility-thumb {
  border-color: var(--slate-300);
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.10), 0 4px 6px -4px rgba(15, 23, 42, 0.10);
}
.facility-card:hover .facility-thumb img {
  transform: scale(1.04);
}
.facility-cap {
  font-size: 14px;
  font-weight: 500;                         /* font-medium */
  color: var(--color-fg-soft);              /* text-slate-600 */
  letter-spacing: -0.01em;
  margin: 0;
}

/* ─── FAQ (Phase 3) · max-w-3xl 중앙 Accordion ──────────────── */
.section-faq {
  padding: 96px 0;
  background: var(--color-bg);              /* white */
  border-top: 1px solid var(--color-border);
}
.faq-accordion {
  max-width: 768px;                         /* max-w-3xl */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion .faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-accordion .faq-item:hover {
  border-color: var(--slate-300);
}
.faq-accordion .faq-item.open {
  border-color: var(--slate-900);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.faq-accordion .faq-q {
  width: 100%;
  min-height: 60px;                          /* 터치 타겟 ≥ 44px */
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: var(--type-body-l);             /* 16 */
  font-weight: var(--w-meta);                /* 600 */
  color: var(--color-fg);
  letter-spacing: var(--track-h4);           /* -0.01em */
  line-height: var(--lh-h4);
  transition: background-color 0.2s var(--ease);
}
.faq-accordion .faq-q:hover { background: var(--slate-50); }
.faq-accordion .faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--slate-100);
  color: var(--color-fg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-accordion .faq-q::after {
  content: '';
  width: 14px; height: 14px;
  margin-left: auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s var(--ease);
}
.faq-accordion .faq-item.open .faq-q::before {
  background: var(--slate-900);
  color: #ffffff;
}
.faq-accordion .faq-item.open .faq-q::after {
  transform: rotate(180deg);
}
/* grid-template-rows 트릭 — 실제 컨텐츠 높이에 정확히 맞춰 부드럽게 */
.faq-accordion .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
}
.faq-accordion .faq-a > .faq-a-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, padding 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
  padding: 0 22px 0 64px;                   /* 닫힘 시 padding 0 */
  font-size: var(--type-body);
  font-weight: var(--w-body);
  line-height: var(--lh-body-l);
  color: var(--color-fg-muted);
}
.faq-accordion .faq-a-inner::before { content: none; }
.faq-accordion .faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-accordion .faq-item.open .faq-a > .faq-a-inner {
  opacity: 1;
  padding: 0 22px 22px 64px;                /* 열림 시 원래 padding */
}

/* ─── 섹션 푸터 (전체 보기 링크) ───────────────────────────── */
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  background: transparent;
  color: var(--color-fg);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow:hover {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
}
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .section-facility, .section-faq { padding: 72px 0; }
  .facility-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-accordion .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-accordion .faq-a-inner { padding: 0 16px 16px 56px; font-size: 13px; }
}

/* ─── Trust badges ────────────────────────────────────────── */
.trust-strip {
  background: var(--color-bg-soft);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.trust-item {
  display: flex; align-items: center; gap: var(--space-3);
}
.trust-icon {
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.trust-text .t { font-weight: 700; font-size: 15px; }
.trust-text .s { font-size: 13px; color: var(--color-text-soft); }

/* ─── Service cards ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  transition: all var(--t-base) var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.service-card .img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.service-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-card .body {
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);
  flex: 1;
}
.service-card .body h3 {
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em;
}
.service-card .body p {
  color: var(--color-text-soft); font-size: 14px; line-height: 1.6;
  flex: 1;
}
.service-card .link {
  margin-top: var(--space-2);
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--color-primary); font-weight: 700; font-size: 14px;
}
.service-card .link::after {
  content: '→'; transition: transform var(--t-fast) var(--ease);
}
.service-card:hover .link::after { transform: translateX(4px); }

/* ─── Pricing table ────────────────────────────────────── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.pricing-table tbody tr:hover { background: var(--color-bg-soft); }
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table .price {
  font-weight: 800; color: var(--color-primary); font-size: 17px;
}

/* ─── Gallery ─────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-bg-soft);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base) var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
  opacity: 0; transition: opacity var(--t-base) var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: var(--space-5);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; color: #fff;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* ─── FAQ accordion ─────────────────────────────────────── */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--t-fast) var(--ease);
}
.faq-item:hover { border-color: var(--color-primary-light); }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; align-items: center; gap: var(--space-3);
  font-weight: 700; font-size: 16px;
  transition: background var(--t-fast) var(--ease);
}
.faq-q::before {
  content: 'Q';
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.faq-q::after {
  content: '+';
  margin-left: auto;
  font-size: 22px; color: var(--color-text-muted);
  transition: transform var(--t-base) var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--color-primary); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
}
.faq-a-inner {
  padding: 0 24px 20px 24px;
  display: flex; gap: var(--space-3);
  color: var(--color-text-soft); line-height: 1.7; font-size: 15px;
}
.faq-a-inner::before {
  content: 'A';
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: rgba(15, 76, 138, 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ─── CTA banner ─────────────────────────────────────────── */
/* ─── CTA Card (Bento) ───────────────────────────── */
.cta-section { padding-bottom: var(--space-9); }
.cta-card {
  background: var(--slate-900);
  color: #fff;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-card-body { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.cta-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800; line-height: 1.3; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-desc {
  color: rgba(255,255,255,0.65);
  font-size: 15px; line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card .btn-primary {
  background: #fff; color: var(--slate-900);
  border-color: #fff;
}
.cta-card .btn-primary:hover {
  background: var(--slate-100); color: var(--slate-900);
}
.cta-card .btn-outline {
  border-color: rgba(255,255,255,0.3); color: #fff;
}
.cta-card .btn-outline:hover {
  background: rgba(255,255,255,0.1); color: #fff;
}
.cta-card-stats {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 20px;
  padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.cta-stat strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.2;
}
.cta-stat span {
  font-size: 13px; color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #0b1c33;
  color: rgba(255,255,255,0.7);
  padding: var(--space-8) 0 var(--space-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.footer h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: var(--space-3);
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer ul a:hover { color: var(--color-accent); }
.footer .brand {
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: var(--space-3);
}
.footer-info { font-size: 13px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-4);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ─── Floating action ───────────────────────────────────── */
.fab-stack {
  position: fixed; right: 20px; bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 90;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--t-fast) var(--ease);
  font-size: 22px;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab.call { background: var(--color-success); }
.fab.top { background: var(--color-text); opacity: 0; pointer-events: none; }
.fab.top.visible { opacity: 1; pointer-events: auto; }
.fab .lbl {
  position: absolute; right: 64px; background: rgba(15,23,42,0.92); color: #fff;
  padding: 6px 12px; border-radius: var(--radius-sm); font-size: 13px;
  white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: all var(--t-fast) var(--ease); pointer-events: none;
}
.fab:hover .lbl { opacity: 1; transform: translateX(0); }

/* ─── 모바일 하단 액션 바 (Mobile Action Bar) ─────────────── */
.mab {
  display: none;                                  /* 데스크탑에서 숨김 — mobile 미디어 쿼리에서 활성화 */
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  box-shadow: 0 -8px 24px -8px rgba(15, 23, 42, 0.12);
}
.mab-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  border-radius: 12px;
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mab-btn:active { transform: scale(0.97); }
.mab-call {
  background: var(--slate-50);
  color: var(--color-fg);
  border: 1px solid var(--color-border);
}
.mab-call:hover { background: var(--slate-100); color: var(--color-fg); }
.mab-reserve,
.mab-lookup {
  background: var(--color-accent);
  color: #ffffff;
}
.mab-reserve:hover,
.mab-lookup:hover { background: var(--color-accent-dark, var(--color-accent)); color: #ffffff; }

/* 모바일 메뉴 열렸을 때 액션 바 숨김 */
.mab--hidden { transform: translateY(100%); transition: transform 0.3s var(--ease); }

/* ─── Reserve Modal (Phase 2) ─────────────────────── */
.reserve-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 6, 23, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 998;
}
.reserve-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.reserve-panel {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(560px, 92vw);
  height: min(680px, 90vh);
  background: #fff;
  z-index: 999;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s 0.38s;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.06);
  will-change: opacity, transform;
  overflow: hidden;
}
.reserve-panel.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0s;
  transform: translate(-50%, -50%) scale(1);
}

.rp-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 32px 16px;
}
.rp-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  color: var(--color-fg-soft); margin-bottom: 4px;
  text-transform: uppercase;
}
.rp-title {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--color-fg);
}
.rp-close {
  width: 44px; height: 44px;          /* 터치 타겟 44px */
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--color-fg-soft);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.rp-close:hover { background: var(--color-bg-soft); color: var(--color-fg); }

/* 진행 인디케이터 */
.rp-progress { padding: 0 32px 20px; }
.rp-progress-bar {
  position: relative;
  height: 4px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.rp-progress-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 33.333%;
  background: var(--slate-900);
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.rp-progress-steps {
  display: flex; justify-content: space-between; gap: 8px;
  list-style: none; padding: 0;
}
.rp-step-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--color-text-muted);
  transition: color 0.32s var(--ease);
  flex: 1;
}
.rp-step-pill .num {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-soft);
  font-weight: 700; font-size: 11px;
  transition: all 0.32s var(--ease);
}
.rp-step-pill .lbl { font-weight: 600; letter-spacing: -0.01em; }
.rp-step-pill.active { color: var(--color-fg); }
.rp-step-pill.active .num {
  background: var(--slate-900); color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
  transform: scale(1.05);
}
.rp-step-pill.done .num {
  background: var(--slate-700); color: #fff;
}
.rp-step-pill.done .num::before {
  content: '✓';
}
.rp-step-pill.done .num span,
.rp-step-pill.done .num { font-size: 0; }
.rp-step-pill.done .num::before { font-size: 12px; }

/* 슬라이드 영역 (스무스한 step 전환) */
.rp-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0 32px;
  position: relative;
}
.rp-slides {
  height: 100%;
  position: relative;
}
.rp-slide {
  position: absolute; inset: 0;
  overflow-y: auto;
  padding-bottom: 32px;
  opacity: 0;
  transform: translate3d(48px, 0, 0) scale(0.98);
  transition:
    opacity 0.44s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.54s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
  will-change: opacity, transform;
}
.rp-slide.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
.rp-slide.leave-back {
  transform: translate3d(-48px, 0, 0) scale(0.98);
}
.rp-slide.enter-back {
  transform: translate3d(-48px, 0, 0) scale(0.98);
}
.rp-slide.enter-back.active {
  transform: translate3d(0, 0, 0) scale(1);
}

/* 슬라이드 내부 요소 stagger 진입 */
.rp-slide.active .rp-h,
.rp-slide.active .rp-p,
.rp-slide.active .rp-field,
.rp-slide.active .rp-row,
.rp-slide.active .rp-mini-summary,
.rp-slide.active .rp-final-summary,
.rp-slide.active .rp-agree {
  animation: rpItemIn 0.5s cubic-bezier(0.32, 0.72, 0, 1) both;
}
.rp-slide.active .rp-h { animation-delay: 0.05s; }
.rp-slide.active .rp-p { animation-delay: 0.10s; }
.rp-slide.active .rp-field:nth-of-type(1),
.rp-slide.active .rp-row:nth-of-type(1) { animation-delay: 0.16s; }
.rp-slide.active .rp-field:nth-of-type(2),
.rp-slide.active .rp-row:nth-of-type(2) { animation-delay: 0.22s; }
.rp-slide.active .rp-field:nth-of-type(3),
.rp-slide.active .rp-row:nth-of-type(3) { animation-delay: 0.28s; }
.rp-slide.active .rp-field:nth-of-type(4),
.rp-slide.active .rp-row:nth-of-type(4) { animation-delay: 0.34s; }
.rp-slide.active .rp-mini-summary,
.rp-slide.active .rp-final-summary { animation-delay: 0.36s; }
.rp-slide.active .rp-agree { animation-delay: 0.42s; }

@keyframes rpItemIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .rp-slide.active *  { animation: none !important; }
}

.rp-h {
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--color-fg);
  margin: 4px 0 6px;
}
.rp-p {
  color: var(--color-fg-muted); font-size: 14px;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.7;
}

.rp-field { margin-bottom: 18px; }
.rp-label {
  display: block;
  font-size: 13px; font-weight: 500;
  color: var(--color-fg);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.rp-label i { color: var(--color-error); font-style: normal; margin-left: 2px; }
.rp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-input {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  background: var(--slate-50);
  border: 1.6px solid var(--slate-100);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-fg);
  transition:
    border-color 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
.rp-input::placeholder { color: var(--color-fg-muted); font-weight: 400; }
.rp-input:hover {
  background: #ffffff;
  border-color: var(--slate-200);
}
.rp-input:focus {
  outline: none;
  border-color: var(--slate-900);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(15, 23, 42, 0.08),
    0 4px 12px -2px rgba(15, 23, 42, 0.10);
  transform: translateY(-1px);
}
.rp-input:focus::placeholder { opacity: 0.5; }
.rp-input.invalid {
  border-color: var(--color-error);
  background: #fef2f2;
  animation: rpShake 0.36s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes rpShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.rp-textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
.rp-hint { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }

/* Mini summary in step 1 */
.rp-mini-summary {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 500; color: var(--color-fg-soft);
}
.rp-mini-summary strong {
  font-size: 20px; font-weight: 700;
  color: var(--color-fg); letter-spacing: -0.02em;
}

/* Final summary in step 3 */
.rp-final-summary {
  margin: 16px 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}
.rp-final-summary .row {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 13px;
}
.rp-final-summary .row .k { color: var(--color-text-soft); }
.rp-final-summary .row .v { font-weight: 600; }
.rp-final-summary .row.total {
  margin-top: 8px; padding-top: 10px;
  border-top: 1.5px dashed var(--color-border-strong);
  font-size: 16px;
}
.rp-final-summary .row.total .k { color: var(--color-fg); font-weight: 500; }
.rp-final-summary .row.total .v {
  font-size: 24px; font-weight: 700;
  color: var(--color-fg); letter-spacing: -0.02em;
}

.rp-agree {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
}
.rp-agree label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--color-text-soft);
  padding: 4px 0;
  cursor: pointer;
}
.rp-agree input { width: 18px; height: 18px; accent-color: var(--slate-900); margin-top: 2px; }
.rp-agree a { color: var(--color-fg); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.rp-agree i { color: var(--color-error); font-style: normal; }

.rp-error {
  margin: 0 32px;
  padding: 12px 16px;
  background: #fef2f2;
  border-left: 3px solid var(--color-error);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-error);
}

.rp-footer {
  display: flex; gap: 10px;
  padding: 18px 32px 28px;
  border-top: 1px solid var(--color-border);
}
.rp-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px;                  /* 터치 타겟 */
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  transition: all 0.22s var(--ease);
  cursor: pointer;
}
.rp-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.rp-btn-ghost {
  background: var(--slate-100);
  color: var(--color-fg);
  font-weight: 500;
}
.rp-btn-ghost:hover:not(:disabled) { background: var(--slate-200); }
.rp-btn-primary {
  background: var(--slate-900);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.20);
}
.rp-btn-primary:hover:not(:disabled) {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}
.rp-btn-primary .ic { transition: transform 0.22s var(--ease); }
.rp-btn-primary:hover:not(:disabled) .ic { transform: translateX(3px); }

/* Reserve Done sheet */
.reserve-done {
  position: fixed; inset: 0;
  background: rgba(5, 11, 24, 0.55);
  z-index: 1001;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.reserve-done.show { display: flex; animation: rdFade 0.32s var(--ease); }
@keyframes rdFade { from { opacity: 0; } to { opacity: 1; } }
.rd-card {
  background: #fff;
  max-width: 440px; width: 100%;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: rdPop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rdPop {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.rd-ring {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-success), #34d399);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.rd-ring svg { width: 44px; height: 44px; }
.rd-tick {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: tickDraw 0.65s 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.rd-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.rd-card > p { color: var(--color-text-soft); font-size: 14px; margin-bottom: 18px; }
.rd-card dl {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px;
  margin-bottom: 24px; text-align: left;
  background: var(--color-bg-soft);
  padding: 16px 18px;
  border-radius: var(--radius-md);
}
.rd-card dt { color: var(--color-text-soft); font-size: 13px; align-self: center; }
.rd-card dd { font-weight: 700; text-align: right; }
.rd-card dd#rdId { color: var(--color-primary); }
.rd-card dd#rdAmount { color: var(--color-text); font-size: 16px; }
.rd-actions { display: flex; gap: 10px; }

@media (max-width: 768px) {
  .reserve-panel {
    width: 100vw;
    height: 92vh;
    top: auto; bottom: 0; left: 0;
    transform: translateY(100%);
    border-radius: 20px 20px 0 0;
  }
  .reserve-panel.show {
    transform: translateY(0);
  }
  .rp-header { padding: 22px 22px 12px; }
  .rp-progress { padding: 0 22px 16px; }
  .rp-body { padding: 0 22px; }
  .rp-footer { padding: 16px 22px 24px; }
  .rp-progress-steps .lbl { display: none; }
  .rp-row { grid-template-columns: 1fr; gap: 8px; }
}

/* body 잠금 */
body.rp-locked { overflow: hidden; }

/* ─── Toast ────────────────────────────────────────────── */
.toast-stack {
  position: fixed; top: calc(var(--header-h) + 16px); right: 20px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--color-text);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.32s var(--ease);
  max-width: 320px;
}
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-error); }
@keyframes toastIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ─── Page header (sub pages) — 사진 은은한 배경 + 다크 오버레이 ─── */
.page-hero {
  position: relative;
  background: var(--slate-900);
  color: #fff;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-7);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/parking/images/gallery/lot1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: -2;
  filter: none;
  transform: scale(1.02);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(15,23,42,0.22), rgba(15,23,42,0.55) 75%),
    linear-gradient(180deg, rgba(15,23,42,0.25) 0%, rgba(15,23,42,0.55) 100%);
  z-index: -1;
}
.page-hero h1, .page-hero .breadcrumb {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
}

/* 페이지별 다른 hero 이미지 */
body[data-page="about"] .page-hero::before { background-image: url('/parking/images/gallery/lot1.jpg'); }
body[data-page="guide"] .page-hero::before { background-image: url('/parking/images/gallery/lot2.jpg'); }
body[data-page="pricing"] .page-hero::before { background-image: url('/parking/images/gallery/lot3.jpg'); }
body[data-page="gallery"] .page-hero::before { background-image: url('/parking/images/gallery/lot4.jpg'); }
body[data-page="location"] .page-hero::before { background-image: url('/parking/images/gallery/lot2.jpg'); }
body[data-page="faq"] .page-hero::before { background-image: url('/parking/images/gallery/lot3.jpg'); }
body[data-page="terms"] .page-hero::before { background-image: url('/parking/images/gallery/lot1.jpg'); opacity: 0.65; }
body[data-page="certificates"] .page-hero::before { background-image: url('/parking/images/gallery/lot4.jpg'); }
body[data-page="lookup"] .page-hero::before { background-image: url('/parking/images/gallery/lot2.jpg'); }
body[data-page="reservation"] .page-hero::before { background-image: url('/parking/images/gallery/lot3.jpg'); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: var(--type-display); font-weight: var(--w-display);
  letter-spacing: var(--track-display); line-height: var(--lh-display);
  margin-bottom: var(--space-2);
}
.page-hero .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: var(--type-meta); font-weight: var(--w-meta);
  letter-spacing: var(--track-meta); text-transform: uppercase;
  margin-bottom: 6px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ─── Reveal on scroll ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].visible {
  opacity: 1; transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .calc-card { margin-top: var(--space-4); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .section { padding: var(--space-7) 0; }
  .container { padding: 0 var(--space-4); }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-7); }
  .hero-stats { gap: var(--space-4); flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-desc { margin-left: auto; margin-right: auto; }
  .cta-btns { justify-content: center; }
  .cta-card-stats {
    flex-direction: row; justify-content: center;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-left: 0; padding-top: 20px;
  }
  .cta-stat { text-align: center; flex: 1; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .pricing-table th, .pricing-table td { padding: 12px 14px; font-size: 13px; }
  /* 모바일에선 우측 FAB는 'top' 버튼만 표시, 전화/예약은 하단 액션 바로 이동 */
  .fab-stack { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .fab { width: 48px; height: 48px; font-size: 18px; }
  .fab.call, .fab-stack > a[href$="reservation"] { display: none; }   /* 하단 바와 중복 제거 */

  /* 모바일 하단 액션 바 활성화 */
  .mab { display: flex; }
  /* 하단 바 가려지지 않도록 body 패딩 */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }

  /* 폼 입력 — iOS 자동 확대 방지 (16px 이상) + 큰 터치 타겟 */
  .input, .select, .textarea,
  .qc-input, .rp-input, .hcf-input,
  input[type="text"], input[type="tel"], input[type="email"],
  input[type="number"], input[type="date"], input[type="time"],
  input[type="search"], textarea, select {
    font-size: 16px !important;          /* iOS 자동 확대 방지 */
  }
  .input, .qc-input, .rp-input { min-height: 48px; padding: 14px 16px; }
  .textarea { padding: 14px 16px; }

  /* 버튼 터치 타겟 — 44px 이상 보장 */
  .btn, .btn-sm { min-height: 44px; padding: 12px 20px; }
  .btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }

  /* 토글/체크박스 영역 — 손가락 닿기 쉽게 */
  .toggle-card { padding: 16px 14px; min-height: 64px; }
  .agree-row { padding: 14px 0; min-height: 44px; }
  .agree-row input[type="checkbox"],
  .agree-row input[type="radio"] { width: 22px; height: 22px; }

  /* 링크 영역 — FAQ/메뉴 등 누르기 쉽게 */
  .faq-accordion .faq-q { min-height: 56px; padding: 18px 20px; }

  /* iOS Safari URL bar 영향 — 100vh → 안전한 100dvh */
  .hero, .hero-cine { min-height: 100dvh; }

  /* 섹션 간격 축소 — 모바일 스크롤 효율화 */
  .story-trust, .story-process, .story-menu { padding: 64px 0; }
  .bento-section { padding: 64px 0; }
  .cta-card { padding: 32px 24px; }
  .section-title { margin-bottom: 32px; }

  /* Why Daon 사이드바 — 모바일에선 위로 올라오니까 compact */
  .why-aside { margin-bottom: 8px; }
  .why-aside .bento-sub { margin-bottom: 20px; }
  .why-stat { padding: 20px 18px; }
  .why-stat .ws-num { font-size: clamp(32px, 9vw, 42px); }

  /* 가이드 페이지 — 비대면/대면 카드 사이 간격 축소 */
  .terminal-grid { gap: 16px; }
  .notes-list { gap: 12px; }
}

@media (max-width: 480px) {
  /* 매우 좁은 폰 — 추가 압축 */
  .why-card {
    grid-template-columns: 1fr;        /* 아이콘/번호 위에 배치, 텍스트는 아래 */
    grid-template-areas:
      "header"
      "body";
    text-align: left;
  }
  .wc-icon { grid-area: header; justify-self: flex-start; }
  .wc-body { grid-area: body; }
  .wc-bignum {
    position: absolute;
    top: 18px; right: 18px;
    font-size: 48px;
    -webkit-text-stroke: 1.5px var(--slate-200);
    align-self: auto;
  }

  /* 절차 카드 li 들여쓰기 축소 */
  .terminal-card li { padding: 14px 0 14px 36px; font-size: 14.5px; }
  .terminal-card li::before { top: 16px; }
}
@media (max-width: 480px) {
  .calc-card { padding: var(--space-5); }
  .toggle-group { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .hero-stat .num { font-size: 22px; }
}

/* 인쇄: 푸터/플로팅 숨김 */
@media print {
  .header, .footer, .fab-stack, .toast-stack { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   커스텀 Select 드롭다운
   ═══════════════════════════════════════════════════════════════ */
.cs {
  position: relative;
  display: block;
  width: 100%;
}
.cs__native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cs__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-fg);
  font: inherit;
  font-size: var(--type-body-l);
  font-weight: var(--w-strong);
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cs__trigger:hover { border-color: var(--slate-300); }
.cs__trigger:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.cs__chev {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-fg-muted);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.cs--open .cs__chev { transform: rotate(180deg); color: var(--color-fg); }
.cs--open .cs__trigger { border-color: var(--slate-400); box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06); }

.cs__list {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  z-index: 50;
  list-style: none;
  margin: 0; padding: 6px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.18);
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.cs--open .cs__list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cs__opt {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--type-body);
  font-weight: var(--w-body);
  color: var(--color-fg-soft);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
.cs__opt:hover { background: var(--slate-50); color: var(--color-fg); }
.cs__opt[aria-selected="true"] {
  background: var(--slate-900);
  color: #ffffff;
  font-weight: var(--w-meta);
}
.cs__opt[aria-selected="true"]::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-left: auto;
}

/* 히어로 필터 컨텍스트 — 투명 트리거 (기존 .hcf-input 룩 매칭) */
.hero-cine-filter .cs,
.cs--hcf-input { width: 100%; }
.hero-cine-filter .cs__trigger,
.cs--hcf-input .cs__trigger {
  background: transparent;
  border: 0;
  padding: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
}
.hero-cine-filter .cs__trigger:hover,
.cs--hcf-input .cs__trigger:hover {
  background: transparent;
  border-color: transparent;
}
.hero-cine-filter .cs--open .cs__trigger,
.cs--hcf-input.cs--open .cs__trigger {
  background: transparent;
  box-shadow: none;
  border: 0;
}
.hero-cine-filter .cs__chev,
.cs--hcf-input .cs__chev { color: rgba(255, 255, 255, 0.6); }
/* 드롭다운 메뉴는 라이트 톤 유지 (이미 기본값) */

/* ═══════════════════════════════════════════════════════════════
   (flatpickr 삭제됨)
   ═══════════════════════════════════════════════════════════════ */
/* flatpickr 전체 삭제됨 */


/* ─── Intro Splash · 타이핑 → 로고 reveal ─────────── */
html.intro-active, html.intro-active body { overflow: hidden; }
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0d12;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.32s ease-out;
  will-change: opacity;
}
.intro-splash.is-done {
  opacity: 0;
  pointer-events: none;
}
.intro-splash .intro-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 0 24px;
  text-align: center;
}

/* 타이핑 단계 */
.intro-splash .intro-typing-wrap {
  display: inline-flex;
  align-items: baseline;
  transition: opacity 0.35s ease-out;
  will-change: opacity;
}
.intro-splash .intro-typing-wrap.is-fade { opacity: 0; }
.intro-splash .intro-typing {
  font-size: clamp(20px, 3.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
  font-family: 'Noto Sans KR', sans-serif;
}
.intro-splash .intro-cursor {
  display: inline-block;
  width: 3px;
  height: 1.3em;
  background: #4B89D8;
  margin-left: 5px;
  vertical-align: -4px;
  animation: introBlink 0.6s steps(2) infinite;
}
@keyframes introBlink { 50% { opacity: 0; } }

/* 로고 단계 */
.intro-splash .intro-logo-wrap {
  position: absolute;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
  text-align: center;
}
.intro-splash .intro-logo-wrap.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.intro-splash .intro-brand {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.intro-splash .intro-sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .intro-splash { display: none !important; }
}


/* ─── 모바일 글로벌 입력 reset (iOS auto-zoom 방지 + 터치 타겟) ─── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="time"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  button, .btn, a.btn, input[type="button"], input[type="submit"] {
    min-height: 44px;
  }
}

/* ─── 공개 사이트 폼 요소 통일 (네이비 톤) ─── */
select:not(.no-style):not(.hcf-input):not([disabled]) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #DBD6DA;
  border-radius: 8px;
  padding: 0 36px 0 14px;
  height: 44px;
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: 15px;
  color: #1F2937;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B7280'><path d='M5 8l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: 0;
}
select:not(.no-style):not([disabled]):hover { border-color: #1E5BA8; }
select:not(.no-style):not([disabled]):focus { border-color: #1E5BA8; box-shadow: 0 0 0 3px rgba(30,91,168,0.15); }
select:not(.no-style):disabled { opacity: 0.55; background-color: #F9FAFB; cursor: not-allowed; }

/* input[type="text/email/tel/...] 공개 사이트 통일 */
input.input:not([disabled]),
.field input[type="text"]:not([disabled]),
.field input[type="email"]:not([disabled]),
.field input[type="tel"]:not([disabled]),
.field input[type="date"]:not([disabled]),
.field input[type="time"]:not([disabled]),
.field input[type="number"]:not([disabled]),
.field input[type="password"]:not([disabled]) {
  border: 1px solid #DBD6DA;
  border-radius: 8px;
  padding: 0 14px;
  height: 44px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
  color: #1F2937;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: 0;
}
input.input:focus,
.field input:focus { border-color: #1E5BA8; box-shadow: 0 0 0 3px rgba(30,91,168,0.15); }

@media (max-width: 768px) {
  select:not(.no-style):not(.hcf-input):not([disabled]) { font-size: 16px !important; height: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile UX 종합 최적화 (2026-05-25)
   기존 규칙을 수정하지 않고 끝부분에 오버라이드만 추가
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. 글로벌 모바일 UX 개선 ─── */
/* iOS 탭 하이라이트 제거 */
a, button, input, select, textarea, label, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}
/* 터치 디바이스 300ms 탭 딜레이 제거 */
a, button, input, select, textarea, label, [role="button"], .btn, .fab, .toggle-card, .qc-opt {
  touch-action: manipulation;
}
/* 풀-투-리프레시 방지 및 모멘텀 스크롤 */
body {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* ─── 2. 히어로 섹션 모바일 최적화 ─── */
@media (max-width: 768px) {
  /* 히어로 포인트 리스트: · 구분자 li 숨김 (모바일에선 gap으로 간격 처리) */
  .hero-cine-points li:nth-child(2),
  .hero-cine-points li:nth-child(4),
  .hero-cine-points li:nth-child(6) {
    display: none;
  }
  .hero-cine-points {
    gap: 8px 16px;
  }
}

@media (max-width: 480px) {
  /* 히어로 타이틀 폰트 축소 */
  .hero-cine-title {
    font-size: clamp(17px, 4.8vw, 23px);
  }
  /* 필터 바 패딩 축소 */
  .hero-cine-content {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* ─── 3. 스토리 메뉴 힌트 텍스트 숨김 (터치 디바이스 — hover 없음) ─── */
@media (max-width: 768px) {
  .story-menu-hint {
    display: none;
  }
}

/* ─── 4. 서브페이지 히어로 패딩 축소 ─── */
@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--header-h) + 32px) 0 24px;
  }
  .page-hero h1 {
    font-size: 24px;
  }
}

/* ─── 5. 갤러리 페이지 — 초소형 화면 1열 ─── */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── 6. 푸터 — 초소형 화면 간격·글자 축소 ─── */
@media (max-width: 480px) {
  .footer-inner {
    gap: var(--space-4);
  }
  .footer {
    font-size: 13px;
  }
  .footer ul a {
    font-size: 13px;
  }
  .footer h4 {
    font-size: 14px;
  }
  .footer-info {
    font-size: 12px;
  }
  .footer .brand {
    font-size: 19px;
  }
}

/* ─── 7. 오시는 길 지도 — 모바일 비율 변경 ─── */
/* 주의: location.html 인라인 <style>이 style.css보다 나중이므로
   page-level 스타일에서 별도 오버라이드가 필요할 수 있습니다. */
@media (max-width: 768px) {
  .map-wrap {
    aspect-ratio: 4 / 3 !important;
  }
}

/* ─── 8. CTA 섹션 — 초소형 화면 최적화 ─── */
@media (max-width: 480px) {
  .cta-card {
    padding: 24px 18px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btns .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ─── 9. 벤토 갤러리 스택 높이 — 모바일 확대 ─── */
@media (max-width: 768px) {
  .b-gallery-stack {
    height: 130px;
  }
}

/* ─── 10. 절차 스텝 — 모바일 컴팩트 ─── */
@media (max-width: 768px) {
  .sp-step-mark {
    width: 44px;
  }
  .sp-num {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .sp-step {
    gap: 16px;
  }
  .sp-step-text {
    padding-top: 2px;
  }
  .sp-step-text h3 {
    font-size: 16px;
  }
}

/* ─── 11. 계산기 섹션 — 초소형 화면 금액 표시 ─── */
@media (max-width: 480px) {
  .calc-x-display .qc-amount-num {
    font-size: clamp(26px, 7vw, 36px);
  }
  .qc-amount-unit {
    font-size: 18px;
  }
}

/* ─── 12. 소개 페이지 특성 카드 — 초소형 세로 배치 ─── */
/* 주의: about.html 인라인 <style>이 style.css보다 나중이므로
   !important로 오버라이드합니다. */
@media (max-width: 480px) {
  .feature-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 22px !important;
  }
  .feature-item .icon {
    width: 44px !important;
    height: 44px !important;
  }
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* 인트로 — 모바일 긴 문구 줄바꿈 (2026-06-05) */
@media (max-width: 640px) {
  .intro-splash .intro-typing {
    white-space: normal;
    word-break: keep-all;
    text-align: center;
    line-height: 1.55;
    padding: 0 24px;
    font-size: 19px;
  }
}
/* 인트로 건너뛰기 버튼 — 하단 중앙 (2026-06-05) */
.intro-splash .intro-skip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 5;
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
.intro-splash .intro-skip:active { background: rgba(255,255,255,0.22); }
