/* ==========================================================
   루미번역행정사사무소 — 디자인 시스템
   Deep Navy / Gold / Cream · Noto Serif KR + Noto Sans KR
   ========================================================== */
:root {
  --navy: #16233d;
  --navy-deep: #0e1729;
  --navy-soft: #24365c;
  --gold: #c2a14d;
  --gold-bright: #d9bc6e;
  --cream: #faf6ee;
  --cream-dark: #f1eadb;
  --ink: #2a2f3a;
  --ink-soft: #5a6172;
  --line: rgba(194, 161, 77, 0.35);
  --serif: 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', sans-serif;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.18rem;
  color: var(--cream); text-decoration: none; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.brand .seal {
  width: 30px; height: 30px; border: 1.5px solid var(--gold);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--gold); font-weight: 700; flex-shrink: 0;
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: rgba(250, 246, 238, 0.85); text-decoration: none;
  font-size: 0.92rem; padding: 8px 14px; border-radius: 4px;
  transition: color .15s, background .15s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-bright); background: rgba(255,255,255,0.06); }
.main-nav a.active { color: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); font-size: 1.2rem; padding: 4px 12px; border-radius: 4px; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; padding: 12px 24px 20px;
    border-bottom: 2px solid var(--gold);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 1rem; }
}

/* ---------- 히어로 ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: 88px 0 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; border: 1px solid rgba(194,161,77,0.25); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; border: 1px solid rgba(194,161,77,0.18); border-radius: 50%;
}
.hero .eyebrow {
  font-size: 0.82rem; letter-spacing: 0.28em; color: var(--gold-bright);
  text-transform: uppercase; margin-bottom: 20px; font-weight: 500;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.35;
  margin-bottom: 22px; max-width: 720px;
}
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.hero p.lede { font-size: 1.08rem; color: rgba(250,246,238,0.82); max-width: 600px; margin-bottom: 36px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 500;
  padding: 13px 30px; border-radius: 4px; font-size: 0.98rem;
  transition: transform .15s, box-shadow .15s;
}
.btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--cream-dark); }
.section-head { margin-bottom: 46px; }
.section-head .eyebrow {
  font-size: 0.8rem; letter-spacing: 0.26em; color: var(--gold);
  font-weight: 600; margin-bottom: 10px; text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.05rem);
  color: var(--navy); font-weight: 700; line-height: 1.4;
}
.section-head p.sub { color: var(--ink-soft); margin-top: 12px; max-width: 640px; }

/* ---------- 서비스 카드 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid rgba(22,35,61,0.08);
  border-top: 3px solid var(--gold); border-radius: 6px;
  padding: 34px 30px; text-decoration: none; color: var(--ink);
  transition: transform .18s, box-shadow .18s; display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(22,35,61,0.12); }
.card .card-seal {
  width: 44px; height: 44px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--gold);
  margin-bottom: 20px; font-size: 1.05rem;
}
.card h3 { font-family: var(--serif); font-size: 1.22rem; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 0.94rem; color: var(--ink-soft); }
.card .more { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 0.88rem; }

/* ---------- 블로그 목록 ---------- */
.post-list { display: grid; gap: 0; }
.post-item {
  display: block; text-decoration: none; color: var(--ink);
  padding: 30px 6px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.post-item:hover { background: rgba(194,161,77,0.06); }
.post-item .post-date { font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.06em; }
.post-item h3 { font-family: var(--serif); font-size: 1.28rem; color: var(--navy); margin: 8px 0 10px; line-height: 1.5; }
.post-item p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- 블로그 본문 ---------- */
.post-header { background: var(--navy); color: var(--cream); padding: 64px 0 56px; border-bottom: 3px solid var(--gold); }
.post-header .post-date { color: var(--gold-bright); font-size: 0.86rem; letter-spacing: 0.08em; font-weight: 500; }
.post-header h1 { font-family: var(--serif); font-size: clamp(1.55rem, 3.4vw, 2.3rem); line-height: 1.45; margin-top: 14px; max-width: 820px; }
.post-body { max-width: 780px; margin: 0 auto; padding: 56px 24px 40px; }
.post-body h2, .post-body h3 { font-family: var(--serif); color: var(--navy); margin: 2.2em 0 0.7em; line-height: 1.45; }
.post-body h2 { font-size: 1.5rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.post-body h3 { font-size: 1.2rem; }
.post-body p { margin: 1.1em 0; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 1.6em 0; display: block; }
.post-body a { color: var(--navy-soft); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; color: var(--ink-soft); margin: 1.6em 0; font-style: italic; }
.post-body table { border-collapse: collapse; width: 100%; margin: 1.6em 0; font-size: 0.92rem; }
.post-body th { background: var(--navy); color: var(--cream); padding: 10px 14px; text-align: left; }
.post-body td { border: 1px solid rgba(22,35,61,0.14); padding: 10px 14px; }
.post-source {
  max-width: 780px; margin: 0 auto 70px; padding: 0 24px;
}
.post-source .box {
  background: var(--cream-dark); border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 24px; font-size: 0.88rem; color: var(--ink-soft);
}
.post-source a { color: var(--navy-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 22px 6px; font-weight: 600; color: var(--navy);
  font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 6px 24px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- 서비스 상세 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }
.step-list { counter-reset: step; list-style: none; }
.step-list li {
  counter-increment: step; position: relative; padding: 0 0 26px 58px;
}
.step-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1rem;
  background: #fff;
}
.step-list li:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px;
  background: var(--line);
}
.step-list h4 { font-family: var(--serif); color: var(--navy); font-size: 1.06rem; margin-bottom: 5px; }
.step-list p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- 신뢰 배지 ---------- */
.badge-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.badge {
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 20px;
  font-size: 0.85rem; color: var(--ink-soft); background: #fff;
}
.badge strong { color: var(--navy); }

/* ---------- CTA 밴드 ---------- */
.cta-band { background: var(--navy); color: var(--cream); padding: 66px 0; text-align: center; border-top: 3px solid var(--gold); }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.cta-band p { color: rgba(250,246,238,0.78); margin-bottom: 30px; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(250,246,238,0.7); padding: 54px 0 40px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--serif); color: var(--gold-bright); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(250,246,238,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer ul { list-style: none; } .site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.8rem; color: rgba(250,246,238,0.45); }

/* ---------- 유틸 ---------- */
.gold-rule { width: 56px; height: 3px; background: var(--gold); border: none; margin: 0 0 22px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
