/* 로그인청소 — 공개 화면 (0.1.8 단순판)
   원칙: 한눈에, 크게 읽히게. 어르신도 쓰는 사이트 — 본문 18px(폰 17px), 진한 글씨, 단추 60px, 15px 미만 글씨 없음,
   영어 장식 글씨 없음, 마우스를 올리거나 넘겨야 보이는 정보 없음. 움직임은 화면에 들어올 때 살짝 나타나기 하나.
   한 파일·한 규칙. 너비: 1100(메뉴 접힘) · 960(한 칸) · 700(폰) */

@font-face { font-family: 'Pretendard'; src: url('/fonts/PretendardSubset.woff2') format('woff2-variations'), url('/fonts/PretendardSubset.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  /* 바탕은 로고 남색 #18396b·흰색, 금색은 눈이 가야 할 곳에만(10% 정도) — 남색과 짝이 맞는 맑은 꿀빛 금색 */
  --brand: #18396b; --brand-d: #0b1c38; --brand-dd: #06122a; --brand-l: #2c5ea8; --sky: #a9c8f0;
  --navy-k: var(--brand-d); --navy: var(--brand); --navy-l: var(--brand-l);
  --gold: #c9a24a; --gold-l: #e9cf8e; --gold-d: #87661f; --gold-soft: #faf5e8;
  --ivory: #f2f6fb; --tint: #eef3f9;
  --ink: #111827; --ink-2: #374151; --ink-3: #4b5563; --line: #dbe3ee;
  --post: #18396b; --post-l: #2c5ea8; --post-bg: #e8eff8;
  --wrap: 1160px; --gut: clamp(16px, 4vw, 36px); --sec: clamp(56px, 6vw, 88px);
  --r: 16px;
  --hdr-h: 72px;
}

/* ── 기본 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.75 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-l); }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
:focus-visible { outline: 3px solid #4d8fe8; outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { width: 100%; max-width: calc(800px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nw { white-space: nowrap; }
.center { text-align: center; }
.empty { color: var(--ink-2); }

/* ── 단추·링크 */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 0 28px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s; }
.lx-btn-gold { background: var(--brand); color: #fff; }
.lx-btn-gold:hover { background: var(--brand-l); }
.lx-btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); color: #fff; }
.lx-btn-glass:hover { background: rgba(255, 255, 255, .2); }
.lx-btn-sm { min-height: 56px; font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; padding: 0 22px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-hot { background: var(--brand); color: #fff; }
.btn-main { background: var(--navy-k); color: #fff; }
.btn-line { background: #fff; border-color: var(--navy-k); color: var(--navy-k); }
.btn-wide { width: 100%; }
.call-big { display: inline-grid; align-content: center; gap: 0; min-height: 76px; padding: 10px 28px; border-radius: 14px; background: #fff; color: var(--brand); text-decoration: none; }
.call-big span { font-size: 15px; font-weight: 600; }
.call-big strong { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; letter-spacing: .01em; }
.call-big:hover { background: #e8eff8; }
.more, .lx-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-l); font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.more::after { content: '→'; }
.lx-link b { font-weight: 700; }
.lx-gold-t { color: var(--gold-d); }

/* ── 머리 줄 */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--navy-k); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: #e5e7eb; font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a[aria-current] { color: var(--gold-l); }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: #fff; color: var(--brand); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr-call strong { font-size: 18px; }
.mnav { display: none; position: relative; }
.mnav summary { display: flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 12px; color: #fff; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: rgba(255, 255, 255, .14); }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); display: grid; width: min(300px, calc(100vw - 32px)); padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.mnav nav a { padding: 14px 16px; border-radius: 10px; color: var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.mnav nav a[aria-current] { background: var(--tint); color: var(--navy-k); }
.mnav .mnav-call { margin-top: 6px; background: var(--brand); color: #fff !important; text-align: center; font-weight: 700; }

/* ── 첫 화면: 한 화면 안에 무엇을·어디까지·전화 */
.hx { position: relative; isolation: isolate; background: var(--navy-k); color: #fff; }
.hx-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hx-media picture, .hx-media img { width: 100%; height: 100%; object-fit: cover; }
.hx-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 21, 44, .96) 0%, rgba(8, 21, 44, .86) 50%, rgba(8, 21, 44, .58) 100%), linear-gradient(0deg, rgba(8, 21, 44, .7) 0%, rgba(8, 21, 44, 0) 45%); }
.hx-in { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(44px, 5vw, 72px); }
.hx-eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; font-weight: 700; }
.hx-title { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hx-gold { color: var(--gold-l); }
.hx-lead { max-width: 640px; margin: 0 0 28px; color: #e5e7eb; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; }
.hx-call { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.hx-call .lx-btn { min-height: 76px; }
.hx-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; color: #e5e7eb; font-size: 17px; }
.hx-facts strong { color: #fff; }

/* ── 홈 구획 */
.hm { padding: var(--sec) 0; }
.hm-tint { background: var(--ivory); }
.hm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.hm-head h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--navy-k); }

/* 서비스 6칸(전부 한 번에 보임) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.svc-card:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(8, 20, 42, .08); }
.svc-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-card > div { display: grid; gap: 6px; padding: 18px 20px 22px; }
.svc-card h3 { margin: 0; font-size: 21px; font-weight: 800; color: var(--navy-k); }
.svc-card p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.svc-card-call { justify-content: center; background: var(--navy-k); border-color: var(--navy-k); color: #fff; }
.svc-card-call h3 { color: #fff; }
.svc-card-call p { color: #e5e7eb; }
.svc-card-call strong { margin-top: 6px; color: var(--gold-l); font-size: 28px; }

/* 믿을 이유 4가지 */
.why4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.why4 li { padding: 22px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.why4 strong { display: block; margin-bottom: 6px; font-size: 19px; color: var(--navy-k); }
.why4 p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }

/* 진행 4단계 */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps4 li { position: relative; display: grid; align-content: start; gap: 6px; }
.steps4 .n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: var(--navy-k); color: #fff; font-size: 20px; font-weight: 800; }
.steps4 li:not(:last-child)::after { content: ''; position: absolute; left: 60px; right: -10px; top: 24px; height: 2px; background: var(--line); }
.steps4 strong { font-size: 19px; color: var(--navy-k); }
.steps4 p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }

/* 후기 2개 */
.rv2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rv { margin: 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.rv p { margin: 0 0 12px; color: var(--ink); font-size: 18px; line-height: 1.75; }
.rv footer { color: var(--ink-3); font-size: 16px; font-weight: 600; }

/* 상담 띠(모든 화면 아래) */
.cta2 { padding: clamp(44px, 5vw, 64px) 0; background: var(--navy-k); color: #fff; }
.cta2-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta2 h2 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: #fff; }
.cta2 p { margin: 0; color: #e5e7eb; font-size: 17.5px; }
.cta2-btns { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.cta2-btns .lx-btn { min-height: 76px; }

/* ── 일반 화면 구획 */
.sec, .lx-sec { padding: var(--sec) 0; }
.sec-tint, .lx-ivory { background: var(--ivory); }
.sec-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.sec-h h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--navy-k); }
.lx-h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; font-weight: 800; letter-spacing: -.03em; color: var(--navy-k); }
.lx-p { margin: 0 0 16px; color: var(--ink-2); font-size: 18px; line-height: 1.8; }
.lx-mt { margin-top: 18px; }

/* 하위 화면 머리 */
.phead { padding: clamp(32px, 4vw, 48px) 0; background: var(--navy-k); color: #fff; }
.phead h1 { margin: 6px 0 4px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: #fff; }
.phead p { margin: 0; color: #e5e7eb; font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: #d1d5db; }
.crumbs a { color: inherit; }
.crumbs span[aria-hidden] { opacity: .6; }

/* 소개·서비스(두 칸) */
.lx-promise-in, .svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.svc-row.rev > :first-child { order: 2; }
.lx-parallax { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); }
.lx-parallax-wide { aspect-ratio: 16 / 10; }
.lx-parallax img { width: 100%; height: 100%; object-fit: cover; }
.lx-why { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lx-why li { padding: 14px 16px; border-radius: 12px; background: var(--tint); }
.lx-why strong { font-size: 18px; color: var(--navy-k); }
.lx-why strong::before { content: '✓ '; color: var(--gold-d); }
.lx-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lx-feat-item { padding: 24px 22px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--r); background: #fff; }
.lx-feat-item h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy-k); }
.lx-feat-item p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.svc-list { display: grid; gap: clamp(48px, 6vw, 80px); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 16px 0 24px; padding: 0; list-style: none; }
.ticks li { font-size: 17px; font-weight: 600; color: var(--navy-k); }
.ticks li::before { content: '✓ '; color: var(--gold-d); }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 0; }
.prose h2 { font-size: 24px; }

/* ── 글 카드 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(8, 20, 42, .08); }
.card-img { display: block; }
.card-img img, .card-noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tint); }
.card-noimg { display: grid; place-items: center; color: var(--navy); font-size: 20px; font-weight: 700; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.card h3 { margin: 2px 0 0; font-size: 18px; line-height: 1.5; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-meta { margin: auto 0 0; padding-top: 4px; color: var(--ink-3); font-size: 15px; }
.chip { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: 15px; font-weight: 700; text-decoration: none; }

/* ── 블로그 */
.blog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.blog-side { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.search { display: flex; gap: 8px; min-width: 0; }
.search input { flex: 1; width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 2px solid #c6d2e2; border-radius: 12px; background: #fff; font: inherit; font-size: 17px; }
.search input:focus { outline: none; border-color: var(--gold); }
.search button { flex: none; height: 52px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--navy-k); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.search-big { max-width: 520px; margin: 0 auto 28px; }
.catnav { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.catnav::before { content: '분류'; padding: 6px 10px 8px; color: var(--ink-3); font-size: 15px; font-weight: 700; }
.catnav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.catnav a span { min-width: 28px; padding: 1px 8px; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 15px; text-align: center; }
.catnav a:hover { background: var(--tint); }
.catnav a[aria-current] { background: var(--navy-k); color: #fff; }
.catnav a[aria-current] span { background: rgba(255, 255, 255, .16); color: #fff; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 17px; text-decoration: none; }
.pager [aria-current] { background: var(--navy-k); border-color: var(--navy-k); color: #fff; }

/* ── 글 본문 */
.post-h { padding: 28px 0 8px; }
.post-h .crumbs { margin-bottom: 12px; color: var(--ink-3); }
.post-title { margin: 10px 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.4; font-weight: 800; color: var(--ink); }
.post-meta { margin: 0 0 8px; color: var(--ink-3); font-size: 16px; }
.post-body { padding-bottom: 20px; font-size: 18px; line-height: 1.9; }
.post-body img { margin: 14px auto; max-width: min(100%, 680px); height: auto; border-radius: 10px; }
.post-body h1 { margin: 10px 0 24px; padding: 18px 22px; border-left: 5px solid var(--post-l); border-radius: 0 12px 12px 0; background: linear-gradient(135deg, #e8eff8, #f4f7fc); color: var(--post); font-size: 23px; line-height: 1.5; }
.post-body h2 { margin: 36px 0 14px; padding: 10px 16px; border: 1px solid var(--post-bg); border-radius: 8px; background: #f7f9fd; color: var(--post); font-size: 21px; line-height: 1.45; }
.post-body h3 { margin: 22px 0 8px; padding-left: 12px; border-left: 3px solid var(--post-l); color: var(--post); font-size: 19px; }
.post-body p { margin: 10px 0; color: #222; }
.post-body ul { margin: 12px 0; padding-left: 0; list-style: none; }
.post-body ul li { position: relative; padding: 6px 0 6px 24px; }
.post-body ul li::before { content: ''; position: absolute; left: 6px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--post-l); }
.post-body ol { margin: 16px 0; padding-left: 0; list-style: none; counter-reset: step-counter; }
.post-body ol li { counter-increment: step-counter; display: flex; align-items: flex-start; gap: 14px; margin: 12px 0; padding: 14px 18px; border: 1px solid #ececec; border-radius: 10px; background: #fafafa; font-size: 17px; line-height: 1.8; }
.post-body ol li::before { content: counter(step-counter); flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; background: var(--post-l); color: #fff; font-size: 15px; font-weight: 700; }
.post-body blockquote { margin: 20px 0; padding: 18px 22px; border-left: 4px solid var(--post-l); border-radius: 0 10px 10px 0; background: #f2f6fb; color: #333; font-size: 17px; }
.post-body blockquote.warning { background: #fff0f0; border-left-color: #e05252; }
.post-body blockquote.contact { background: #eef3f9; border-left-color: var(--brand); }
.post-body .faq-item { margin: 14px 0; overflow: hidden; border: 1px solid var(--post-bg); border-radius: 12px; background: #fff; }
.post-body .faq-q { margin: 0; padding: 14px 18px; background: var(--post-bg); color: var(--post); font-size: 18px; font-weight: 700; line-height: 1.5; }
.post-body .faq-a { margin: 0; padding: 14px 18px; border-top: 1px solid var(--post-bg); color: #333; font-size: 17px; }
.post-body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; color: #666; font-size: 15px; }
.post-body a[href^="tel:"] { color: var(--post); font-size: 22px; font-weight: 700; text-decoration: none; }
.post-body a[href^="tel:"]:has(img) { font-size: inherit; }
.post-body strong { color: var(--post); }
.post-body table { display: block; width: 100%; margin: 16px 0; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.post-body th, .post-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: var(--tint); }
.post-body iframe { max-width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.post-tags a { padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--brand); font-size: 15px; text-decoration: none; }
.post-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 10px 0 30px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ivory); }
.post-cta p { margin: 0; }
.post-cta div { display: flex; flex-wrap: wrap; gap: 10px; }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 56px; }
.post-nav a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.post-nav a span { color: var(--ink-3); font-size: 15px; font-weight: 400; }
.post-nav a[rel=next] { text-align: right; }
.rp { display: none; }

/* ── 상담·후기 양식 */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info h2 { margin-top: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--navy-k); }
.big-call { display: inline-grid; margin: 16px 0 22px; padding: 16px 26px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 30px; font-weight: 800; text-decoration: none; }
.big-call span { font-size: 15px; font-weight: 600; }
.info-list { display: grid; padding: 0; list-style: none; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.info-list strong { display: inline-block; min-width: 90px; color: var(--navy-k); }
.form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.form h2 { margin: 0 0 4px; font-size: 23px; }
.form label { display: grid; gap: 6px; font-size: 17px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 10px 14px; border: 2px solid #c6d2e2; border-radius: 12px; background: #fff; font: inherit; font-size: 17px; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .agree { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .agree input { flex: none; width: 26px; height: 26px; min-height: 26px; margin-top: 2px; }
.form .hp { position: absolute; left: -9999px; }
.photo-up { display: grid; gap: 6px; }
.photo-btn { position: relative; display: flex !important; align-items: center; justify-content: center; min-height: 56px; border: 2px dashed #a9bcd6; border-radius: 12px; background: var(--tint); color: var(--navy-k); cursor: pointer; }
.photo-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-btn:focus-within { outline: 3px solid var(--gold); }
.photo-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.photo-list li { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--tint); font-size: 15px; text-align: center; }
.photo-list li.bad { grid-column: 1 / -1; aspect-ratio: auto; padding: 6px; color: #a32929; }
.photo-list img { width: 100%; height: 100%; object-fit: cover; }
.ok { margin: 0; padding: 14px 16px; border-radius: 10px; background: #e7f6ec; color: #14532d; font-weight: 600; }
.err { margin: 0; padding: 14px 16px; border-radius: 10px; background: #fdecec; color: #991b1b; font-weight: 600; }
.hint { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.reviews-page { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.review-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review-item header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.review-item header span, .review-item time { color: var(--ink-3); font-size: 15.5px; }
.review-item .reply { padding: 12px 16px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--ivory); font-size: 16.5px; }
.review-item .reply p { margin: 4px 0 0; }

/* ── 바닥 */
.ftr { padding: 48px 0 36px; background: var(--brand-dd); color: #d1d5db; font-size: 16px; }
.ftr a { color: #fff; }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ftr p { margin: 4px 0; }
.ftr-brand { color: #fff; font-size: 19px; font-weight: 700; }
.ftr-brand span { margin-left: 6px; color: #d1d5db; font-size: 15px; font-weight: 400; }
.ftr-links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 20px; padding-top: 4px; }
.ftr-copy { margin-top: 28px !important; padding-top: 18px !important; border-top: 1px solid rgba(255, 255, 255, .1); color: #9ca3af; font-size: 15px; }

/* 폰 아래 고정 상담 줄 */
.mbar { display: none; }

/* ── 움직임: 화면에 들어올 때 살짝 나타나기 하나뿐(스크립트가 없으면 처음부터 보인다) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── 금색 포인트(남색 바탕 위 강조만). 넓은 면을 금색으로 칠하지 않는다 */
.hdr { border-bottom: 2px solid var(--gold); }
.hx-eyebrow { background: rgba(201, 162, 74, .14); border: 1px solid rgba(233, 207, 142, .55); color: var(--gold-l); }
.hx-facts strong { color: var(--gold-l); }
.call-big span { color: var(--gold-d); }
.hm-head h2::before, .sec-h h2::before { content: ''; display: block; width: 36px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: var(--gold); }
.phead h1::after { content: ''; display: block; width: 40px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--gold); }
.steps4 .n { background: var(--brand-d); color: var(--gold-l); box-shadow: inset 0 0 0 2px var(--gold); }
.cta2 { border-top: 3px solid var(--gold); }
.cta2 h2 { color: #fff; }
.cta2 h2 span { color: var(--gold-l); }
.svc-card-call { border-top: 4px solid var(--gold); }
.ftr-brand { color: var(--gold-l); }
.mbar .mbar-call { box-shadow: inset 0 3px 0 var(--gold); }

/* ── 첫 화면 홍보 연출(첫 화면에만, CSS 만 — 스크립트 없음). '동작 줄이기' 기기에서는 전부 꺼진다
   1) 금빛 띠가 한 번 쓸고 지나가며 사진이 '닦인 듯' 드러남  2) 제목 줄이 차례로 올라옴  3) 금 글자에 빛이 흐름
   4) 전화 단추 둘레에 물결  5) 사진이 천천히 다가옴. (반짝이 별은 오너 요청으로 뺌) 글자·단추는 1.2초 안에 다 보인다 */
.hx { overflow: hidden; }
.hx-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hx-in { position: relative; z-index: 1; }
.hx-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hx-title .ln > span { display: inline-block; }
.hx-wipe { display: none; }
.call-pulse { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .hx-media img { animation: hxIn 2.6s cubic-bezier(.2, .7, .2, 1) both, hxDrift 22s 2.6s ease-in-out infinite alternate; }
  .hx-media { animation: hxReveal 1.25s .1s cubic-bezier(.6, 0, .2, 1) both; }
  .hx-wipe { display: block; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 38%; background: linear-gradient(100deg, rgba(233, 207, 142, 0) 0%, rgba(233, 207, 142, .2) 35%, rgba(255, 246, 220, .5) 50%, rgba(233, 207, 142, .2) 65%, rgba(233, 207, 142, 0) 100%); transform: skewX(-16deg); animation: hxWipe 1.35s .1s cubic-bezier(.6, 0, .2, 1) both; }
  .hx-eyebrow { animation: hxPop .6s .25s cubic-bezier(.2, .9, .3, 1.3) both; }
  .hx-title .ln > span { animation: hxRise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hx-title .ln:nth-child(1) > span { animation-delay: .35s; }
  .hx-title .ln:nth-child(2) > span { animation-delay: .5s; }
  .hx-gold { background: linear-gradient(100deg, var(--gold-l) 0%, var(--gold-l) 40%, #fff6dc 50%, var(--gold-l) 60%, var(--gold-l) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hxRise .8s .5s cubic-bezier(.2, .8, .2, 1) both, hxShine 3.6s 1.6s ease-in-out infinite; }
  .hx-lead { animation: hxUp .7s .7s ease-out both; }
  .hx-call { animation: hxUp .7s .82s ease-out both; }
  .hx-facts li { animation: hxUp .6s ease-out both; }
  .hx-facts li:nth-child(1) { animation-delay: .95s; }
  .hx-facts li:nth-child(2) { animation-delay: 1.05s; }
  .hx-facts li:nth-child(3) { animation-delay: 1.15s; }
  .call-pulse::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(233, 207, 142, .7); animation: hxPulse 2.8s 2s ease-out infinite; }
}
@keyframes hxReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hxWipe { 0% { transform: translateX(0) skewX(-16deg); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(420%) skewX(-16deg); opacity: 0; } }
@keyframes hxIn { from { transform: scale(1.14); } to { transform: scale(1.03); } }
@keyframes hxDrift { from { transform: scale(1.03) translateX(0); } to { transform: scale(1.09) translateX(-1.5%); } }
@keyframes hxRise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hxUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hxPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes hxShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes hxPulse { 0% { box-shadow: 0 0 0 0 rgba(233, 207, 142, .7); } 70%, 100% { box-shadow: 0 0 0 18px rgba(233, 207, 142, 0); } }

/* ── 너비별 */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hdr-call { margin-left: auto; }
  .mnav { display: block; }
  .why4, .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .steps4 li::after { display: none; }
}
@media (max-width: 960px) {
  .svc-grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-promise-in, .svc-row, .contact, .reviews-page { grid-template-columns: minmax(0, 1fr); }
  .svc-row.rev > :first-child { order: 0; }
  .lx-feat, .rv2 { grid-template-columns: minmax(0, 1fr); }
  .blog { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .blog-side { position: static; }
  .catnav { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; background: none; }
  .catnav::before { display: none; }
  .catnav a { min-height: 46px; border: 1px solid var(--line); background: #fff; }
}
@media (max-width: 700px) {
  :root { --hdr-h: 64px; }
  body { font-size: 17px; }
  .brand { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .hdr-call { display: none; }
  .mnav { margin-left: auto; }
  .hx-call, .cta2-btns { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .call-big { width: 100%; text-align: center; justify-items: center; }
  .hx-facts { display: grid; gap: 6px; font-size: 16.5px; }
  .svc-grid, .cards, .why4, .steps4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svc-card { flex-direction: row; align-items: stretch; }
  .svc-card img { width: 38%; aspect-ratio: auto; object-fit: cover; }
  .svc-card > div { padding: 14px 16px; }
  .svc-card h3 { font-size: 19px; }
  .svc-card p { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-card-call > div { padding: 20px 18px; }
  .steps4 li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  .steps4 .n { grid-row: span 2; margin: 0; }
  .lx-btn, .svc-links .lx-btn, .post-cta .btn { width: 100%; }
  .form .row2 { grid-template-columns: minmax(0, 1fr); }
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 19.5px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav a[rel=next] { text-align: left; }
  .big-call { width: 100%; font-size: 26px; }
  .ftr { padding-bottom: calc(60px + 32px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1); }
  .mbar a { display: grid; place-items: center; min-height: 60px; color: var(--navy-k); font-size: 17px; font-weight: 800; text-decoration: none; }
  .mbar .mbar-call { background: var(--brand); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
