/* 클린플러스 — 집정리 전용 디자인 시스템 (Stone / Slate / Clay, Tag-cut buttons, Serif headings) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;700;900&display=swap');

:root {
  --stone: #E7E2D8;
  --stone-deep: #DCD5C5;
  --paper: #FBF9F5;
  --ink: #23201B;
  --ink-soft: #58524A;
  --ink-faint: #8C8577;
  --slate: #3E5568;
  --slate-deep: #2C3D49;
  --slate-soft: #DDE4E7;
  --clay: #A96F49;
  --clay-soft: #EEDFCF;
  --line: #D4CCBA;
  --radius: 2px;
  --max-w: 1160px;
  --serif: 'Noto Serif KR', 'Pretendard Variable', Pretendard, serif;
  --cut: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
br.br-mobile { display: none; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.34; font-weight: 700; font-family: var(--serif); letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(231,226,216,0.95); backdrop-filter: saturate(160%) blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.18rem; font-family: var(--serif); color: var(--ink); margin-right: auto; }
.brand img { width: 28px; height: 28px; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a { padding: 8px 13px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.nav-desktop a:hover { color: var(--slate); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.hamburger svg { width: 20px; height: 20px; color: var(--ink); }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 18px; border-top: 1px solid var(--line); }
.nav-mobile a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-soft); }
.nav-mobile.open { display: flex; }

/* ---------- Buttons: clipped-corner "tag" shape ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; font-weight: 700; font-size: 0.96rem;
  border: none; cursor: pointer; transition: background .15s, color .15s;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.btn-primary { background: var(--slate); color: var(--paper); }
.btn-primary:hover { background: var(--slate-deep); }
.btn-text { background: none; padding: 14px 4px; clip-path: none; color: var(--ink); border-bottom: 2px solid var(--clay); }
.btn-text:hover { color: var(--slate); border-color: var(--slate); }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; --cut: 20px; }

/* ---------- Hero: top image band + text below + inline classification strip ---------- */
.hero-band { position: relative; height: 46vh; min-height: 320px; max-height: 480px; overflow: hidden; }
.hero-band img { width: 100%; height: 100%; object-fit: cover; }
.hero-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35,32,27,0.55) 0%, rgba(35,32,27,0) 40%); }
.hero-copy { padding: 44px 0 0; }
.hero-copy .kicker-line { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-copy .kicker-line .dash { width: 34px; height: 2px; background: var(--clay); }
.hero-copy .kicker-line span.txt { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); margin-bottom: 20px; }
.hero-copy .lede { font-size: 1.1rem; font-weight: 500; color: var(--ink-soft); max-width: 620px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 6px; }

.sort-strip { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 6px; }
.sort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sort-item { border: 1px solid var(--line); background: var(--paper); padding: 20px 18px; }
.sort-item .tag { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; padding: 3px 10px; margin-bottom: 12px; }
.sort-item.keep .tag { background: var(--slate-soft); color: var(--slate-deep); }
.sort-item.move .tag { background: var(--clay-soft); color: var(--clay); }
.sort-item.dispose .tag { background: var(--stone-deep); color: var(--ink-soft); }
.sort-item.large .tag { background: var(--ink); color: var(--paper); }
.sort-item h3 { font-size: 1rem; margin-bottom: 6px; }
.sort-item p { font-size: 0.88rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- Section base ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--stone-deep); }
.section-head { max-width: 700px; margin: 0 0 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.kicker-line .dash { width: 28px; height: 2px; background: var(--clay); }
.kicker-line span.txt { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.section-head.center .kicker-line { justify-content: center; }
.section h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); margin-bottom: 12px; }
.section .lede { color: var(--ink-soft); font-size: 1.02rem; font-weight: 500; }

/* ---------- Space cards (5-space grid) ---------- */
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.space-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.space-media { aspect-ratio: 1/1; overflow: hidden; background: var(--stone-deep); }
.space-media img { width: 100%; height: 100%; object-fit: cover; }
.space-body { padding: 16px 16px 18px; }
.space-body h3 { font-size: 0.98rem; margin-bottom: 6px; }
.space-body p { color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; }

/* icon cards (no photo) */
.icon-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.icon-num { font-family: var(--serif); font-weight: 900; font-size: 1.6rem; color: var(--clay); margin-bottom: 12px; display: block; }
.icon-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.icon-card p { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }

/* ---------- Process: left-rail vertical timeline ---------- */
.timeline { position: relative; padding-left: 32px; max-width: 720px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-step { position: relative; padding-bottom: 34px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before { content: ""; position: absolute; left: -32px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--slate); }
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline-step p { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }
.timeline-note { margin-top: 4px; font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Before/After CASE ---------- */
.case-block { margin-bottom: 46px; border: 1px solid var(--line); background: var(--paper); }
.case-block:last-child { margin-bottom: 0; }
.case-head { display: flex; align-items: baseline; gap: 12px; padding: 18px 22px 0; }
.case-num { font-family: var(--serif); font-weight: 900; font-size: 1.1rem; color: var(--clay); }
.case-title { font-weight: 700; font-size: 1.02rem; }
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 16px; }
.case-fig { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--stone-deep); }
.case-fig img { width: 100%; height: 100%; object-fit: cover; }
.case-fig .tag { position: absolute; top: 10px; left: 10px; padding: 4px 11px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; }
.case-fig.before .tag { background: var(--ink); color: var(--paper); }
.case-fig.after .tag { background: var(--slate); color: var(--paper); }
.case-caption { padding: 14px 22px 20px; font-size: 0.88rem; color: var(--ink-soft); }
.case-sample-note { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--ink-faint); border-left: 2px solid var(--clay); padding-left: 8px; }

/* ---------- Table ---------- */
.table-scroll-hint { display: none; font-size: 0.78rem; color: var(--ink-faint); margin: 0 0 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--paper); }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; font-weight: 500; }
table.compare th { color: var(--ink); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Checklist ---------- */
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.0rem; font-weight: 500; color: var(--ink-soft); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "·"; color: var(--clay); font-weight: 900; flex-shrink: 0; font-size: 1.4rem; line-height: 1; }

/* ---------- Callout ---------- */
.callout { background: var(--slate-soft); border-left: 3px solid var(--slate); padding: 20px 24px; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 21px 4px; font-size: 1.0rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--serif); }
.faq-q .qmark { color: var(--clay); }
.faq-q .sym { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink-faint); flex-shrink: 0; }
.faq-item[open] .faq-q .sym { color: var(--slate); }
.faq-a { padding: 0 4px 21px; color: var(--ink-soft); font-size: 0.97rem; font-weight: 500; }
.faq-more-hidden { display: none; }
.faq-more-hidden.open { display: block; }
#faq-more-btn { margin: 24px auto 0; display: flex; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); padding: 46px 40px; text-align: center; color: var(--paper); }
.cta-band h2 { color: var(--paper); font-size: 1.5rem; margin-bottom: 10px; }
.cta-band p { color: rgba(251,249,245,0.78); margin-bottom: 26px; font-size: 1.0rem; font-weight: 500; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-primary { background: var(--clay); }
.cta-band .btn-primary:hover { background: #8f5c3a; }

/* ---------- Consultation page ---------- */
.consult-phone-card { background: var(--paper); border: 1px solid var(--ink); padding: 32px; text-align: center; }
.consult-phone-number { font-family: var(--serif); font-size: 2.0rem; font-weight: 900; color: var(--ink); letter-spacing: 0.02em; margin: 10px 0 22px; }
.consult-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Long-form text block ---------- */
.article-copy { max-width: 740px; margin: 0 auto; color: var(--ink-soft); font-size: 1.02rem; font-weight: 500; }
.article-copy h2 { font-size: 1.35rem; margin: 34px 0 12px; color: var(--ink); }
.article-copy h3 { font-size: 1.08rem; margin: 24px 0 8px; color: var(--ink); }
.article-copy p { margin-bottom: 14px; }
.updated-note { text-align: center; color: var(--ink-faint); font-size: 0.8rem; margin-top: 40px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.8rem; color: var(--ink-faint); padding: 16px 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-deep); color: #C7D0D5; padding: 50px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.footer-brand { font-family: var(--serif); font-weight: 700; color: var(--paper); font-size: 1.18rem; margin-bottom: 10px; }
.footer-col h4 { color: var(--paper); font-size: 0.86rem; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 9px; font-size: 0.85rem; }
.footer-col a:hover { color: var(--paper); }
.footer-biz { font-size: 0.82rem; line-height: 1.95; color: #9FADB3; }
.footer-bottom { border-top: 1px solid #3D4F5A; padding-top: 18px; font-size: 0.77rem; color: #7C8B92; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 980px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sort-grid { grid-template-columns: repeat(2, 1fr); }
  .case-imgs { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  br.br-mobile { display: inline; }
}
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .table-scroll-hint { display: block; }
  .hero-band { height: 34vh; min-height: 220px; }
  .sort-grid { grid-template-columns: 1fr 1fr; }
  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .case-imgs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:nth-child(2) { order: 2; }
  .footer-grid > *:nth-child(3) { order: 1; }
  .section { padding: 50px 0; }
  .cta-band { padding: 34px 20px; }
  .consult-phone-number { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sort-grid { grid-template-columns: 1fr; }
}
