/* knowledge-center.css — 사무실이전철거 지식산업센터 전용 스타일 */

:root{
  --h: 140;
  --bg:      hsl(0 0% 97%);
  --surface: hsl(0 0% 100%);
  --ink:     hsl(0 0% 15%);
  --muted:   hsl(0 0% 40%);
  --accent:  hsl(var(--h) 55% 30%);
  --accent-soft: hsl(var(--h) 45% 94%);
  --line:    hsl(0 0% 85%);
  --r: 4px;

  --font-head: "Gmarket Sans", "GmarketSansMedium", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Spoqa Han Sans Neo", "Spoqa Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  word-break: keep-all;
}
img{ max-width:100%; }
a{ color: inherit; }

h1,h2,h3{
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap{
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- 헤더: 상단 정적 2단 ---------- */
.hdr{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hdr__top{
  border-bottom: 1px solid var(--line);
  background: hsl(0 0% 99%);
}
.hdr__top .wrap{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.hdr__tagline{
  margin:0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hdr__main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.hdr__mark{
  display:flex;
  align-items:center;
  gap:0.5rem;
  text-decoration:none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
}
.hdr__mark svg{ flex:none; color: var(--accent); }
.hdr__nav{
  display:flex;
  gap:1.25rem;
  font-size: 0.92rem;
}
.hdr__nav a{
  text-decoration:none;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.hdr__nav a:hover{ color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 히어로: 계단식 오프셋 인덴트 ---------- */
.hero{
  padding: 3.2rem 0 2.6rem;
  background: var(--bg);
}
.hero__step{
  position: relative;
  padding-left: 1.1rem;
  border-left: 3px solid var(--line);
}
.hero__eyebrow{
  margin: 0 0 0.9rem;
  margin-left: 0;
  font-size: 0.82rem;
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 1.1rem;
  border-left-width: 3px;
  border-left-style: solid;
}
.hero__eyebrow,
.hero h1,
.hero__lead,
.hero__cta{
  border-left: 3px solid var(--line);
  padding-left: 1.1rem;
}
.hero__eyebrow{ border-left-color: var(--accent); margin-left: 0; }
.hero h1{
  margin-left: 1.4rem;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  border-left-color: hsl(var(--h) 45% 55%);
}
.hero__lead{
  margin-left: 2.8rem;
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 46em;
  color: var(--muted);
  border-left-color: var(--line);
}
.hero__cta{
  margin-left: 4.2rem;
  margin-top: 1.6rem;
  border-left-color: var(--line);
}

/* ---------- CTA: 아웃라인 듀얼 ---------- */
.cta-dual{
  display:flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:0.45rem;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--r);
  background: transparent;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover{
  background: var(--accent);
  color: hsl(0 0% 100%);
}
.btn--ghost{
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover{
  background: var(--ink);
  border-color: var(--ink);
  color: hsl(0 0% 100%);
}
@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
}

/* ---------- 본문 ---------- */
.section{
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}
.section h2{
  font-size: 1.28rem;
  margin-bottom: 0.9rem;
}
.section p{ margin: 0 0 1rem; }
.section p:last-child{ margin-bottom:0; }

.check-table{
  width:100%;
  border-collapse: collapse;
  margin: 1rem 0 0.4rem;
  font-size: 0.92rem;
  background: var(--surface);
}
.check-table caption{
  text-align:left;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.check-table th,
.check-table td{
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.check-table thead th{
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
}
.check-table tbody th{
  font-weight: 500;
  white-space: nowrap;
}

.steps{
  counter-reset: step;
  list-style:none;
  margin: 1rem 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 0.75rem;
}
.steps li{
  counter-increment: step;
  position: relative;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.steps li::before{
  content: counter(step);
  position:absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: hsl(0 0% 100%);
  font-size: 0.85rem;
  font-weight: 600;
  display:flex;
  align-items:center;
  justify-content:center;
}

.note{
  background: var(--accent-soft);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  font-size: 0.94rem;
}

.diagram{
  margin: 1rem 0 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem;
}
.diagram figcaption{
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  background: var(--surface);
  margin-bottom: 0.75rem;
}
.faq-item:last-child{ margin-bottom:0; }
.faq-item h3{
  font-size: 1rem;
  margin-bottom: 0.45rem;
}
.faq-item p{ margin:0; color: var(--muted); }

.mid-cta{
  margin: 2.4rem 0;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align:center;
}
.mid-cta p{
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- 이미지 2장 ---------- */
.shot{ margin: 3rem auto; max-width: 1000px; }
.shot__row{ display:flex; justify-content:center; align-items:stretch; gap:1rem; flex-wrap:nowrap; }
.shot__row img{ flex:1 1 0; min-width:0; width:100%; height:auto; display:block; object-fit:cover; border-radius: var(--r, 6px); }
@media (max-width: 640px){ .shot__row{ flex-wrap:wrap; } .shot__row img{ flex:1 1 100%; } }

/* ---------- 푸터: 상단 보더 단문 ---------- */
.ftr{
  border-top: 2px solid var(--line);
  margin-top: 2rem;
  padding: 1.6rem 0 2rem;
  background: var(--surface);
}
.ftr__inner{
  max-width: 880px;
  margin:0 auto;
  padding: 0 1.25rem;
}
.ftr__biz{
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}
.ftr__biz a{ color: var(--accent); text-decoration:none; }
.ftr__nav{
  display:flex;
  gap:1rem;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.ftr__nav a{ color: var(--ink); text-decoration:none; }
.ftr__nav a:hover{ color: var(--accent); }
.ftr__copy{
  margin:0;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- 반응형 375px ---------- */
@media (max-width: 480px){
  .hero h1{ margin-left: 0.8rem; }
  .hero__lead{ margin-left: 1.2rem; }
  .hero__cta{ margin-left: 1.6rem; }
  .cta-dual{ flex-direction: column; }
  .btn{ width:100%; justify-content:center; }
  .check-table{ font-size: 0.84rem; }
}
