/* ============================================
   MetaBlack — Cinematic Dark + Midtone UI v2
   ============================================ */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #050507;
  color: #e9e9f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --bg-0: #050507;
  --bg-1: #0a0a12;
  --bg-2: #11111d;
  /* Midtone (어두우면서 밝은) */
  --midtone-0: #1c1d27;
  --midtone-1: #242531;
  --midtone-2: #2d2e3c;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #e9e9f0;
  --text-dim: #9c9caa;
  --text-mute: #6b6b78;
  --accent-1: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #ec4899;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,.18) 0%, rgba(236,72,153,.12) 50%, rgba(6,182,212,.18) 100%);
  --shadow-glow: 0 0 80px rgba(124,58,237,.25);
  --radius: 18px;
  --radius-lg: 28px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .25em;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,.55); }

.section { padding: 110px 0; position: relative; overflow: hidden; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.section-head { text-align: center; margin-bottom: 64px; }
.section-title {
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section-sub {
  color: var(--text-dim);
  font-size: clamp(14px, 1.4vw, 17px);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Midtone (어두우면서 밝은) Sections ---------- */
.midtone-section {
  background: linear-gradient(180deg, #1c1d27 0%, #242531 50%, #1c1d27 100%);
  color: #f1f1f5;
  position: relative;
}
.midtone-section .section-sub { color: rgba(255,255,255,.62); }
.midtone-section .eyebrow { color: rgba(255,255,255,.5); }

/* 더 밝은 미드톤 (Why 섹션) */
.midtone-light {
  background: linear-gradient(180deg, #2a2c38 0%, #353749 50%, #2a2c38 100%);
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 40px rgba(124,58,237,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(124,58,237,.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary .arrow { transition: transform .25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary.small { padding: 12px 20px; font-size: 14px; }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-2px);
}
/* 섹션1 텔레그램 상담 버튼 - 블루 그라데이션 */
.btn-telegram-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.72), rgba(6, 182, 212, 0.68)) !important;
  border: 1px solid rgba(125, 211, 252, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 10px 34px rgba(6, 182, 212, 0.22), inset 0 1px 0 rgba(255,255,255,0.22);
}
/* 섹션1 카카오톡 상담 버튼 - 은은한 옐로우 그라데이션 */
.btn-kakao-hero {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.82), rgba(245, 158, 11, 0.72)) !important;
  border: 1px solid rgba(253, 224, 71, 0.42) !important;
  color: #1f1600 !important;
  box-shadow: 0 10px 34px rgba(245, 158, 11, 0.18), inset 0 1px 0 rgba(255,255,255,0.28);
}

.btn-kakao-hero:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.92), rgba(245, 158, 11, 0.84)) !important;
  border-color: rgba(253, 224, 71, 0.62) !important;
  box-shadow: 0 14px 42px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255,255,255,0.32);
  transform: translateY(-2px);
}

.btn-kakao-hero i,
.btn-kakao-hero span {
  color: #1f1600 !important;
}

.btn-telegram-hero:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.88), rgba(6, 182, 212, 0.82)) !important;
  border-color: rgba(125, 211, 252, 0.72) !important;
  box-shadow: 0 14px 42px rgba(6, 182, 212, 0.34), inset 0 1px 0 rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

.btn-telegram-hero i {
  color: #fff;
}

.btn-pill {
  padding: 10px 20px;
  font-size: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}
.btn-pill:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */

/* ✅ 여기 숫자만 바꾸면 로고 크기 직접 조절 가능 */
:root {
  --logo-pc: 65px;          /* PC 상단바 로고 크기 */
  --logo-tablet: 46px;      /* 태블릿/작은 화면 로고 크기 */
  --logo-mobile: 40px;      /* 모바일 로고 크기 */

  --footer-logo-pc: 46px;   /* PC 푸터 로고 크기 */
  --footer-logo-tablet: 38px;
  --footer-logo-mobile: 32px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: padding .3s ease, border-color .3s ease, box-shadow .3s ease;

  /* ✅ 상단바 완전 불투명 */
  background: transparent !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-bottom: none !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.site-header.scrolled {
  /* 스크롤 내렸을 때만 살짝 어두운 반투명 */
  background: rgba(5, 5, 7, 0.78) !important;
  opacity: 1 !important;

  /* 뒤 배경 살짝 흐리게 해서 메뉴 가독성 올림 */
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 10px 36px rgba(0,0,0,0.45);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* ✅ 상단바 로고 */
.brand-logo {
  height: var(--logo-pc);
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: filter .25s, transform .25s;
}

.brand-logo:hover {
  filter: drop-shadow(0 0 18px rgba(180,60,255,.7));
  transform: scale(1.03);
}

/* ✅ 푸터 로고 */
.footer-logo {
  height: var(--footer-logo-pc);
}

/* ✅ 메뉴 */
.nav-desktop {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.nav-desktop a {
  color: var(--text-dim);
  transition: color .2s;
  position: relative;
}

.nav-desktop a:hover {
  color: #fff;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--gradient);
  transition: width .25s;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* ✅ 태블릿 */
@media (max-width: 900px) {
  .brand-logo {
    height: var(--logo-tablet);
  }

  .footer-logo {
    height: var(--footer-logo-tablet);
  }

  .nav-desktop {
    display: none;
  }
}

/* ✅ 모바일 */
@media (max-width: 480px) {
  .site-header {
    padding: 12px 0;
  }

  .site-header.scrolled {
    padding: 9px 0;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand-logo {
    height: var(--logo-mobile);
  }

  .footer-logo {
    height: var(--footer-logo-mobile);
  }
}

/* ============================================
   HERO — VIDEO BACKGROUND
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  opacity: 1;
  filter: brightness(.52) saturate(1.15);
  will-change: transform;
}
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  /* 검은 반투명 막 — 텍스트 가독성 확보 */
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.50) 0%,
      rgba(0,0,0,.35) 35%,
      rgba(0,0,0,.50) 72%,
      rgba(2,2,10,.92) 100%
    );
  pointer-events: none;
}
.hero-gradient-orbs {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: .45;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(124,58,237,.7), transparent 70%); }
.orb-2 { width: 600px; height: 600px; top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(6,182,212,.6), transparent 70%);
  animation-delay: -5s; animation-duration: 18s; }
.orb-3 { width: 420px; height: 420px; bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(236,72,153,.5), transparent 70%);
  animation-delay: -8s; animation-duration: 16s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

.hero-inner {
  text-align: center;
  max-width: 980px;
  position: relative;
  z-index: 5;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: #ddd;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #f472b6 55%, #ec4899 100%);
  box-shadow:
    0 0 8px rgba(168, 85, 247, 0.95),
    0 0 16px rgba(244, 114, 182, 0.75),
    0 0 28px rgba(236, 72, 153, 0.5);
  animation: pulseGlow 1.7s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 0 8px rgba(168, 85, 247, 0.95),
      0 0 16px rgba(244, 114, 182, 0.75),
      0 0 28px rgba(236, 72, 153, 0.5);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.22);
    box-shadow:
      0 0 12px rgba(168, 85, 247, 1),
      0 0 24px rgba(244, 114, 182, 0.95),
      0 0 38px rgba(236, 72, 153, 0.7);
  }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-title-strong {
  background: linear-gradient(180deg, #ffffff 30%, #b6b6c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  color: #c8c8d4;
  font-size: clamp(15px, 1.6vw, 19px);
  margin: 0 0 40px;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
@media (max-width: 720px) { .d-md-up { display: none; } }
.hero-cta {
  display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: center;
}
.hero-scroll {
  position: absolute; bottom: -70px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 8px;
  background: #fff; border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================
   MARQUEE (얇은 구분 섹션)
   ============================================ */
.marquee {
  position: relative;
  background: linear-gradient(90deg, rgba(124,58,237,.18), rgba(6,182,212,.18));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 32px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-weight: 600;
  font-size: 17px;
  color: rgba(255,255,255,.85);
}
.marquee-track span:not(:nth-child(2n)) {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.marquee-track span:nth-child(2n) {
  color: rgba(255,255,255,.3);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   STATS — 미드톤 섹션
   ============================================ */
.stats {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.stats-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,.15), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(6,182,212,.12), transparent 50%);
  pointer-events: none;
}
.stats-head { text-align: center; margin-bottom: 44px; }
.stats-head h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: all .3s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.5);
  background: rgba(255,255,255,0.08);
}
.stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(124,58,237,.18);
  font-size: 20px;
}
.stat-icon i { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 6px; letter-spacing: .03em; }
.stat-number {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-desc { font-size: 12px; color: rgba(255,255,255,.5); }

/* ============================================
   SERVICES — Sticky Flow Section
   ============================================ */
.services {
  background: #050507;
  padding-top: 120px;
  position: relative;
  overflow: visible !important;
  isolation: isolate;
}
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.services-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .42;
  filter: none;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 28%, rgba(124,58,237,.24), transparent 34%),
    radial-gradient(circle at 84% 72%, rgba(6,182,212,.12), transparent 34%),
    linear-gradient(180deg, rgba(5,5,7,.72), rgba(5,5,7,.94));
}
.services-sticky-head {
  margin-bottom: 44px;
}
.service-sticky-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.service-sticky-visual {
  position: sticky;
  top: calc(50vh - 160px);
  align-self: flex-start;
  height: 320px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0;
  z-index: 5;
  transform: none;
  will-change: transform;
}

.sticky-brand-only {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: 100%;
  transform: none;
}

.sticky-service-logo-big {
  width: 380px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 34px rgba(168,85,247,.36));
}

.sticky-brand-only span {
  color: rgba(255,255,255,.88);
  font-size: 28px;
  line-height: 1.38;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255,255,255,.12),
    0 0 34px rgba(168,85,247,.20);
}
.service-flow-list {
  display: grid;
  gap: 18px;
  padding-bottom: 18px;
}
.service-flow-item {
  position: relative;
  min-height: 300px;
  padding: 42px 330px 42px 96px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(168,85,247,.20), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.026));
  border: 1px solid rgba(255,255,255,.115);
  box-shadow:
    0 20px 70px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.service-flow-item::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,114,182,.45), rgba(6,182,212,.35), transparent);
}
.service-flow-num {
  position: absolute;
  left: 30px;
top: 28px;
  color: rgba(244,114,182,.92);
  font-size: 13px;
  letter-spacing: .2em;
  font-weight: 900;
}
.service-flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 34px rgba(124,58,237,.16);
}
.service-flow-icon i {
  font-size: 21px;
  background: linear-gradient(135deg, #c084fc, #f472b6, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.service-flow-item h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 0%, #dedff0 32%, #9b9eb4 58%, #fff 82%, #b9bdd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-flow-item p {
  max-width: 620px;
  margin: 0;
  color: rgba(232,236,245,.76);
  font-size: 15.5px;
  line-height: 1.72;
  word-break: keep-all;
}
.service-flow-image {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  max-height: 230px;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 58px rgba(0,0,0,.42))
    drop-shadow(0 0 24px rgba(168,85,247,.16));
  pointer-events: none;
}
@media (max-width: 960px) {
  .service-sticky-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .service-sticky-visual {
  position: relative;
  top: auto;
  height: auto;
  min-height: auto;
  padding: 0 0 10px;
  transform: none;
}

.sticky-service-image-wrap {
  max-width: 320px;
  min-height: 260px;
}

.sticky-service-image {
  max-height: 260px;
}
  .sticky-caption { margin-top: 18px; }
}
@media (max-width: 640px) {
  .services { padding-top: 92px; }
  .services-sticky-head { margin-bottom: 42px; }
  .service-flow-item {
  min-height: auto;
  padding: 28px 22px 250px 22px;
}
  .service-flow-num {
    position: static;
    display: inline-flex;
    margin-bottom: 14px;
  }
  .service-flow-item h3 { font-size: 30px; }
  .service-flow-item p { font-size: 15px; }
}

/* ============================================
   WHY — Keyword Slider Cards
   ============================================ */
.keyword-rank-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(168,85,247,.14), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(244,114,182,.10), transparent 26%),
    radial-gradient(circle at 82% 84%, rgba(6,182,212,.10), transparent 26%),
    linear-gradient(180deg, #0d0f16 0%, #090b11 100%);
}
.keyword-rank-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/keyword-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: .32;
  z-index: 0;
  pointer-events: none;
}
.keyword-rank-section .container { position: relative; z-index: 2; }
.keyword-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}
.keyword-rank-card {
  position: relative;
  min-height: 560px;
  padding: 30px 22px 24px;
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,.22), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(6,182,212,.12), transparent 34%),
    linear-gradient(180deg, rgba(25,27,40,.88), rgba(10,12,20,.92));
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 22px 70px rgba(0,0,0,.36),
    0 0 34px rgba(168,85,247,.10),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.keyword-rank-badge { display: none; }
.keyword-rank-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4ff 18%, #c8c9d8 38%, #8f91a6 56%, #ffffff 74%, #d7d8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 0 16px rgba(255,255,255,.16), 0 0 28px rgba(168,85,247,.16), 0 8px 28px rgba(0,0,0,.62);
}
.keyword-rank-card p {
  margin: 0 auto;
  max-width: 96%;
  min-height: 48px;
  color: rgba(235,238,248,.78);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  word-break: keep-all;
}
.keyword-slider {
  position: relative;
  margin: 16px auto 0;
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.keyword-slide-image {
  width: 108%;
  max-width: 108%;
  max-height: 340px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.38)) drop-shadow(0 0 20px rgba(168,85,247,.12));
  transition:
    opacity .34s ease,
    transform .34s cubic-bezier(0.22, 1, 0.36, 1),
    filter .34s ease;
  will-change: opacity, transform, filter;
}

.keyword-slide-image.is-fading {
  opacity: 0;
  transform: translateY(10px) scale(.985);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.38)) drop-shadow(0 0 20px rgba(168,85,247,.12)) brightness(.86);
}
.keyword-slide-btn,
.keyword-zoom-btn {
  position: absolute;
  z-index: 5;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,18,.82);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.keyword-slide-btn { top: 50%; transform: translateY(-50%); width: 40px; height: 40px; }
.keyword-prev { left: 0; }
.keyword-next { right: 0; }
.keyword-zoom-btn { right: 6px; bottom: 6px; width: 42px; height: 42px; }
.keyword-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.keyword-zoom-modal.active { display: flex; }
.keyword-zoom-modal img {
  max-width: min(96vw, 1280px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.58), 0 0 60px rgba(168,85,247,.18);
}
.keyword-zoom-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.keyword-rank-card[data-aos="keyword-side-pop"] {
  opacity: 0;
  transform: perspective(1000px) translateX(-46px) translateY(28px) rotateY(-10deg) scale(.96);
  filter: blur(8px);
  transform-origin: center center;
  transition: opacity .72s ease, transform .9s cubic-bezier(0.22, 1, 0.36, 1), filter .72s ease, box-shadow .3s ease;
}
.keyword-rank-card:nth-child(even)[data-aos="keyword-side-pop"] {
  transform: perspective(1000px) translateX(46px) translateY(28px) rotateY(10deg) scale(.96);
}
.keyword-rank-card[data-aos="keyword-side-pop"].aos-animate {
  opacity: 1;
  transform: perspective(1000px) translateX(0) translateY(0) rotateY(0) scale(1);
  filter: blur(0);
}
.keyword-rank-card[data-aos="keyword-side-pop"].aos-animate:hover { transform: translateY(-8px) scale(1.01); }
@media (max-width: 1100px) { .keyword-rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .keyword-rank-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .keyword-rank-card { min-height: auto; padding: 26px 18px 22px; }
  .keyword-rank-card h3 { font-size: 27px; }
  .keyword-rank-card p { min-height: auto; font-size: 14px; max-width: 100%; }
  .keyword-slider { height: 280px; }
  .keyword-slide-image { max-width: 94%; width: 94%; max-height: 270px; }
}

/* ============================================
   PORTFOLIO — Clean Proof Showcase
   ============================================ */
.proof-showcase-section {
  position: relative;
  background:
    radial-gradient(circle at 8% 12%, rgba(124,58,237,.15), transparent 30%),
    radial-gradient(circle at 92% 42%, rgba(244,114,182,.08), transparent 26%),
    linear-gradient(180deg, #070812 0%, #0b0c14 52%, #050507 100%);
}
.proof-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .20;
  pointer-events: none;
}
.proof-showcase-head {
  max-width: 980px;
  margin: 0 auto 56px;
  text-align: center;
}
.proof-showcase-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(64px, 8vw, 96px);
  justify-items: center;
}
.proof-showcase-row {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 560px);
  justify-content: center;
  gap: 42px;
  align-items: center;
}
.proof-copy {
  width: 100%;
  max-width: 520px;
}
.proof-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: rgba(244,114,182,.96);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .24em;
}
.proof-copy h3 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -.055em;
  background: linear-gradient(180deg, #fff 0%, #dedff0 32%, #9ca0b8 58%, #fff 80%, #babdd1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,.48);
}
.proof-copy p {
  margin: 0 0 26px;
  color: rgba(232,236,245,.74);
  font-size: 16px;
  line-height: 1.76;
  word-break: keep-all;
}
.proof-copy ul { display: grid; gap: 14px; }
.proof-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.88);
  font-size: 14.5px;
  font-weight: 700;
}
.proof-copy li::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #f472b6, #06b6d4);
  box-shadow: 0 0 18px rgba(244,114,182,.35);
}
.proof-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.proof-visual::before {
  content: '';
  position: absolute;
  width: 76%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(168,85,247,.16), transparent 62%),
    radial-gradient(circle at 80% 70%, rgba(6,182,212,.08), transparent 56%);
  filter: blur(8px);
  pointer-events: none;
}
.proof-stack { justify-content: flex-start; }
.proof-main-shot,
.proof-sub-shot {
  position: relative;
  z-index: 2;
  display: block;
  object-fit: contain;
  border: none;
  outline: none;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}
.proof-main-shot {
  width: min(100%, 560px);
  max-height: 350px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.42));
}
.proof-sub-shot {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(42%, 250px);
  max-height: 180px;
  filter: drop-shadow(0 22px 60px rgba(0,0,0,.50));
}

.proof-set-gallery {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.proof-set-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  display: grid;
  gap: 14px;
  align-items: center;
  transition:
    opacity .28s ease,
    transform .28s cubic-bezier(0.22, 1, 0.36, 1),
    filter .28s ease;
}

.proof-set-stage.is-changing {
  opacity: 0;
  transform: translateY(8px) scale(.985);
  filter: brightness(.88);
}

.proof-set-stage.count-1 {
  grid-template-columns: 1fr;
}

.proof-set-stage.count-2 {
  grid-template-columns: 1fr 1fr;
}

.proof-set-stage.count-3 {
  grid-template-columns: 1.15fr .85fr;
}

.proof-set-stage.count-3 .proof-set-img:first-child {
  grid-row: span 2;
}

.proof-set-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.42));
}

.proof-set-stage.count-3 .proof-set-img:not(:first-child) {
  max-height: 150px;
}

.proof-set-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.proof-set-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,18,.78);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.proof-set-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(244,114,182,.48);
  background: rgba(255,255,255,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.38), 0 0 26px rgba(168,85,247,.16);
}

.proof-set-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
}

.proof-set-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  border: 1px solid rgba(255,255,255,.18);
  transition: width .26s ease, background .26s ease, box-shadow .26s ease;
}

.proof-set-dot.is-active {
  width: 24px;
  background: linear-gradient(135deg, #a855f7, #f472b6, #06b6d4);
  box-shadow: 0 0 18px rgba(244,114,182,.38);
}

@media (max-width: 640px) {
  .proof-set-stage.count-2,
  .proof-set-stage.count-3 {
    grid-template-columns: 1fr;
  }

  .proof-set-stage.count-3 .proof-set-img:first-child {
    grid-row: auto;
  }

  .proof-set-img,
  .proof-set-stage.count-3 .proof-set-img:not(:first-child) {
    max-height: 300px;
  }
}
.proof-device-stage {
  min-height: 390px;
  justify-content: flex-start;
}
.proof-monitor {
  position: relative;
  z-index: 2;
  width: min(82%, 590px);
  aspect-ratio: 16 / 9;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #26283a, #05060b);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 90px rgba(0,0,0,.56);
}
.proof-monitor video,
.proof-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-monitor video { border-radius: 18px; }
.proof-phone {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 10px;
  width: min(26%, 160px);
  aspect-ratio: 9 / 18;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(180deg, #25283a, #05060b);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 90px rgba(0,0,0,.60), 0 0 50px rgba(168,85,247,.18);
}
.proof-phone video { border-radius: 22px; }
.proof-team-map {
  position: relative;
  min-height: 420px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.proof-team-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 900;
  background: radial-gradient(circle, rgba(168,85,247,.34), rgba(10,12,20,.94));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 60px rgba(168,85,247,.24);
}

.proof-team-node {
  position: absolute;
  width: 185px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.proof-team-node i {
  color: #f472b6;
  font-size: 24px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(244,114,182,.34));
}

.proof-team-node strong {
  display: block;
  color: #fff;
  font-size: 19px;
  margin-bottom: 6px;
}

.proof-team-node span {
  display: block;
  color: rgba(232,236,245,.72);
  font-size: 13px;
  line-height: 1.55;
}

.node-plan {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  text-align: center;
}

.node-design {
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
}

.node-dev {
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
@media (max-width: 1000px) {
  .proof-showcase-row { grid-template-columns: 1fr; gap: 34px; }
  .proof-copy { max-width: 720px; }
  .proof-visual { min-height: auto; }
  .proof-device-stage { min-height: 420px; }
}
@media (max-width: 640px) {
  .proof-showcase-head { margin-bottom: 58px; }
  .proof-showcase-list { gap: 88px; }
  .proof-copy h3 { font-size: 36px; }
  .proof-copy p { font-size: 16px; }
  .proof-copy li { font-size: 15px; }
  .proof-main-shot { max-height: 300px; }
  .proof-sub-shot { width: 54%; max-height: 160px; }
  .proof-device-stage { min-height: 330px; }
  .proof-monitor { width: 92%; }
  .proof-phone { width: 34%; }
  .proof-team-map { min-height: auto; display: grid; gap: 14px; padding: 20px; border-radius: 26px; }
  .proof-team-core,
.proof-team-node {
  position: relative;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100%;
  height: auto;
  border-radius: 22px;
  text-align: center;
}

.proof-team-core {
  padding: 24px;
}

.proof-team-node i {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.proof-team-node strong,
.proof-team-node span {
  text-align: center;
}
}

/* ============================================
   PROOF — 미드톤 + 마블
   ============================================ */
.proof {
  padding: 110px 0;
}
.proof-bg-img {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.proof-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .08;
  filter: brightness(.7);
}
.proof::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124,58,237,.2), transparent 50%);
  z-index: 1;
}
.proof .section-title { color: #fff; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
@media (max-width: 720px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
.proof-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.proof-card:hover { border-color: rgba(124,58,237,.5); transform: translateY(-4px); background: rgba(255,255,255,.09); }
.proof-card i { font-size: 28px; margin-bottom: 14px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.proof-num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.proof-label { color: rgba(255,255,255,.7); font-size: 13px; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 8px; left: 18px;
  font-size: 60px;
  font-family: Georgia, serif;
  color: rgba(124,58,237,.5);
  line-height: 1;
}
.testimonial .quote {
  color: #f1f1f5;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
}
.testimonial .who { color: rgba(255,255,255,.55); font-size: 13px; padding-left: 24px; }

/* ============================================
   FAQ — 다크
   ============================================ */
.faq { background: #07070d; position: relative; }
.faq::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(124,58,237,.1), transparent 50%);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid; gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color .25s;
  backdrop-filter: blur(8px);
}
.faq-item[open] { border-color: rgba(124,58,237,.4); background: rgba(124,58,237,.04); }
.faq-item summary {
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--accent-2); transition: transform .25s; font-size: 14px; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  background: #050507;
  padding: 110px 0 80px;
}
.contact-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124,58,237,.3), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(6,182,212,.25), transparent 50%);
}
.contact-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-soft);
  opacity: .4;
  z-index: -1;
}
@media (max-width: 600px) { .contact-card { padding: 48px 24px; } }
.contact-title {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.contact-sub { color: var(--text-dim); margin: 0 0 36px; font-size: 16px; }
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 24px;
}
@media (max-width: 600px) { .contact-buttons { grid-template-columns: 1fr; } }
.contact-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.contact-btn::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .3s;
  z-index: -1;
}
.contact-btn.kakao::before { background: linear-gradient(135deg, #fee500, #facc15); }
.contact-btn.telegram::before { background: linear-gradient(135deg, #0088cc, #2aabee); }
.contact-btn:hover { transform: translateY(-3px); border-color: transparent; color: #1a1a1a; }
.contact-btn.telegram:hover { color: #fff; }
.contact-btn:hover::before { opacity: 1; }
.contact-btn-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(0,0,0,.25);
}
.contact-btn.kakao .contact-btn-icon { background: #fee500; color: #1a1a1a; }
.contact-btn.telegram .contact-btn-icon { background: #2aabee; color: #fff; }
.contact-btn-text { flex: 1; }
.contact-btn-text strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-btn-text small { font-size: 13px; opacity: .75; }
.contact-btn-arrow { transition: transform .25s; }
.contact-btn:hover .contact-btn-arrow { transform: translateX(6px); }

.contact-note {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.contact-note i { color: var(--accent-2); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #030305;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 600px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols h5 {
  color: #fff; font-size: 14px;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .2s;
}
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  max-width: 1240px; margin: 50px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  color: var(--text-mute);
  font-size: 13px;
}
.footer-bottom .muted { color: var(--text-mute); }

/* ============================================
   FLOATING CONTACT
   ============================================ */
.float-contact {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  transition: transform .25s;
}
.float-btn:hover { transform: scale(1.08) rotate(-6deg); }
.float-btn.kakao { background: #fee500; color: #1a1a1a; }
.float-btn.telegram { background: linear-gradient(135deg, #2aabee, #0088cc); color: #fff; }

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  animation: fadeIn .25s ease;
}
.modal[hidden] { display: none; }
.modal-card {
  width: 100%; max-width: 460px;
  padding: 36px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, #15151f 0%, #0a0a12 100%);
  border: 1px solid var(--line-strong);
  text-align: center;
  position: relative;
  animation: slideUp .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  color: #fff;
}
.modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: grid; place-items: center;
  font-size: 32px;
}
.modal-icon.kakao { background: #fee500; color: #1a1a1a; }
.modal-icon.telegram { background: linear-gradient(135deg, #2aabee, #0088cc); color: #fff; }
.modal h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.modal-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 24px; }
.modal-id-box {
  background: rgba(255,255,255,0.04);
  border: 1px dashed var(--line-strong);
  padding: 16px 20px;
  border-radius: 12px;
  font-family: 'Inter', monospace;
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.modal-id-box button {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.modal-actions { display: grid; gap: 10px; }
.modal-actions a {
  display: block;
  padding: 14px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f1f2e; color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  z-index: 1200;
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* ============================================
   HERO 섹션 간격 직접 조절용
   ============================================ */

:root {
  /* PC 간격 */
  --hero-badge-to-title-pc: 42px;     /* 뱃지 → 헤드라인 간격 */
  --hero-title-to-sub-pc: 34px;       /* 헤드라인 → 서브문구 간격 */
  --hero-sub-to-buttons-pc: 48px;     /* 서브문구 → 버튼 간격 */
  --hero-buttons-gap-pc: 22px;        /* 카카오/텔레그램 버튼 사이 간격 */
  --hero-scroll-offset-pc: -90px;     /* 버튼 아래 마우스 위치 */

  /* 모바일 간격 */
  --hero-badge-to-title-mo: 30px;
  --hero-title-to-sub-mo: 24px;
  --hero-sub-to-buttons-mo: 34px;
  --hero-buttons-gap-mo: 14px;
  --hero-scroll-offset-mo: -65px;
}

/* PC 적용 */
.badge {
  margin-bottom: var(--hero-badge-to-title-pc) !important;
}

.hero-title {
  margin: 0 0 var(--hero-title-to-sub-pc) !important;
}

.hero-sub {
  margin: 0 0 var(--hero-sub-to-buttons-pc) !important;
}

.hero-cta {
  gap: var(--hero-buttons-gap-pc) !important;
}

.hero-scroll {
  bottom: var(--hero-scroll-offset-pc) !important;
}

/* 모바일 적용 */
@media (max-width: 768px) {
  .badge {
    margin-bottom: var(--hero-badge-to-title-mo) !important;
  }

  .hero-title {
    margin: 0 0 var(--hero-title-to-sub-mo) !important;
  }

  .hero-sub {
    margin: 0 0 var(--hero-sub-to-buttons-mo) !important;
  }

  .hero-cta {
    gap: var(--hero-buttons-gap-mo) !important;
  }

  .hero-scroll {
    bottom: var(--hero-scroll-offset-mo) !important;
  }
}
/* ============================================
   PROBLEM — Final Image Version
   ============================================ */
.problem-section {
  padding-top: 120px;
  padding-bottom: 0 !important;
  background:
    radial-gradient(circle at 18% 16%, rgba(124,58,237,.20), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(6,182,212,.16), transparent 32%),
    linear-gradient(180deg, #151622 0%, #10111a 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.problem-head { margin-bottom: 34px; }
.problem-image-wrap {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.problem-section-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  border: none;
  box-shadow: none;
  background: transparent;
}
@media (max-width: 768px) {
  .problem-section { padding-top: 80px; }
  .problem-image-wrap { max-width: 100%; }
}

/* ============================================
   Image / Link Drag Guard
   ============================================ */
img,
a {
  -webkit-user-drag: none;
  user-drag: none;
}
img {
  user-select: none;
  -webkit-user-select: none;
}
/* ============================================
   Mobile Fix — Service Section Image Overlap
   ============================================ */
@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .services {
    overflow: hidden !important;
    padding-top: 86px !important;
  }

  .services .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .service-sticky-layout {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .service-sticky-visual {
    position: relative !important;
    top: auto !important;
    padding: 0 0 24px !important;
  }

  .sticky-brand-only {
    gap: 18px !important;
  }

  .sticky-service-logo-big {
    width: min(240px, 76vw) !important;
    max-width: 100% !important;
  }

  .sticky-brand-only span {
    font-size: clamp(18px, 5vw, 24px) !important;
    line-height: 1.45 !important;
    letter-spacing: .18em !important;
  }

  .service-flow-list {
    width: 100% !important;
    min-width: 0 !important;
    gap: 16px !important;
  }

  .service-flow-item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 440px !important;
    padding: 28px 22px 238px 22px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .service-flow-num,
  .service-flow-icon,
  .service-flow-item h3,
  .service-flow-item p {
    position: relative !important;
    z-index: 3 !important;
  }

  .service-flow-num {
    left: auto !important;
    top: auto !important;
    display: inline-block !important;
    margin-bottom: 14px !important;
  }

  .service-flow-icon {
    margin-bottom: 16px !important;
  }

  .service-flow-item h3 {
    font-size: clamp(26px, 7.6vw, 31px) !important;
    line-height: 1.1 !important;
    word-break: keep-all !important;
    white-space: normal !important;
  }

  .service-flow-item p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    word-break: keep-all !important;
  }

  .service-flow-image {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 22px !important;
    transform: translateX(-50%) !important;
    width: min(78%, 260px) !important;
    max-height: 205px !important;
    object-fit: contain !important;
    z-index: 1 !important;
    opacity: .95 !important;
    pointer-events: none !important;
  }
}
