:root {
  --ivory: #faf6ef;
  --charcoal: #2a2420;
  --forest: #33493a;
  --forest-dark: #22332a;
  --gold: #b9902f;
  --line: #e6dfd0;
}

* { box-sizing: border-box; }

body {
  font-family: "Paperlogy", "Pretendard Variable", -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--forest-dark);
  position: relative;
  padding-left: 20px;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 10px;
  height: 10px;
  background: var(--gold);
}
h3 { font-size: 1.15rem; }
.cta h2::before { background: var(--gold); }

a { color: inherit; text-decoration: none; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ivory); border-bottom: 1px solid var(--line); }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--forest-dark); }
.main-nav a:not(.btn-primary) { font-size: 0.95rem; opacity: 0.85; }
.main-nav a:not(.btn-primary):hover { opacity: 1; }

.btn-primary {
  background: var(--forest);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
}
.btn-primary:hover { background: var(--forest-dark); }

.btn-outline {
  border: 1.5px solid var(--forest);
  color: var(--forest-dark);
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
}

/* 히어로 */
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; font-size: 0.85rem; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 10px 0 16px; }

/* 카드 공통 (각짐 — sharp corners) */
.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 22px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 24px rgba(43,36,25,.08); transform: translateY(-2px); }

.section { padding: 56px 0; }
.section-alt { background: #f4efe4; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }

/* 메뉴 가격 카드 */
.price-card { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 20px; }
.price-card .amount { color: var(--forest-dark); font-weight: 800; font-size: 1.3rem; }

/* 사례 카드 */
.case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.case-card .meta { font-size: 0.85rem; opacity: 0.7; margin-top: 6px; }

/* 프로세스 */
.process-step { border-top: 3px solid var(--forest); padding-top: 14px; }
.process-step .num { font-weight: 800; color: var(--gold); font-size: 1.4rem; }

/* FAQ 아코디언 (+ 텍스트 아이콘) */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; color: inherit; }
.faq-q .icon { font-size: 1.3rem; color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 4px; opacity: 0.85; }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }
.faq-item.open .icon { transform: rotate(45deg); }

/* 블로그형 본문 인용구 */
.pull-quote {
  border-left: 3px solid var(--gold);
  background: #f4efe4;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--forest-dark);
}

/* CTA */
.cta { background: var(--forest-dark); color: #fff; text-align: center; padding: 56px 0; }
.cta .btn-primary { background: var(--gold); }
.cta .btn-primary:hover { background: #a37e28; }

/* 표 */
table.info-table { width: 100%; border-collapse: collapse; }
table.info-table th, table.info-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 0.95rem; }
table.info-table th { background: #f4efe4; width: 30%; }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); background: #f4efe4; margin-top: 40px; }
.site-footer h4 { margin-bottom: 10px; color: var(--forest-dark); }
.site-footer p, .site-footer li { font-size: 0.9rem; opacity: 0.85; margin-bottom: 4px; }
.site-footer ul { list-style: none; padding: 0; }

/* 플로팅 바 */
.floating-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.floating-btn { flex: 1; text-align: center; padding: 14px 0; font-weight: 800; }
.floating-call { background: var(--charcoal); color: #fff; }
.floating-consult { background: var(--gold); color: #fff; }
@media (min-width: 768px) { .floating-bar { display: none; } }

/* 사례 상세 스토리 블록 */
.story-photo { width: 100%; border-radius: 4px; margin: 22px 0 8px; }
.story-caption { font-size: 0.85rem; opacity: 0.7; margin-bottom: 20px; }
.story-text { margin: 16px 0; }
