/* =========================================================
   지에이솔루션 홈페이지 공통 스타일
   콘셉트: "깊은 남색에서 보라, 레드로 번지는 선명한 신호 — 정돈된 전문 컨설팅"
   분위기 키워드: 선명함 · 정돈 · 신뢰
   ========================================================= */

:root {
  /* 색 시스템 (대표 색상: 진한 남색 → 보라 → 레드 그라데이션) */
  --bg: #FAFBFD;          /* 바탕 */
  --white: #FFFFFF;
  --ink: #0B1033;         /* 글자 (깊은 남색 먹색) */
  --muted: #545B78;       /* 보조 글자 */
  --line: #E3E6F0;        /* 가는 선 */
  --tint: #F3F2FE;        /* 연한 구분색 */
  --navy: #1B2A7A;        /* 그라데이션 시작 · 진한 남색 */
  --violet: #6D28D9;      /* 그라데이션 중간 · 보라 */
  --red: #E10F1A;         /* 그라데이션 끝 · 레드 (포인트) */
  --dark: #0A0E2A;        /* 진한 섹션 */
  --dark-2: #12173D;
  --dark-accent: #C4B5FD; /* 진한 섹션 위 포인트 (작은 글자용) */
  --btn-text: #FFFFFF;    /* 버튼 글자 */
  --grad: linear-gradient(100deg, #1B2A7A 0%, #6D28D9 52%, #E10F1A 100%);
  --grad-soft: linear-gradient(120deg, #E9ECFB 0%, #F1EAFE 55%, #FDE9EB 100%);

  /* 글꼴 */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-en: "Inter", "Pretendard Variable", Pretendard, sans-serif;

  /* 형태 */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 16, 51, .06), 0 14px 34px -16px rgba(11, 16, 51, .22);
  --shadow-lg: 0 2px 6px rgba(11, 16, 51, .06), 0 30px 64px -24px rgba(27, 42, 122, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* 간격 */
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 10vw, 128px);
  --header-h: 76px;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; stroke-width: 1.5; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--tint); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: #E8EAF6; }
.section--tight { padding-block: clamp(64px, 7vw, 96px); }

/* ---------- 글자 위계 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: var(--dark-accent); }
.title { font-size: clamp(28px, 1rem + 2.3vw, 50px); line-height: 1.28; margin-bottom: 20px; }
.title-sm { font-size: clamp(24px, .9rem + 1.4vw, 36px); line-height: 1.35; margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1rem + .25vw, 20px); color: var(--muted); max-width: 640px; line-height: 1.75; }
.section--dark .lead { color: #B9BEDB; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ---------- 버튼 ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .icon { width: 19px; height: 19px; }
.btn-primary { background: var(--grad); color: var(--btn-text); box-shadow: 0 10px 28px -12px rgba(109, 40, 217, .6); }
.btn-primary::after { /* 빛이 스치는 효과 */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(109, 40, 217, .75); }
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: #CBD0E2; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }
.section-cta { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-head.center + * + .section-cta, .section-cta.center { justify-content: center; }

/* ---------- 상단 메뉴 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(250, 251, 253, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(11, 16, 51, .08);
}

.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0;
}
.brand-logo { height: 34px; width: auto; }
.brand.has-logo .brand-mark, .brand.has-logo .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: #2A3052; transition: background-color .3s, color .3s; }
.site-nav a:hover { background: rgba(27, 42, 122, .06); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--grad); border-radius: 2px; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
/* 빠른상담(사전 인터뷰) 버튼 */
.brand, .btn-quick, .header-cta { flex-shrink: 0; }
.btn-quick { min-height: 44px; padding: 10px 18px; font-size: 15px; margin-right: -20px; color: var(--ink);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.btn-quick .icon { width: 18px; height: 18px; color: var(--violet); }
.btn-quick:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(109,40,217,.5); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-mobile-only { display: none; }

/* ---------- 사진 · 영상 자리 틀 ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--grad-soft); aspect-ratio: 4 / 3; }
.ph > img, .ph > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph.is-empty > img, .ph.is-empty > video { display: none; }
.ph.is-empty::before { /* 카메라 아이콘 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -78%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 0 1 5.5 6h1.6l1.4-2h7l1.4 2h1.6A2.5 2.5 0 0 1 21 8.5v9A2.5 2.5 0 0 1 18.5 20h-13A2.5 2.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E");
  opacity: .55;
}
.ph.is-empty::after {
  content: "사진 자리 · " attr(data-file);
  position: absolute; left: 0; right: 0; top: 50%; margin-top: 14px; text-align: center;
  font-family: var(--font-en); font-size: 13px; font-weight: 500; color: #4A5280; letter-spacing: .02em;
}
.ph-video.is-empty::after { content: "영상 자리 · " attr(data-file); }
.ph:hover > img { transform: scale(1.04); }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-square { aspect-ratio: 1 / 1; }

/* ---------- 첫 화면 (히어로) ---------- */
/* 구성: 가운데 정렬 큰 문장 → 보조 설명 → 버튼 2개 → 아래로 이어지는 사진 무대 */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 80px)) 0 clamp(64px, 8vw, 104px);
}
/* 여기를 템플릿으로 교체할 수 있음: #hero-bg 배경 영역 */
#hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(55% 45% at 12% 8%, #E3E7FB 0%, rgba(227,231,251,0) 70%),
    radial-gradient(45% 40% at 88% 12%, #EEE5FE 0%, rgba(238,229,254,0) 70%),
    radial-gradient(40% 35% at 75% 78%, #FDE7EA 0%, rgba(253,231,234,0) 70%),
    var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: #C7CEF7; top: -160px; left: -120px; animation: float1 22s ease-in-out infinite alternate; }
.blob-2 { width: 460px; height: 460px; background: #DCCBFB; top: 10%; right: -80px; animation: float2 26s ease-in-out infinite alternate; }
.blob-3 { width: 380px; height: 380px; background: #FBC9CD; bottom: -180px; right: 22%; opacity: .45; animation: float1 30s ease-in-out infinite alternate-reverse; }
.hero .blob { opacity: .45; }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* 제목 뒤로 퍼지는 은은한 동심원 */
.hero-rings { position: absolute; left: 50%; top: calc(var(--header-h) + 120px); width: 1600px; height: 1600px; transform: translate(-50%, -50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(27,42,122,0) 0 89px, rgba(27,42,122,.07) 90px 91px);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 58%); mask-image: radial-gradient(circle, #000 18%, transparent 58%); }
@keyframes float1 { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
@keyframes float2 { to { transform: translate3d(-50px, 60px, 0) scale(.94); } }

.hero-center { display: flex; justify-content: center; text-align: center; }
.hero-copy { max-width: 1160px; display: flex; flex-direction: column; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(27,42,122,.1); box-shadow: 0 6px 20px -12px rgba(27,42,122,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 15px; font-weight: 600; color: #2A3052; }
.pill-badge { padding: 5px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .01em; }
/* 여기를 템플릿으로 교체할 수 있음: #hero-title 큰 제목 */
#hero-title { font-size: clamp(34px, .9rem + 3.6vw, 68px); line-height: 1.18; letter-spacing: -0.042em; font-weight: 800; margin: 0 0 26px; text-wrap: balance; }
.hl { position: relative; white-space: nowrap; }
.hl .grad-text { position: relative; z-index: 1; }
.hl::after { /* 밑줄 그리기 */
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; z-index: 0;
  background: var(--grad); opacity: .2; border-radius: 4px;
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .8s;
}
.is-loaded .hl::after { transform: scaleX(1); }
.hero-lead { font-size: clamp(17px, 1rem + .35vw, 21px); line-height: 1.7; color: var(--muted); max-width: 700px; margin: 0 0 40px; }
.hero .btn-row { justify-content: center; gap: 14px; }
.btn-lg { min-height: 60px; padding: 16px 32px; font-size: 17px; }
.hero .btn-primary { box-shadow: 0 0 0 6px rgba(109,40,217,.1), 0 18px 40px -16px rgba(109,40,217,.7); }
.btn-quiet { background: rgba(255,255,255,.55); color: #2A3052; border-color: rgba(27,42,122,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-quiet:hover { background: #fff; border-color: rgba(27,42,122,.3); transform: translateY(-2px); }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }

/* 사진 무대 */
.hero-stage-wrap { position: relative; margin-top: clamp(48px, 8vh, 80px); }
.hero-stage-wrap::before { content: ""; position: absolute; inset: 10% 8% -4%; z-index: -1; border-radius: 48px; background: var(--grad); filter: blur(64px); opacity: .25; }
.hero-stage { position: relative; aspect-ratio: 21 / 9; max-height: 540px; width: 100%; overflow: hidden; border-radius: 28px;
  border: 1px solid rgba(255,255,255,.9); background: linear-gradient(150deg, #E6E9FA, #EEE6FD 60%, #FBE4E7);
  box-shadow: 0 2px 6px rgba(11,16,51,.06), 0 40px 90px -36px rgba(27,42,122,.5); }
.hero-media { position: absolute; inset: 0; display: none; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.hero-media video { z-index: 1; opacity: 0; transition: opacity .8s; }
.hero--video .hero-media video { opacity: 1; }
.hero--media .hero-media { display: block; }
.hero--media .hero-visual { display: none; }
.hero-visual { position: absolute; inset: 0; }
.hero-visual .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: transparent; }
.stage-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; border-radius: 16px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -12px rgba(11,16,51,.35); font-size: 15px; font-weight: 600; color: var(--ink); }
.stage-chip .icon { width: 20px; height: 20px; color: var(--violet); }
.chip-a { left: 24px; bottom: 24px; }
.chip-b { right: 24px; top: 24px; }

/* 첫 화면 등장 모션: 0.1초 간격으로 부드럽게 올라옴 */
.hero-copy > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-loaded .hero-copy > * { opacity: 1; transform: none; }
.is-loaded .hero-copy > :nth-child(2) { transition-delay: .1s; }
.is-loaded .hero-copy > :nth-child(3) { transition-delay: .2s; }
.is-loaded .hero-copy > :nth-child(4) { transition-delay: .3s; }
.is-loaded .hero-copy > :nth-child(5) { transition-delay: .4s; }
.hero-stage-wrap { opacity: 0; transform: translateY(32px) scale(.985); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
.is-loaded .hero-stage-wrap { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-stage { aspect-ratio: 16 / 9; }
  .br-pc { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 32px) 0 56px; }
  .hero-pill { font-size: 13px; gap: 8px; padding-right: 14px; margin-bottom: 22px; }
  .pill-badge { font-size: 12px; padding: 4px 10px; }
  #hero-title { margin-bottom: 18px; }
  .hero-lead { margin-bottom: 28px; }
  .hero .btn-row { flex-direction: column; width: 100%; gap: 10px; }
  .hero .btn-row .btn { width: 100%; }
  .btn-lg { min-height: 56px; font-size: 16px; }
  .hero-note { font-size: 13px; }
  .hero-stage-wrap { margin-top: 40px; }
  .hero-stage { aspect-ratio: 4 / 3; border-radius: 20px; }
  .chip-b { display: none; }
  .chip-a { left: 12px; right: 12px; bottom: 12px; font-size: 13.5px; padding: 10px 14px; justify-content: center; }
  .hero-rings { top: calc(var(--header-h) + 140px); width: 1000px; height: 1000px; background: repeating-radial-gradient(circle, rgba(27,42,122,0) 0 59px, rgba(27,42,122,.07) 60px 61px); }
}
/* ---------- 신뢰 띠 ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-left: 1px solid var(--line); }
.trust-strip li:first-child { border-left: 0; padding-left: 0; }
.trust-strip .icon { color: var(--navy); }
.trust-strip b { display: block; font-size: 17px; line-height: 1.35; }
.trust-strip small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ---------- 고민 섹션 (좌 제목 고정 + 우 목록) ---------- */
.pain-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pain-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.pain-list { border-top: 1px solid var(--line); }
.pain-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.pain-no { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--muted); padding-top: 4px; }
.pain-list h3 { font-size: clamp(19px, 1rem + .5vw, 23px); margin-bottom: 8px; }
.pain-list p { color: var(--muted); margin: 0; }

/* ---------- 서비스 카드 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.service-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.service-card h3 { font-size: 24px; margin-bottom: 10px; }
.service-card .for { color: var(--muted); margin-bottom: 18px; font-size: 16px; }
.check-list { display: grid; gap: 10px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.6; }
.check-list .icon { width: 20px; height: 20px; color: var(--violet); margin-top: 3px; }
.service-price { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.service-price span { font-size: 14px; color: var(--muted); }
.service-price b { font-size: 19px; }
.service-card .btn { width: 100%; }

/* ---------- 진한 숫자 섹션 + 유리 카드 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glass {
  position: relative; border-radius: var(--radius); padding: 32px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.glass::before { /* 그라데이션 테두리 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(196,181,253,.7), rgba(255,255,255,.08) 45%, rgba(225,15,26,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.stat-num { font-family: var(--font-en); font-size: clamp(44px, 2rem + 2.4vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: #fff; margin-bottom: 14px; }
.stat-num small { font-size: .42em; font-weight: 600; margin-left: 4px; color: var(--dark-accent); letter-spacing: 0; }
.stat-label { font-size: 16px; color: #C9CDE6; margin: 0; }
.dark-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dark-glow::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(109,40,217,.45), transparent 65%); }
.dark-glow::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(225,15,26,.28), transparent 65%); }
.section--dark .container { position: relative; }

/* ---------- 인용 · 핵심 메시지 ---------- */
.quote-block { max-width: 980px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: Georgia, serif; font-size: 120px; line-height: .6; height: 56px; display: block; margin-bottom: 8px; }
.quote-text { font-size: clamp(26px, 1rem + 2.4vw, 46px); font-weight: 700; line-height: 1.42; letter-spacing: -0.03em; margin-bottom: 28px; }
.quote-by { color: var(--muted); font-size: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.principles li { padding: 32px 32px 0 0; }
.principles li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.principles .icon { color: var(--navy); margin-bottom: 16px; }
.principles h3 { font-size: 20px; margin-bottom: 8px; }
.principles p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- 대형 이미지 띠 ---------- */
.band { position: relative; min-height: clamp(420px, 72svh, 680px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.band .ph { position: absolute; inset: -8% 0; border-radius: 0; aspect-ratio: auto; z-index: -2; background: linear-gradient(120deg, #141A4A 0%, #2A1460 55%, #4A0C22 100%); }
.band .ph > img { will-change: transform; }
.band .ph.is-empty::before { left: auto; right: var(--pad); top: auto; bottom: 14%; transform: none; width: 28px; height: 28px; filter: invert(1); opacity: .35; }
.band .ph.is-empty::after { left: auto; right: calc(var(--pad) + 36px); top: auto; bottom: 14%; margin: 0; color: rgba(255,255,255,.45); text-align: right; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,14,42,.82) 0%, rgba(10,14,42,.55) 42%, rgba(10,14,42,.08) 78%), linear-gradient(180deg, transparent 45%, rgba(10,14,42,.6) 100%); }
.band--right::after { background: linear-gradient(270deg, rgba(10,14,42,.85) 0%, rgba(10,14,42,.55) 42%, rgba(10,14,42,.08) 78%), linear-gradient(180deg, transparent 45%, rgba(10,14,42,.6) 100%); }
.band--right .band-box { margin-left: auto; max-width: 600px; }
@media (max-width: 960px) {
  .band::after, .band--right::after { background: linear-gradient(180deg, rgba(10,14,42,.15) 0%, rgba(10,14,42,.55) 45%, rgba(10,14,42,.88) 100%); }
  .band--right .band-box { margin-left: 0; }
}
.band-content { padding-block: clamp(56px, 8vw, 96px); }
.band-text { font-size: clamp(28px, 1rem + 3vw, 58px); font-weight: 800; line-height: 1.25; letter-spacing: -0.035em; max-width: 900px; margin-bottom: 20px; }
.band-sub { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 28px; }
.band .eyebrow { color: #E3DEFF; }

/* ---------- 이용 과정 (큰 번호 + 가는 선) ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--line); }
.timeline li { position: relative; padding-right: 24px; }
.step-no { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-family: var(--font-en); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.timeline li:last-child .step-no { background: var(--grad); color: #fff; border-color: transparent; }
.timeline h3 { font-size: 20px; margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; font-size: 16px; }
.time-note { margin-top: 40px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 16px; }
.time-note .icon { color: var(--navy); }

/* ---------- 표 (모바일에서 카드로 변환) ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 16px; }
.table th, .table td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.table tbody th { font-size: 18px; white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.table a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.table-note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* ---------- 좌우 분할 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split .ph { box-shadow: var(--shadow-lg); }
.photo-stack { position: relative; padding: 0 12% 12% 0; }
.photo-stack .ph-back { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.cred-list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 28px; }
.cred-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cred-list .year { font-family: var(--font-en); font-weight: 600; color: var(--navy); }
.section--dark .cred-list, .section--dark .cred-list li { border-color: rgba(255,255,255,.12); }
.section--dark .cred-list .year { color: var(--dark-accent); }

/* ---------- 언론 · 활동 칩 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.chip .icon { color: var(--navy); width: 18px; height: 18px; }
a.chip { transition: border-color .3s, transform .4s var(--ease); }
a.chip:hover { border-color: #9AA2C8; transform: translateY(-2px); }
.chip-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.chip-dark .icon { color: var(--dark-accent); }
a.chip-dark:hover { border-color: rgba(255,255,255,.5); }
.press-list { border-top: 1px solid var(--line); }
.press-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.press-list .press-src { grid-column: 1; font-size: 14px; color: var(--muted); }
.press-list b { grid-column: 1; font-size: 18px; line-height: 1.5; }
.press-list .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--navy); transition: transform .4s var(--ease); }
.press-list a:hover .icon { transform: translateX(4px); }

/* 성과 사례 */
.case-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.case-kpi span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.case-kpi b { display: block; font-family: var(--font-en); font-size: clamp(32px, 1.4rem + 1.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.case-kpi small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.section--dark .case-kpi { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section--dark .case-kpi span, .section--dark .case-kpi small { color: #B9BEDB; }
.section--dark .case-kpi b { color: #fff; }
.roas-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; height: 260px; margin-top: 8px; }
.roas-bars div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.roas-bars i { display: block; border-radius: 12px 12px 4px 4px; background: var(--grad); height: var(--h); min-height: 24px; opacity: .9; }
.roas-bars div:first-child i { background: #C9CEE3; }
.roas-bars b { font-family: var(--font-en); font-size: 18px; margin-bottom: 8px; }
.roas-bars span { font-size: 14px; color: var(--muted); margin-top: 10px; }
.table-scroll .table td, .table-scroll .table th { white-space: nowrap; }
.press-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

/* ---------- 카드 (일반) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card .icon-lg { color: var(--navy); margin-bottom: 18px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card p + p { margin-top: .8em; }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--dark .card p { color: #B9BEDB; }
.section--dark .card .icon-lg { color: var(--dark-accent); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 920px; }
.faq-list.center { margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-size: clamp(17px, 1rem + .3vw, 20px); font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--navy); transition: transform .4s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 28px; color: var(--muted); max-width: 820px; }
.faq-answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group-title { font-size: 15px; font-family: var(--font-en); letter-spacing: .12em; color: var(--navy); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.faq-group h2 { font-size: clamp(22px, 1rem + 1vw, 30px); margin-bottom: 20px; }

/* ---------- 채널 버튼 ---------- */
.channel-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 20px 22px; min-height: 72px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-weight: 600; transition: transform .4s var(--ease), border-color .3s; }
.channel:hover { transform: translateY(-3px); border-color: #B7BEDA; }
.channel .ch-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); flex: none; }
.channel .ch-icon img { width: 26px; height: 26px; object-fit: contain; }
.channel small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.channel .arrow { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }

/* ---------- 문의 유도 밴드 ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding-block: clamp(80px, 9vw, 120px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 85% 20%, rgba(255,255,255,.18), transparent 60%); }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(30px, 1rem + 3vw, 60px); line-height: 1.2; letter-spacing: -0.035em; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.86); font-size: 18px; margin: 20px 0 0; max-width: 560px; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; min-height: 58px; font-size: 17px; }
.cta-hours { font-size: 14px; color: rgba(255,255,255,.8); text-align: center; margin-top: 4px; }

/* ---------- 하위 페이지 첫 화면 ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 7vw, 96px); background: var(--bg); }
.page-hero .blob { animation: none; opacity: .5; }
.page-hero .blob-1 { width: 440px; height: 440px; top: -200px; left: -160px; }
.page-hero .blob-2 { width: 420px; height: 420px; top: -120px; right: -120px; }
.page-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(32px, 1.1rem + 2.6vw, 60px); line-height: 1.22; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #A5AAC4; }
.page-hero .ph { box-shadow: var(--shadow-lg); border-radius: 28px; }
.page-hero-panel { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.page-hero-panel dl { margin: 0; display: grid; gap: 0; }
.page-hero-panel dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.page-hero-panel dl > div:last-child { border-bottom: 0; }
.page-hero-panel dt { color: var(--muted); }
.page-hero-panel dd { margin: 0; font-weight: 600; }

/* ---------- 본문형 블록 ---------- */
.prose { max-width: 760px; }
.prose p { color: #33395A; }
.prose h3 { font-size: 22px; margin: 36px 0 12px; }
.info-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 80px); padding-block: 40px; border-top: 1px solid var(--line); }
.info-grid:last-child { border-bottom: 1px solid var(--line); }
.info-grid h2 { font-size: clamp(22px, 1rem + .9vw, 28px); }
.info-grid .label { font-family: var(--font-en); font-size: 13px; color: var(--navy); letter-spacing: .12em; font-weight: 600; display: block; margin-bottom: 8px; }
.info-grid p { color: #33395A; }
.info-grid p:last-child, .info-grid ul:last-child { margin-bottom: 0; }
.dot-list { display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 20px; color: #33395A; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.notice { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--tint); font-size: 16px; color: #33395A; }
.notice .icon { color: var(--navy); margin-top: 3px; }
.price-box { display: inline-flex; flex-direction: column; gap: 4px; padding: 24px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 20px; }
.price-box span { font-size: 14px; color: var(--muted); }
.price-box b { font-size: clamp(26px, 1rem + 1.4vw, 36px); letter-spacing: -0.02em; }

/* 연락처 카드 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card .ch-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-card h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.contact-card .big { font-size: clamp(20px, 1rem + .8vw, 26px); font-weight: 700; letter-spacing: -0.02em; display: block; margin-bottom: 6px; word-break: break-all; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 380px; background: var(--dark); color: #fff; display: flex; align-items: flex-end; padding: 32px; isolation: isolate; }
.map-card svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.map-pin { position: absolute; left: 56%; top: 38%; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(109,40,217,.2), 0 0 0 28px rgba(109,40,217,.1); }
.map-pin .icon { color: #fff; }
.map-card h3 { font-size: 22px; margin-bottom: 6px; }
.map-card p { color: #C9CDE6; margin-bottom: 20px; }

/* ---------- 다음 페이지 안내 ---------- */
.next-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-link { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.next-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.next-link small { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.next-link b { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 19px; }
.next-link .icon { color: var(--navy); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--dark); color: #C9CDE6; padding-top: clamp(72px, 8vw, 104px); overflow: hidden; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.footer-logo:has(img) .brand-mark, .footer-logo:has(img) .brand-text { display: none; }
.footer-info { display: grid; gap: 6px; line-height: 1.7; }
.footer-info b { color: #fff; font-weight: 600; margin-right: 6px; }
.footer-col h3 { font-size: 13px; font-family: var(--font-en); letter-spacing: .16em; text-transform: uppercase; color: var(--dark-accent); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: #fff; }
.footer-channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-channels a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; transition: border-color .3s, color .3s; }
.footer-channels a:hover { border-color: #fff; color: #fff; }
.footer-channels .icon, .footer-channels img { width: 18px; height: 18px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer-giant { font-weight: 900; /* 컨테이너 폭 안에 꼭 맞게 (글자 폭 ≈ 6.2em) */
  font-size: min(calc((100vw - 2 * var(--pad) - 24px) / 6.6), calc((var(--container) - 2 * var(--pad)) / 6.6)); line-height: .9; letter-spacing: -0.06em; text-align: center; margin: 40px 0 -0.08em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(196,181,253,.28), rgba(196,181,253,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 13px; color: #8E93B4; position: relative; }

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

/* ---------- 스크롤 등장 모션 ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   반응형
   ========================================================= */
.site-nav a { white-space: nowrap; }
@media (max-width: 1340px) {
  .header-inner { gap: 10px; }
  .btn-quick { margin: 0 0 0 auto; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .header-cta { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(250,251,253,.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: 12px var(--pad) 28px; box-shadow: 0 20px 40px -20px rgba(11,16,51,.25); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); margin: 0; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-mobile-only { display: block; margin-top: 20px; }
  .nav-mobile-only .btn { width: 100%; }
  .site-header.menu-open { background: rgba(250,251,253,.98); }
}
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }
  .channel-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(250,251,253,.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: 12px var(--pad) 28px; box-shadow: 0 20px 40px -20px rgba(11,16,51,.25); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); margin: 0; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 16px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .nav-mobile-only { display: block; margin-top: 20px; }
  .nav-mobile-only .btn { width: 100%; }
  .site-header.menu-open { background: rgba(250,251,253,.98); }



  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li { padding: 18px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip li:nth-child(-n+2) { border-top: 0; }
  .trust-strip li:nth-child(odd) { padding-left: 0; }
  .trust-strip li:nth-child(even) { border-left: 1px solid var(--line); }

  .pain-layout, .split, .press-layout, .page-hero-inner, .cta-inner { grid-template-columns: 1fr; }
  .pain-layout .section-head { position: static; }
  .split--reverse > :first-child { order: 0; }
  .service-grid, .card-grid, .next-links { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .info-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  /* 표 → 카드 */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table { background: transparent; box-shadow: none; border-radius: 0; }
  .table tr { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); }
  .table tbody th { background: var(--ink); color: #fff; white-space: normal; }
  .table td { padding: 14px 20px; display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: 14px; font-weight: 500; }
  .table td.price br { display: none; }
  .table td.price small { grid-column: 2; margin-top: -10px; }
  .table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .table tbody tr > :last-child { border-bottom: 0 !important; }
}

@media (max-width: 768px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -16px rgba(11,16,51,.3); }
  .mobile-bar .btn { min-height: 50px; padding: 12px 10px; font-size: 15.5px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 0 0 32px; }
  .timeline li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 1px; background: var(--line); }
  .step-no { width: 56px; height: 56px; font-size: 17px; margin: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .glass { padding: 24px 18px; }
  .stat-label { font-size: 14.5px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; }

  .btn-row .btn, .section-cta .btn { width: 100%; }
  .trust-strip li { gap: 10px; }
  .trust-strip .icon { display: none; }
  .trust-strip b { font-size: 15.5px; }
  .trust-strip small { font-size: 13px; }
  .channel-row { grid-template-columns: 1fr; }
  .case-kpis { grid-template-columns: 1fr; }
  .roas-bars { gap: 10px; height: 220px; }
  .roas-bars b { font-size: 15px; }
  .chip { font-size: 15.5px; padding: 12px 18px; }
  .pain-list li { grid-template-columns: 40px 1fr; gap: 12px; }
  .cred-list li { grid-template-columns: 1fr; gap: 2px; }
  .page-hero-panel dl > div { grid-template-columns: 84px 1fr; }
  .faq-item summary { padding: 22px 0; }
  .map-card { min-height: 340px; padding: 24px; }
  .photo-stack { padding: 0 10% 10% 0; }
  .contact-card { padding: 22px; }
}

/* 움직임 줄이기 설정 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .hero-copy > *, .hero-stage-wrap { opacity: 1 !important; transform: none !important; }
  .hl::after { transform: scaleX(1) !important; }
}

/* ---------- 빠른상담 배치 ---------- */
.hero-note a { color: var(--navy); font-weight: 600; border-bottom: 1px solid rgba(27,42,122,.35); padding-bottom: 1px; }
.hero-note a:hover { border-color: var(--navy); }
.nav-mobile-only .btn-quick { margin: 10px 0 0; width: 100%; }
.footer-cta .btn-outline-light .icon, .cta-actions .btn-outline-light .icon { color: inherit; }
.contact-quick { grid-column: 1 / -1; align-items: center; border: 1.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.contact-quick > div { flex: 1; }
.contact-quick .ch-icon { color: var(--violet); }
.contact-quick .arrow { color: var(--navy); width: 22px; height: 22px; transition: transform .4s var(--ease); }
.contact-quick:hover .arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  .mobile-bar { grid-template-columns: 1.15fr 1fr 1fr; gap: 6px; padding-inline: 10px; }
  .mobile-bar .btn { padding: 12px 6px; font-size: 15px; gap: 6px; }
  .mobile-bar .btn .icon { width: 17px; height: 17px; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   소식 (news.html · news/글.html) — build_site.js 가 만드는 페이지
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-thumb { display: block; }
.news-thumb .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.news-blank { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--grad-soft); }
.news-blank .brand-mark { width: 56px; height: 56px; border-radius: 16px; font-size: 18px; opacity: .85; }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.news-cat { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 600; font-size: 13px; }
.news-title { font-size: 21px; line-height: 1.4; }
.news-title a:hover { color: var(--navy); }
.news-sum { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 6px; }
.news-empty { text-align: center; color: var(--muted); padding: 48px 0; }

.post-container { max-width: calc(760px + 2 * var(--pad)); }
.post-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 6vw, 80px)) 0 clamp(40px, 5vw, 56px); }
.post-hero .blob { animation: none; opacity: .45; }
.post-hero .blob-1 { width: 420px; height: 420px; top: -200px; left: -160px; }
.post-hero .blob-2 { width: 400px; height: 400px; top: -140px; right: -140px; }
.post-hero .breadcrumb { margin-bottom: 24px; }
.post-hero .breadcrumb li[aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.post-hero .news-meta { margin-bottom: 18px; }
.post-hero h1 { font-size: clamp(30px, 1rem + 2.2vw, 48px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 18px; }
.post-hero .lead { max-width: none; }
.post-cover-wrap { max-width: calc(960px + 2 * var(--pad)); margin-bottom: clamp(40px, 5vw, 64px); }
.post-cover { box-shadow: var(--shadow-lg); }
.post-body { padding-bottom: clamp(64px, 8vw, 104px); font-size: 18px; line-height: 1.85; color: #262C4D; }
.post-body > * + * { margin-top: 1.2em; }
.post-body p { margin: 0; }
.post-body h2 { font-size: clamp(23px, 1rem + .8vw, 28px); margin-top: 2.2em; line-height: 1.4; color: var(--ink); }
.post-body h3 { font-size: 21px; margin-top: 1.8em; color: var(--ink); }
.post-body h4, .post-body h5, .post-body h6 { font-size: 18px; margin-top: 1.6em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .5em; }
.post-body li::marker { color: var(--violet); }
.post-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 3px solid var(--violet); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #33395A; }
.post-body blockquote > * + * { margin-top: .8em; }
.post-body img { border-radius: var(--radius-sm); margin-inline: auto; }
.post-body figure { margin: 2em 0; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.post-body code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--tint); }
.post-body pre { overflow-x: auto; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--dark); color: #E8EAF6; font-size: 15px; line-height: 1.6; }
.post-body pre code { background: none; padding: 0; }
.post-links { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .news-grid, .post-links { grid-template-columns: 1fr; }
  .post-body { font-size: 17px; }
}

/* 메뉴가 8개일 때도 한 줄에 들어가도록 간격 조정 */
@media (min-width: 1341px) {
  .header-inner { gap: 24px; }
  .site-nav a { padding: 10px 10px; }
  .btn-quick { margin-right: -12px; }
}

/* =========================================================
   공개 전 마무리 다듬기 (2026-11-17)
   ========================================================= */

/* 화살표 링크: 손가락으로 누르기 쉽게 높이 44px 확보 (문장 안의 링크는 제외) */
.link-arrow:not(p .link-arrow):not(li .link-arrow) {
  min-height: 44px; border-bottom: 0;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px;
}

/* 하위 페이지 첫 화면을 메인 첫 화면과 같은 분위기로 (그라데이션 + 은은한 동심원) */
.page-hero, .post-hero {
  background:
    radial-gradient(55% 60% at 10% 0%, #E3E7FB 0%, rgba(227,231,251,0) 70%),
    radial-gradient(45% 55% at 92% 8%, #EEE5FE 0%, rgba(238,229,254,0) 70%),
    var(--bg);
}
.page-hero::before, .post-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -260px; top: 45%; width: 1100px; height: 1100px; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(27,42,122,0) 0 79px, rgba(27,42,122,.06) 80px 81px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 60%); mask-image: radial-gradient(circle, #000 20%, transparent 60%);
}
.page-hero .btn-row .btn { min-height: 56px; padding: 14px 28px; }

/* 404 화면 */
.notfound { padding-bottom: clamp(96px, 12vw, 144px); }
.notfound-code { font-family: var(--font-en); font-size: clamp(96px, 14vw, 168px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; margin: 0 0 12px; }
.notfound h1 { font-size: clamp(28px, 1rem + 2vw, 44px); line-height: 1.3; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-note a { white-space: nowrap; }

/* 휴대폰: 정보 글씨는 16px 가까이 키워 읽기 쉽게 */
@media (max-width: 640px) {
  .footer-info, .footer-col a, .footer-channels a { font-size: 16px; }
  .footer-info { gap: 10px; }
  .footer-col ul { gap: 14px; }
  .footer-bottom { font-size: 14px; }
  .trust-strip small { font-size: 14px; }
  .service-price span, .table-note, .news-meta, .press-src, .stat-label { font-size: 15px; }
  .hero-note { font-size: 15px; line-height: 1.7; }
  .cta-hours { font-size: 15px; }
  .breadcrumb { font-size: 15px; }
  .page-hero .btn-row .btn { width: 100%; }
  .page-hero::before, .post-hero::before { width: 700px; height: 700px; right: -320px; }
}

/* 숫자 카드: "300건 이상"의 '이상'이 다음 줄로 떨어지지 않게 (카드 폭에 맞춘 숫자 크기 + 단위 줄바꿈 금지) */
.stat-num { font-size: clamp(40px, 1.4rem + 2.2vw, 64px); white-space: nowrap; }
.stat-num small { white-space: nowrap; }
.stats-grid .glass { display: flex; flex-direction: column; justify-content: flex-start; }

/* =========================================================
   GPT 검수 반영 (2026-11-17)
   ========================================================= */
/* [1] 움직임 코드(script.js)가 실패하거나 꺼져 있어도 내용이 보이게 */
html:not(.js) .hero-copy > *, html:not(.js) .hero-stage-wrap,
.no-anim .reveal, .no-anim .hero-copy > *, .no-anim .hero-stage-wrap {
  opacity: 1 !important; transform: none !important;
}
html:not(.js) .hl::after, .no-anim .hl::after { transform: scaleX(1); }

/* [3] 소개 영상 파일이 없으면 영상 구간을 통째로 숨김 (안내 글이 방문자에게 보이지 않게) */
section:has(.ph-video.is-empty) { display: none; }

/* [4] 휴대폰 가격표: 긴 가격 문구도 칸 안에서 줄바꿈 */
@media (max-width: 960px) {
  .table .price { white-space: normal; }
  .table td { grid-template-columns: 92px minmax(0, 1fr); }
}

/* [6] 펼친 메뉴가 화면보다 길면 메뉴 안에서 스크롤 (휴대폰 가로 화면 등) */
@media (max-width: 1340px) {
  .site-nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
}