/* 라이프스토리 공통 스타일 — 시니어 기본 대형 타이포 + 모바일 우선 반응형 */
/* 고딕(본문·UI) 공통 웹폰트: Pretendard Variable (dynamic-subset — 쓰는 글자만 로드, variable로 100~900 무단계). 롤백 시 이 @import와 body font-family만 원복 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");
:root {
  --green: #1B5E3C; --green-dark: #14492E; --green-deep: #16301F; --green-night: #0A130C;
  --gold: #B8933A; --gold-bright: #D9A845; --gold-soft: #CBAB55;
  --ink: #1C2A20; --body: #46544B; --muted: #5F6B5D; --faint: #6B756E;
  --line: #E4E7DC; --bg-soft: #F6F7F3; --bg-warm: #FBF7EC; --warm-line: #E0C98C;
  --fs-base: 1rem;
}
html { font-size: 17px; }
html[data-fs="s"] { font-size: 15px; }
html[data-fs="l"] { font-size: 19px; }
html[data-fs="xl"] { font-size: 21px; }
/* 모바일 기본 글씨 키움 (시니어 가독성) — 글씨크기 조절 안 했을 때만, PC 미영향 */
@media (max-width: 899px) { html:not([data-fs]) { font-size: 18.5px; } }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: var(--ink); background: #FFFFFF; line-height: 1.7; font-size: var(--fs-base); }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: 'Noto Serif KR', 'Noto Sans KR', serif; font-weight: 600; line-height: 1.45; margin: 0; }
.serif { font-family: 'Noto Serif KR', serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: none; cursor: pointer; border-radius: 10px; font-weight: 700; font-family: inherit; text-align: center; transition: transform .06s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--xl { min-height: 60px; padding: 14px 36px; font-size: 1.1rem; width: 100%; }
.btn--lg { min-height: 56px; padding: 12px 32px; font-size: 1.05rem; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(27,94,60,.2); }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--gold { background: var(--gold-bright); color: #1C1C1C; box-shadow: 0 8px 20px rgba(217,168,69,.3); }
.btn--gold:hover { background: #C9983B; color: #1C1C1C; }
.btn--ghost { background: #fff; border: 1.5px solid var(--green); color: var(--green); }

/* ---------- 랜딩 공통 ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.topbar__logo { height: 46px; width: auto; }
.topbar__phone { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.chip-dash { border: 1px dashed #AEB4A4; color: #7C8474; padding: 2px 10px; border-radius: 6px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; letter-spacing: 2px; color: var(--gold); font-size: .95rem; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--left { justify-content: flex-start; }
.eyebrow--left::after { display: none; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--deep { background: var(--green-deep); color: #F6F4EA; }
.section--dark { background: #121212; color: #fff; position: relative; }
.section--dark .texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.section--dark > .wrap { position: relative; }
.section-title { font-size: 1.9rem; color: var(--green); text-align: center; }
.section--deep .section-title, .section--dark .section-title { color: #F6F4EA; }
.section-sub { text-align: center; color: var(--body); font-size: 1.05rem; margin-top: 12px; word-break: keep-all; text-wrap: pretty; }

/* ---------- 히어로 ---------- */
.hero { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; padding: 36px 0 56px; }
.hero h1, .hero .mb-hook { font-size: 2rem; }
.mb-hook { font-family: 'Noto Serif KR', 'Noto Sans KR', serif; font-weight: 600; line-height: 1.45; }
.hero__sub { font-size: 1.12rem; color: var(--body); margin: 0; }
.hero--dark h1 { color: #fff; }
.hero--dark .hero__sub { color: #B9BDB4; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--gold-bright); color: var(--gold-bright); }
.tag--fill { background: var(--gold-bright); color: #1C1C1C; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stat-chip { border: 1px solid var(--line); background: var(--bg-soft); color: var(--body); font-size: .92rem; padding: 9px 16px; border-radius: 999px; }
.stat-chip strong { color: var(--green); }
.hero__mock { display: block; margin: 0 auto; max-width: 320px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.urgent { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--warm-line); background: var(--bg-warm); border-radius: 10px; padding: 14px 18px; color: #5C4A1E; font-size: .98rem; }
.urgent strong { color: #8A6D2E; }

/* ---------- 카드·그리드 ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card--soft { background: var(--bg-soft); }
.worry { display: flex; align-items: center; gap: 14px; }
.worry img { width: 52px; height: 52px; flex-shrink: 0; }
.check-line { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; color: #3A4640; }
.check-line svg, .x-line svg { flex-shrink: 0; margin-top: 4px; }
.x-line { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; color: var(--muted); }
.quote-box { border-top: 2px solid var(--gold); background: var(--bg-soft); padding: 24px 26px; }
.quote-box .q { font-family: 'Noto Serif KR', serif; font-size: 1.12rem; color: var(--ink); }
.quote-box .by { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.evid { background: #1E3A28; border: 1px solid #2E4A38; border-radius: 14px; padding: 26px; }
.evid .no { font-family: 'Noto Serif KR', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold-soft); }
.evid h3 { font-family: inherit; font-size: 1.15rem; color: #F6F4EA; margin: 8px 0; }
.evid p { color: #C4D2C6; font-size: .98rem; margin: 0; }
.cmp { border-radius: 16px; overflow: hidden; border: 1px solid #E0E0D8; background: #F1F1EC; }
.cmp--win { border: 2px solid var(--green); background: #fff; box-shadow: 0 16px 34px rgba(27,94,60,.12); }
.cmp__head { padding: 14px; text-align: center; font-weight: 700; color: #fff; background: #8A948C; font-size: 1.05rem; }
.cmp--win .cmp__head { background: var(--green); }
.cmp__body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.doc-card { position: relative; background: #FDFDFB; border: 1px solid #D8D5C6; border-radius: 6px; padding: 26px; box-shadow: 0 16px 34px rgba(28,42,32,.12); }
.doc-card__stamp { position: absolute; top: 14px; right: 14px; width: 78px; height: 78px; border: 2.5px solid rgba(184,147,58,.75); border-radius: 999px; display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); font-weight: 700; color: rgba(184,147,58,.9); text-align: center; font-size: .85rem; line-height: 1.3; }
.doc-card h3 { font-size: 1.15rem; letter-spacing: 3px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.doc-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #E0DDCE; padding: 8px 0; font-size: .98rem; }
.doc-row b { white-space: nowrap; }
.toc-row { display: flex; align-items: baseline; gap: 12px; font-size: 1.02rem; }
.toc-row .no { font-family: 'Noto Serif KR', serif; font-weight: 700; color: var(--gold); }

/* ---------- 신청 폼 ---------- */
.lead-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 0 26px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 48px rgba(0,0,0,.25); max-width: 560px; margin: 0 auto; }
.lead-card__band { display: flex; align-items: center; gap: 12px; background: var(--gold-bright); color: #1C1C1C; margin: 0 -26px 6px; padding: 16px 24px; border-radius: 14px 14px 0 0; }
.lead-card__band strong { display: block; font-size: 1.2rem; }
.lead-card__band small { color: #5B4A1E; font-size: .9rem; }
.lead-card__pen { font-size: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: .98rem; color: var(--ink); }
.field > span em { font-weight: 400; color: var(--faint); font-style: normal; }
.field input, .field select { min-height: 54px; border: 1px solid #D5DACF; border-radius: 10px; padding: 0 16px; font-size: 1.05rem; font-family: inherit; color: var(--ink); width: 100%; }
.field input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.seg i { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid #D5DACF; border-radius: 10px; font-style: normal; color: var(--muted); cursor: pointer; font-size: .98rem; }
.seg input:checked + i { border-color: var(--green); background: #EAF0E7; color: var(--green); font-weight: 700; }
.seg input:focus-visible + i { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
.simopt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--gold-bright); background: var(--bg-warm); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.simopt input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--gold-bright); flex-shrink: 0; }
.simopt strong { color: #6B5B2E; font-size: 1rem; }
.simopt strong em { font-weight: 400; font-style: normal; font-size: .88rem; }
.simopt small { display: block; color: #8A7B4E; font-size: .88rem; line-height: 1.5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.lead-card__note { text-align: center; color: var(--faint); font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; top: -9999px; }

/* ---------- 시뮬레이터 ---------- */
.sim-tabs { display: flex; }
.sim-tab { flex: 1; min-height: 54px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.02rem; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.sim-tab:first-child { border-radius: 10px 0 0 10px; }
.sim-tab:last-child { border-radius: 0 10px 10px 0; }
.sim-tab.on { background: var(--green); border-color: var(--green); color: #fff; }
.sim-cat { font-weight: 700; letter-spacing: 2px; color: var(--gold); font-size: .95rem; }
.sim-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid #EDEFE7; }
.sim-item:last-child { border-bottom: none; }
.sim-item__main { display: flex; gap: 12px; align-items: flex-start; }
.sim-item input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--green); margin-top: 2px; flex-shrink: 0; }
.sim-item__name { font-size: 1.02rem; }
.sim-item__note { font-size: .85rem; color: var(--faint); }
.sim-item__price { font-weight: 700; white-space: nowrap; font-size: 1.02rem; }
.sim-qty { display: inline-flex; align-items: center; margin-left: 8px; vertical-align: middle; }
.sim-qty button { width: 46px; height: 46px; border: 1px solid #D5DACF; background: #fff; font-size: 1.25rem; color: var(--muted); cursor: pointer; border-radius: 8px; }
.sim-qty span { width: 44px; text-align: center; font-size: .98rem; }
.sim-summary { position: sticky; bottom: 0; background: #fff; border: 2px solid var(--green); border-radius: 14px; padding: 20px 22px; box-shadow: 0 -8px 24px rgba(28,42,32,.12); }
.sum-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: .98rem; padding: 3px 0; }
.sum-row > span:first-child { word-break: keep-all; min-width: 0; }
.sum-row > span:last-child { white-space: nowrap; flex-shrink: 0; text-align: right; }
.sum-row--total { font-size: 1.05rem; font-weight: 700; align-items: baseline; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.sum-row--total .amt { font-family: 'Noto Serif KR', serif; font-size: 1.7rem; color: var(--green); }
.sum-note { font-size: .85rem; color: var(--faint); margin-top: 8px; }
.sim-wrap { position: relative; }
.sim-locked .sim-layout { filter: blur(7px); -webkit-filter: blur(7px); pointer-events: none; user-select: none; opacity: .85; }
.sim-gate { position: absolute; inset: 0; z-index: 6; display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px; }
.sim-gate__card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.22); padding: 30px 26px; text-align: center; max-width: 400px; width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sim-gate__ico { font-size: 2rem; }
.sim-gate__card strong { font-size: 1.25rem; color: var(--green); font-family: 'Noto Serif KR', serif; }
.sim-gate__card p { color: var(--body); margin: 0; font-size: 1rem; line-height: 1.7; }
.sim-gate__card b { color: var(--gold); }
.sim-gate__card .btn { width: 100%; }

/* ---------- 땡큐·전자책 ---------- */
.ty-check { width: 84px; height: 84px; background: #EAF0E7; border: 2px solid var(--green); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.book-body h2 { color: var(--green); font-size: 1.4rem; margin: 36px 0 12px; }
.book-body p { color: #3A4640; font-size: 1.05rem; line-height: 1.9; }
.book-chip { display: flex; align-items: baseline; gap: 12px; }
.book-chip .no { font-family: 'Noto Serif KR', serif; font-weight: 700; font-size: 1.5rem; color: var(--gold); }

/* ---------- 푸터 ---------- */
.footer { background: var(--green-night); color: #8A9A8C; padding: 56px 0 24px; font-size: .93rem; }
.footer a { color: #B7C4B7; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.85fr; gap: 32px; align-items: start; }
.footer__brand img { height: 46px; width: auto; margin-bottom: 14px; display: block; }
.footer__slogan { font-family: 'Noto Serif KR', serif; color: #E6ECE4; font-size: 1rem; margin: 0 0 8px; white-space: nowrap; }
.footer__tag { color: #8A9A8C; margin: 0 0 16px; font-size: .84rem; white-space: nowrap; letter-spacing: -.01em; }
.footer__tel { display: inline-flex; align-items: center; gap: 8px; color: #E6ECE4 !important; font-size: 1rem; }
.footer__tel strong { color: var(--gold-bright); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4, .footer__company h4 { color: #fff; font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.footer__company dl { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__company dl > div { display: flex; gap: 8px; line-height: 1.5; font-size: .85rem; }
.footer__company dt { flex-shrink: 0; width: 92px; white-space: nowrap; color: #6E7E71; }
.footer__company dd { margin: 0; color: #B7C4B7; white-space: nowrap; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #6E7E71; }
.footer__note { color: var(--gold-soft); }
@media (max-width: 900px) {
  .footer { padding: 40px 0 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer__company { grid-column: 1 / -1; }
  .footer__slogan, .footer__tag, .footer__company dd { white-space: normal; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__company dt { width: 100px; }
}

/* ---------- 글자 크기 조절 ---------- */
.fs-ctl { position: fixed; right: 14px; bottom: 14px; z-index: 50; display: flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.fs-ctl__lbl { display: flex; align-items: center; padding: 0 10px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.fs-ctl button { width: 46px; height: 44px; border: none; background: #fff; cursor: pointer; color: var(--ink); font-family: inherit; font-size: 1.2rem; font-weight: 700; }
.fs-ctl button:hover { background: var(--bg-soft); }
.fs-ctl button.on { background: var(--green); color: #fff; font-weight: 700; }

/* ---------- 데스크톱 ---------- */
@media (min-width: 900px) {
  html { font-size: 18px; }
  .hero { grid-template-columns: 1.2fr 1fr; padding: 48px 0 72px; }
  .hero h1, .hero .mb-hook { font-size: 2.6rem; }
  .hero--center { grid-template-columns: 1fr; text-align: center; }
  .hero__mock { max-width: 400px; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .section { padding: 80px 0; }
  .section-title { font-size: 2.2rem; }
  .topbar__logo { height: 58px; }
  .form-split { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; }
  .story-split { display: grid; grid-template-columns: 1.15fr 400px; gap: 60px; align-items: start; }
  .sim-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
  .sim-summary { position: sticky; top: 24px; bottom: auto; box-shadow: 0 16px 34px rgba(28,42,32,.1); }
}

/* 폼 오류 안내 배너 */
.form-err{background:#FBEFEA;border:1px solid #E0B4A3;color:#8A3B22;border-radius:12px;padding:14px 16px;margin:14px 16px 0;font-size:.95rem;line-height:1.6}
.form-err small{color:#A05A42}

/* ===== 상단 메뉴 (시안 반영) ===== */
.utilbar{background:var(--green);color:#E8EFE6;font-size:.85rem}
.utilbar .wrap{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:6px 24px}
.utilbar__admin{color:#CBD8CB;border:1px solid rgba(255,255,255,.28);border-radius:7px;padding:4px 12px;font-size:.82rem}
.utilbar__admin:hover{background:rgba(255,255,255,.1);color:#fff}
.nav-fs{display:flex;gap:4px;align-items:center}
.nav-fs__lbl{color:#CBD8CB;font-size:.82rem;margin-right:4px;white-space:nowrap}
.nav-fs__lbl .fs-short{display:none}
@media (display-mode:standalone){.nav-fs__lbl .fs-full{display:none}.nav-fs__lbl .fs-short{display:inline}}
.nav-fs button{background:transparent;border:1px solid rgba(255,255,255,.35);color:#E8EFE6;border-radius:6px;min-width:44px;min-height:40px;cursor:pointer;line-height:1;font-size:1.15rem;font-weight:700}
.nav-fs button:hover{background:rgba(255,255,255,.1)}
.nav-fs button.on{background:#fff;color:var(--green);border-color:#fff;font-weight:700}
.topnav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.topnav .wrap{display:flex;align-items:center;gap:14px;padding:12px 20px}
.topnav__logo img{height:52px;display:block}
.topnav__links{display:flex;gap:20px;align-items:center;margin-left:4px}
.topnav__links a{color:var(--ink);font-size:1.04rem;text-decoration:none;padding:6px 2px;white-space:nowrap}
.topnav__links a:hover{color:var(--green)}
.topnav__cta{display:flex;gap:8px;align-items:center;margin-left:auto}
.topnav__cta .btn{padding:9px 12px;font-size:.9rem;white-space:nowrap}
.btn--gold-line{border:1.5px solid var(--gold-bright);color:#8A6D1F;background:#fff;border-radius:10px}
.btn--green-line{border:1.5px solid var(--green);color:var(--green);background:#fff;border-radius:10px}
.nav-burger{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:8px;width:46px;height:46px;font-size:1.3rem;color:var(--green);cursor:pointer}
.topnav__drawer{display:none}
@media (max-width:1160px){
  .topnav__links,.topnav__cta{display:none}
  .nav-burger{display:block}
  .utilbar__admin{display:none}
  .topnav__drawer.open{display:flex;flex-direction:column;gap:4px;padding:10px 20px 18px;background:#fff;border-top:1px solid var(--line)}
  .topnav__drawer a{padding:13px 8px;border-bottom:1px solid #F0F2EC;color:var(--ink);text-decoration:none;font-size:1.05rem}
  .topnav__drawer .drawer-actions{background:var(--bg-soft);margin:10px -20px -18px;padding:16px 20px 20px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:9px}
  .topnav__drawer .drawer-actions a.drawer-btn{display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;border:1px solid #D3DBCD;border-radius:11px;padding:15px 12px;color:var(--ink);font-weight:600;font-size:1.05rem;box-shadow:0 1px 2px rgba(28,42,32,.05)}
  .topnav__drawer .drawer-actions a.drawer-btn:hover{border-color:var(--green);color:var(--green)}
  .topnav__drawer .drawer-actions .btn-ico{width:19px;height:19px;flex-shrink:0}
}

/* ===== 홈 히어로 (종이 질감 + 골드 프레임) ===== */
.home-hero{background:var(--bg-soft)}
.home-hero .wrap{padding-top:44px;padding-bottom:52px}
.hero-frame{border:1.5px dashed var(--gold-bright);border-radius:18px;padding:56px 32px 36px;display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;background:#FDFCF8;position:relative}
.hero-frame__badge{position:absolute;top:-24px;left:54px;background:linear-gradient(135deg,var(--gold-bright),var(--gold));color:#FFFFFF;border:none;border-radius:999px;padding:13px 30px;font-size:1.55rem;font-weight:700;display:inline-flex;align-items:center;line-height:1;box-shadow:0 6px 18px rgba(184,147,58,.35);text-shadow:0 1px 3px rgba(74,44,12,.45)}
.hero-frame__badge b{color:#FFFFFF;font-weight:800}
.hero-frame h1{font-size:2.1rem;line-height:1.35;margin:0}
.hero-txt{padding-left:26px}
.hero-usp{margin:0;font-size:2rem;font-weight:800;color:var(--gold);font-family:'Noto Serif KR',serif;line-height:1.35;word-break:keep-all}
.hero-usp__ind{margin-left:5em}
.hero-fam{margin:10px 0 0;font-size:1.5rem;line-height:1.45;word-break:keep-all}
.hero-fam strong{color:var(--ink);font-family:'Noto Serif KR',serif;font-weight:700}
.br-pc{display:inline}
.br-mo{display:none}
.hero-frame__img{align-self:stretch;margin:-56px -32px -36px 0;border-radius:0 16px 16px 0;overflow:hidden}
.hero-art{position:relative;display:inline-block;line-height:0}
.hero-art__bf{position:relative;z-index:2;max-width:280px}
.hero-art__leaves{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-46%,-52%);width:150%;max-width:none;opacity:.9;pointer-events:none}
.hero-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.about-hero{display:grid;grid-template-columns:1.12fr .88fr;gap:40px;align-items:center}
.about-hero__txt{display:flex;flex-direction:column;gap:16px}
.about-hero__img{max-width:400px;margin-left:auto}
.about-hero-photo{width:100%;border-radius:16px;display:block}
@media (max-width:820px){
  .about-hero{grid-template-columns:1fr;text-align:center;gap:22px}
  .about-hero__txt{align-items:center}
  .about-hero__txt .eyebrow{justify-content:center}
  .about-hero__img{order:-1;max-width:300px;margin:0 auto}
}
@media (max-width:900px){
  .hero-frame{grid-template-columns:1fr;padding:60px 22px 34px;text-align:center}
  .hero-frame__badge{font-size:1.25rem;padding:11px 22px;top:-22px;left:50%;transform:translateX(-50%);white-space:normal;text-align:center;line-height:1.3;max-width:calc(100% - 28px)}
  .hero-txt{padding-left:0}
  .hero-frame__img{order:-1;margin:8px 0 0;align-self:auto;border-radius:14px}
  .hero-photo{max-width:340px;height:auto;margin:0 auto}
  .hero-art__bf{max-width:170px}
  .hero-frame h1{font-size:1.65rem}
  .hero-usp{font-size:1.6rem}
  .hero-usp__ind{margin-left:0}
  .hero-fam{font-size:1.34rem}
  .hero-txt{align-items:center}
  .hero-txt > div{flex-direction:column;align-items:stretch;width:100%;max-width:360px;margin-left:auto;margin-right:auto}
  .hero-txt > div .btn{width:100%}
  .br-pc{display:none}
  .br-mo{display:inline}
}
@media (max-width:420px){
  .hero-frame__badge{font-size:1.1rem;gap:6px;padding:10px 16px;white-space:normal;text-align:center;max-width:calc(100% - 24px)}
  .hero-frame h1{font-size:1.72rem}
  .hero-usp{font-size:1.56rem}
  .hero-fam{font-size:1.4rem}
}

/* ===== 4 특징 밴드 / 스텝 / 항목 카드 / 약속 ===== */
.feat-band{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feat-band .card{text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.step-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 18px;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center;word-break:keep-all}
.step-card .no{color:var(--gold);font-weight:700;font-size:.85rem;letter-spacing:.12em}
.items-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.item-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:center;display:flex;flex-direction:column}
.item-card__img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#F6F6F2}
.item-card__body{padding:14px 12px 18px;display:flex;flex-direction:column;gap:5px}
.item-card svg{color:var(--green)}
.item-card strong{font-size:1.05rem}
.item-card small{color:var(--muted);font-size:.88rem;line-height:1.5}
.promise-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media (max-width:900px){
  .feat-band,.steps,.items-grid,.promise-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .feat-band,.steps,.promise-grid{grid-template-columns:1fr}
}

/* ===== 관리자·포털 ===== */
body.adm{background:#F2F4EF}
.adm-shell{display:flex;min-height:100vh}
.adm-side{width:230px;flex-shrink:0;background:var(--green-night);color:#DCE5DA;display:flex;flex-direction:column;padding:20px 0}
.adm-logo{display:block;padding:4px 20px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.adm-logo img{height:36px}
.adm-user{padding:14px 20px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column}
.adm-user strong{font-size:1.05rem;color:#fff}
.adm-user span{font-size:.85rem;color:#9FB0A0}
.adm-nav{display:flex;flex-direction:column;padding:10px 0;flex:1}
.adm-nav a{color:#C7D2C6;padding:12px 20px;text-decoration:none;font-size:.98rem;border-left:3px solid transparent}
.adm-nav a:hover{background:rgba(255,255,255,.05);color:#fff}
.adm-nav a.on{background:rgba(217,168,69,.12);color:var(--gold-bright);border-left-color:var(--gold-bright);font-weight:700}
.adm-nav__up{font-size:.66rem;font-weight:700;letter-spacing:.03em;color:var(--gold-bright);border:1px solid rgba(217,168,69,.5);border-radius:5px;padding:1px 5px;vertical-align:middle;margin-left:2px}
.adm-side__foot{padding:14px 20px;border-top:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;align-items:stretch;gap:10px}
.adm-side__links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.adm-side__foot a{color:#9FB0A0;font-size:.88rem;white-space:nowrap}
.adm-side__logout{width:100%}
.adm-side__foot button{width:100%;background:none;border:1px solid rgba(255,255,255,.25);color:#C7D2C6;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:.88rem;white-space:nowrap}
.adm-side__foot button:hover{background:rgba(255,255,255,.06)}
.adm-main{flex:1;padding:28px 32px;min-width:0}
.adm-title{font-family:'Pretendard Variable','Pretendard','Noto Sans KR',sans-serif;font-size:1.4rem;color:var(--ink);margin:0 0 18px;font-weight:700}
.adm-flash{border-radius:10px;padding:12px 16px;margin-bottom:16px;font-size:.95rem}
.adm-flash--ok{background:#E8F1E9;border:1px solid #BFD6C3;color:#1B5E3C}
.adm-flash--fail{background:#FBEFEA;border:1px solid #E0B4A3;color:#8A3B22}
.adm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:22px}
.adm-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.adm-card .num{font-size:1.7rem;font-weight:700;color:var(--green)}
.adm-card .lbl{color:var(--muted);font-size:.9rem}
.adm-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px;margin-bottom:20px}
.adm-panel h2{font-family:inherit;font-size:1.08rem;margin:0 0 14px;color:var(--ink)}
.adm-tablewrap{overflow-x:auto}
.adm-table{width:100%;border-collapse:collapse;font-size:.93rem;min-width:640px}
.adm-table th{text-align:left;color:var(--muted);font-weight:500;border-bottom:2px solid var(--line);padding:8px 10px;white-space:nowrap}
.adm-table td{border-bottom:1px solid #EEF0E9;padding:10px;vertical-align:middle}
.adm-table tr:hover td{background:#FAFBF7}
.adm-badge{display:inline-block;color:#fff;border-radius:999px;padding:3px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}
.adm-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;align-items:center}
.adm-filter select,.adm-filter input{min-height:42px;border:1px solid #D5DACF;border-radius:8px;padding:0 12px;font-size:.93rem;font-family:inherit;background:#fff}
.adm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 18px;border-radius:8px;border:none;cursor:pointer;font-weight:700;font-size:.93rem;font-family:inherit;text-decoration:none}
.adm-btn--green{background:var(--green);color:#fff}
.adm-btn--green:hover{background:var(--green-dark);color:#fff}
.adm-btn--line:hover{background:#EEF2EA;color:var(--green)}
.adm-btn--gold:hover{background:#C9983B;color:#1C1C1C}
/* 토글 스위치 */
.switch{display:inline-flex;align-items:center;gap:12px;cursor:pointer;user-select:none}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch__track{width:54px;height:31px;border-radius:999px;background:#C4CBBD;position:relative;transition:background .2s ease;flex-shrink:0}
.switch__thumb{position:absolute;top:3px;left:3px;width:25px;height:25px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.28);transition:left .2s ease}
.switch input:checked + .switch__track{background:var(--green)}
.switch input:checked + .switch__track .switch__thumb{left:26px}
.switch input:focus-visible + .switch__track{outline:3px solid var(--gold-bright);outline-offset:2px}
.switch input:disabled + .switch__track{opacity:.5}
.switch__label{font-weight:700;font-size:1rem}
.adm-btn--line{background:#fff;border:1.5px solid var(--green);color:var(--green)}
.adm-btn--gold{background:var(--gold-bright);color:#1C1C1C}
.adm-btn--sm{min-height:34px;padding:4px 12px;font-size:.85rem}
.adm-form{display:flex;flex-direction:column;gap:14px;max-width:560px}
.adm-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:.93rem;color:var(--ink)}
.adm-form input,.adm-form select,.adm-form textarea{min-height:46px;border:1.5px solid #D5DACF;border-radius:8px;padding:8px 14px;font-size:.98rem;font-family:inherit}
.adm-form textarea{min-height:90px;resize:vertical}
.adm-copy{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.adm-copy code{background:#F2F4EF;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:.88rem;word-break:break-all}
.adm-qr{background:#fff;padding:10px;border:1px solid var(--line);border-radius:10px;display:inline-block}
.adm-login{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--green-night);padding:20px}
.adm-login form{background:#fff;border-radius:16px;padding:34px 30px;width:100%;max-width:400px;display:flex;flex-direction:column;gap:14px}
.adm-login img{height:44px;align-self:center}
.adm-login form > a{align-self:center;display:inline-block;line-height:0}
@media (max-width:860px){
  .adm-shell{flex-direction:column}
  .adm-side{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center;padding:10px}
  .adm-logo{border:none;padding:6px 12px}
  .adm-user{border:none;padding:6px 12px}
  .adm-nav{flex-direction:row;flex-wrap:wrap;padding:0;flex-basis:100%}
  .adm-nav a{padding:10px 12px;border-left:none;border-bottom:3px solid transparent}
  .adm-nav a.on{border-left:none;border-bottom-color:var(--gold-bright)}
  .adm-side__foot{flex-basis:100%;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:8px 12px}
  .adm-side__logout{width:auto;margin-left:auto}
  .adm-side__foot button{width:auto;padding:6px 14px}
  .adm-main{padding:18px 14px}
}

/* PWA 홈추가 배너 */
.pwa-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:200;background:var(--green-night);color:#E8EFE6;border-radius:14px;padding:12px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 30px rgba(0,0,0,.35);font-size:.93rem}
.pwa-bar .pwa-add{margin-left:auto;background:var(--gold-bright);border:none;color:#1C1C1C;font-weight:700;border-radius:8px;padding:9px 16px;cursor:pointer}
.pwa-bar .pwa-x{background:none;border:none;color:#9FB0A0;font-size:1rem;cursor:pointer;padding:6px}
@media (min-width:700px){.pwa-bar{left:auto;right:20px;max-width:420px}}

/* 갤러리·후기 공개 페이지 */
.gal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.gal-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.gal-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.gal-card .cap{padding:10px 12px;font-size:.9rem;color:var(--body)}
.vid-card{position:relative;display:block}
.vid-card .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2.4rem;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.review-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.review-card .stars{color:var(--gold-bright);letter-spacing:2px}
.faq-item{border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:10px;overflow:hidden}
.faq-item summary{padding:16px 18px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px}
.faq-item summary::after{content:"▾";color:var(--gold)}
.faq-item[open] summary::after{content:"▴"}
.faq-item .ans{padding:0 18px 16px;color:var(--body);line-height:1.8}

/* 서명 캔버스 */
.sign-box{border:2px dashed #C9CFC2;border-radius:10px;background:#fff;position:relative}
.sign-box canvas{display:block;width:100%;height:160px;touch-action:none}
.sign-box .sign-clear{position:absolute;top:8px;right:8px}

/* 인쇄 (상담서 A4) */
@media print{
  @page{size:A4;margin:9mm}
  html{font-size:12px !important}   /* 글씨크기 설정 영향 차단 + 컴팩트 */
  body.print-doc{background:#fff}
  .no-print{display:none !important}
  .print-page{page-break-after:always;max-width:none;margin:0;padding:0}
  .print-page:last-child{page-break-after:auto}
  .print-doc h1{font-size:1.5rem;letter-spacing:5px;padding-bottom:6px}
  .print-tbl{margin-top:8px !important}
  .print-tbl th,.print-tbl td{padding:3px 7px}
}
.print-doc .print-page{max-width:820px;margin:0 auto;padding:28px;background:#fff}
.print-doc h1{font-size:1.4rem;text-align:center;letter-spacing:6px;border-bottom:2px solid #222;padding-bottom:12px}
.print-tbl{width:100%;border-collapse:collapse;font-size:.9rem;margin-top:14px}
.print-tbl th,.print-tbl td{border:1px solid #444;padding:7px 9px;text-align:left}
.print-tbl th{background:#F2F2EC;width:130px;font-weight:700}

/* ===== 무빈소 통계 시각화 ===== */
.stat-cards{display:grid;grid-template-columns:1fr 1.7fr 1fr;gap:18px;margin-top:28px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}
.stat-card--wide{align-items:stretch;justify-content:center;text-align:center}
.donut{width:132px;height:132px}
.stat-card__label{color:var(--body);font-size:1.02rem;line-height:1.7}
.stat-card__label strong{color:var(--green)}
.stat-big{font-family:'Noto Serif KR',serif;font-size:3.6rem;font-weight:700;color:var(--green);line-height:1}
.stat-big small{font-size:1.15rem;margin-left:4px;font-weight:400}
.cost-bar{display:flex;flex-direction:column;gap:14px}
.cost-bar__row{display:flex;align-items:center;gap:12px}
.cost-bar__name{width:66px;text-align:right;color:var(--muted);font-size:.92rem;flex-shrink:0}
.cost-bar__track{flex:1;height:34px;background:#F0F2EC;border-radius:8px;overflow:hidden}
.cost-bar__fill{height:100%;border-radius:8px}
.cost-bar__fill--gray{background:#9AA69B}
.cost-bar__fill--green{background:var(--green)}
.cost-bar__val{flex-shrink:0;white-space:nowrap;font-weight:700;font-size:.98rem;color:#6B746A;min-width:104px;text-align:left}
.cost-bar__val--green{color:var(--green)}
@media (max-width:820px){
  .stat-cards{grid-template-columns:1fr;gap:14px}
  .cost-bar__val{min-width:88px;font-size:.9rem}
}

/* ===== 저자 스토리 가독성 ===== */
.story-text{display:flex;flex-direction:column;gap:22px}
.story-title{font-size:1.75rem;line-height:1.5;margin-bottom:4px}
.story-text p{margin:0;color:#3A4640;font-size:1.05rem;line-height:1.95}
.story-quote{margin:6px 0;padding:20px 26px;border-left:4px solid var(--gold-bright);background:#fff;border-radius:0 12px 12px 0;font-family:'Noto Serif KR',serif;font-size:1.35rem;font-weight:600;color:var(--green);line-height:1.55}
.story-quote cite{display:block;margin-top:14px;font-family:'Pretendard Variable','Pretendard','Noto Sans KR',sans-serif;font-size:.9rem;font-weight:400;font-style:normal;color:var(--muted);line-height:1.5}
@media (max-width:900px){
  .story-title{font-size:1.5rem}
  .story-quote{font-size:1.2rem;padding:16px 20px}
}

/* ===== 맨 위로 버튼 ===== */
.to-top{position:fixed;right:16px;bottom:16px;z-index:60;width:50px;height:50px;border-radius:50%;border:none;background:var(--green);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{background:var(--green-dark)}

/* 버튼 인라인 아이콘 */
.btn-ico{width:1.15em;height:1.15em;flex-shrink:0}

/* ===== 모바일 전용 텍스트 최적화 (PC 미영향) — 한글 단어 중간 끊김 방지 + 외톨이 줄 방지 ===== */
@media (max-width:700px){
  body:not(.adm){word-break:keep-all}
  body:not(.adm) p,
  body:not(.adm) h1,
  body:not(.adm) h2,
  body:not(.adm) h3,
  body:not(.adm) .btn,
  body:not(.adm) .section-title,
  body:not(.adm) .section-sub{text-wrap:pretty}
}

/* ===== 모바일: 특징·약속·항목 카드 설명 글씨 키움 (시니어 가독성) ===== */
@media (max-width:700px){
  .feat-band .card small,
  .promise-grid .card small,
  .steps .step-card small,
  .item-card small{font-size:1.15rem;line-height:1.7;color:var(--muted);word-break:keep-all;text-wrap:balance}
  .feat-band .card strong,
  .promise-grid .card strong,
  .steps .step-card strong,
  .item-card strong{font-size:1.24rem}
  .steps .step-card .no{font-size:.95rem}
  .sim-cta .btn-ico{display:none}
}

/* ===== 모바일: CTA 버튼 넓이 통일(전체폭) + 안전한 줄바꿈 여유 ===== */
@media (max-width:700px){
  .btn--lg{width:100%}
  .btn{word-break:keep-all}
}
