/* 채무조정센터 랜딩 (2026-11-26 노션 요청서 landing-cash 반영)
   요청서 3항 색: 딥 네이비 #163A5F / 블루그레이 #EAF0F5 / 오프화이트 #F7F9FB / 화이트
   강조·CTA: 딥 틸 #26736D 한 가지로 페이지 전체 통일. 그라데이션·네온·유광 3D 없음,
   둥근 모서리 10~14px, 그림자는 매우 약하게. 모바일 우선 + PC 반응형(최대 1120px). */
:root {
  --navy: #163A5F;
  --navy-2: #0f2a46;
  --navy-3: #3c5f85;
  --teal: #26736D;
  --teal-2: #1f615c;
  --bluegray: #EAF0F5;
  --offwhite: #F7F9FB;
  --bg: #FFFFFF;
  --line: #dfe6ed;
  --ink: #1b2430;
  --ink-2: #4b5563;
  --ink-3: #7e8794;
  --error: #c2362f;
  --radius: 12px;
  --header-h: 60px;
  --sticky-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.68; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; }
button { font: inherit; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 680px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
a, button, label, summary { -webkit-tap-highlight-color: transparent; }

/* ---------- 버튼 (CTA 는 딥 틸 하나로 통일) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 22px; border: 0; border-radius: var(--radius);
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .08s ease;
}
.btn:active { transform: scale(.99); }
.btn-cta { background: var(--teal); color: #fff; }
.btn-cta:hover { background: var(--teal-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-center { display: flex; width: 100%; max-width: 420px; margin: 28px auto 0; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--navy); flex: none;
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 7px 6px; border-left: 2px solid var(--bluegray);
  border-bottom: 2px solid var(--bluegray); border-radius: 0 0 0 2px;
}
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.header-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px;
  background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
}

/* ---------- 첫 화면 ---------- */
.hero { background: var(--navy); color: #fff; padding: 24px 0 0; }
/* 2026-11-26 Mobbin(15Five·HBO Max): 폼을 히어로 안에 붙였다. 모바일은 폼 카드 아래쪽 절반이 오프화이트로 이어지게 배경을 나눈다 */
.hero { background: linear-gradient(var(--navy) 0, var(--navy) calc(100% - 120px), var(--offwhite) calc(100% - 120px)); }
.hero-form { margin-top: 22px; padding-bottom: 28px; color: var(--ink); }
.hero-eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.1); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.88);
}
.hero h1 { margin: 0; font-size: clamp(26px, 7.2vw, 31px); line-height: 1.4; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { color: #9fd3cd; }
.hero-sub { margin: 12px 0 18px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.8); }
.hero-btn { width: 100%; max-width: 420px; }
.hero-points {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
}
.hero-points li {
  position: relative; padding-left: 22px; font-size: 14px; font-weight: 500; line-height: 1.5; color: rgba(255,255,255,.86);
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: #9fd3cd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23163A5F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* 핵심 정보 요약(자가진단 섹션 = 핵심 정보 요약) */
.hero-summary {
  margin: 26px 0 0; padding: 20px 18px 16px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
}
.hs-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.hs-list { margin: 0; display: grid; gap: 11px; }
.hs-list div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; }
.hs-list dt { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.58); }
.hs-list dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.92); }
.hs-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.62); }

/* ---------- 상담폼 ---------- */
/* .section 보다 뒤에 오는 규칙이 아니라서 클래스 두 개로 우선순위를 올린다 */
.section.sec-form { padding: 26px 0 34px; background: var(--offwhite); }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 20px 24px; box-shadow: 0 6px 18px -14px rgba(22,58,95,.35);
}
.form-title { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); }
.form-desc { margin: 10px 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.lead-form { display: grid; gap: 15px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field-label { display: block; margin: 0 0 7px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field .req, .field .opt { margin-left: 4px; font-size: 12px; font-weight: 600; }
.field .req { color: var(--teal); }
.field .opt { color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; height: 54px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%237e8794' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
.field select:invalid { color: var(--ink-3); }
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(38,115,109,.14); }
.field.is-error input, .field.is-error select { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field.is-error > label, .field.is-error .field-label { color: var(--error); }

/* 2026-11-26 Mobbin(Toss 필터 칩): 상담 희망시간 = 한 번 탭하는 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; height: 44px; padding: 0 15px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: border-color .12s ease, background-color .12s ease, color .12s ease;
}
.chip input:checked + span { border-color: var(--teal); background: rgba(38,115,109,.08); color: var(--teal-2); font-weight: 700; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(38,115,109,.2); }
.field.is-error .chip span { border-color: #e6b3b0; }

.consent { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.consent-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.consent-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--teal); }
.consent-check b { font-weight: 700; color: var(--teal); }
.consent-check.is-error span { color: var(--error); }
.consent-more { flex: none; border: 0; background: none; padding: 6px 0; font-size: 13.5px; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.btn-submit { width: 100%; margin-top: 2px; }
.form-note { margin: -2px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); text-align: center; }
.form-warn { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); text-align: center; }
.form-msg { margin: 0; font-size: 14px; line-height: 1.5; text-align: center; font-weight: 600; color: var(--error); }
.form-msg:empty { display: none; }

.form-done { text-align: center; padding: 16px 4px 8px; outline: 0; }
.done-ico { display: inline-grid; place-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #fff; }
.done-ico svg { width: 28px; height: 28px; }
.done-title { margin: 16px 0 6px; font-size: 20px; line-height: 1.45; font-weight: 800; color: var(--navy); }
.done-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 공통 섹션 ---------- */
.section { padding: 44px 0; }
.sec-title { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.sec-title em { color: var(--teal); }
.sec-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.fineprint { margin: 20px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* 핵심 정보 요약 — 2026-11-26 Mobbin(Toss 신용점수 결과): 아이콘 + 작은 라벨 + 굵은 한 줄 */
.sec-summary { background: var(--offwhite); padding-top: 12px; }
.sum-list { list-style: none; margin: 18px 0 0; padding: 4px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.sum-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 15px 0; }
.sum-list li + li { border-top: 1px solid var(--line); }
.sum-ico { display: grid; place-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bluegray); color: var(--navy); }
.sum-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sum-list small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.sum-list b { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.5; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }

/* 상황 공감 — 섹션 배경은 흰색 / 오프화이트를 번갈아 둬서 구간을 구분한다 */
.sec-situation { background: #fff; }
/* 2026-11-26 Mobbin(Toss 목록): 카드 4장 → 한 판 안의 줄 목록 */
.sit-grid { margin-top: 22px; padding: 2px 18px; border-radius: 14px; background: var(--offwhite); }
.sit-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px 0; }
.sit-card + .sit-card { border-top: 1px solid var(--line); }
.sit-card .sit-ico { grid-row: span 2; background: #fff; }
.sit-ico { display: grid; place-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bluegray); color: var(--navy); }
.sit-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sit-card h3 { margin: 0 0 4px; font-size: 16.5px; line-height: 1.45; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.sit-card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }

/* 제도 안내 */
.sec-programs { background: var(--offwhite); }
.prog-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.prog-list li { display: grid; gap: 4px; justify-items: start; padding: 17px 0; border-bottom: 1px solid var(--line); }
.prog-list b { font-size: 16.5px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.prog-tag { display: inline-block; margin-bottom: 4px; padding: 3px 9px; border-radius: 6px; background: var(--bluegray); font-style: normal; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--navy-3); }
.prog-list span { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }

/* 강점 */
.sec-strength { background: #fff; }
.str-list { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: st; display: grid; column-gap: 40px; }
.str-list li {
  counter-increment: st; position: relative; display: grid; gap: 4px;
  padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line);
}
.str-list li::before {
  content: counter(st); position: absolute; left: 0; top: 17px;
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-content: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--navy);
}
.str-list b { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.str-list span { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }

/* 진행 절차 */
.sec-process { background: var(--offwhite); }
.timeline { list-style: none; margin: 22px 0 0; padding: 22px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.timeline li { position: relative; padding: 0 0 24px 34px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 4px; }
.timeline li:last-child::before { display: none; }
.t-dot { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #c3ced9; }
.timeline li.is-now .t-dot { border-color: var(--teal); background: var(--teal); }
.timeline small { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--teal); }
.timeline b { display: block; margin: 2px 0 3px; font-size: 16.5px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.timeline p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.t-note { margin: 12px 0 0; padding: 13px 15px; border-radius: 10px; background: var(--bluegray); font-size: 14px; line-height: 1.6; color: var(--navy); }

/* 신뢰 요소(자료 제공 후 사용) */
.trust-list { margin: 20px 0 0; display: grid; gap: 10px; }
.trust-list div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.trust-list dt { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.trust-list dd { margin: 0; font-size: 15px; color: var(--ink); }

/* FAQ */
.sec-faq { background: #fff; }
.faq { margin-top: 18px; border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 17px 38px 17px 28px; font-size: 15.5px; line-height: 1.55; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 10px; top: 17px; font-weight: 800; color: var(--teal); }
.faq summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 20px 18px 28px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 최종 상담 */
.sec-final { background: var(--navy); color: #fff; }
.sec-final .sec-title { color: #fff; }
.sec-final .sec-title em { color: #9fd3cd; }
.sec-final .sec-desc { color: rgba(255,255,255,.8); }
.form-card-bottom { transform: none; margin-top: 24px; }

/* 푸터 */
.site-footer { background: #0e2440; color: rgba(255,255,255,.6); padding: 32px 0 30px; font-size: 13px; line-height: 1.75; }
.footer-name { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.footer-info { margin: 0 0 16px; display: grid; gap: 2px; }
.footer-info div { display: flex; gap: 10px; }
.footer-info dt { flex: none; min-width: 108px; color: rgba(255,255,255,.42); }
.footer-info dd { margin: 0; }
.footer-notice { margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.52); }
.footer-privacy { margin-top: 14px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.85); font-size: 13px; text-decoration: underline; cursor: pointer; }
.footer-copy { margin: 14px 0 0; color: rgba(255,255,255,.38); }

/* ---------- 모바일 하단 고정 (상담신청 100%) ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.sticky-bar.is-pre, .sticky-bar.is-hidden, .sticky-bar.is-formview { transform: translateY(110%); }
.sticky-form {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: var(--radius);
  background: var(--teal); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em;
}
.sticky-bar a:active { transform: scale(.99); }

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(12,26,44,.68); }
.modal[hidden] { display: none; }
.modal-box { width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; background: #fff; border-radius: 14px; padding: 24px 20px 20px; }
.modal-box h2 { margin: 0 0 16px; font-size: 18px; color: var(--navy); }
.privacy-list { margin: 0 0 18px; display: grid; gap: 13px; }
.privacy-list dt { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.privacy-list dd { margin: 3px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.modal-close { width: 100%; }

/* ---------- PC·태블릿 ---------- */
@media (min-width: 768px) {
  .str-list { grid-template-columns: 1fr 1fr; }
  .hero-points { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 0; background: linear-gradient(var(--navy) 0, var(--navy) calc(100% - 140px), var(--offwhite) calc(100% - 140px)); }
  .hero-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; }
  .hero-copy { padding-top: 28px; }
  .hero-form { margin-top: 0; padding-bottom: 48px; }
  .sum-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 6px 24px; }
  .sum-list li + li { border-top: 0; }
  .sum-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sit-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 4px 24px; }
  .sit-card + .sit-card { border-top: 0; }
  .sit-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px 22px; }
  .timeline li { padding: 30px 0 0; }
  .timeline li::before { left: 22px; right: -20px; top: 8px; bottom: auto; width: auto; height: 2px; }
  .timeline li:last-child { padding-bottom: 0; }
  .hero h1 { font-size: 36px; line-height: 1.38; }
  .hero-sub { font-size: 16.5px; }
  .hero-points { grid-template-columns: 1fr 1fr; margin-top: 26px; gap: 12px 20px; }
  .form-card { padding: 32px 28px 28px; }
  .form-title { font-size: 23px; }
  .sec-title { font-size: 27px; }
  .final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .form-card-bottom { margin-top: 0; }
  .faq summary { font-size: 16px; }
}

/* ---------- 작은 화면 ---------- */
@media (max-width: 359px) {
  .hero h1 { font-size: 24px; }
  .hero-points { grid-template-columns: 1fr; }
  .hs-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 아래 구간 떠오르기(1회) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
