/* =============================================
   GOSPELFIX — style.css
   Graaflow 테마 기반 라이트 크림 디자인
   ============================================= */

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

:root {
  --bg:         #F7F5F0;
  --white:      #FFFFFF;
  --black:      #111111;
  --gray1:      #444444;
  --gray2:      #888888;
  --gray3:      #CCCCCC;
  --border:     #E8E5DF;
  --orange:     #FF5500;
  --orange2:    #FF6B1A;
  --orange-bg:  rgba(255, 85, 0, 0.07);
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --font-kr:    'Pretendard Variable', 'Pretendard', sans-serif;
  --font-en:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  word-break: keep-all;
}


#main-content { padding-top: 64px; }

/* ────────────────────────────────────────────
   NAV
   ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, backdrop-filter 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 64px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.nav-logo span { color: var(--orange); margin-left: -5px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--gray1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--black); }

.nav-links a.active,
.nav-mobile-menu a.active {
  color: var(--orange2);
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  display: inline-block;
}

.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }

nav.scrolled {
  background: rgba(247, 245, 240, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* 모바일 햄버거 */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 드롭다운 */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  color: var(--gray1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}

.nav-mobile-menu a:hover { color: var(--black); }

.nav-mobile-menu .mobile-cta {
  margin-top: 16px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 13px;
  border-radius: 100px;
  font-weight: 700;
  border-bottom: none;
}

.nav-mobile-menu .mobile-cta:hover { background: var(--orange); color: var(--white); }


/* ────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 96px 60px 72px;
  border-bottom: 1px solid var(--border);
}


.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray1);
  margin-bottom: 36px;
}

.hero-label-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(42px, 6.5vw, 84px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 22px;
}

.hero-title .outline {
  color: var(--black);
  -webkit-text-stroke: unset;
}

.hero-title .accent  { color: var(--orange); }
.hero-title .accent2 { color: var(--orange2); }
.hero-title .accent-playfair {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray1);
  font-weight: 400;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 44px;
}

.hero-sub strong { color: var(--black); font-weight: 700; }

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ── 버튼 공통 베이스 ─────────────────────────── */
/* 모든 .btn-* 클래스에서 반복되는 공통 속성을 추출 */
.btn-base {
  display: inline-block;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
}

/* ── 버튼 개별 스타일 ─────────────────────────── */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 15px 36px;
  font-size: 15px;
  transition: background 0.18s, transform 0.18s;
}

.btn-primary:hover { background: var(--orange); transform: translateY(-2px); }

.btn-kakao {
  background: #FEE500;
  color: #000;
  padding: 15px 36px;
  font-size: 15px;
  transition: background 0.18s, transform 0.18s;
}

.btn-kakao:hover { background: #f0d800; transform: translateY(-2px); }

.btn-secondary {
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500; /* 예외: secondary만 700이 아닌 500 사용 */
  transition: all 0.18s;
}

.btn-secondary:hover { background: var(--black); color: var(--white); }

/* 히어로 통계 스트립 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 44px;
  position: static;
}

.hero-stat-item {
  padding: 0 48px;
  border-right: 1px solid var(--border);
  text-align: center;
  flex-direction: column;
}

.hero-stat-item:last-child { border-right: none; }

.hero-stat-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-num span { font-size: 0.55em; color: var(--black); }

.hero-stat-txt {
  font-size: 13px;
  color: var(--gray2);
  margin-top: 5px;
  font-weight: 400;
}



/* ────────────────────────────────────────────
   TICKER
   ──────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--white);
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--gray2);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ────────────────────────────────────────────
   SECTIONS COMMON
   ──────────────────────────────────────────── */
section { padding: 88px 60px; }

.section-label {
  display: inline-block;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}


.section-title {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--black);
}

.section-title .accent { color: var(--orange); }

.section-desc {
  font-size: 16px;
  color: var(--gray1);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 56px;
  font-weight: 300;
}

.portfolio-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 7px 16px 7px 12px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 20px;
  font-size: 13px;
  color: #dc2626;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  flex-shrink: 0;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { opacity: 0.7; transform: scale(1.15); box-shadow: 0 0 0 4px rgba(220, 38, 38, 0); }
}


/* ────────────────────────────────────────────
   WHY / STATS
   ──────────────────────────────────────────── */
#why {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}


.stat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.stat-label { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 6px; }
.stat-desc { font-size: 13px; color: var(--gray2); line-height: 1.6; font-weight: 300; }

.metrics-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.metric-bar-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.metric-bar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--black);
  letter-spacing: -0.01em;
}

.bar-item { margin-bottom: 20px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

.bar-label span:first-child { color: var(--gray2); font-weight: 400; }
.bar-label span:last-child { color: var(--orange); font-weight: 700; }

.bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill.animated { transform: scaleX(1); }

.kpi-cards {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kpi-item { text-align: center; }

.kpi-val {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}

.kpi-val span { color: var(--orange); }
.kpi-txt { font-size: 12px; color: var(--gray2); font-weight: 400; }


/* ────────────────────────────────────────────
   SERVICES
   ──────────────────────────────────────────── */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.service-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 14px;
  color: var(--gray1);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.service-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}


/* ────────────────────────────────────────────
   BEFORE / AFTER
   ──────────────────────────────────────────── */
#before-after {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 16px;
  align-items: stretch;
}

.ba-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.ba-col.after {
  border-color: var(--orange);
  background: rgba(255, 85, 0, 0.03);
}

.ba-col-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.ba-col-title.before { color: var(--gray2); }
.ba-col-title.after  { color: var(--orange); }

.ba-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ba-icon { font-size: 20px; flex-shrink: 0; }
.ba-text { font-size: 14px; color: var(--gray1); line-height: 1.65; font-weight: 300; }
.ba-text.after-text { color: var(--black); font-weight: 500; }

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

.arrow-right {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}


/* ────────────────────────────────────────────
   PORTFOLIO
   ──────────────────────────────────────────── */
#portfolio { background: var(--bg); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.portfolio-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

.portfolio-card:hover .portfolio-img { transform: scale(1.04); }

.portfolio-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

/* 썸네일 하단 그라데이션 오버레이 */
.portfolio-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 18%, transparent 38%);
  pointer-events: none;
}

.portfolio-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  background: var(--bg);
}

.portfolio-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--bg);
}

.portfolio-info { padding: 24px 26px; }

.portfolio-tag {
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portfolio-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.portfolio-desc {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.65;
  margin-bottom: 10px;
  font-weight: 300;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.portfolio-type,
.portfolio-tech,
.portfolio-company {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.portfolio-type {
  background: rgba(255, 85, 0, 0.1);
  color: var(--orange);
}

.portfolio-tech {
  background: rgba(255, 85, 0, 0.1);
  color: var(--orange);
}

.portfolio-company {
  background: rgba(0, 0, 0, 0.06);
  color: var(--gray2);
}

.portfolio-period {
  font-size: 11px;
  color: var(--gray2);
  opacity: 0.7;
  margin-bottom: 12px;
}

.portfolio-link {
  font-size: 13px;
  color: var(--gray2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.portfolio-link:hover { color: var(--orange); }

/* ── 포트폴리오 텍스트 목록 (more.more.more.) ── */
.portfolio-more {
  margin-top: 80px;
}

.pmore-heading {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 40px;
}

.pmore-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray2);
  margin-bottom: 40px;
  margin-top: -24px;
}

.pmore-line {
  width: 1px;
  height: 80px;
  background: var(--orange);
  margin: 0 auto 60px;
}

.pmore-table {
  max-width: 900px;
  margin: 0 auto;
}

.pmore-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.pmore-group:last-child {
  border-bottom: 1px solid var(--border);
}

.pmore-year {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  padding-top: 2px;
  white-space: nowrap;
}

.pmore-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pmore-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.pmore-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pmore-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmore-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}

.pmore-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
}

.pmore-company {
  font-size: 0.875rem;
  color: #888;
  white-space: nowrap;
  text-align: right;
}

.pmore-type {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  min-width: 32px;
  text-align: right;
}

@media (max-width: 600px) {
  .pmore-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pmore-row {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }
  .pmore-name {
    font-size: 0.875rem;
  }
  .pmore-company {
    font-size: 0.75rem;
    text-align: right;
  }
  .pmore-type {
    font-size: 0.75rem;
  }
}


/* ────────────────────────────────────────────
   REVIEWS
   ──────────────────────────────────────────── */
#reviews {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.reviews-swiper-wrap {
  margin-top: 48px;
}

/* PC: swiper 비활성 — grid로 표시 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* PC에서 swiper-slide는 단순 컨테이너로 동작 */
@media (min-width: 769px) {
  .reviews-swiper {
    overflow: visible;
  }
  .reviews-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: none !important;
    width: auto !important;
  }
  .reviews-swiper .swiper-slide {
    width: auto !important;
    margin: 0 !important;
  }
  .reviews-pagination {
    display: none;
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.review-tag {
  display: inline-block;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.review-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray1);
  flex: 1;
}

.review-metric {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.review-role {
  font-size: 13px;
  color: var(--gray2);
}

@media (max-width: 900px) and (min-width: 769px) {
  .reviews-swiper .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 모바일: Swiper 슬라이더로 전환 */
@media (max-width: 768px) {
  .reviews-swiper-wrap {
    overflow: hidden;
  }
  .reviews-swiper .swiper-wrapper {
    display: flex;
    width: auto;
    transform: translateX(0);
    gap: 0;
  }
  .reviews-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .reviews-swiper {
    padding-bottom: 52px !important;
  }
  .reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    bottom: 0 !important;
  }
  .reviews-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    opacity: 1;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
  }
  .reviews-pagination .swiper-pagination-bullet-active {
    background: var(--orange);
    width: 24px;
    border-radius: 4px;
  }
}

/* ────────────────────────────────────────────
   PROCESS
   ──────────────────────────────────────────── */
#process {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-list { counter-reset: step; }

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  transition: background 0.18s;
}

.process-item:hover { background: var(--bg); }
.process-item:last-child { border-bottom: 1px solid var(--border); }

.process-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  padding-top: 4px;
  font-family: monospace;
}

.process-body { padding-right: 60px; }
.process-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-desc { font-size: 14px; color: var(--gray1); line-height: 1.85; font-weight: 300; }


/* ────────────────────────────────────────────
   PRICING
   ──────────────────────────────────────────── */
#pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.pricing-card.featured:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }

.pricing-badge {
  font-family: var(--font-en);
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  position: static;
  top: auto; right: auto;
}

.pricing-tier {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-tier { color: rgba(255,255,255,0.5); }

.pricing-price {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
}

.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-unit { font-size: 13px; color: var(--gray2); margin-bottom: 6px; font-weight: 300; }
.pricing-card.featured .pricing-unit { color: rgba(255,255,255,0.5); }

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.12); }

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  font-weight: 300;
  border-bottom: none;
  padding: 0;
}

.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-features li.dim { opacity: 0.38; }
.pricing-features li .check { display: none; }
.pricing-features li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pricing-features li.dim::before { content: '–'; color: var(--gray3); }

.btn-outline {
  display: block; /* 예외: 가격 카드 내 전체 너비 버튼이므로 block 사용 */
  text-align: center;
  padding: 13px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  color: var(--black);
  background: transparent;
  width: 100%;
}

.btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.btn-filled {
  display: block; /* 예외: 가격 카드 내 전체 너비 버튼이므로 block 사용 */
  text-align: center;
  padding: 13px;
  font-size: 14px;
  background: var(--orange);
  color: var(--white);
  border: 1.5px solid var(--orange);
  width: 100%;
}

.btn-filled:hover { background: var(--orange2); border-color: var(--orange2); }

.pricing-note {
  font-size: 13px;
  color: var(--gray2);
  text-align: center;
  margin-top: 32px;
  line-height: 1.85;
  font-weight: 300;
}

.pricing-note a { color: var(--orange); text-decoration: none; font-weight: 600; }

.pricing-original {
  font-size: 0.5em;
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 6px;
  font-weight: 400;
}


/* ────────────────────────────────────────────
   TRUTH (CTA 배너)
   ──────────────────────────────────────────── */
.truth-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 60px;
  text-align: center;
}


.truth-section h2 {
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 22px;
  letter-spacing: -0.03em;
  color: var(--white);
}

.truth-section p {
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.btn-dark {
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  padding: 16px 40px;
  transition: background 0.18s, transform 0.18s;
}

.btn-dark:hover { background: var(--orange2); transform: translateY(-2px); }


/* ────────────────────────────────────────────
   CONTACT
   ──────────────────────────────────────────── */
#contact {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
}

.contact-left .section-title { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 0; }

.contact-highlight {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-top: 20px;
}

.contact-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.badge {
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--gray1);
  font-weight: 500;
  background: var(--white);
  transition: all 0.18s;
}

.badge:hover { border-color: var(--orange); color: var(--orange); }

.contact-right {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
}

.form-row { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray2);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--black);
  font-family: var(--font-kr);
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray3); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--orange); }

.form-textarea { resize: vertical; min-height: 108px; }
.form-select option { background: var(--white); color: var(--black); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  font-family: var(--font-kr);
}

.form-submit:hover { background: var(--orange); transform: translateY(-1px); }


/* ────────────────────────────────────────────
   CONTACT 버튼
   ──────────────────────────────────────────── */
.contact-btn-wrap {
  display: flex;
  flex-direction: row;
  gap: 14px;
  max-width: 560px;
  margin: 40px 0 0;
}

.contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
  filter: brightness(1.05);
}

.contact-btn-icon {
  font-size: 20px;
  line-height: 1;
}

.contact-btn-kakao {
  background: #FEE500;
  color: #111111;
}

.contact-btn-insta {
  background: linear-gradient(135deg, #FF5500 0%, #FF8C00 50%, #FFB347 100%);
  color: #ffffff;
}

@media (max-width: 540px) {
  .contact-btn-wrap { flex-direction: column; max-width: 100%; }
  .contact-btn { font-size: 15px; padding: 16px 20px; }
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 32px 0 0;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
}

.contact-info-card--link {
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-info-card--link:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(255,85,0,0.1);
  transform: translateY(-2px);
}

.contact-info-label {
  font-size: 11px;
  color: var(--gray2);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info-value {
  font-size: 14px;
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}


/* ────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────── */
footer {
  padding: 44px 60px 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: contain;
}

.footer-logo span { color: var(--orange); margin-left: -5px; }

.footer-tagline {
  font-size: 13px;
  color: var(--gray2);
  max-width: 280px;
  line-height: 1.75;
  font-weight: 300;
}

.footer-links { display: flex; gap: 52px; flex-wrap: wrap; }

.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray2);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 9px; }

.footer-col-links a {
  font-size: 13px;
  color: var(--gray1);
  text-decoration: none;
  transition: color 0.18s;
  font-weight: 400;
}

.footer-col-links a:hover { color: var(--black); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy { font-size: 13px; color: var(--gray2); font-weight: 300; }
.footer-mark { font-size: 12px; color: var(--gray3); letter-spacing: 0.04em; }


/* ────────────────────────────────────────────
   SCROLL ANIMATIONS
   ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: none; }


/* ────────────────────────────────────────────
   PROCESS — 제작 과정 (다크 가로 타임라인)
   ──────────────────────────────────────────── */
#process {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}


.process-big-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.process-big-title .accent { color: var(--orange); }

.process-sub {
  font-size: 15px;
  color: var(--gray2);
  margin-bottom: 72px;
}

/* 타임라인 */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* 원들을 잇는 가로선 (회색 베이스) */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

/* 이동하는 주황 오브젝트 */
.process-line-dot {
  position: absolute;
  top: 34px;
  left: calc(12.5%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 85, 0, 0.5);
  z-index: 0;
  animation: dotTravel 2.8s ease-in-out infinite;
}

@keyframes dotTravel {
  0%   { left: calc(12.5%);          opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 1; }
  96%  { left: calc(87.5% - 20px);   opacity: 0; }
  100% { left: calc(87.5% - 20px);   opacity: 0; }
}

.ptl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 12px;
}

.ptl-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  margin-bottom: 28px;
  transition: background 0.2s, box-shadow 0.2s;
}

.ptl-circle span {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.ptl-item:hover .ptl-circle {
  background: var(--orange);
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.25);
}

.ptl-item:hover .ptl-circle span { color: #fff; }

.ptl-info { text-align: center; }

.ptl-timing {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ptl-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ptl-desc {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.75;
}

.process-cta {
  text-align: center;
  margin-top: 60px;
}

/* ────────────────────────────────────────────
   POSITIONING — 경쟁 포지셔닝
   ──────────────────────────────────────────── */
#positioning {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.pos-table {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pos-row {
  display: grid;
  grid-template-columns: 160px 1fr 1.2fr 1fr;
  border-bottom: 1px solid var(--border);
}

.pos-row:last-child { border-bottom: none; }

.pos-cell {
  padding: 18px 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}

.pos-cell:last-child { border-right: none; }

.pos-header .pos-cell {
  font-weight: 700;
  font-size: 12px;
  color: var(--gray2);
  background: var(--bg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 24px;
}

.pos-label-col {
  font-weight: 600;
  color: var(--gray1);
  font-size: 13px;
  background: var(--bg);
}

.pos-hl { background: var(--orange-bg); }

.pos-header .pos-hl {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
}

.pos-good { color: var(--orange); font-weight: 700; }
.pos-bad  { color: var(--gray2); }
.pos-mid  { color: var(--gray1); }

/* ────────────────────────────────────────────
   FLOATING BUTTONS
   ──────────────────────────────────────────── */
.float-btns {
  position: fixed;
  right: 24px;
  bottom: 36px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.float-btn-kakao { background: #FEE500; color: #000; }

.float-btn-insta {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

/* ────────────────────────────────────────────
   TOAST
   ──────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 100px;
  z-index: 9999;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.toast.show { transform: translateY(0); opacity: 1; }


/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 72px 24px; }
  .hero { padding: 72px 24px 56px; }

  /* Process 모바일: 세로 타임라인으로 전환 */
  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 48px 0;
  }
  .process-timeline::before {
    display: none;
  }
  .process-line-dot { display: none; }
  .ptl-circle { width: 56px; height: 56px; }
  .ptl-circle span { font-size: 16px; }
  .ptl-title { font-size: 16px; }

  /* Positioning 모바일: 레이블 컬럼 숨기고 3열 */
  .pos-row { grid-template-columns: 1fr 1.2fr 1fr; }
  .pos-label-col { display: none; }
  .pos-cell { padding: 14px 16px; font-size: 13px; }

  /* Float 버튼 모바일: 텍스트 숨기고 원형 */
  .float-btn span { display: none; }
  .float-btn { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }

  .hero-stats {
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 36px;
  }

  .hero-stat-item {
    padding: 16px 28px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex: 1 1 45%;
  }

  .hero-stat-item:last-child { border-bottom: none; }

  .metrics-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 20px; }
  .ba-grid { grid-template-columns: 1fr; gap: 12px; }
  .ba-sep { display: none; }

  footer { padding: 44px 20px 36px; }
  .footer-top { flex-direction: column; }
  .form-row-2 { grid-template-columns: 1fr; }

  .truth-section { padding: 64px 24px; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  /* reviews: 모바일에서 Swiper로 대체 */
  .kpi-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 24px; }
  .hero-stats { flex-direction: column; }
  .hero-stat-item { flex: 1 1 100%; text-align: center; }

  /* Positioning 최소화 */
  .pos-row { grid-template-columns: 1fr 1.2fr 1fr; }
  .pos-cell { padding: 12px 10px; font-size: 12px; }
}
