/*
Theme Name: SJ Media
Theme URI: https://sjmedia.kr/
Author: SJ 미디어
Description: 네이버 상위노출 전문 실행사 SJ 미디어(에스제이미디어) 공식 웹사이트 테마. 브랜딩 블로그 · 네이버 클립 · 맛집 후기 상위노출 랜딩 페이지.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sj-media
Tags: one-page, landing-page, business, korean
*/

/* ==========================================================================
   1. 디자인 토큰
   ========================================================================== */
:root {
  --bg:          #fbf6ef;
  --bg-alt:      #f4ece0;
  --card:        #ffffff;
  --dark:        #17161a;
  --dark-soft:   #26242b;

  --ink:         #1c1a17;
  --ink-soft:    #55504a;
  --muted:       #8a837a;
  --on-dark:     #f3ece2;
  --on-dark-mut: #a49c92;

  --red:         #b7362b;
  --red-deep:    #8e2820;
  --red-tint:    #fbeae7;
  --gold:        #b08d57;
  --gold-tint:   #f3e9d8;
  --green:       #16a34a;
  --green-tint:  #e6f6ec;
  --purple:      #4b25c9;
  --blue:        #1e8be0;

  --border:      #e8dfd1;
  --border-soft: #f0e8dc;

  --shadow-sm:   0 1px 2px rgba(28, 26, 23, .05);
  --shadow-md:   0 4px 14px rgba(28, 26, 23, .07);
  --shadow-lg:   0 18px 40px -12px rgba(28, 26, 23, .18);
  --shadow-xl:   0 30px 60px -18px rgba(28, 26, 23, .26);

  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shell:       1180px;
  --header-h:    72px;

  --font-kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
             system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;

  /* 숫자·영문 표기용. 한글과 같은 Pretendard 를 써서 톤을 맞춥니다.
     다른 영문 폰트를 쓰고 싶으면 이 한 줄만 바꾸면 사이트 전체에 반영됩니다. */
  --font-en: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
             system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   2. 리셋 & 베이스
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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;
}

/* ==========================================================================
   3. 레이아웃 프리미티브
   ========================================================================== */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .section-title { color: var(--on-dark); }
.section--dark .section-lead  { color: var(--on-dark-mut); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.kicker--center::before { display: none; }
.section--dark .kicker { color: var(--gold); }

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.035em;
  color: var(--ink);
}
.section-lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--ink-soft);
}

.hl        { color: var(--red); }
/* 어두운 배경 위에서는 밝은 톤의 빨강으로 (대비 확보) */
.section--dark .hl,
.ai-answer .hl,
.cta .hl   { color: #ff8074; }
.hl-gold   { color: var(--gold); }
.hl-green  { color: var(--green); }
.hl-purple { color: var(--purple); }
.hl-mark   { background: linear-gradient(transparent 62%, rgba(183, 54, 43, .18) 0); }

/* ==========================================================================
   4. 버튼
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(183, 54, 43, .55); }
.btn--primary:hover { background: var(--red-deep); box-shadow: 0 16px 30px -10px rgba(183, 54, 43, .6); }

.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #000; }

.btn--ghost { border: 1.5px solid var(--border); background: var(--card); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--on-dark { border: 1.5px solid rgba(243, 236, 226, .3); color: var(--on-dark); }
.btn--on-dark:hover { border-color: var(--on-dark); background: rgba(243, 236, 226, .08); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ==========================================================================
   5. 헤더
   ========================================================================== */
.progress-bar {
  position: fixed; inset: 0 auto auto 0; z-index: 90;
  width: 100%; height: 3px; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 246, 239, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(251, 246, 239, .94);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; }
/* 3D 로고는 배경이 어두운 이미지라, 둥근 칩 안에 넣어 의도된 디자인으로 보이게 합니다. */
.brand__mark {
  width: 48px; height: 37px;
  object-fit: cover; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(28, 26, 23, .2), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-en); font-size: 17px; font-weight: 800; letter-spacing: -.02em;
}
.brand__tag {
  font-family: var(--font-en); font-size: 9px; font-weight: 700;
  letter-spacing: .16em; color: var(--red);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(28, 26, 23, .05); }
.nav__link.is-active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   6. 히어로
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
  opacity: .5; z-index: 0;
}
.hero__orb--a {
  width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(183, 54, 43, .35), transparent 68%);
}
.hero__orb--b {
  width: 460px; height: 460px; bottom: -180px; left: -140px;
  background: radial-gradient(circle, rgba(75, 37, 201, .26), transparent 68%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }

.hero__brand {
  font-family: var(--font-en); font-size: clamp(11px, 1.2vw, 13px); font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.hero__badge b { color: var(--red); }
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .16);
}

.hero__title {
  font-size: clamp(34px, 6.6vw, 68px);
  font-weight: 800; line-height: 1.26; letter-spacing: -.045em;
}
.hero__line-mask { display: block; overflow: hidden; padding-bottom: .12em; }
.hero__line { display: block; }
.hero__num {
  font-family: var(--font-en); font-style: normal; font-weight: 800;
  color: var(--red); font-size: 1.1em; letter-spacing: -.045em;
}

.hero__logo { width: clamp(140px, 18vw, 196px); margin: 26px auto 8px; }

.hero__desc {
  max-width: 620px; margin: 26px auto 0;
  font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.85; color: var(--ink-soft);
}

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

.hero__facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border);
}
.hero__fact { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.hero__fact b { color: var(--ink); font-weight: 700; }
.hero__fact svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ==========================================================================
   7. 마퀴
   ========================================================================== */
.marquee {
  overflow: hidden; padding: 16px 0;
  background: var(--dark); color: var(--on-dark);
  border-block: 1px solid rgba(243, 236, 226, .1);
}
.marquee__track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  animation: marquee 34s linear infinite;
}
.marquee__item { display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee__item::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   8. 지표 (stats)
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.stat { background: var(--bg); padding: 30px 24px; text-align: center; }
.stat__value {
  font-family: var(--font-en); font-size: clamp(30px, 3.6vw, 42px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.04em; color: var(--red);
}
.stat__value small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   9. 카드 공통
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 30px 28px;
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.card__index {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-en); font-size: 30px; font-weight: 800;
  color: rgba(28, 26, 23, .07); line-height: 1;
}
.card__title { font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.card__desc  { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

/* ==========================================================================
   10. 경고 / 문제 제기 (dark)
   ========================================================================== */
.warn-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }

.warn-panel {
  padding: 34px 32px; border-radius: var(--radius-lg);
  background: var(--dark-soft); border: 1px solid rgba(243, 236, 226, .1);
}
.warn-panel__tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 800; margin-bottom: 16px;
}
.warn-panel__title { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.5; }

.cost-row {
  margin-top: 26px; padding-top: 24px; border-top: 1px dashed rgba(243, 236, 226, .18);
}
.cost-row__label {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 700; color: var(--gold); margin-bottom: 8px;
}
.pill {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.01em;
}
.pill--green { background: var(--green-tint); color: #12803b; }
.pill--red   { background: var(--red-tint);   color: var(--red-deep); }
.pill--gold  { background: var(--gold-tint);  color: #7d6134; }
.pill--dark  { background: rgba(243, 236, 226, .12); color: var(--on-dark); }

.cost-row__meta { font-size: 13.5px; color: var(--on-dark-mut); }
.cost-row__value {
  font-family: var(--font-en); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.2; margin: 4px 0 6px;
}
.cost-row__value span { font-size: .42em; font-weight: 600; color: var(--on-dark-mut); margin-left: 6px; }
.cost-row__note { font-size: 13.5px; line-height: 1.75; color: var(--on-dark-mut); }
.cost-row__note b { color: var(--gold); }

.risk-box {
  margin-top: 24px; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(183, 54, 43, .14); border: 1px solid rgba(183, 54, 43, .3);
}
.risk-box li { display: flex; gap: 9px; font-size: 14px; line-height: 1.75; color: #f2d6d2; }
.risk-box li + li { margin-top: 8px; }
.risk-box li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #ff9c90; }
.risk-box b { color: #ff9c90; }

.warn-aside { display: grid; gap: 16px; }
.warn-quote {
  padding: 26px 28px; border-radius: var(--radius-lg);
  background: rgba(243, 236, 226, .05); border-left: 3px solid var(--red);
}
.warn-quote p { font-size: 17px; font-weight: 700; line-height: 1.6; letter-spacing: -.03em; }
.warn-quote small { display: block; margin-top: 10px; font-size: 13.5px; color: var(--gold); }

.safe-note {
  padding: 24px 26px; border-radius: var(--radius-lg);
  background: rgba(22, 163, 74, .12); border: 1px solid rgba(22, 163, 74, .3);
  font-size: 14.5px; line-height: 1.8; color: #d7f0e0;
}
.safe-note b { color: #6ee7a0; }

/* ==========================================================================
   11. AI 섹션
   ========================================================================== */
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.ai-pain {
  display: flex; gap: 14px; padding: 22px 24px;
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.ai-pain__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-tint); color: var(--red);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 800;
}
.ai-pain__text { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.ai-pain__text b { color: var(--ink); }

.ai-answer {
  margin-top: 28px; padding: 40px 32px; text-align: center;
  background: var(--dark); color: var(--on-dark); border-radius: var(--radius-xl);
}
.ai-answer__title {
  font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.45; margin: 14px 0 10px;
}
.ai-answer__desc { font-size: 15px; color: var(--on-dark-mut); }

/* ==========================================================================
   12. 서비스
   ========================================================================== */
.svc {
  display: flex; flex-direction: column;
  padding: 32px 30px 30px;
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.svc--feature { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.svc--feature .svc__desc  { color: var(--on-dark-mut); }
.svc--feature .svc__point { color: var(--on-dark-mut); border-color: rgba(243, 236, 226, .12); }
.svc--feature .svc__price-old { color: var(--on-dark-mut); }
.svc--feature .svc__index { color: rgba(243, 236, 226, .28); }

.svc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.svc__index { font-family: var(--font-en); font-size: 14px; font-weight: 800; color: var(--gold); letter-spacing: .1em; }
.svc__title { font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1.4; }
.svc__desc  { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

.svc__points { margin: 22px 0 26px; }
.svc__point {
  display: flex; gap: 10px; padding: 11px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 14px; line-height: 1.7; color: var(--ink-soft);
}
.svc__point svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--green); }
.svc__point b { color: inherit; font-weight: 700; }

.svc__foot { margin-top: auto; }
.svc__price-old {
  font-size: 13px; color: var(--muted); text-decoration: line-through; margin-bottom: 4px;
}
.svc__price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px;
}
.svc__price strong {
  font-family: var(--font-en); font-size: 34px; font-weight: 800; letter-spacing: -.04em;
}
.svc__price span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   13. 요금 비교표
   ========================================================================== */
.compare {
  overflow-x: auto; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm);
}
.compare table { min-width: 640px; }
.compare th, .compare td {
  padding: 18px 20px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--border-soft);
}
.compare thead th {
  background: var(--bg-alt); font-size: 13px; font-weight: 800;
  letter-spacing: -.01em; color: var(--ink-soft); white-space: nowrap;
}
.compare thead th:last-child, .compare td:last-child { text-align: right; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 700; }
.compare tbody th small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.compare .is-other { color: var(--muted); }
.compare .is-other .price { font-weight: 700; text-decoration: line-through; }
.compare .is-sj { background: rgba(183, 54, 43, .04); }
.compare .price {
  font-family: var(--font-en); font-size: 19px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
}
.compare .is-sj .price { color: var(--red); font-size: 22px; }
.compare .vat { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* ==========================================================================
   14. 진행 과정
   ========================================================================== */
.steps { position: relative; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 88px 1fr; gap: 24px;
  padding: 26px 0; border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step--accent { background: linear-gradient(90deg, rgba(183, 54, 43, .05), transparent 70%); }
.step__num {
  font-family: var(--font-en); font-size: 32px; font-weight: 800;
  color: var(--gold); line-height: 1; letter-spacing: -.04em;
}
.step--accent .step__num { color: var(--red); }
.step__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px;
}
.step__desc { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); }
.step__desc b { color: var(--ink); }

/* ==========================================================================
   15. 촬영 / 갤러리
   ========================================================================== */
.shoot-hero {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}
.shoot-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.shot img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .6s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
.shot figcaption { padding: 13px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }

.shoot-note {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--green-tint); border: 1px solid rgba(22, 163, 74, .22);
  font-size: 14.5px; color: #14532d;
}
.shoot-note b { font-weight: 800; }
.shoot-note svg { width: 20px; height: 20px; flex: none; color: var(--green); }

/* ==========================================================================
   16. 레퍼런스
   ========================================================================== */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref { overflow: hidden; border-radius: var(--radius); background: var(--card);
       border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
       transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref--wide { grid-column: span 2; }
.ref img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; background: var(--bg-alt); }
.ref__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; }
.ref__name { font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; }
.ref__cat  { font-size: 12px; font-weight: 700; color: var(--muted); }

.refs-more {
  margin-top: 22px; padding: 24px 28px; text-align: center;
  border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 14.5px; line-height: 1.85; color: var(--ink-soft);
}
.refs-more b { color: var(--ink); }

/* ==========================================================================
   17. 약속 (principles)
   ========================================================================== */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise {
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.promise:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promise__num {
  font-family: var(--font-en); font-size: 15px; font-weight: 800;
  color: var(--gold); letter-spacing: .1em; margin-bottom: 14px;
}
.promise__title { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.promise__desc  { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 24px 4px; text-align: left;
  font-size: clamp(16px, 1.7vw, 18px); font-weight: 700; letter-spacing: -.03em;
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--red); }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); display: grid; place-items: center;
  transition: transform .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; width: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.faq__icon { position: relative; }
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: #fff; }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 4px 26px; font-size: 15px; line-height: 1.9; color: var(--ink-soft);
}

/* ==========================================================================
   19. 최종 CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); }
.cta__glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  top: -320px; left: 50%; transform: translateX(-50%); filter: blur(110px);
  background: radial-gradient(circle, rgba(183, 54, 43, .45), transparent 66%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta__title {
  font-size: clamp(30px, 5vw, 54px); font-weight: 800; line-height: 1.22; letter-spacing: -.045em;
}
.cta__desc { max-width: 620px; margin: 22px auto 0; font-size: 16px; line-height: 1.85; color: var(--on-dark-mut); }
.cta__desc b { color: var(--on-dark); }

.guarantee {
  max-width: 640px; margin: 34px auto 0; padding: 26px 28px; text-align: left;
  border-radius: var(--radius-lg); background: rgba(243, 236, 226, .06);
  border: 1px solid rgba(243, 236, 226, .14); border-left: 3px solid var(--red);
}
.guarantee p { font-size: 15px; line-height: 1.85; color: var(--on-dark); }
.guarantee p + p { margin-top: 10px; }
.guarantee b { color: #ff9c90; }
.guarantee .ok { color: #6ee7a0; font-weight: 700; }

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

.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  max-width: 780px; margin: 42px auto 0;
}
.contact-card {
  padding: 22px 20px; border-radius: var(--radius);
  background: rgba(243, 236, 226, .06); border: 1px solid rgba(243, 236, 226, .12);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover { background: rgba(243, 236, 226, .11); border-color: rgba(243, 236, 226, .25); }
.contact-card__label {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--gold); margin-bottom: 8px;
}
.contact-card__value {
  font-family: var(--font-en); font-size: 19px; font-weight: 800; letter-spacing: -.02em; text-align: center;
}

/* ==========================================================================
   20. 푸터
   ========================================================================== */
.site-footer { background: #100f12; color: var(--on-dark-mut); padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand__logo {
  width: 176px; margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.footer-brand__desc { font-size: 14px; line-height: 1.85; max-width: 340px; }
.footer-col__title {
  font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-col li + li { margin-top: 9px; }
.footer-col a:hover { color: var(--on-dark); }
.footer-biz li { line-height: 1.8; }
.footer-biz b { color: var(--on-dark); font-weight: 600; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(243, 236, 226, .1); font-size: 13px;
}
.footer-bottom a:hover { color: var(--on-dark); }

/* ==========================================================================
   20-B. 하위 페이지 (소개 · 약관 · 방침 등)
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 6vw, 76px)) 0 clamp(28px, 3.5vw, 44px);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero__title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800; line-height: 1.28; letter-spacing: -.04em;
}
.page-hero__meta { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

.prose { max-width: 820px; font-size: 16px; line-height: 1.92; color: var(--ink-soft); }

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--border);
  font-size: clamp(20px, 2.4vw, 25px); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.4; color: var(--ink);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.prose h3 {
  margin-top: 1.9em; font-size: 17px; font-weight: 800;
  letter-spacing: -.03em; color: var(--ink);
}

.prose p { margin-top: 1.1em; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-deep); }

.prose ul, .prose ol { margin-top: 1.1em; padding-left: 0; }
.prose li { position: relative; padding-left: 20px; margin-top: .55em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 4px; top: .82em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.prose ol { counter-reset: sjm-ol; }
.prose ol > li { counter-increment: sjm-ol; padding-left: 26px; }
.prose ol > li::before {
  content: counter(sjm-ol) "."; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--gold);
}

.prose table {
  margin-top: 1.4em; border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; background: var(--card);
  font-size: 14.5px;
}
.prose th, .prose td {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.prose thead th { background: var(--bg-alt); font-weight: 700; color: var(--ink); white-space: nowrap; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }

.prose blockquote {
  margin-top: 1.4em; padding: 18px 22px;
  background: var(--bg-alt); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
}
.prose blockquote p:first-child { margin-top: 0; }

.prose hr { margin-top: 2.2em; border: 0; border-top: 1px solid var(--border); }

.prose .note {
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--red-tint); border: 1px solid rgba(183, 54, 43, .2);
  font-size: 14.5px; color: #7a2a21;
}
.prose .note strong { color: var(--red-deep); }

.page-foot {
  display: flex; flex-wrap: wrap; gap: 12px;
  max-width: 820px; margin-top: clamp(44px, 5vw, 64px);
  padding-top: 32px; border-top: 1px solid var(--border);
}

/* 표가 넘칠 때 가로 스크롤 */
.prose .table-scroll { overflow-x: auto; margin-top: 1.4em; }
.prose .table-scroll table { margin-top: 0; min-width: 520px; }

/* ==========================================================================
   20-C. 푸터 정책 링크
   ========================================================================== */
.footer-policy {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 20px 0; border-top: 1px solid rgba(243, 236, 226, .1);
  font-size: 13.5px;
}
.footer-policy a { color: var(--on-dark-mut); transition: color .2s var(--ease); }
.footer-policy a:hover { color: var(--on-dark); }
.footer-policy a.is-strong { color: var(--on-dark); font-weight: 600; }

/* ==========================================================================
   21. 플로팅 버튼
   ========================================================================== */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; }
.fab__btn {
  display: flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab__btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.fab__btn svg { width: 19px; height: 19px; flex: none; }
.fab__btn--kakao { background: #fee500; color: #191600; }
.fab__btn--tel   { background: var(--red); color: #fff; }

/* ==========================================================================
   22. 스크롤 리빌
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ==========================================================================
   23. 반응형
   ========================================================================== */
@media (max-width: 1024px) {
  .warn-grid { grid-template-columns: 1fr; }
  .grid--4, .promises { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .refs { grid-template-columns: repeat(2, 1fr); }
  .ref--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 22px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 13px 12px; font-size: 15.5px; border-radius: 12px; }
  .header-actions .btn--sm { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3, .grid--4, .ai-grid, .svc-grid,
  .promises, .shots, .refs, .contact-cards { grid-template-columns: 1fr; }
  .ref--wide { grid-column: auto; }

  .step { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; }
  .step__num { font-size: 24px; }

  .hero__facts { gap: 8px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }

  .fab__btn { height: 48px; padding: 0 16px; font-size: 13.5px; }
}

@media (max-width: 420px) {
  .shell { padding-inline: 18px; }
  .card, .svc, .promise { padding: 24px 20px; }
  .btn { width: 100%; }
  .hero__actions, .cta__actions { flex-direction: column; }
  .fab__btn span { display: none; }
  .fab__btn { width: 52px; padding: 0; justify-content: center; }
}

/* ==========================================================================
   24. 접근성 / 인쇄
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fab, .progress-bar, .marquee, .hero__orb, .cta__glow { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}
