/* =========================================================
   B.able 2026 리뉴얼 — 공통 스타일
   ========================================================= */
:root {
  --brand: #e8483f;
  --brand-dark: #c7362e;
  --brand-2: #ff8a4c;
  --brand-soft: #fdecea;
  --grad: linear-gradient(135deg, #e8483f 0%, #ff7a45 55%, #ffb347 100%);
  --ink: #15171c;
  --ink-2: #3b3f47;
  --muted: #6b7280;
  --line: #e7e8ec;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --dark: #0e1014;
  --dark-2: #171a21;
  --dark-line: #262a33;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(20, 22, 28, .08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .35);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(232, 72, 63, .35); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 14px 30px rgba(232, 72, 63, .45); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; box-shadow: none; }

/* ---------- 헤더 (히어로 위에서는 어둡게, 스크롤하면 흰색) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  color: #fff; background: transparent; transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92); color: var(--ink);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* 로고: Comfortaa 700. 두 점(b 위 빨간 점, 가운데 점)은 b 세로획 굵기(0.1025em)와 똑같은 크기로 직접 그림
   수치는 Comfortaa 의 b 글자를 픽셀 단위로 잰 값 (세로획 왼쪽 0.09em, 굵기 0.1025em, 가운데 점 중심 높이 0.3675em) */
.logo {
  display: inline-block; white-space: nowrap; line-height: 1; padding-top: .2em;
  font-family: "Comfortaa", "Pretendard", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 0;
}
.logo .lg-b { position: relative; }
/* 인라인 글자 상자의 윗변 = 글꼴 윗선(기준선 위 0.88em) = b 세로획 끝(0.78em) + 간격 0.1em → 점을 그 바로 위에 */
.logo .lg-b::before {
  content: ""; position: absolute; left: .09em; top: -.04em; /* b 세로획 끝과의 간격 = 점 지름 */
  width: .1025em; height: .1025em; border-radius: 50%; background: var(--brand);
}
/* 가운데 점: 같은 크기, a·b·e 의 동그라미 한가운데 높이(소문자 높이의 절반)에 맞춤 */
.logo .lg-mid {
  display: inline-block; width: .1025em; height: .1025em; border-radius: 50%; background: currentColor;
  margin: 0 .05em .226em; vertical-align: baseline;
}
.gnb { display: flex; align-items: center; gap: 36px; }
.gnb a:not(.btn) { font-weight: 600; font-size: 15.5px; opacity: .85; transition: opacity .2s ease, color .2s ease; }
.gnb a:not(.btn):hover { opacity: 1; color: var(--brand); }
/* 지금 보고 있는 섹션: 코랄색 + 아래 작은 점 */
.gnb a.is-current { opacity: 1; color: var(--brand); position: relative; }
.gnb a.is-current::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; color: inherit; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* ---------- 섹션 공통 ---------- */
section { padding: 120px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--brand);
  letter-spacing: 1.5px; margin-bottom: 16px; text-transform: uppercase;
}
/* 로고의 코랄 점을 섹션 라벨마다 반복해서 브랜드 표식으로 사용 */
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 4px rgba(232, 72, 63, .18); }
.section-title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.28; font-weight: 800; letter-spacing: -1.4px; }
.section-desc { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* =========================================================
   1. 히어로
   ========================================================= */
.hero {
  background: var(--dark); color: #fff; padding: calc(var(--header-h) + 80px) 0 190px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* 배경 도형 5개: 광택 있는 액체 도형이 떠다니며 회전하고 가로세로가 따로 늘었다 줄어(형태 변화) 숨 쉬듯 밝기가 바뀜.
   부드럽게 움직이도록 transform·opacity 만 애니메이션 (모서리 곡률·색 필터를 매 프레임 바꾸면 버벅임) */
.hero-bg .glow {
  position: absolute; will-change: transform, opacity; backface-visibility: hidden;
  border-radius: 38% 62% 55% 45% / 48% 38% 62% 52%;
  box-shadow: inset 24px 30px 60px rgba(255, 255, 255, .26), inset -30px -40px 80px rgba(0, 0, 0, .45), 0 40px 120px rgba(0, 0, 0, .35);
}
/* 배치: 글(왼쪽)과 작업 화면(오른쪽)을 감싸듯 화면 네 모서리 쪽으로 분산. 크기는 화면 폭에 비례 */
/* ① 오른쪽 위 · 피치 코랄→마젠타 (가장 큼) */
.hero-bg .g1 { width: clamp(420px, 34vw, 680px); aspect-ratio: 1 / .93; right: -9vw; top: -14vw; --o1: .7; --o2: .95;
  border-radius: 34% 66% 58% 42% / 44% 36% 64% 56%;
  background: radial-gradient(circle at 30% 25%, #ffe0d4 0%, #ff9a7e 20%, #ff5a5f 45%, #c2185b 75%, #4a0c33 100%);
  animation: float1 18s ease-in-out infinite, breathe 6s ease-in-out infinite; }
/* ② 오른쪽 아래(작업 화면 뒤) · 샴페인 골드→앰버 */
.hero-bg .g2 { width: clamp(300px, 22vw, 460px); aspect-ratio: 1 / .95; right: 9%; bottom: 2%; --o1: .55; --o2: .85;
  border-radius: 62% 38% 44% 56% / 52% 60% 40% 48%;
  background: radial-gradient(circle at 32% 28%, #fff4d6 0%, #ffd27a 22%, #ff9a3c 50%, #c4421b 80%, #4d170a 100%);
  animation: float2 20s ease-in-out infinite, breathe 7s ease-in-out infinite -2s; }
/* ③ 왼쪽 가운데(화면 밖으로 반쯤) · 라벤더→딥 바이올렛 */
.hero-bg .g3 { width: clamp(320px, 25vw, 520px); aspect-ratio: .9 / 1; left: -16vw; top: 30%; --o1: .45; --o2: .75;
  border-radius: 45% 55% 38% 62% / 62% 44% 56% 38%;
  background: radial-gradient(circle at 30% 28%, #ece4ff 0%, #b39dff 22%, #6b4dff 50%, #2f1fa3 80%, #110a45 100%);
  animation: float3 19s ease-in-out infinite, breathe 6.5s ease-in-out infinite -3s; }
/* ④ 위쪽 가운데(메뉴와 제목 사이) · 아이스 블루→시안 (작은 포인트) */
.hero-bg .g4 { width: clamp(150px, 10vw, 220px); aspect-ratio: 1 / .9; left: 41%; top: 9%; --o1: .45; --o2: .8;
  border-radius: 58% 42% 62% 38% / 40% 56% 44% 60%;
  background: radial-gradient(circle at 30% 26%, #e4fbff 0%, #8fe3ff 24%, #2fa8ff 55%, #1c4fd1 85%, #0b1c5a 100%);
  animation: float2 16s ease-in-out infinite reverse, breathe 5.5s ease-in-out infinite -1s; }
/* ⑤ 왼쪽 아래(버튼 아래) · 로즈 핑크→퍼플 (작은 포인트) */
.hero-bg .g5 { width: clamp(130px, 8.5vw, 190px); aspect-ratio: .92 / 1; left: 45%; bottom: 13%; --o1: .45; --o2: .8;
  border-radius: 42% 58% 50% 50% / 58% 42% 58% 42%;
  background: radial-gradient(circle at 30% 28%, #ffe4f1 0%, #ff9ccc 24%, #ff4f9a 52%, #9b2cc9 85%, #3a0d52 100%);
  animation: float1 15s ease-in-out infinite reverse, breathe 6s ease-in-out infinite -2.5s; }
/* 필름 그레인: 아주 미세한 노이즈로 고급 인쇄물 같은 질감 */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes breathe { 0%, 100% { opacity: var(--o1); } 50% { opacity: var(--o2); } }
/* 떠다니기 + 회전 + 가로세로 비율 변화: 회전한 상태에서 한쪽으로 늘어나므로 모양이 바뀌는 것처럼 보임 (GPU 처리라 부드러움) */
@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1, 1); }
  25% { transform: translate3d(-4vw, 3vw, 0) rotate(28deg) scale(1.16, .86); }
  50% { transform: translate3d(-1vw, 6vw, 0) rotate(65deg) scale(.9, 1.14); }
  75% { transform: translate3d(3vw, 2vw, 0) rotate(30deg) scale(1.1, .92); }
}
@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1, 1); }
  33% { transform: translate3d(-5vw, -3vw, 0) rotate(-40deg) scale(1.2, .84); }
  66% { transform: translate3d(3vw, -1vw, 0) rotate(-75deg) scale(.88, 1.16); }
}
@keyframes float3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1, 1); }
  30% { transform: translate3d(4vw, -3vw, 0) rotate(35deg) scale(1.15, .87); }
  65% { transform: translate3d(7vw, 2vw, 0) rotate(80deg) scale(.9, 1.12); }
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}

/* 히어로: 왼쪽 글 / 오른쪽 최근 작업 쇼케이스 */
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-weight: 600; font-size: 14px; margin-bottom: 28px;
}
.hero-badge b { background: var(--brand); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.12; font-weight: 900; letter-spacing: -0.045em; }
.hero h1 .h1-line { display: block; }
.hero h1 .dot { color: var(--brand); }
/* 회전 문구: 단어들을 한 칸에 겹쳐 두고 하나씩 위로 밀어 올림 */
/* overflow:hidden 은 글자 기준선을 틀어지게 해서 '당신의'보다 내려앉으므로 clip-path 로 잘라냄 */
.rotator { display: inline-grid; vertical-align: baseline; clip-path: inset(0 -0.3em -0.15em -0.3em); }
.rot-word {
  grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .4s ease;
}
.rot-word.is-active { opacity: 1; transform: none; }
/* 나가는 단어는 더 빨리 사라지고 더 위로 빠져서 잔상(가로 막대)이 남지 않게 */
.rot-word.is-leaving { opacity: 0; transform: translateY(-120%); transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .25s ease; }
.hero-sub { margin-top: 28px; font-size: 19px; color: #b9bec9; max-width: 620px; word-break: keep-all; }
.hero-sub strong { color: #fff; font-weight: 700; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #9aa0ad; font-size: 15px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: rgba(232,72,63,.18); color: #ff7a6f;
  display: inline-grid; place-items: center; font-size: 11px; font-weight: 800;
}

/* 실제 작업 화면 쇼케이스: 큰 브라우저 창 하나에 진짜 사이트 화면이 천천히 바뀜 */
.showcase { margin: 0; position: relative; z-index: 1; }
.showcase::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 10%; bottom: -8%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(232, 72, 63, .35), transparent 70%); filter: blur(40px);
}
/* 창 배경을 어둡게: 화면이 바뀌는 순간 모서리에 흰 테두리가 비치지 않게 */
.sc-window {
  border-radius: 16px; overflow: hidden; background: #1d2027; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.sc-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #1d2027; }
.sc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3e48; }
.sc-url {
  margin: 0 auto; min-width: 200px; height: 24px; border-radius: 7px; background: #2a2e37; color: #9aa0ad;
  font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; transform: translateX(-24px);
}
.sc-url::before { content: ""; width: 8px; height: 9px; border: 1.6px solid currentColor; border-radius: 2px; opacity: .8; }
.sc-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0e1014; }
.sc-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.03);
  transition: opacity .7s ease, transform 6s ease-out;
}
.sc-img.is-active { opacity: 1; transform: scale(1); }
/* 모바일 화면: 브라우저 창 오른쪽 아래에 겹쳐 놓은 휴대폰 */
.sc-stage { position: relative; }
.sc-phone {
  position: absolute; right: -5%; bottom: -14%; width: 23%; z-index: 2;
  padding: 6px; border-radius: 18px; background: #111318;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 0 0 2px #2a2e37;
  transition: opacity .5s ease, transform .5s ease;
}
.sc-phone::before { /* 카메라 구멍 */
  content: ""; position: absolute; top: 14px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #000; z-index: 2; box-shadow: 0 0 0 1.5px #22252c;
}
.sc-phone.is-hidden { opacity: 0; transform: translateY(16px); }
.ph-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 12px; background: #0e1014; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .7s ease; }
.ph-img.is-active { opacity: 1; }
/* 뒤로 도형이 지나가도 읽히도록 어두운 알약 배경 */
.sc-caption {
  margin: 20px auto 0; width: max-content; padding: 8px 16px; border-radius: 999px;
  background: rgba(14, 16, 20, .72); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #9aa0ad; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sc-caption b { color: #fff; font-weight: 700; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fd07a; box-shadow: 0 0 0 4px rgba(47, 208, 122, .18); }

/* 히어로 아래에 걸쳐 떠 있는 흰색 지표 카드 */
.stats-wrap { position: relative; z-index: 2; margin-top: -96px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 22, 28, .12); overflow: hidden;
}
.stat { padding: 34px 30px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stat b { display: flex; align-items: baseline; gap: 3px; font-size: 44px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.stat b small { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: var(--brand); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- 고객사: 움직이지 않는 로고 목록 형태 ---------- */
/* 메시지 바로 아래 한 판: 왼쪽 제목 / 오른쪽 고객사 이름 격자 */
.clients {
  margin: 64px auto 0; max-width: 1080px; text-align: left;
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  padding: 40px 44px; border: 1px solid var(--line); border-radius: 24px; background: #fff;
}
.clients-head .eyebrow { margin-bottom: 12px; }
.clients-title { font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -0.6px; }
.client-list { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.client-list li {
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.3px; color: #7a808c; text-align: center;
  padding: 14px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.client-list li:nth-child(4n), .client-list li:last-child { border-right: 0; }
/* 마지막 칸 '그 외 다수' */
.client-list li.more { color: #a3a8b3; font-weight: 600; font-size: 14.5px; }
/* 개수와 상관없이 '마지막 줄'만 밑줄 제거 */
.client-list li:nth-child(4n+1):nth-last-child(-n+4),
.client-list li:nth-child(4n+1):nth-last-child(-n+4) ~ li { border-bottom: 0; }

/* ---------- 메시지 섹션: 스크롤에 따라 단어가 진해짐 ---------- */
.manifesto { padding: 120px 0; text-align: center; }
.mf-text { font-size: clamp(28px, 4.2vw, 54px); line-height: 1.34; font-weight: 800; letter-spacing: -0.04em; margin: 0 auto; }
.mf-text .w { color: #d9dbe1; transition: color .35s ease; }
.mf-text .w.on { color: var(--ink); }
.mf-text em { font-style: normal; }
.mf-text em .w.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-sign { margin-top: 40px; font-size: 18px; color: var(--muted); font-weight: 600; }
.mf-sign em { font-style: normal; color: var(--ink); font-weight: 800; }
.mf-sign .dot { color: var(--brand); }

/* =========================================================
   3. 고민
   ========================================================= */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.pain-card .ic svg { width: 26px; height: 26px; }
.pain-card:nth-child(1) .ic { background: #fdecea; color: #e8483f; }
.pain-card:nth-child(2) .ic { background: #e8efff; color: #3f6fe8; }
.pain-card:nth-child(3) .ic { background: #fff3e0; color: #e88a1f; }
.pain-card:nth-child(4) .ic { background: #e6f7f0; color: #1fa47a; }
.pain-card p { font-weight: 700; font-size: 18px; line-height: 1.5; }
.pain-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pain-answer {
  margin: 56px auto 0; max-width: 760px; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 22px 28px; border-radius: 999px; background: var(--dark); color: #fff; font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; text-align: center;
}
.pain-answer em { font-style: normal; color: #ff7a6f; }

/* =========================================================
   4. 서비스
   ========================================================= */
/* 섹션 배경을 흰색/회색으로 번갈아 두어 경계가 분명하게 */
.pain { background: var(--bg-2); }
.service { background: #fff; }
.why { background: var(--bg-2); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; background: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { border-color: transparent; box-shadow: 0 20px 50px rgba(20,22,28,.1); transform: translateY(-6px); }
.service-card .no { position: absolute; right: 22px; top: 14px; font-size: 64px; font-weight: 800; color: #f0f1f4; letter-spacing: -2px; line-height: 1; }
.service-card .ico {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff;
  display: grid; place-items: center; margin-bottom: 26px; position: relative; box-shadow: 0 10px 22px rgba(232,72,63,.3);
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; position: relative; }
.service-card p { color: var(--muted); font-size: 15.5px; flex: 1; position: relative; }
.service-card ul { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.service-card li { font-size: 14.5px; color: var(--ink-2); padding-left: 22px; position: relative; font-weight: 500; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.service-card.featured { background: var(--dark); color: #fff; border-color: var(--dark); }
.service-card.featured .no { color: #1f232c; }
.service-card.featured p, .service-card.featured li { color: #c4c8d0; }
.service-card.featured ul { border-top-color: var(--dark-line); }
.service-card .more { position: relative; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--brand); }
.service-card .more + .more { margin-top: 6px; }
.service-card .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.service-card.featured .more { color: #ff8a80; }

/* =========================================================
   왜 비에이블 (비교)
   ========================================================= */
/* 왼쪽 글과 오른쪽 표의 위·아래 끝을 맞춤 (표가 왼쪽 높이만큼 늘어나고 줄 간격이 고르게 벌어짐) */
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: stretch; }
.why-points { margin-top: 36px; display: grid; gap: 18px; }
.why-points li { display: flex; gap: 16px; align-items: flex-start; }
.why-points .n {
  width: 36px; height: 36px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 800;
  display: grid; place-items: center; flex: none; font-size: 15px;
}
.why-points b { display: block; font-size: 17px; }
.why-points span { color: var(--muted); font-size: 15px; }

/* 바깥 테두리는 감싸는 상자 하나에만 줌 (표 자체 테두리와 겹쳐 두 줄로 보이지 않게) */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: flex; }
.compare { width: 100%; height: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; background: #fff; }
.compare th, .compare td { padding: 18px 18px; text-align: center; border-bottom: 1px solid var(--line); }
/* 마지막 줄은 제목 칸(th)까지 밑줄 제거 — 표 테두리와 겹쳐 선이 두 개로 보이는 문제 */
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 15px; font-weight: 700; color: var(--muted); background: var(--bg-2); }
.compare tbody th { text-align: left; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .me { background: var(--dark); color: #fff; font-weight: 700; }
.compare thead .me { background: var(--brand); color: #fff; font-size: 16px; }
.compare tbody tr:not(:last-child) td.me { border-bottom-color: var(--dark-line); }
.compare .x { color: #b7bcc6; }

/* =========================================================
   5. 작업 사례
   ========================================================= */
.works { background: var(--dark); color: #fff; overflow: hidden; }
.works .section-desc { color: #a8adb8; }
/* 섹션 맨 아래 버튼 자리 (모든 섹션 공통) */
.section-foot { margin-top: 56px; text-align: center; }
/* 작업 사례: 첫 줄 = 최신작 크게(가로 배치) + 다음 작업, 둘째 줄 = 3개 */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: #3a3f4b; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
/* 실제 웹 화면: 위에서부터 보여 주고, 마우스를 올리면 살짝 확대 */
.work-shot { aspect-ratio: 16 / 9; overflow: hidden; background: #0b0c10; border-bottom: 1px solid var(--dark-line); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.work-card:hover .work-shot img { transform: scale(1.04); }
/* 랜딩페이지 전체 캡처: 평소엔 맨 위, 마우스를 올리면 맨 아래까지 천천히 스크롤 */
.work-shot.is-long { position: relative; }
.work-shot.is-long img { object-position: center top; transition: object-position 9s linear; }
.work-card:hover .work-shot.is-long img { transform: none; object-position: center bottom; }
.work-shot.is-long::after {
  content: "전체 페이지 보기 ↓"; position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px;
  background: rgba(14, 16, 20, .78); color: #fff; font-size: 12px; font-weight: 700; transition: opacity .3s ease;
}
.work-card:hover .work-shot.is-long::after { opacity: 0; }
.work-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.work-type { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.work-type span { font-size: 12.5px; font-weight: 700; color: #ffb3ad; background: rgba(232, 72, 63, .14); padding: 4px 10px; border-radius: 6px; }
.work-type em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: #7d8492; }
.work-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; line-height: 1.45; }
.work-body p { font-size: 14.5px; color: #a8adb8; line-height: 1.6; }
/* 최신작: 두 칸 차지, 화면과 설명을 가로로 */
.work-card.is-feature { grid-column: span 2; display: grid; grid-template-columns: 1.55fr 1fr; }
.work-card.is-feature .work-shot { aspect-ratio: auto; height: 100%; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--dark-line); }
.work-card.is-feature .work-body { justify-content: center; padding: 32px; }
.work-card.is-feature h3 { font-size: 24px; }
.work-card.is-feature p { font-size: 15.5px; }

/* =========================================================
   6. 진행 과정
   ========================================================= */
/* 진행 과정: 큰 그라데이션 숫자 카드 4개, 마지막 단계(오픈과 관리)는 어두운 카드로 강조 */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.process-item {
  position: relative; padding: 32px 28px 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.process-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-item .num {
  display: block; font-size: 60px; font-weight: 900; line-height: 1; letter-spacing: -2px; margin-bottom: 26px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process-item .circle {
  position: absolute; top: 30px; right: 26px; width: 44px; height: 44px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.process-item .circle svg { width: 22px; height: 22px; }
.process-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.process-item p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.process-item:last-child { background: var(--dark); border-color: var(--dark); color: #fff; }
.process-item:last-child p { color: #a8adb8; }
.process-item:last-child .circle { background: rgba(232, 72, 63, .18); color: #ff7a6f; }

/* =========================================================
   유지보수 플랜
   ========================================================= */
.plans { background: var(--bg-2); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 36px 30px; background: #fff; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.best { background: var(--dark); color: #fff; border-color: var(--dark); position: relative; transform: scale(1.03); box-shadow: 0 30px 60px rgba(14,16,20,.25); }
.plan.best:hover { transform: scale(1.03) translateY(-4px); }
.plan.best::before { content: "추천"; position: absolute; top: -14px; left: 30px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .price { margin: 16px 0 6px; font-size: 40px; font-weight: 800; letter-spacing: -1.5px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan.best .price small { color: #a8adb8; }
.plan .for { color: var(--muted); font-size: 15px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan.best .for { color: #a8adb8; border-bottom-color: var(--dark-line); }
.plan ul { display: grid; gap: 12px; flex: 1; margin-bottom: 28px; }
.plan li { font-size: 15px; color: var(--ink-2); padding-left: 26px; position: relative; }
.plan.best li { color: #d5d8de; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.plan.best li::before { background: rgba(232,72,63,.2); color: #ff7a6f; }
.plan .btn { width: 100%; }
.plan .price { white-space: nowrap; }
.plan li b { color: inherit; font-weight: 800; }
/* 관리 항목(베이직 1가지·스탠다드 2가지 선택) */
.plan-options { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; }
.plan-options h4 { font-size: 17px; font-weight: 800; margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-options h4 span { font-size: 14px; font-weight: 600; color: var(--brand); }
.plan-options ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.plan-options li { background: var(--bg-2); border-radius: 14px; padding: 14px 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.plan-options li b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
/* 건별 작업 */
.case-wrap { margin-top: 28px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center;
  background: var(--dark); color: #fff; border-radius: 22px; padding: 36px 40px; }
.case-head h3 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; line-height: 1.35; }
.case-head p { margin-top: 10px; color: #a8adb8; font-size: 15px; }
.case-table { display: grid; }
.case-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--dark-line); font-size: 14.5px; }
.case-row:last-child { border-bottom: 0; }
.case-row b { font-weight: 700; }
.case-row span { color: #a8adb8; }
.case-row em { font-style: normal; font-weight: 800; color: #ff7a6f; white-space: nowrap; }
.plan-note { margin: 24px auto 0; max-width: 760px; color: var(--muted); font-size: 13.5px; display: grid; gap: 4px; text-align: center; }

/* =========================================================
   CTA 띠 (무료 점검)
   ========================================================= */
.cta-band { padding: 0 0 120px; }
/* 무료 점검 띠: 첫 화면과 같은 어두운 바탕 + 광택 도형으로 페이지의 시작과 끝을 맞춤 */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; background: var(--dark); color: #fff;
  padding: 72px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-text { position: relative; z-index: 1; }
.cta-box .eyebrow { color: #ff7a6f; }
.cta-blob {
  position: absolute; z-index: -1; pointer-events: none; will-change: transform, opacity;
  box-shadow: inset 20px 26px 50px rgba(255, 255, 255, .25), inset -26px -34px 70px rgba(0, 0, 0, .45);
}
.cta-blob.b1 {
  width: 380px; aspect-ratio: 1 / .92; right: -90px; top: -150px; border-radius: 34% 66% 58% 42% / 44% 36% 64% 56%; --o1: .65; --o2: .95;
  background: radial-gradient(circle at 30% 25%, #ffe0d4 0%, #ff9a7e 20%, #ff5a5f 45%, #c2185b 75%, #4a0c33 100%);
  animation: float1 18s ease-in-out infinite, breathe 6s ease-in-out infinite;
}
.cta-blob.b2 {
  width: 220px; aspect-ratio: 1 / .95; right: 26%; bottom: -130px; border-radius: 62% 38% 44% 56% / 52% 60% 40% 48%; --o1: .45; --o2: .8;
  background: radial-gradient(circle at 30% 28%, #ece4ff 0%, #b39dff 22%, #6b4dff 50%, #2f1fa3 80%, #110a45 100%);
  animation: float2 20s ease-in-out infinite, breathe 7s ease-in-out infinite -2s;
}
.cta-box h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -1px; }
.cta-box p { margin-top: 14px; font-size: 17px; color: #b9bec9; }
.cta-box .btn { position: relative; z-index: 1; flex: none; }

/* =========================================================
   7. FAQ
   ========================================================= */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; font-weight: 700; font-size: 17.5px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--brand); font-weight: 800; margin-right: 12px; }
/* +/× 아이콘: 글자 대신 선 두 개를 그려서 원 정중앙에 정확히 맞춤 */
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  color: var(--ink-2); background-color: var(--bg-2);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.faq-item summary:hover::after { background-color: #e6e8ec; transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(232, 72, 63, .3); }
.faq-item summary { transition: color .2s ease; }
.faq-item summary:hover { color: var(--brand); }
.faq-item:hover { border-color: #d9dce2; }
.faq-item p { padding: 0 28px 26px 54px; color: var(--ink-2); font-size: 16px; overflow: hidden; }

/* =========================================================
   8. 문의
   ========================================================= */
.contact { background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(232,72,63,.35), transparent 70%); z-index: -1; }
.contact .section-desc { color: #a8adb8; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 4px; }
.contact-channels { margin-top: 40px; display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line);
  border-radius: 16px; transition: border-color .2s ease, background .2s ease;
}
a.channel:hover { border-color: #4a505c; background: rgba(255,255,255,.07); }
.channel .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.channel .ci svg { width: 22px; height: 22px; }
.channel small { display: block; color: #8d93a0; font-size: 13px; }
.channel b { font-size: 17px; }

.form-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.field .req { color: var(--brand); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 16px; background: var(--bg-2);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
/* 입력칸과 선택칸 높이를 똑같이 맞춤 */
.field input, .field select { height: 52px; padding-top: 0; padding-bottom: 0; line-height: 50px; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(232, 72, 63, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .15s ease; background: #fff;
}
.chips input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(232, 72, 63, .2); }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); margin: 6px 0 22px; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.agree a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.form-msg { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 22px; }
.form-msg.ok { color: #138a5b; }
.form-msg.err { color: var(--brand-dark); }
.form-done { text-align: center; padding: 32px 8px; }
.form-done .ok-ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #e3f6ee; color: #138a5b; display: grid; place-items: center; font-size: 30px; font-weight: 800; }
.form-done h3 { font-size: 22px; margin-bottom: 8px; }
.form-done p { color: var(--muted); }

/* ---------- 푸터 ---------- */
/* 푸터: 브랜드 / 바로가기 / 상담 / 사업자 정보 4칸 + 맨 아래 저작권 줄 */
.site-footer { background: #08090c; color: #8a909c; padding: 80px 0 36px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #1d2028; }
.site-footer .logo { color: #fff; font-size: 30px; margin-bottom: 14px; }
.footer-brand p { line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.footer-col h4 { margin: 4px 0 6px; color: #fff; font-size: 14px; font-weight: 700; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: 13.5px; }
.footer-bottom a { color: #c4c8d0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 모바일 하단 고정 바 ---------- */
.mobile-cta { display: none; }

/* ---------- 등장 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg .glow, .cta-blob { animation: none; opacity: var(--o2); }
  .sc-img { transition: none; }
  .rot-word { transition: none; }
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .service-grid, .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-options ul { grid-template-columns: repeat(3, 1fr); }
  .case-wrap { grid-template-columns: 1fr; gap: 20px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(38px, 7vw, 64px); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; }
  .plan.best, .plan.best:hover { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  section { padding: 84px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }
  .section-desc { font-size: 16.5px; }

  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .gnb.open { transform: none; opacity: 1; visibility: visible; }
  .gnb a:not(.btn) { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); opacity: 1; }
  .gnb .btn { margin-top: 16px; }
  .gnb a.is-current::after { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { background: #fff; color: var(--ink); }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: calc(var(--header-h) + 40px) 0 150px; }
  /* 휴대폰: 도형을 작게 해서 글을 가리지 않게 */
  .hero-bg .g1 { width: 300px; right: -120px; top: -110px; }
  .hero-bg .g2 { width: 220px; right: -60px; bottom: 4%; }
  .hero-bg .g3 { width: 220px; left: -150px; top: 26%; }
  /* 작은 도형 2개는 휴대폰에서 글을 가려서 숨김 */
  .hero-bg .g4, .hero-bg .g5 { display: none; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-sub br { display: none; }
  .hero-cta .btn { flex: 1; padding: 0 16px; }

  .showcase { margin-top: 8px; }
  .sc-window { transform: none; border-radius: 12px; }
  .sc-bar { height: 30px; padding: 0 10px; gap: 5px; }
  .sc-bar i { width: 8px; height: 8px; }
  .sc-url { min-width: 0; flex: 1; margin-left: 10px; height: 20px; font-size: 11px; transform: none; }
  .sc-caption { font-size: 13px; margin-top: 18px; }
  .sc-phone { right: -2%; bottom: -10%; width: 26%; padding: 4px; border-radius: 11px; }
  .sc-phone::before { top: 8px; width: 6px; height: 6px; margin-left: -3px; }
  .ph-screen { border-radius: 7px; }

  .manifesto { padding: 84px 0; }
  .mf-text { font-size: 27px; text-wrap: balance; }
  .mf-text br { display: none; }
  .mf-sign { font-size: 15.5px; margin-top: 28px; }

  .stats-wrap { margin-top: -84px; }
  .clients { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; margin-top: 48px; text-align: center; }
  .clients-head .eyebrow { justify-content: center; }
  .clients-title { font-size: 19px; }
  .client-list { grid-template-columns: repeat(2, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .client-list li { font-size: 14px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .client-list li.more { font-size: 13px; }
  .client-list li:nth-child(4n) { border-right: 1px solid var(--line); }
  .client-list li:nth-child(2n) { border-right: 0; }
  /* 2칸 기준으로 마지막 줄만 밑줄 제거 (PC용 규칙을 먼저 되돌린 뒤 다시 적용) */
  .client-list li:nth-child(4n+1):nth-last-child(-n+4),
  .client-list li:nth-child(4n+1):nth-last-child(-n+4) ~ li { border-bottom: 1px solid var(--line); }
  .client-list li:nth-child(2n+1):nth-last-child(-n+2),
  .client-list li:nth-child(2n+1):nth-last-child(-n+2) ~ li { border-bottom: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 20px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat b { font-size: 32px; }
  .stat span { font-size: 14px; }

  .service-grid, .pain-grid, .works-grid { grid-template-columns: 1fr; }
  /* 휴대폰: 최신작 카드도 위아래 배치 */
  .work-card.is-feature { grid-column: auto; grid-template-columns: 1fr; }
  .work-card.is-feature .work-shot { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .work-card.is-feature .work-body { padding: 24px 22px; }
  .work-card.is-feature h3 { font-size: 20px; }
  .plan-options { padding: 20px 18px; }
  .plan-options ul { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .case-wrap { padding: 26px 20px; }
  .case-head h3 { font-size: 22px; }
  .case-row { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .case-row span { grid-column: 1; grid-row: 2; font-size: 13px; }
  .case-row em { grid-column: 2; grid-row: 1 / span 2; }
  .pain-answer { border-radius: 18px; margin-top: 32px; display: block; padding: 20px 22px; line-height: 1.5; text-wrap: balance; }
  .pain-answer em { white-space: nowrap; }
  /* 고민 카드: 아이콘 왼쪽 + 글 오른쪽의 짧은 줄로 */
  .pain-grid { gap: 10px; }
  .pain-card { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; align-items: center; padding: 18px 18px; }
  .pain-card .ic { width: 44px; height: 44px; border-radius: 13px; margin: 0; grid-row: span 2; }
  .pain-card .ic svg { width: 22px; height: 22px; }
  .pain-card p { font-size: 16px; }
  .pain-card p br { display: none; }
  .pain-card small { margin-top: 2px; font-size: 13.5px; }
  /* 서비스 카드: 여백과 숫자를 줄여 스크롤 줄이기 */
  .service-grid { gap: 12px; }
  .service-card { padding: 24px 22px; }
  .service-card .no { font-size: 44px; top: 12px; right: 16px; }
  .service-card .ico { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }
  .service-card .ico svg { width: 22px; height: 22px; }
  .service-card ul { margin-top: 14px; padding-top: 14px; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  /* 비교표: 표 대신 항목별 카드. 비에이블 답을 크게, 나머지는 작게 */
  .compare-wrap { overflow: visible; border: 0; background: transparent; display: block; }
  .compare { height: auto; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; width: auto; }
  .compare thead { display: none; }
  .compare { background: transparent; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .compare th, .compare td { padding: 0; border: 0 !important; text-align: left; }
  .compare tbody th { grid-column: 1 / -1; font-size: 15px; color: var(--ink); }
  .compare td { font-size: 13px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; color: #9aa0ad; margin-bottom: 2px; }
  .compare td.me { order: -1; grid-column: 1 / -1; background: var(--dark); color: #fff; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
  .compare td.me::before { color: #ff7a6f; }
  .compare tbody th { order: -2; }
  .section-foot { margin-top: 40px; }
  .process-list { grid-template-columns: 1fr; gap: 12px; }
  .process-item { padding: 24px 22px; }
  .process-item .num { font-size: 44px; margin-bottom: 16px; }
  .process-item .circle { top: 22px; right: 20px; }
  .cta-blob.b1 { width: 240px; right: -90px; top: -110px; }
  .cta-blob.b2 { width: 150px; right: 8%; bottom: -90px; }
  .cta-band { padding-bottom: 84px; }
  .cta-box { padding: 40px 26px; border-radius: 24px; }
  .cta-box .btn { width: 100%; }
  .form-card { padding: 28px 20px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-item summary { padding: 20px 56px 20px 20px; font-size: 16.5px; }
  .faq-item summary::after { right: 16px; width: 30px; height: 30px; margin-top: -15px; }
  .faq-item p { padding: 0 20px 22px 20px; }

  body { padding-bottom: 70px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-cta a { height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 15px; border: 1.5px solid var(--line); background: #fff; }
  .mobile-cta a.quote { background: var(--brand); border-color: var(--brand); color: #fff; }
}
