/* ===========================================================
   사무실이전철거 보양작업 — /protection/ 전용 스타일
   Hue 72 · 페이퍼(P) 배경 전략
   헤더: 하단 언더라인 내비 / 히어로: 좌우 교차 지그재그
   CTA: 아웃라인 듀얼 / footer: 2단 좌우
   =========================================================== */

:root{
  --h: 72;
  --bg:      hsl(var(--h) 12% 95%);
  --surface: hsl(var(--h) 18% 99%);
  --ink:     hsl(var(--h) 28% 13%);
  --muted:   hsl(var(--h) 10% 40%);
  --accent:  hsl(var(--h) 60% 32%);
  --accent-ink: hsl(var(--h) 60% 22%);
  --accent-soft: hsl(var(--h) 45% 90%);
  --line:    hsl(var(--h) 14% 84%);
  --radius-lg: 4px;
  --radius-md: 3px;
  --radius-sm: 2px;
  --border-w: 1px;
}

*, *::before, *::after{ box-sizing: border-box; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

h1, h2, h3, .title-font{
  font-family: "Gowun Dodum", "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
}

a{ color: inherit; }
img{ max-width: 100%; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 300;
  font-weight: 700;
}
.skip-link:focus{ left: 8px; top: 8px; }

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

.wrap{ max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header : 하단 언더라인 내비 ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: var(--border-w) solid var(--line);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 0;
  flex-wrap: wrap;
}
.logo{
  font-family: "Gowun Dodum", "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-bottom: 18px;
}
.logo svg{ width: 24px; height: 24px; flex: none; stroke: var(--accent); }
.gnb{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gnb a{
  position: relative;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 4px 18px;
  display: inline-block;
}
.gnb a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transition: right 0.22s ease;
}
.gnb a:hover{ color: var(--ink); }
.gnb a:hover::after,
.gnb a.is-active::after{ right: 0; }
.gnb a.is-active{ color: var(--ink); }
.gnb .gnb-cta{
  margin-left: 8px;
  margin-bottom: 10px;
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.gnb .gnb-cta::after{ display: none; }
.gnb .gnb-cta:hover{ background: var(--accent-ink); }

/* ---------- Hero : 좌우 교차 지그재그 ---------- */
.hero{ background: var(--bg); }
.hero .wrap{ padding: 56px 24px 20px; }
.hero-eyebrow{
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin: 0 0 18px;
}
.hero h1{
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  margin: 0 0 20px;
  max-width: 18ch;
}
.hero-lead{
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 58ch;
  margin: 0 0 40px;
}

.zigzag{ display: grid; gap: 0; margin: 0 0 8px; }
.zigzag-row{
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.zigzag-row:last-child{ border-bottom: 1px solid var(--line); }
.zigzag-row:nth-child(even){ flex-direction: row-reverse; }
.zigzag-num{
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  font-family: "Gowun Dodum", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zigzag-row:nth-child(even) .zigzag-body{ text-align: right; }
.zigzag-body h2{
  font-size: 1.06rem;
  margin: 0 0 6px;
}
.zigzag-body p{
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 52ch;
}
@media (max-width: 640px){
  .zigzag-row, .zigzag-row:nth-child(even){ flex-direction: row; text-align: left; }
  .zigzag-row:nth-child(even) .zigzag-body{ text-align: left; }
}

/* ---------- Main content ---------- */
main{ background: var(--bg); }
.section{ padding: 48px 24px; border-top: 1px solid var(--line); }
.section:first-of-type{ border-top: none; }
.section > .wrap{ padding: 0; }
.section h2{
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 0 0 20px;
}
.section p{ margin: 0 0 14px; }
.lead{ max-width: 720px; }

/* 사전확인 표 */
.chk-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}
.chk-table caption{
  text-align: left;
  font-weight: 700;
  padding: 4px 4px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.chk-table th, .chk-table td{
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.94rem;
  vertical-align: top;
}
.chk-table thead th{
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
}
.chk-table tbody tr:last-child th,
.chk-table tbody tr:last-child td{ border-bottom: none; }
.chk-table tbody th{ font-weight: 700; white-space: nowrap; }

/* 순서 단계 */
.steps{ margin: 0; padding-left: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; max-width: 760px; }
.steps li{
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 0.96rem;
}
.steps li::before{
  content: counter(step);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG 도식 */
.diagram{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
}
.diagram svg{ width: 100%; height: auto; display: block; }
.diagram figcaption{
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* 현장 상황 산문 */
.scene p{ max-width: 720px; }

/* 주의사항 */
.notice{
  background: var(--accent-soft);
  border: 1px solid hsl(var(--h) 40% 70%);
  padding: 26px 28px;
}
.notice ul{ margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.notice li{ font-size: 0.95rem; }

/* 이미지 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(--radius-lg); border: 1px solid var(--line); }
@media (max-width: 640px){ .shot__row{ flex-wrap:wrap; } .shot__row img{ flex:1 1 100%; } }

/* CTA 아웃라인 듀얼 */
.cta-card{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px 30px;
  text-align: center;
}
.cta-card h2{ margin: 0 0 10px; font-size: 1.25rem; }
.cta-card p{ margin: 0 auto 24px; color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.cta-actions{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-actions a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent);
  color: var(--accent-ink);
  background: transparent;
}
.cta-actions a:hover{ background: var(--accent); color: #fff; }
.cta-actions svg{ width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* FAQ */
.faq-list{ display: grid; gap: 10px; max-width: 800px; }
.faq-item{
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-weight: 700;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-item p{
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer : 2단 좌우 ---------- */
.ftr{
  background: var(--surface);
  border-top: var(--border-w) solid var(--line);
  padding: 44px 24px 30px;
}
.ftr__inner{
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.ftr__biz{
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}
.ftr__biz a{ color: var(--accent-ink); text-decoration: none; font-weight: 700; }
.ftr__right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.ftr__nav{ display: flex; gap: 20px; }
.ftr__nav a{
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.ftr__nav a:hover{ color: var(--accent-ink); }
.ftr__copy{ margin: 0; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 640px){
  .ftr__inner{ flex-direction: column; }
  .ftr__right{ align-items: flex-start; }
}

@media (max-width: 375px){
  .hero .wrap{ padding: 40px 18px 12px; }
  .section{ padding: 34px 18px; }
  .cta-card{ padding: 24px 18px; }
}
