/* =========================================================
   VITACON — Copper Edition
   브랜드 컬러: 로고 기반 코퍼/로즈골드 팔레트
   ========================================================= */

:root {
  /* 민트 팔레트 */
  --copper: #039690;
  --copper-deep: #027570;
  --copper-light: #5ec4c0;
  --copper-soft: #e6f5f5;
  --copper-glow: rgba(3, 150, 144, 0.14);

  /* Neutrals (기존 톤) */
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --surface: #ffffff;
  --ink: #0f0f10;
  --ink-mute: #6b6b70;
  --ink-soft: #9a9aa0;
  --line: #e6e6e2;
  --line-strong: #d4d4cf;

  /* Legacy alias (기존 클래스 호환) */
  --accent: var(--copper);
  --accent-soft: var(--copper-soft);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.04);
  --shadow-md: 0 8px 24px -12px rgba(3, 150, 144, 0.18);
  --shadow-lg: 0 24px 48px -20px rgba(3, 150, 144, 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-kr: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-kr);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-feature-settings: "ss01", "tnum";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
em { font-style: normal; color: var(--copper-deep); }

/* Focus visible — 접근성 */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Section common ---------- */
section { padding: 72px 0; }
section[id] { scroll-margin-top: 65px; }
.section-label {
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--copper-deep);
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--ink);
}
.section-desc {
  color: var(--ink-mute);
  font-size: 20px;
  margin-bottom: 64px;
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all .25s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn--solid {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, var(--shadow-sm);
}
.btn--solid:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(45, 207, 200, 0.4);
}
.btn--solid:active { transform: translateY(0); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
  background: var(--copper-soft);
}
.btn--ghost:active { transform: translateY(1px); }
.btn--dark {
  background: var(--copper);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}
.btn--dark:active { transform: translateY(0); }
.btn--outline-white {
  border: 1px solid var(--line-strong);
  color: #000;
  background: transparent;
}
.btn--outline-white:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
  background: var(--copper-soft);
}
.btn--outline-white:active { transform: translateY(1px); }
.btn--lg { padding: 17px 34px; font-size: 15px; white-space: nowrap; }
.btn__icon { display: inline-block; vertical-align: middle; flex-shrink: 0; margin-left: 2px; }

/* ============ GNB ============ */
.gnb {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.gnb__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}
.gnb__nav { display: flex; gap: 30px; flex: 1; }
.gnb__nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-mute);
  position: relative;
  padding: 6px 0;
}
.gnb__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--copper);
  transition: width .3s var(--ease);
}
.gnb__nav a:hover { color: var(--ink); }
.gnb__nav a:hover::after { width: 100%; }
.gnb__cta { display: flex; gap: 10px; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 40px;
  background: var(--bg);
  position: relative;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
  position: relative;
}
.hero__eyebrow {
  color: var(--copper-deep);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 18px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--ink);
}
.hero__tagline {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}
.hero__tagline--sub { font-size: 64px !important; white-space: nowrap; }
.hero__tagline em {
  font-style: normal;
  color: var(--copper-deep);
}
.hero__sub2 {
  font-size: clamp(17px, 1.8vw, 24px);
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 8px;
}
.hero__sub2 mark {
  background: rgba(45, 207, 200, 0.18);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.hero__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 360px;
  height: 200px !important;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
}
.hero__pillar-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--copper-deep);
  padding-top: 2px;
  flex-shrink: 0;
}
.hero__pillar-title {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__pillar-desc {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__pillar strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--copper-deep);
}
.hero__pillar p {
  font-size: 18px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}
.hero__sub {
  color: var(--ink-mute);
  font-size: clamp(15px, 1.35vw, 18px);
  margin-bottom: 20px;
  line-height: 1.7;
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  animation: scrollNudge 2.4s ease-in-out infinite;
}
@keyframes scrollNudge {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Hero 3-Pillar */
.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  text-align: left;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pillar:hover {
  border-color: var(--copper-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar:hover::before { opacity: 1; }
.pillar__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--copper-deep);
  padding: 5px 11px;
  background: var(--copper-soft);
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.pillar__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pillar__desc {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
}
.pillar__list { list-style: none; }
.pillar__list li {
  font-size: 14px;
  color: var(--ink-mute);
  padding: 7px 0 7px 22px;
  position: relative;
  line-height: 1.6;
}
.pillar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 12px;
  height: 1.5px;
  background: var(--copper);
}
.pillar__list strong { color: var(--ink); font-weight: 700; }

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* ============ CLIENTS ============ */
.clients {
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  scroll-margin-top: 65px;
}
.clients__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.clients .section-label {
  text-align: center;
  margin-bottom: 32px;
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.clients__grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
  background: var(--surface);
  transition: all .25s var(--ease);
}
.clients__grid span:hover {
  border-color: var(--copper-light);
  color: var(--copper-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -12px rgba(45, 207, 200, 0.2);
}

/* 로고 이미지 셀 — 광학적 크기 통일 */
.clients__grid-wrap {
  position: relative;
}
.clients__fade {
  height: 160px;
  background: linear-gradient(to bottom, var(--bg) 0%, #d0d0d0 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 36px;
  width: 100%;
}
.clients__more-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.client--logo {
  padding: 0 16px;
  overflow: visible;
  position: relative;
}
.client--logo img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  position: relative;
  z-index: 2;
}
.client--logo:hover { z-index: 3; }

/* 개별 광학 보정 — 박스 안에서 시각적 무게 통일 */
/* 워드마크형(짧은 가로) — 살짝 작게 */
.client--logo img[alt="SBS"] { max-height: 30px; }
.client--logo img[alt="KT"] { max-height: 28px; }
.client--logo img[alt="삼성전자"] { max-height: 60px; }
.client--logo img[alt="키엘"] { max-height: 78px; }

/* 가로형 콤비(긴 가로) — 표준 */
.client--logo img[alt="키움증권"] { max-height: 32px; }
.client--logo img[alt="스마일게이트"] { max-height: 20px; }
.client--logo img[alt="희망스튜디오"] { max-height: 72px; }
.client--logo img[alt="밀리의 서재"] { max-height: 25px; }

/* 신규 로고 — 2배 */
.client--logo img[alt="고피자"] { max-height: 144px; }
.client--logo img[alt="롯데칠성"] { max-height: 80px; }
.client--logo img[alt="삼분의일"] { max-height: 240px; }
.client--logo img[alt="세탁특공대"] { max-height: 240px; }
.client--logo img[alt="아티스트리"] { max-height: 192px; }
.client--logo img[alt="알보젠코리아"] { max-height: 192px; }
.client--logo img[alt="오비맥주"] { max-height: 80px; }
.client--logo img[alt="이츠스킨"] { max-height: 192px; }
.client--logo img[alt="핀다"] { max-height: 160px; }
.client--logo img[alt="하이트진로"] { max-height: 80px; }

/* 상하조합형(세로형, 정사각 가까운 비율) — 크게 */
.client--logo img[alt="문화체육관광부"] { max-height: 64px; }
.client--logo img[alt="한국문화예술위원회"] { max-height: 48px; }
.client--logo img[alt="백석문화대학교"] { max-height: 48px; }

/* 스마일게이트 × 희망스튜디오 — 묶음 표시 */
.client--pair-l { border-right-color: transparent; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.client--pair-r { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.client--pair-l:hover,
.client--pair-r:hover {
  border-color: var(--copper-light);
}

/* 텍스트 셀(로고 미보유) — 로고 셀과 광학적 무게 통일 */
.client--text {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

/* ============ ABOUT ============ */
.about { background: var(--bg); }
.about__lead {
  font-size: 18px;
  color: var(--ink-mute);
  max-width: 820px;
  margin-bottom: 24px;
  line-height: 1.75;
}
.about__motto {
  margin: 24px 0 72px;
  padding: 28px 32px;
  border-left: 3px solid var(--copper);
  background: var(--copper-soft);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  border-radius: 6px;
  max-width: 820px;
}
.about__motto em {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: var(--copper-deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.about__stats--3col {
  grid-template-columns: repeat(3, 1fr) !important;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  padding: 36px 28px;
  background: var(--surface);
  transition: background .2s var(--ease);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat:hover { background: var(--copper-soft); }
.stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--copper-deep);
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  color: var(--ink-mute);
  font-size: 17px;
  letter-spacing: 0.01em;
}

/* ============ WHY ============ */
.why { background: var(--bg); padding: 80px 0 180px; }
.why__grid-wrap { padding: 0 28px; max-width: 1240px; margin: 0 auto; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.why__card {
  background: var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
  position: relative;
}
.why__card:hover {
  border-color: var(--copper-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why__num {
  display: block;
  font-size: 16px;
  color: var(--copper-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.why__card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.why__card p {
  color: var(--ink-mute);
  font-size: 18px;
  line-height: 1.7;
}

/* ============ PORTFOLIO ============ */
.portfolio { background: var(--bg); scroll-margin-top: 0; padding-top: 32px; }
.portfolio__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 48px 0 56px;
}
.portfolio__tabs button {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  background: var(--surface);
  transition: all .2s var(--ease);
}
.portfolio__tabs button:hover {
  border-color: var(--copper);
  color: var(--copper-deep);
}
.portfolio__tabs button.active {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 24px;
}
.pf-card {
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.pf-card__thumb {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, #eeece8 0%, #dcd9d2 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .35s var(--ease);
}
.pf-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.pf-card:hover .pf-card__thumb img {
  transform: scale(1.04);
}
.pf-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(15, 15, 16, 0.15) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.pf-card:hover .pf-card__thumb::after {
  opacity: 1;
}
.pf-card:hover .pf-card__thumb {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper-light);
}
.pf-card:hover .pf-card__thumb::after { opacity: 1; }
.pf-card__header {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.pf-card__header h3 {
  margin: 0;
}
.pf-card__cat {
  display: inline-block;
  flex-shrink: 0;
  align-self: flex-start;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--copper-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--copper-light);
}
.pf-card h3 {
  font-size: 22px;
  margin: 2px 0 6px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}
.pf-card__sub {
  display: block;
  font-size: 16px;
  color: var(--copper-deep);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}
.pf-card p {
  color: var(--ink-mute);
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.pf-card small {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.portfolio__more { text-align: center; margin-top: 64px; }

/* ============ SOLUTION ============ */
.solution {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
}
.solution .container { position: relative; }
.solution .section-label { color: var(--copper-deep); margin-bottom: 12px; }
.solution .section-title { color: var(--ink); margin-bottom: 14px; }
.solution .section-title em { color: var(--copper-deep); }
.solution .section-desc { color: var(--ink-mute); margin-bottom: 20px; font-size: 17px; }

.sol__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.sol__card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.sol__card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(232, 181, 160, 0.3);
  transform: translateY(-4px);
}
.sol__card--highlight {
  background: var(--copper);
  border-color: var(--copper);
  box-shadow: 0 24px 48px -16px rgba(45, 207, 200, 0.45);
}
.sol__card--highlight:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

.sol__tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 7px 16px;
  border: 2px solid var(--copper-light);
  border-radius: 999px;
  margin-bottom: 22px;
  text-transform: uppercase;
  color: var(--copper-light);
  background: rgba(255,255,255,0.08);
}
.sol__card h3 {
  font-size: 24px;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #fff;
}
.sol__price {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--copper-light);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.sol__card--highlight .sol__price { color: #fff; }
.sol__target {
  color: rgba(255,255,255,0.7);
  font-size: 30px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.6;
}
.sol__card--highlight .sol__target {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.18);
}
.sol__card ul { list-style: none; }
.sol__card li {
  font-size: 30px;
  padding: 8px 0 8px 20px;
  position: relative;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.sol__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1.5px;
  background: var(--copper-light);
}
.sol__card--highlight li {
  color: rgba(255,255,255,0.95);
}
.sol__card--highlight li::before { background: #fff; }

/* ---- Solution Accordion ---- */
.sol__accordion { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.sol__item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.sol__item:first-child { border-top: 1px solid var(--line); }
.sol__summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 4px;
  cursor: pointer;
  list-style: none;
  transition: opacity .2s var(--ease);
}
.sol__summary::-webkit-details-marker { display: none; }
.sol__summary:hover { opacity: 0.7; }
.sol__summary .sol__tag {
  flex-shrink: 0;
  margin-bottom: 0;
}
.sol__summary h3 {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
}
.sol__arrow {
  font-size: 22px;
  color: var(--ink-soft);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  line-height: 1;
}
.sol__item[open] .sol__arrow { transform: rotate(45deg); }
.sol__item--highlight .sol__summary h3 { color: var(--copper-deep); }
.sol__detail {
  padding: 0 4px 36px;
  animation: fadeDown .3s var(--ease);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sol__detail .sol__target {
  color: var(--ink-mute);
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}
.sol__fit {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 2px solid var(--copper-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sol__fit p {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
  padding-left: 16px;
  position: relative;
}
.sol__fit p + p { margin-top: 6px; }
.sol__fit p::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--copper-deep);
  font-weight: 700;
}
.sol__detail ul { list-style: none; margin-bottom: 0; }
.sol__detail li {
  font-size: 17px;
  padding: 7px 0 7px 20px;
  position: relative;
  color: var(--ink-mute);
  line-height: 1.6;
}
.sol__detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 1.5px;
  background: var(--copper-deep);
}
.sol__process {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.08);
}
.sol__process h4 {
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--copper-light);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sol__process ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sol__process li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  padding: 0;
}
.sol__process li::before { display: none; }
.sol__process li span {
  font-size: 11px;
  font-weight: 700;
  color: var(--copper-light);
  letter-spacing: 0.03em;
  padding: 3px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  flex-shrink: 0;
}

.sol__note {
  margin-top: 36px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============ PROCESS ============ */
.process { background: var(--bg-alt); }
.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.process__list li {
  background: var(--surface);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.process__list li:hover {
  border-color: var(--copper-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.process__list span {
  display: inline-block;
  font-size: 12px;
  color: var(--copper-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  background: var(--copper-soft);
  border-radius: 999px;
}
.process__list h4 {
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.process__list p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ TEAM ============ */
.team { background: var(--bg); padding-top: 36px; padding-bottom: 40px; scroll-margin-top: 65px; }
.team-stats { background: var(--bg); }
.team__lead {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  margin-top: 64px;
  align-items: start;
}
.team__photo {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: stretch;
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.team__role {
  font-size: 18px;
  color: var(--copper-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.team__body h3 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 10px 0 24px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.team__quote {
  font-size: 16px;
  color: var(--ink);
  padding: 20px 24px;
  border-left: 3px solid var(--copper);
  background: var(--copper-soft);
  margin: 20px 0 28px;
  border-radius: 6px;
  line-height: 1.7;
  font-style: italic;
}
.team__body ul { list-style: none; }
.team__body li {
  padding: 9px 0 9px 22px;
  position: relative;
  color: var(--ink-mute);
  line-height: 1.6;
  font-size: 19px;
}
.team__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 1.5px;
  background: var(--copper);
}

.team__awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 88px;
  margin-bottom: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.awards__col h4 {
  font-size: 17px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.awards__col ul { list-style: none; }
.awards__col li {
  font-size: 16px;
  color: var(--ink-mute);
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.6;
}
.awards__col a {
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s var(--ease);
}
.awards__col a:hover { color: var(--copper-deep); }
.awards__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

/* ============ FAQ ============ */
.faq { background: var(--bg-alt); }
.faq__list {
  max-width: 880px;
  margin: 64px auto 0;
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 28px 4px;
  transition: padding .2s var(--ease);
}
.faq__item summary {
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq__item summary:hover { color: var(--copper-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%232dcfc8' stroke-width='1.8' stroke-linecap='round'><path d='M7 1v12M1 7h12'/></svg>");
  background-size: contain;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item p {
  color: var(--ink-mute);
  font-size: 15px;
  margin-top: 18px;
  line-height: 1.75;
  max-width: 760px;
}

/* ============ CONTACT ============ */
.contact { background: var(--bg); padding: 60px 0 48px; }
.contact .section-label { margin-bottom: 12px; }
.contact .section-title { margin-bottom: 20px; }
.contact__form {
  max-width: 720px;
  margin: 20px auto 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: all .2s var(--ease);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--ink-soft); }
.contact__form input:hover,
.contact__form select:hover,
.contact__form textarea:hover { border-color: var(--copper-light); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-glow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__form button {
  align-self: flex-start;
  margin-top: 16px;
}

.contact__info {
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  line-height: 1.9;
}
.contact__info strong {
  color: var(--ink);
  font-size: 17px;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.contact__social {
  margin-top: 12px;
  font-size: 13px;
  color: var(--copper-deep);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--copper);
  color: rgba(0,0,0,0.75);
  padding: 72px 0 48px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer .logo img {
  height: 36px;
  filter: brightness(0);
  opacity: 0.85;
  margin-bottom: 14px;
}
.footer__meta {
  text-align: right;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(0,0,0,0.6);
}
.footer__meta p:first-child { color: rgba(0,0,0,0.85); }
.footer__sns { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; margin: 8px 0; }
.footer__sns a { color: rgba(0,0,0,0.7); font-size: 16px; transition: color .2s var(--ease); }
.footer__sns a:hover { color: rgba(0,0,0,1); }

/* ============ PORTFOLIO MODAL ============ */
.pf-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.pf-modal[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}
.pf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 16, 0.7);
  backdrop-filter: blur(4px);
}
.pf-modal__box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: calc(100% - 48px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform .3s var(--ease);
}
.pf-modal[aria-hidden="false"] .pf-modal__box {
  transform: translateY(0);
}
.pf-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all .2s var(--ease);
}
.pf-modal__close:hover { background: var(--line); color: var(--ink); }
.pf-modal__img-wrap {
  aspect-ratio: 16/5;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pf-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-modal__body {
  padding: 32px 36px 40px;
}
.pf-modal__cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--copper-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.pf-modal__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.pf-modal__headline {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.pf-modal__desc {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.75;
  margin-bottom: 16px;
}
.pf-modal__kpi {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pf-modal__kpi li {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.6;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-modal__partner {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  section { padding: 56px 0; }
  .clients { padding: 72px 0; }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ===== 공통 ===== */
  html { font-size: 15px; overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100vw; word-break: keep-all; }
  section { padding: 40px 0; }
  .container { padding: 0 18px; max-width: 100%; }
  .section-label { font-size: 13px; margin-bottom: 10px; }
  .section-title { font-size: 22px; line-height: 1.35; margin-bottom: 16px; word-break: keep-all; }
  .section-desc { font-size: 14px; margin-bottom: 32px; word-break: keep-all; }

  /* ===== GNB ===== */
  .gnb__inner { padding: 12px 18px; gap: 10px; justify-content: space-between; }
  .gnb__nav { display: none; }
  .gnb__cta { gap: 8px; }
  .gnb__cta .btn--dark { font-size: 12px; padding: 9px 16px; }
  .gnb__cta .btn--outline-white { font-size: 11px; padding: 8px 12px; }
  .logo img { height: 26px; }

  /* ===== HERO ===== */
  .hero { padding: 56px 0 36px; overflow: hidden; }
  .hero__inner { padding: 0 18px; max-width: 100%; overflow: hidden; }
  .hero__tagline--sub {
    font-size: 28px !important;
    white-space: normal !important;
    word-break: keep-all !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
  }
  .hero__sub2 {
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }
  .hero__pillar-table {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    border-spacing: 0 !important;
    margin-bottom: 20px !important;
  }
  .hero__pillar-row { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  .hero__pillar-td {
    display: block !important;
    padding: 18px 20px !important;
    border-radius: 12px !important;
    text-align: center !important;
  }
  .hero__pillar-td strong { font-size: 17px !important; margin-bottom: 8px !important; display: block !important; }
  .hero__pillar-td p { font-size: 13px !important; line-height: 1.6 !important; padding-top: 0 !important; }
  .hero__cta { flex-direction: column; gap: 10px; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px 20px; }

  /* ===== ABOUT ===== */
  .team { padding-top: 40px; padding-bottom: 32px; }
  .team__lead { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .team__body { text-align: center; }
  .team__body ul { text-align: left; }
  .team__body ul li { word-break: break-all !important; overflow-wrap: anywhere !important; font-size: 11px !important; line-height: 1.7; }
  .team__awards li { word-break: break-all !important; overflow-wrap: anywhere !important; font-size: 10px !important; line-height: 1.6; }
  .team__photo { max-width: 240px; margin: 0 auto; align-self: auto; height: auto; position: relative; overflow: visible; }
  .team__photo img { position: static !important; height: auto !important; width: 100% !important; object-fit: cover; border-radius: 12px; }
  .team__body h3 { font-size: 22px; }
  .team__body ul li { font-size: 13px; }
  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about__stats--3col { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 14px 8px; text-align: center; }
  .stat strong { font-size: 12px; line-height: 1.4; word-break: keep-all; }
  .stat span { font-size: 10px; line-height: 1.5; word-break: keep-all; margin-top: 6px; display: block; }
  .team__awards { grid-template-columns: 1fr; gap: 24px; }
  .team__awards h4 { font-size: 15px; }
  .team__awards li { font-size: 12px; }

  /* ===== PORTFOLIO ===== */
  .portfolio__tabs { gap: 6px; flex-wrap: wrap; justify-content: flex-start; }
  .portfolio__tabs button { padding: 8px 14px; font-size: 12px; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 16px; }
  .pf-card__cat { font-size: 11px; padding: 4px 10px; }
  .pf-card__header h3 { font-size: 16px; }
  .pf-modal__overlay { padding: 0; align-items: flex-end; }
  .pf-modal__box {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 18px !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh;
    overflow-y: auto;
  }
  .pf-modal__img-wrap { aspect-ratio: 16/7 !important; }
  .pf-modal__kpi { grid-template-columns: 1fr !important; gap: 8px; }
  .pf-modal__kpi li { font-size: 13px; padding: 10px 12px; }
  .pf-modal__title { font-size: 20px; }
  .pf-modal__desc { font-size: 14px; }

  /* ===== PARTNERS ===== */
  .clients { padding: 36px 0 0; overflow: hidden; }
  .clients__inner { padding: 0 12px; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .clients__grid span { height: 48px; font-size: 11px; }
  .client--logo { padding: 0 6px; display: flex; align-items: center; justify-content: center; height: 64px; }
  .client--logo img,
  .client--logo img[alt] { max-height: 24px !important; max-width: 76px !important; width: auto !important; height: auto !important; }
  .client--logo img[alt="SBS"] { max-height: 19px !important; }
  .client--logo img[alt="문화체육관광부"] { max-height: 26px !important; }
  .client--logo img[alt="스마일게이트"] { max-height: 60px !important; }
  .client--logo img[alt="희망스튜디오"] { max-height: 60px !important; }
  .client--logo img[alt="KT"] { max-height: 18px !important; }
  .client--logo img[alt="핀다"] { max-height: 18px !important; }
  .client--logo img[alt="롯데칠성"] { max-height: 36px !important; }
  .client--logo img[alt="하이트진로"] { max-height: 36px !important; }
  .client--logo img[alt="오비맥주"] { max-height: 32px !important; }
  .client--logo img[alt="키엘"] { max-height: 48px !important; }

  /* ===== WHY ===== */
  .why { padding: 40px 0 60px; }
  .why__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .why__grid-wrap { padding: 0 18px; }
  .why__card { padding: 24px 20px; }
  .why__card h3 { font-size: 17px; }
  .why__card p { font-size: 13px; word-break: keep-all; }
  .why__num { font-size: 12px; }
  .why__card:nth-child(1) p::after { content: none; }
  /* 모바일 Why 카드 줄나눔 */
  .why__card:nth-child(1) p { word-break: keep-all; }
  .why .section-title { word-break: keep-all; }
  .why .section-desc { word-break: keep-all; }

  /* ===== SOLUTION ===== */
  .sol__grid { grid-template-columns: 1fr; gap: 12px; }
  .sol__card { padding: 24px 20px; }
  .sol__price { font-size: 24px; }
  .sol__tag { font-size: 11px; }

  /* ===== CONTACT ===== */
  .contact { padding: 40px 0 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form input,
  .contact__form textarea,
  .contact__form select { font-size: 14px; padding: 12px 14px; }
  .contact__form button { width: 100%; align-self: stretch; font-size: 15px; padding: 14px; }

  /* ===== FOOTER ===== */
  .footer__inner { flex-direction: column; gap: 20px; }
  .footer__meta { text-align: left; font-size: 12px; }
  .footer__brand img { height: 22px; }
  .footer__sns { justify-content: flex-start; gap: 10px; }
  .footer__sns a { font-size: 12px; }

  /* ===== PROCESS ===== */
  .process__list { grid-template-columns: 1fr; }
}

/* ============ PRINT ============ */
@media print {
  .gnb, .hero__cta, .contact__form, .portfolio__more { display: none; }
  body { background: white; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
