/* =========================================================
   YJL컴퍼니 — 메인 원페이지 (v4 색 변경 2026-10-21: YJL 네이비 + 골드)
   모바일 우선(375px) → 768px → 1024px 확장
   색·간격은 :root 변수에서만 관리
   움직임은 "움직임 줄이기" 설정 시 모두 꺼짐 (맨 아래 참고)
   ========================================================= */

:root {
  /* 색 — v4 (2026-10-21) YJL 로고·명함 색: 네이비 #1B2238 + 골드 #D9A75A */
  --c-bg: #ffffff;          /* 흰 바탕 */
  --c-bg-alt: #f5f6f9;      /* 섹션 교차 배경(차가운 아주 연한 회색) */
  --c-surface: #ffffff;
  --c-text: #1b2238;        /* 제목·강조 글자 = 네이비 */
  --c-body: #3a4257;        /* 본문 글자 = 슬레이트 */
  --c-text-sub: #5f667a;    /* 보조 글자 */
  --c-line: #e1e5ee;
  --c-line-soft: #eceff5;
  --c-primary: #1b2238;     /* 네이비(주 면·아이콘) */
  --c-primary-deep: #121828;
  --c-primary-soft: #e8eaf1;
  --c-accent: #d9a75a;      /* 골드(강조) */
  --c-gold-deep: #ab7c35;   /* 흰 바탕 위 큰 골드 글자·선 (3:1 이상) */
  --c-gold-text: #8a6422;   /* 흰 바탕 위 작은 골드 글자 (4.5:1 이상) */
  --c-gold-soft: #f7eedd;
  --c-gold-hover: #e3b56c;
  --c-dark: #1b2238;        /* 일하는 원칙·마지막 CTA 배경 */
  --c-dark-deep: #121828;   /* 푸터 */
  --c-dark-text: #eef0f5;
  --c-cta: #d9a75a;         /* 카톡 상담 버튼 = 골드 바탕 + 네이비 글자 */
  --c-cta-text: #1b2238;
  --c-placeholder-bg: #f7eedd;
  --c-placeholder-text: #6e4f1a;

  /* 글꼴 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* 간격·모양 */
  --gutter: 20px;
  --section-y: 72px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 34, 56, .05), 0 2px 8px rgba(27, 34, 56, .04);
  --shadow: 0 1px 2px rgba(27, 34, 56, .05), 0 10px 28px -8px rgba(27, 34, 56, .14);
  --shadow-lg: 0 2px 4px rgba(27, 34, 56, .05), 0 24px 48px -16px rgba(27, 34, 56, .24);
  --header-h: 60px;
  --bar-h: 76px;
  --ease-out: cubic-bezier(.22, .8, .25, 1);

  /* 종이 질감(노이즈) — 외부 파일 없이 인라인 */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.13 0 0 0 0 0.22 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 기본 ---------- */
*, *::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: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h); /* 모바일 하단 고정 바 자리 */
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }

.container { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-dark); color: #fff; padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--c-gold-deep); outline-offset: 2px; }

.br-mobile { display: inline; }
.br-desk { display: none; }

/* 선 아이콘 공통 (둥근 선 1.7px + 옅은 면 = 듀오톤) */
.ico {
  width: 24px; height: 24px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico .duo { fill: var(--c-accent); stroke: none; opacity: .42; }

/* 자리표시(QA가 찾기 쉽게 눈에 띄게) */
.placeholder {
  display: inline;
  background: var(--c-placeholder-bg);
  color: var(--c-placeholder-text);
  font-size: 14px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}
p.placeholder { display: inline-block; margin-top: 8px; }

/* ---------- 버튼 ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
  text-decoration: none; text-align: center;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-kakao {
  background: var(--c-cta); color: var(--c-cta-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 6px 16px -4px rgba(140, 100, 35, .40);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-kakao:hover { background-color: var(--c-gold-hover); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 12px 24px -6px rgba(140, 100, 35, .48); }
  .btn:active { transform: translateY(0) scale(.985); }
}
.btn-sm { min-height: 48px; padding: 8px 16px; font-size: 16px; }
.btn-lg { min-height: 60px; padding: 14px 32px; font-size: 19px; }
.btn-block { display: flex; width: 100%; }
.kakao-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* 카톡 주요 버튼: 몇 초에 한 번, 부드러운 물결 한 번 */
.hero-actions .btn-kakao::after,
.final-cta .btn-kakao::after,
.mobile-bar .btn-kakao::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(217, 167, 90, .7);
  animation: ctaPulse 7s ease-out 2.5s infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 167, 90, .55); }
  14%  { box-shadow: 0 0 0 14px rgba(217, 167, 90, 0); }
  100% { box-shadow: 0 0 0 14px rgba(217, 167, 90, 0); }
}

.text-link {
  display: inline-flex; align-items: center; min-height: 48px;
  color: var(--c-text-sub); font-weight: 600; text-underline-offset: 4px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--c-primary); }
.cta-note { margin-top: 10px; font-size: 14px; color: var(--c-text-sub); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px -12px rgba(27, 34, 56, .25); background: rgba(255, 255, 255, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: -.035em; text-decoration: none; color: var(--c-text); }
.logo span { color: var(--c-primary); }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 48px; } }
.footer-logo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-logo img { display: block; height: 40px; width: auto; }
.gnb { display: none; }

/* ---------- 장식(블롭·질감) — 히어로 & 마지막 CTA ---------- */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; opacity: .6; background: radial-gradient(circle closest-side, var(--blob-c), transparent); }
.grain { position: absolute; inset: 0; background-image: var(--grain); opacity: .07; mix-blend-mode: multiply; }

.hero .blob-1 { width: 340px; height: 340px; right: -120px; top: -80px; --blob-c: #c9d0e0; animation: drift1 18s ease-in-out infinite alternate; }
.hero .blob-2 { width: 280px; height: 280px; left: -140px; bottom: 8%; --blob-c: #ecd3a6; opacity: .5; animation: drift2 22s ease-in-out infinite alternate; }
.hero .blob-3 { width: 220px; height: 220px; right: 10%; bottom: -120px; --blob-c: #dfe3ec; animation: drift1 26s ease-in-out infinite alternate-reverse; }

@keyframes drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 40px) scale(1.08); } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.1); } }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 48px 0 72px;
  background: linear-gradient(180deg, var(--c-bg) 0%, #f5f6f9 100%);
}
.hero > .container { z-index: 1; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: var(--c-primary);
  background: rgba(232, 234, 241, .8);
  border: 1px solid rgba(27, 34, 56, .15);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 3px rgba(27, 34, 56, .18); }
.hero-title { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -.045em; }
.hero-title em {
  font-style: normal; color: var(--c-primary); white-space: nowrap;
  background: linear-gradient(transparent 68%, rgba(217, 167, 90, .32) 68%, rgba(217, 167, 90, .32) 92%, transparent 92%);
}
.hero-sub { margin-top: 22px; font-size: 17px; color: var(--c-text-sub); line-height: 1.75; }
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-actions .btn { width: 100%; }
.hero-slogan { margin-top: 28px; font-size: 15px; font-weight: 600; color: var(--c-text-sub); border-left: 3px solid var(--c-accent); padding-left: 12px; letter-spacing: -.01em; }

/* ---------- 히어로 일러스트: 휴대폰 검색 화면 ---------- */
.hero-visual {
  position: relative; justify-self: center;
  width: 100%; max-width: 330px;
  padding: 12px 24px 8px;
  --card-h: 58px; --card-gap: 8px; --step: calc(var(--card-h) + var(--card-gap));
}
.hero-visual::before { /* 휴대폰 뒤 따뜻한 원 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 167, 90, .16), rgba(217, 167, 90, 0) 68%);
  z-index: -1;
}
.phone {
  position: relative; margin: 0 auto; width: 100%; max-width: 270px;
  background: #1b2238; border-radius: 38px; padding: 10px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 60px -20px rgba(27, 34, 56, .45), 0 12px 24px -12px rgba(27, 34, 56, .3);
  animation: phoneFloat 7s ease-in-out infinite;
}
.phone-notch { position: absolute; left: 50%; top: 16px; width: 72px; height: 18px; transform: translateX(-50%); background: #1b2238; border-radius: 12px; z-index: 2; }
.phone-screen { background: var(--c-bg); border-radius: 29px; padding: 40px 12px 16px; overflow: hidden; }
.ph-search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--c-surface); border: 1.5px solid var(--c-primary);
  box-shadow: 0 4px 12px -6px rgba(27, 34, 56, .5);
  font-size: 15px; font-weight: 700; color: var(--c-text);
}
.ph-search .ico { width: 18px; height: 18px; color: var(--c-primary); stroke-width: 2.2; flex-shrink: 0; }
.ph-search span::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--c-primary); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.ph-map {
  position: relative; height: 84px; margin: 10px 0 10px; border-radius: 14px; overflow: hidden;
  background: #eef1f6;
  background-image: radial-gradient(circle at 20% 30%, #e2e7ef 0 18px, transparent 19px), radial-gradient(circle at 85% 80%, #e3e8f0 0 22px, transparent 23px);
}
.road { position: absolute; background: #ffffff; border-radius: 4px; }
.road-1 { left: -10%; right: -10%; top: 38%; height: 7px; transform: rotate(-8deg); }
.road-2 { top: -10%; bottom: -10%; left: 58%; width: 7px; transform: rotate(12deg); }
.road-3 { left: 10%; right: 40%; top: 76%; height: 5px; transform: rotate(4deg); }
.pin { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #b4bccc; }
.pin-a { left: 18%; top: 20%; } .pin-b { left: 74%; top: 22%; } .pin-c { left: 36%; top: 56%; }
.pin-ours { left: 49%; top: 18%; width: 18px; height: 18px; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(217, 167, 90, .5); animation: pinPing 3.2s ease-out 2.4s infinite; }

.ph-list { position: relative; display: grid; gap: var(--card-gap); }
.ph-card {
  display: flex; align-items: center; gap: 10px;
  height: var(--card-h); padding: 8px 10px; border-radius: 14px;
  background: var(--c-surface); border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.ph-thumb { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #eef1f6, #e2e6ee); display: grid; place-items: center; }
.ph-lines { flex: 1; min-width: 0; display: grid; gap: 5px; }
.ph-lines b { font-size: 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--c-primary-deep); }
.sk { display: block; height: 6px; border-radius: 4px; background: #eceff4; }
.sk-dark { height: 8px; background: #d5dae4; }
.sk-35 { width: 35%; } .sk-40 { width: 40%; } .sk-45 { width: 45%; } .sk-50 { width: 50%; } .sk-55 { width: 55%; }
.sk-60 { width: 60%; } .sk-70 { width: 70%; } .sk-75 { width: 75%; } .sk-80 { width: 80%; }

.ph-ours {
  position: relative; z-index: 2;
  border: 1.5px solid var(--c-accent);
  background: linear-gradient(135deg, #fff 0%, #fdf6ea 100%);
  box-shadow: 0 10px 22px -10px rgba(184, 134, 59, .55);
}
.ph-ours .ph-thumb { background: var(--c-gold-soft); color: var(--c-gold-deep); }
.ph-ours .ph-thumb .ico { width: 22px; height: 22px; }
.ph-ours .sk { background: #f1e3c8; }
.ph-badge { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-primary); }
.ph-badge .ico { width: 15px; height: 15px; stroke-width: 2.4; }

/* 기본 상태 = 도착한 모습(우리 가게가 맨 위). 애니메이션은 "아래에서 올라오는" 과정만 재생 */
.ph-ours { animation: oursRise 1.4s var(--ease-out) 1s both, oursGlow 5s ease-in-out 3s infinite; }
.ph-o1, .ph-o2, .ph-o3 { animation: othersDrop 1.4s var(--ease-out) 1s both; }
.ph-badge { animation: badgeIn .5s var(--ease-out) 2.3s both; }

@keyframes oursRise {
  0%   { transform: translateY(calc(var(--step) * 3)) scale(.97); box-shadow: var(--shadow-sm); border-color: var(--c-line-soft); }
  20%  { transform: translateY(calc(var(--step) * 3)) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes othersDrop {
  0%, 20% { transform: translateY(calc(var(--step) * -1)); }
  100%    { transform: translateY(0); }
}
@keyframes badgeIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes oursGlow {
  0%, 100% { box-shadow: 0 10px 22px -10px rgba(184, 134, 59, .55), 0 0 0 0 rgba(217, 167, 90, 0); }
  50%      { box-shadow: 0 10px 22px -10px rgba(184, 134, 59, .55), 0 0 0 5px rgba(217, 167, 90, .22); }
}
@keyframes pinPing {
  0%   { box-shadow: 0 0 0 0 rgba(217, 167, 90, .55); }
  40%  { box-shadow: 0 0 0 12px rgba(217, 167, 90, 0); }
  100% { box-shadow: 0 0 0 12px rgba(217, 167, 90, 0); }
}
@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 떠다니는 작은 아이콘 칩 */
.float-chip {
  position: absolute; z-index: 3;
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--c-surface); color: var(--c-primary);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line-soft);
}
.chip-1 { left: 0; top: 30%; animation: chipFloat 6s ease-in-out infinite; }
.chip-2 { right: 0; top: 12%; color: var(--c-accent); animation: chipFloat 7s ease-in-out .8s infinite; }
.chip-3 { right: 4px; bottom: 16%; animation: chipFloat 6.5s ease-in-out 1.6s infinite; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* ---------- 공통 섹션 ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-gold-text); margin-bottom: 12px;
}
.section-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: 28px; line-height: 1.32; font-weight: 800; letter-spacing: -.035em; margin-bottom: 36px; color: var(--c-text); }
.section-ink .section-title { color: #ffffff; }
.section-title em { font-style: normal; color: var(--c-gold-deep); }
.section-bridge { margin-top: 32px; font-size: 17px; font-weight: 600; text-align: center; color: var(--c-text); letter-spacing: -.01em; }
.section-cta { margin-top: 32px; text-align: center; }
.section-cta .btn { width: 100%; }
.small-note { margin-top: 20px; font-size: 14px; color: var(--c-text-sub); text-align: center; }

/* ---------- 2. 고민 ---------- */
.worry-list { display: grid; gap: 12px; }
.worry-list > li { display: flex; }
.worry-card {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; column-gap: 16px; row-gap: 10px; width: 100%;
  background: var(--c-surface); border-radius: var(--radius); padding: 18px 20px;
  border: 1px solid rgba(225, 229, 238, .7);
  box-shadow: var(--shadow); font-size: 17px; font-weight: 600; line-height: 1.55; letter-spacing: -.01em;
  text-decoration: none; color: var(--c-text);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
}
.worry-go {
  grid-column: 2; display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: var(--c-primary);
}
.worry-go .ico { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .25s var(--ease-out); }
.worry-card:focus-visible { border-color: var(--c-primary); }
.worry-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f3f5f9, var(--c-primary-soft));
  color: var(--c-primary);
}
.worry-icon .ico { width: 26px; height: 26px; }

/* ---------- 3. 브랜드 ---------- */
.scale-list { display: grid; gap: 8px; margin-bottom: 36px; color: var(--c-text-sub); }
.scale-list li { padding-left: 18px; position: relative; }
.scale-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.scale-list .scale-main { font-size: 20px; font-weight: 800; color: var(--c-text); letter-spacing: -.02em; }
.scale-num { color: var(--c-placeholder-text); background: var(--c-placeholder-bg); padding: 0 6px; border-radius: 4px; font-size: 16px; }

/* 흐르는 브랜드 띠 (2줄, 반대 방향) */
.logo-marquee { display: grid; gap: 12px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 60s; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-wall { display: flex; gap: 12px; padding-right: 12px; }
.logo-tile {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: 68px; padding: 10px 26px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  text-align: center; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, color .2s ease;
}
.logo-tile span { font-size: 17px; font-weight: 800; letter-spacing: -.035em; color: #3a4257; line-height: 1.3; }
.logo-tile:hover { border-color: rgba(184, 134, 59, .6); }
.logo-tile:hover span { color: var(--c-primary); }
.logo-tile img { max-height: 44px; width: auto; }

/* ---------- 4. 서비스 ---------- */
.service-grid { display: grid; gap: 16px; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--c-surface); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid rgba(225, 229, 238, .7);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.service-card::before { /* 위쪽 얇은 따뜻한 띠 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.service-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #f3f5f9, var(--c-primary-soft)); color: var(--c-primary);
}
.service-icon .ico { width: 28px; height: 28px; }
.service-no { display: block; font-size: 15px; font-weight: 800; color: var(--c-gold-text); letter-spacing: .06em; }
.service-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; color: var(--c-text); letter-spacing: -.03em; line-height: 1.35; }
.service-card > p { color: var(--c-text-sub); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag-list li { font-size: 14px; font-weight: 600; color: var(--c-primary-deep); background: var(--c-primary-soft); padding: 4px 11px; border-radius: 999px; }

/* 06 마케팅 컨설팅: 새 서비스 — 위쪽 띠를 항상 보이게 */
.service-card--new::before { transform: scaleX(1); }

/* 07 공공 지원 제도 코칭: 차분한 별도 카드(중립 회색 톤) */
.service-card--calm {
  background: #f8f9fb;
  border: 1px solid #dde1ea;
  box-shadow: none;
  display: grid; gap: 22px;
}
.service-card--calm::before { display: none; }
.service-card--calm .service-icon { background: #eceef3; color: #3a4257; }
.service-card--calm .service-no { color: #8a90a0; }
.calm-kicker { font-size: 15px; font-weight: 700; color: #5f667a; margin-bottom: 4px; }
.tag-list--calm li { color: #3a4257; background: #eceef3; }
.calm-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px 18px; border-radius: var(--radius-sm);
  background: var(--c-surface); border: 1px solid #dde1ea;
  font-size: 17px; line-height: 1.7; color: var(--c-text); font-weight: 500;
}
.calm-note .ico { flex-shrink: 0; color: #5f667a; margin-top: 3px; }

/* ---------- 4. 일하는 원칙 (먹색 섹션) ---------- */
.section-ink { background: var(--c-dark); color: var(--c-dark-text); }
.section-ink .section-eyebrow { color: #d9a75a; }
.section-ink .section-title em { color: #d9a75a; }
.principle-list { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.principle {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.principle-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(217, 167, 90, .14); color: #d9a75a;
}
.principle-icon .ico { width: 26px; height: 26px; }
.principle h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.4; margin-bottom: 8px; color: #ffffff; }
.principle p { color: #c3c9d8; }

/* ---------- 5. 이렇게 보고드려요 (예시 화면) ---------- */
.report-grid { display: grid; gap: 40px; }
.report-stage { position: relative; display: grid; gap: 20px; }
.mock-badge {
  position: absolute; top: -12px; right: 16px; z-index: 2;
  font-size: 13px; font-weight: 700; color: #fff; background: #3a4257;
  padding: 4px 12px; border-radius: 999px; letter-spacing: -.01em;
}
.mock-report, .mock-chat { position: relative; margin: 0; border-radius: var(--radius); }
.mock-report {
  background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-lg);
  padding: 22px 20px 20px;
}
.mr-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line-soft); }
.mr-logo { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -.02em; }
.mr-title { flex: 1; display: grid; gap: 6px; }
.mr-title b { font-size: 16px; font-weight: 800; color: var(--c-text); letter-spacing: -.02em; line-height: 1.3; }
.mr-block { padding-top: 16px; }
.mr-label { font-size: 14px; font-weight: 700; color: var(--c-text-sub); margin-bottom: 10px; }
.mr-checks { display: grid; gap: 8px; }
.mr-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.chk {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px;
  background: var(--c-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a87a32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.mr-chart {
  display: flex; align-items: flex-end; gap: 8px; height: 84px; padding: 0 4px;
  border-bottom: 1.5px solid var(--c-line);
}
.mr-chart span {
  flex: 1; height: var(--h); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #c3cad9, #e3e7ef);
  transform-origin: bottom; transition: transform .9s var(--ease-out);
}
.mr-chart span:nth-child(6) { background: linear-gradient(180deg, var(--c-accent), #ecd09f); }
.js-reveal .mock-report:not(.is-in) .mr-chart span { transform: scaleY(.15); }
.mr-chart span:nth-child(2) { transition-delay: .06s; } .mr-chart span:nth-child(3) { transition-delay: .12s; }
.mr-chart span:nth-child(4) { transition-delay: .18s; } .mr-chart span:nth-child(5) { transition-delay: .24s; }
.mr-chart span:nth-child(6) { transition-delay: .3s; }  .mr-chart span:nth-child(7) { transition-delay: .36s; }
.mr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 16px; }
.mr-mini { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 12px; background: #f5f6f9; }
.mr-mini p { font-size: 13px; font-weight: 700; line-height: 1.3; }
.mr-good p { color: #4f7a4a; } .mr-bad p { color: var(--c-primary-deep); } .mr-next p { color: #3a4257; }

.mock-chat {
  background: #b9cbd8; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, .05);
  max-width: 400px; width: 100%; justify-self: end;
}
.mock-chat .mock-badge { top: 11px; right: 12px; }
.mc-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .35); font-size: 15px; }
.mc-back .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.mc-body { padding: 16px 14px 18px; display: grid; gap: 12px; }
.mc-row { display: flex; gap: 8px; align-items: flex-start; }
.mc-avatar { flex-shrink: 0; width: 36px; height: 36px; border-radius: 14px; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-size: 11px; font-weight: 800; }
.mc-bubbles { display: grid; gap: 6px; min-width: 0; max-width: 85%; }
.mc-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 15px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.mc-card { display: grid; gap: 6px; padding: 12px; }
.mc-row:first-child .mc-bubbles { flex: 1; }
.mc-tt { font-size: 13px; font-weight: 800; color: var(--c-primary-deep); margin-top: 4px; }
.mc-tt:first-child { margin-top: 0; }
.mc-me { justify-content: flex-end; }
.mc-me .mc-bubble { background: var(--c-gold-soft); border-radius: 14px 4px 14px 14px; }

.report-points { display: grid; gap: 14px; }
.report-points li { position: relative; padding-left: 32px; display: grid; gap: 2px; }
.report-points li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a87a32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.report-points b { font-size: 19px; font-weight: 800; color: var(--c-text); letter-spacing: -.03em; }
.report-points span { color: var(--c-text-sub); }
.mock-note { margin-top: 22px; font-size: 15px; color: var(--c-text-sub); padding: 12px 14px; border-radius: var(--radius-sm); background: var(--c-bg-alt); }

/* ---------- 5. 사례 ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.case-grid { display: grid; gap: 16px; }
/* 공공 지원 제도 코칭 사례 — 한 줄 전체를 차지해 마지막 줄에 혼자 남지 않게, 차분한 톤 */
.case-card.case-card--support { grid-column: 1 / -1; }
.case-card--support::before { background: var(--c-text-sub); }
@media (min-width: 1024px) { .case-card--support ul { grid-template-columns: repeat(3, 1fr); column-gap: 24px; } }
.case-card {
  position: relative;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s ease;
}
.case-card::before { content: ""; position: absolute; left: 22px; top: 0; width: 36px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c-primary); }
.case-brand { font-size: 17px; font-weight: 800; color: var(--c-primary); letter-spacing: -.02em; }
.case-brand span { font-weight: 600; color: var(--c-text-sub); }
.case-card h3 { font-size: 20px; font-weight: 800; margin: 6px 0 14px; letter-spacing: -.03em; line-height: 1.4; }
.case-card ul { display: grid; gap: 8px; border-top: 1px dashed var(--c-line); padding-top: 14px; }
.case-card li { position: relative; padding-left: 28px; color: var(--c-text-sub); }
.case-card li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a87a32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (hover: hover) {
  .worry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(27, 34, 56, .35); }
  .worry-card:hover .worry-go .ico { transform: translateX(4px); }
  .service-card--calm:hover { transform: none; box-shadow: none; }
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .service-card:hover::before { transform: scaleX(1); }
  .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(27, 34, 56, .35); }
}

/* ---------- 6. 진행 방식 ---------- */
.step-list { position: relative; display: grid; gap: 12px; }
.step {
  position: relative; display: flex; gap: 16px;
  background: var(--c-surface); border-radius: var(--radius); padding: 20px;
  border: 1px solid rgba(225, 229, 238, .7);
  box-shadow: var(--shadow);
}
.step-head { position: relative; flex-shrink: 0; width: 52px; height: 52px; }
.step-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #f3f5f9, var(--c-primary-soft)); color: var(--c-primary);
}
.step-icon .ico { width: 26px; height: 26px; }
.step-no {
  position: absolute; right: -6px; top: -6px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-primary); color: #fff; font-weight: 800; font-size: 13px; line-height: 1;
  box-shadow: 0 0 0 3px var(--c-surface);
}
.step h3 { font-size: 19px; font-weight: 800; color: var(--c-text); letter-spacing: -.03em; }
.step p { color: var(--c-text-sub); }
.price-note {
  margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .7); border: 1px dashed rgba(184, 134, 59, .7);
  font-weight: 600; text-align: center;
}

/* ---------- 7. FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq:hover { border-color: rgba(27, 34, 56, .35); }
.faq[open] { border-color: rgba(27, 34, 56, .45); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 60px; padding: 16px 18px 16px 20px;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.5; color: var(--c-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2238' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease-out), background-color .25s ease;
}
.faq[open] summary::after { transform: rotate(135deg); background-color: #f7eedd; }
.faq-a { padding: 0 20px 20px; color: var(--c-text-sub); display: grid; gap: 8px; }
.faq[open] .faq-a { animation: faqIn .35s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 8. 마지막 CTA ---------- */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 88px 0; background: var(--c-dark); color: var(--c-dark-text); text-align: center;
}
.final-cta > .container { z-index: 1; }
.final-cta .blob { opacity: .4; }
.final-cta .blob-1 { width: 360px; height: 360px; left: -140px; top: -140px; --blob-c: #4a5a8c; animation: drift2 20s ease-in-out infinite alternate; }
.final-cta .blob-2 { width: 300px; height: 300px; right: -120px; bottom: -140px; --blob-c: var(--c-accent); opacity: .25; animation: drift1 24s ease-in-out infinite alternate; }
.final-cta .grain { mix-blend-mode: overlay; opacity: .12; }
.final-cta h2 { font-size: 30px; line-height: 1.35; font-weight: 800; letter-spacing: -.04em; }
.final-cta h2 em { font-style: normal; color: #d9a75a; }
.final-cta > .container > p:not(.cta-note) { margin: 20px 0 32px; color: #c3c9d8; }
.final-cta .btn { width: 100%; }
.final-cta .cta-note { color: #aab1c3; }

/* ---------- 9. 푸터 ---------- */
.site-footer { padding: 48px 0 36px; background: var(--c-dark-deep); color: #aab1c3; font-size: 14px; line-height: 1.8; }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--c-dark-text); letter-spacing: -.03em; }
.footer-logo span { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.footer-logo .placeholder { font-size: 12px; }
.footer-slogan { margin: 4px 0 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-info { display: grid; gap: 2px; }
.footer-info div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.footer-info dt { font-weight: 700; color: #e6e9f0; }
.footer-info .placeholder { font-size: 12px; }
.copyright { margin-top: 20px; font-size: 13px; color: #8a91a3; }

/* ---------- 모바일 하단 고정 바 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
  transition: transform .3s var(--ease-out);
}
.mobile-bar.is-hidden { transform: translateY(110%); }

/* ---------- 스크롤 등장 효과 ----------
   JS가 <html>에 .js-reveal을 붙였을 때만 숨김 상태가 적용됩니다.
   (JS가 없거나 실패하면 모든 내용이 그대로 보임) */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   태블릿 이상 (768px~)
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; }
  .br-mobile { display: none; }
  .br-desk { display: inline; }

  .hero { padding: 88px 0 104px; }
  .hero-title { font-size: 56px; }
  .hero-sub { font-size: 19px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .hero-actions .btn { width: auto; }
  .hero-visual { max-width: 380px; --card-h: 62px; }
  .phone { max-width: 290px; }

  .section-eyebrow { justify-content: center; }
  .section-eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
  .section-title { font-size: 38px; text-align: center; margin-bottom: 52px; }
  .section-cta .btn, .final-cta .btn { width: auto; }

  .worry-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .scale-list { justify-items: center; text-align: center; }
  .scale-list li { padding-left: 0; }
  .scale-list li::before { display: none; }

  .logo-marquee { gap: 14px; }
  .logo-tile { min-height: 76px; padding: 10px 32px; }
  .logo-tile span { font-size: 18px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-card { padding: 30px 26px; }
  .service-card--calm { grid-column: 1 / -1; padding: 34px 32px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .principle-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; }
  .principle { padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; }

  .report-stage { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; }
  .mock-chat { justify-self: stretch; }
  .section-cta--left { text-align: left; }

  .step-list { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step-list::before { /* 단계를 잇는 점선 */
    content: ""; position: absolute; left: 10%; right: 10%; top: 46px; height: 0;
    border-top: 2px dashed rgba(184, 134, 59, .45); z-index: 0;
  }
  .step { flex-direction: column; z-index: 1; padding: 22px 18px; }

  .final-cta { padding: 128px 0; }
  .final-cta h2 { font-size: 42px; }
  .final-cta .blob-1 { width: 480px; height: 480px; }
}

/* =========================================================
   PC (1024px~) — 하단 고정 바 숨김, 메뉴 노출, 히어로 2단
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .gnb { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
  .gnb a { position: relative; text-decoration: none; font-weight: 600; color: var(--c-text-sub); padding: 12px 0; transition: color .2s ease; }
  .gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--c-accent); transform: scaleX(0); transition: transform .25s var(--ease-out); }
  .gnb a:hover { color: var(--c-primary); }
  .gnb a:hover::after { transform: scaleX(1); }

  .hero { padding: 96px 0 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
  .hero-title { font-size: 68px; line-height: 1.14; }
  .hero-visual { max-width: 420px; justify-self: end; --card-h: 64px; --card-gap: 10px; }
  .phone { max-width: 300px; }
  .hero .blob-1 { width: 520px; height: 520px; right: -160px; top: -160px; }

  .worry-list { grid-template-columns: repeat(4, 1fr); }
  .worry-card { grid-template-columns: 1fr; align-content: start; padding: 24px 22px; }
  .worry-go { grid-column: 1; margin-top: auto; }
  .worry-text { min-height: 4.65em; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--calm { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding: 40px; }

  .report-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .step-list::before { top: 48px; }
}

/* =========================================================
   v3.1 — 연출 이미지 (Higgsfield 생성, 고객사 사진 아님)
   ========================================================= */

/* ---------- 히어로: 사진 배경 + 따뜻한 어두운 그라데이션 ---------- */
.hero { background: #121828; color: #ffffff; padding-bottom: 64px; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 72% center; transform-origin: 70% 60%; animation: kenBurns 28s ease-in-out infinite alternate; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 40, .80) 0%, rgba(18, 24, 40, .84) 50%, rgba(18, 24, 40, .93) 100%);
}
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, -1%); } }

.hero .eyebrow { color: #ecd3a6; background: rgba(255, 255, 255, .08); border-color: rgba(217, 167, 90, .35); }
.hero .eyebrow::before { background: #d9a75a; box-shadow: 0 0 0 3px rgba(217, 167, 90, .25); }
.hero-title { color: #ffffff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-title em { color: #e6bc78; background: linear-gradient(transparent 70%, rgba(217, 167, 90, .30) 70%, rgba(217, 167, 90, .30) 92%, transparent 92%); }
.hero-sub { color: #d8dce6; }
.hero .text-link { color: #e6e9f0; }
.hero .text-link:hover { color: #ecd3a6; }
.hero .cta-note { color: #b9c0d0; }
.hero-slogan { color: #d8dce6; border-left-color: #d9a75a; }
.hero-visual { max-width: 290px; }
.hero-visual::before { background: radial-gradient(circle, rgba(217, 167, 90, .30), rgba(217, 167, 90, 0) 68%); }
.phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -18px rgba(0, 0, 0, .6), 0 12px 24px -12px rgba(0, 0, 0, .45); }

/* ---------- 서비스 카드 사진 ---------- */
.service-media {
  position: relative; overflow: hidden;
  margin: -26px -22px 20px; aspect-ratio: 16 / 10;
  background: #e8ebf1;
}
.service-media picture, .service-media img { display: block; width: 100%; height: 100%; }
.service-media img { object-fit: cover; transition: transform .8s var(--ease-out); }
.service-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(18, 24, 40, .18)); pointer-events: none; }
.service-card::before { z-index: 2; }
.service-card .service-head { margin-top: -44px; position: relative; z-index: 1; align-items: flex-end; }
.service-card .service-icon { background: var(--c-surface); box-shadow: 0 6px 16px -6px rgba(27, 34, 56, .35); }
.service-card .service-no { padding-bottom: 2px; }

/* 07 공공 지원: 채도 낮추고 중립 톤 */
.service-card--calm .service-media { margin: 0; border-radius: var(--radius-sm); aspect-ratio: 16 / 10; }
.service-card--calm .service-media img { filter: saturate(.55) brightness(1.03); }
.service-card--calm .service-media::after { inset: 0; height: auto; background: rgba(245, 246, 249, .16); }
.service-card--calm .service-head { margin-top: 0; align-items: center; }
.service-card--calm .service-icon { background: #eceef3; box-shadow: none; }

@media (hover: hover) {
  .service-card:hover .service-media img { transform: scale(1.05); }
  .service-card--calm:hover .service-media img { transform: scale(1.03); }
}

/* ---------- 마지막 CTA 배경 사진 ---------- */
.final-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.final-media picture, .final-media img { display: block; width: 100%; height: 100%; }
.final-media img { object-fit: cover; filter: saturate(.8); }
.final-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 24, 40, .9), rgba(18, 24, 40, .86) 50%, rgba(18, 24, 40, .94)); }
.final-cta { background: var(--c-dark); }
.final-cta .deco { z-index: -1; }

@media (min-width: 768px) {
  .service-media { margin: -30px -26px 22px; }
  .service-card--calm { grid-template-columns: 1fr 1.25fr; grid-template-rows: auto auto; column-gap: 36px; row-gap: 20px; align-items: start; }
  .service-card--calm .service-media { grid-row: 1 / 3; margin: 0; height: 100%; aspect-ratio: auto; min-height: 280px; }
  .service-card--calm .calm-main, .service-card--calm .calm-note { grid-column: 2; }
}
@media (min-width: 1024px) {
  .hero { padding: 104px 0 128px; }
  .hero-media img { object-position: center; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(18, 24, 40, .94) 0%, rgba(18, 24, 40, .86) 34%, rgba(18, 24, 40, .45) 62%, rgba(18, 24, 40, .2) 100%),
      linear-gradient(180deg, rgba(18, 24, 40, 0) 60%, rgba(18, 24, 40, .5) 100%);
  }
  .hero-visual { max-width: 400px; }
  .service-card--calm { grid-template-columns: 1fr 1.35fr; column-gap: 44px; padding: 32px; }
  .service-card--calm .service-media { min-height: 320px; }
}

/* =========================================================
   v3.2 — 움직임 강화 (라이브러리 없음, 움직임 줄이기 설정이면 전부 꺼짐)
   숨김 상태는 모두 .js-reveal(JS가 붙임) 아래에서만 → JS 없으면 내용 그대로 보임
   ========================================================= */

/* 스크롤 진행 막대 */
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; z-index: 1;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--c-gold-deep), var(--c-accent));
  pointer-events: none;
}

/* 히어로 영상 */
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }

/* 히어로 제목: 줄마다 차례로 + 형광펜 */
.hero-title .hl { display: inline-block; animation: hlUp 1s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .15s); }
@keyframes hlUp { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-title em { background-repeat: no-repeat; background-size: 100% 100%; animation: markSweep 1.1s var(--ease-out) .85s both; }
@keyframes markSweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.hero .eyebrow, .hero-sub, .hero-actions, .hero .cta-note, .hero-slogan { animation: fadeUp .9s var(--ease-out) both; }
.hero .eyebrow { animation-delay: .05s; }
.hero-sub { animation-delay: .6s; } .hero-actions { animation-delay: .75s; }
.hero .cta-note { animation-delay: .85s; } .hero-slogan { animation-delay: .95s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 섹션 제목: 줄 단위 등장 + 강조 단어 색 쓸기 */
.section-title { --title-c: var(--c-text); --em-c: var(--c-gold-deep); }
.section-ink .section-title { --title-c: #ffffff; --em-c: #d9a75a; }
.section-title .tl { display: inline-block; }
.js-reveal .section-title[data-reveal] { opacity: 1; transform: none; }
.js-reveal .section-title[data-reveal] .tl {
  opacity: 0; transform: translateY(.7em);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .13s);
}
.js-reveal .section-title[data-reveal].is-in .tl { opacity: 1; transform: none; }
.js-reveal .section-title em {
  background-image: linear-gradient(90deg, var(--em-c) 50%, var(--title-c) 50%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.1s var(--ease-out) .45s;
}
.js-reveal .section-title.is-in em { background-position: 0 0; }

/* 서비스 카드: 크게 올라오기 + 기울기 + 사진 시차 */
.js-reveal .service-card[data-reveal]:not(.is-in) { transform: translateY(48px) scale(.97); }
.service-card.is-tilt, .js-reveal .service-card.is-tilt[data-reveal] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  transition: transform .12s ease-out, box-shadow .3s ease; transition-delay: 0s;
  box-shadow: var(--shadow-lg);
}
.service-media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transition: transform .6s var(--ease-out); will-change: transform; }
@media (hover: hover) {
  .service-card:hover .service-media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.18); }
  .service-card--calm:hover .service-media img { transform: translate3d(0, var(--py, 0px), 0) scale(1.15); }
}

/* 일하는 원칙: 천천히 움직이는 빛 */
.section-ink { overflow: hidden; isolation: isolate; }
.section-ink::before, .section-ink::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
}
.section-ink::before { left: -200px; top: -180px; background: radial-gradient(circle, rgba(86, 104, 158, .45), rgba(86, 104, 158, 0) 65%); animation: glowA 16s ease-in-out infinite alternate; }
.section-ink::after { right: -220px; bottom: -220px; background: radial-gradient(circle, rgba(217, 167, 90, .3), rgba(217, 167, 90, 0) 65%); animation: glowB 21s ease-in-out infinite alternate; }
@keyframes glowA { from { transform: translate(0, 0) scale(1); } to { transform: translate(260px, 220px) scale(1.2); } }
@keyframes glowB { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-280px, -200px) scale(.9); } }
.principle-icon { transition: transform .4s var(--ease-out), background-color .3s ease; }
@media (hover: hover) { .principle:hover .principle-icon { transform: translateY(-3px) rotate(-4deg); background: rgba(217, 167, 90, .24); } }

/* 보고 예시: 카톡 말풍선 차례로 */
.js-reveal .mock-chat .mc-bubble { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transform-origin: left top; }
.js-reveal .mock-chat .mc-me .mc-bubble { transform-origin: right top; }
.js-reveal .mock-chat:not(.is-in) .mc-bubble { opacity: 0; transform: translateY(10px) scale(.9); }
.mock-chat .mc-bubbles .mc-bubble:nth-child(1) { transition-delay: .55s; }
.mock-chat .mc-bubbles .mc-bubble:nth-child(2) { transition-delay: 1.15s; }
.mock-chat .mc-me .mc-bubble { transition-delay: 1.9s; }

/* 진행 방식: 잇는 선이 그려짐 (모바일 세로, 태블릿 이상 가로) */
.step-list::before {
  content: ""; position: absolute; left: 46px; top: 36px; bottom: 36px;
  border-left: 2px dashed rgba(184, 134, 59, .45);
  transform-origin: top; transition: transform 1.4s var(--ease-out) .2s;
}
.js-reveal .step-list:not(.is-drawn)::before { transform: scaleY(0); }
@media (min-width: 768px) {
  .step-list::before { left: 10%; right: 10%; top: 46px; bottom: auto; border-left: 0; transform-origin: left; }
  .js-reveal .step-list:not(.is-drawn)::before { transform: scaleX(0); }
}

/* 카톡 버튼: 몇 초에 한 번 반짝 + (PC) 자석처럼 따라오기 */
.btn-kakao { isolation: isolate; } /* 반짝임을 글자 아래(버튼 배경 위)에 깔기 */
.btn-kakao::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  animation: shimmer 6.5s ease-in-out 1.8s infinite;
}
.site-header .btn-kakao::before { animation-delay: 3.2s; }
@keyframes shimmer { 0% { background-position: 160% 0; } 16%, 100% { background-position: -60% 0; } }
.btn.is-magnet { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .18s var(--ease-out), box-shadow .2s var(--ease-out); }

/* 함께한 브랜드: 같은 크기 흰 타일 (로고 이미지 또는 글자 배지) */
.logo-tile {
  height: 72px; min-height: 0; min-width: 150px; padding: 0 26px;
  border-radius: 16px; background: #fff; border: 1px solid var(--c-line);
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: -.035em; color: #3a4257; }
.wordmark::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c-accent); transform: rotate(45deg); opacity: .9; flex-shrink: 0; }
.logo-tile img { display: block; max-height: 48px; max-width: 130px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile--img { padding: 0 22px; }
.logo-tile:hover .wordmark { color: var(--c-primary); }
/* 로고만으론 상호가 안 읽히는 타일: 로고 + 작은 이름 */
.logo-tile--cap { flex-direction: column; gap: 3px; }
.logo-tile--cap img { max-height: 34px; }
.logo-tile .logo-cap { font-size: 12.5px; font-weight: 700; letter-spacing: -.02em; color: #5f667a; line-height: 1.2; }
/* 터치 기기는 마우스 올림이 없으니 처음부터 컬러로 */
@media (hover: none) { .logo-tile img { filter: none; opacity: 1; } }

@media (min-width: 768px) {
  .logo-tile { height: 88px; min-width: 180px; padding: 0 32px; }
  .logo-tile img { max-height: 58px; max-width: 150px; }
  .logo-tile--cap img { max-height: 42px; }
  .logo-tile .logo-cap { font-size: 13.5px; }
  .wordmark { font-size: 18px; }
}
@media (min-width: 1024px) {
  .hero-video { object-position: center; }
  .step-list::before { top: 48px; }
}

/* =========================================================
   v3.4 — 사장님용 매장관리 (#crm, 2026-10-21) — "한 달 무료"가 가장 눈에 띄게
   ========================================================= */
.nav-ribbon {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: -.02em; line-height: 1.5;
  background: var(--c-accent); color: var(--c-primary); vertical-align: 1px;
}
.crm-grid { display: grid; gap: 40px; }
.crm-copy { min-width: 0; }
.crm-copy .section-title { margin-bottom: 18px; }
.crm-copy .section-title em { font-size: 1.18em; }
.crm-sticker { margin-bottom: 14px; }
.crm-sticker span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px 8px 16px; border-radius: 999px;
  background: var(--c-primary); color: var(--c-accent);
  font-size: 26px; font-weight: 900; letter-spacing: -.04em; line-height: 1.2;
  box-shadow: 0 0 0 4px rgba(217, 167, 90, .55), 0 10px 24px -8px rgba(18, 24, 40, .5);
  transform: rotate(-3deg);
}
.crm-sticker span::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a75a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='12.5' rx='1.5'/%3E%3Cpath d='M2.5 8h19v3.5h-19zM12 8v12.5M12 8S10.5 3.5 8 4.2 8.5 8 12 8zM12 8s1.5-4.5 4-3.8S15.5 8 12 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.crm-lead { font-size: 17px; color: var(--c-text-sub); }
.crm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.crm-actions .btn { width: 100%; }
.btn-line { background: transparent; color: var(--c-text); border: 2px solid var(--c-primary); }
@media (hover: hover) { .btn-line:hover { background: var(--c-primary); border-color: var(--c-primary); color: #ffffff; } }
.crm-billing { margin-top: 12px; font-size: 13.5px; line-height: 1.65; color: var(--c-text-sub); }

.crm-visual { position: relative; margin: 0 auto; width: 100%; max-width: 300px; }
.crm-visual .mock-badge { top: -10px; right: -6px; }
.crm-phone {
  display: block; padding: 10px; border-radius: 40px; background: #1b2238;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), var(--shadow-lg);
  transition: transform .3s var(--ease-out);
}
.crm-phone picture, .crm-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
@media (hover: hover) { .crm-phone:hover { transform: translateY(-4px); } }
.crm-visual figcaption { margin-top: 12px; font-size: 14px; color: var(--c-text-sub); text-align: center; }

.crm-features { display: grid; gap: 14px; margin-top: 48px; }
.crm-feature {
  background: var(--c-surface); border-radius: var(--radius); padding: 22px 20px;
  border: 1px solid rgba(225, 229, 238, .7); box-shadow: var(--shadow-sm);
}
.crm-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(145deg, #f3f5f9, var(--c-primary-soft)); color: var(--c-primary);
}
.crm-icon .ico { width: 26px; height: 26px; }
.crm-feature h3 { font-size: 19px; font-weight: 800; color: var(--c-text); letter-spacing: -.03em; line-height: 1.35; margin-bottom: 6px; }
.crm-feature p { color: var(--c-text-sub); font-size: 16px; }

@media (min-width: 768px) {
  .crm-copy { text-align: center; }
  .crm-actions { flex-direction: row; justify-content: center; }
  .crm-actions .btn { width: auto; }
  .crm-billing { max-width: 560px; margin-left: auto; margin-right: auto; }
  .crm-sticker span { font-size: 30px; }
  .crm-features { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
  .crm-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 64px; }
  .crm-copy { text-align: left; }
  .crm-copy .section-eyebrow { justify-content: flex-start; }
  .crm-copy .section-eyebrow::after { display: none; }
  .crm-copy .section-title { text-align: left; }
  .crm-actions { justify-content: flex-start; }
  .crm-billing { margin-left: 0; }
  .crm-sticker span { font-size: 34px; padding: 10px 24px 10px 18px; }
  .crm-sticker span::before { width: 28px; height: 28px; }
  .crm-visual { max-width: 320px; }
  .crm-features { grid-template-columns: repeat(3, 1fr); }
}
/* 등장: 스티커는 살짝 튀어나오듯 */
.js-reveal .crm-sticker[data-reveal]:not(.is-in) { transform: scale(.7); }
.js-reveal .crm-sticker[data-reveal] { transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); }

/* =========================================================
   v4b — 밝게 (2026-10-21 이사님: "너무 어둡다")
   히어로 = 밝은 낮 사진 + 흰 베일, 일하는 원칙·마지막 CTA = 밝은 면. 어두운 곳은 푸터만.
   ========================================================= */
.hero { background: #f5f6f9; color: var(--c-text); }
.hero-media::after { background: linear-gradient(180deg, rgba(255, 255, 255, .90) 0%, rgba(255, 255, 255, .86) 60%, rgba(255, 255, 255, .78) 100%); }
.hero .eyebrow { color: var(--c-text); background: rgba(255, 255, 255, .85); border-color: rgba(171, 124, 53, .35); }
.hero .eyebrow::before { background: var(--c-accent); box-shadow: 0 0 0 3px rgba(217, 167, 90, .3); }
.hero-title { color: var(--c-text); text-shadow: none; }
.hero-title em { color: var(--c-gold-deep); background-image: linear-gradient(transparent 70%, rgba(217, 167, 90, .30) 70%, rgba(217, 167, 90, .30) 92%, transparent 92%); }
.hero-sub { color: var(--c-body); }
.hero .text-link { color: var(--c-text); }
.hero .text-link:hover { color: var(--c-gold-text); }
.hero .cta-note { color: var(--c-text-sub); }
.hero-slogan { color: var(--c-body); border-left-color: var(--c-accent); }
.hero-visual::before { background: radial-gradient(circle, rgba(217, 167, 90, .22), rgba(217, 167, 90, 0) 68%); }
.phone { box-shadow: 0 0 0 1px rgba(27, 34, 56, .08), 0 30px 60px -20px rgba(27, 34, 56, .38), 0 12px 24px -12px rgba(27, 34, 56, .22); }
@media (min-width: 1024px) {
  .hero-media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, .90) 0%, rgba(255, 255, 255, .62) 40%, rgba(255, 255, 255, 0) 72%);
  }
}

/* 일하는 원칙: 밝은 면 + 흰 카드 */
.section-ink { background: var(--c-bg-alt); color: var(--c-body); }
.section-ink .section-eyebrow { color: var(--c-gold-text); }
.section-ink .section-title { color: var(--c-text); --title-c: var(--c-text); --em-c: var(--c-gold-deep); }
.section-ink .section-title em { color: var(--c-gold-deep); }
.js-reveal .section-ink .section-title em { color: transparent; }
.section-ink::before { background: radial-gradient(circle, rgba(217, 167, 90, .16), rgba(217, 167, 90, 0) 65%); }
.section-ink::after { background: radial-gradient(circle, rgba(27, 34, 56, .06), rgba(27, 34, 56, 0) 65%); }
.principle-list { border-top: 0; gap: 14px; }
.principle {
  padding: 24px 22px; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.principle-icon { background: var(--c-gold-soft); color: var(--c-gold-deep); }
.principle h3 { color: var(--c-text); }
.principle p { color: var(--c-body); }
@media (hover: hover) { .principle:hover .principle-icon { background: #f1e3c8; } }
@media (min-width: 768px) {
  .principle-list { gap: 20px; }
  .principle { padding: 28px 26px; border: 1px solid var(--c-line); }
}

/* 마지막 CTA: 연한 골드 면 + 네이비 제목 */
.final-cta { background: var(--c-gold-soft); color: var(--c-body); }
.final-media { display: none; }
.final-cta .blob { opacity: .55; }
.final-cta .blob-1 { --blob-c: #ecd3a6; }
.final-cta .blob-2 { --blob-c: #dfe3ec; opacity: .6; }
.final-cta .grain { mix-blend-mode: multiply; opacity: .05; }
.final-cta h2 { color: var(--c-text); }
.final-cta h2 em { color: var(--c-gold-text); }
.final-cta > .container > p:not(.cta-note) { color: var(--c-body); }
.final-cta .cta-note { color: var(--c-text-sub); }

/* =========================================================
   움직임 줄이기 설정 존중 — 모든 애니메이션 끄기
   (히어로 일러스트는 "우리 가게가 맨 위"인 완성 상태로 보임,
    브랜드 띠는 멈춘 목록으로 바뀌고 복사본은 숨김)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }

  .marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .marquee-track { display: block; width: auto; }
  /* 왼쪽 정렬 — 가운데 정렬하면 마지막 줄에 혼자 남은 가게가 '대표 고객사'처럼 보임 (10-20 이사님) */
  .logo-wall { flex-wrap: wrap; justify-content: flex-start; padding: 0 var(--gutter); }
  .logo-wall-dup { display: none; }
  .logo-tile { min-height: 56px; padding: 8px 18px; }
}
