/* ==========================================================================
   molding.css — 사무실이전철거 몰딩철거 전용 스타일
   Hue 54 / 배경전략 P(페이퍼) / 헤더=미니멀 룰 하단선 / 히어로=중앙+반복룰
   ========================================================================== */

:root{
  --h: 54;
  --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%);
  --line:    hsl(var(--h) 14% 84%);
  --r: 3px;
  --bw: 1px;

  --font-head: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-body: "Nanum Gothic", "Malgun Gothic", "Apple SD Gothic Neo", 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.75;
  word-break: keep-all;
}

img{ max-width: 100%; }

a{ color: var(--accent); }

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

h1, h2, h3{
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.35;
  font-weight: 800;
}

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

/* ---------- 헤더: 미니멀 룰 하단선 ---------- */
.hdr{
  background: var(--surface);
  border-bottom: var(--bw) solid var(--ink);
}
.hdr__inner{
  max-width: 880px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hdr__logo{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.hdr__nav{
  display: flex;
  gap: 1.25rem;
}
.hdr__nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.hdr__nav a:hover{ color: var(--accent); }

/* ---------- 히어로: 중앙 정렬 + 반복 룰 ---------- */
.hero{
  position: relative;
  padding: 3.6rem 1.25rem 3rem;
  text-align: center;
  background:
    repeating-linear-gradient(
      to bottom,
      hsl(var(--h) 14% 88%) 0px,
      hsl(var(--h) 14% 88%) 1px,
      transparent 1px,
      transparent 14px
    ),
    var(--bg);
}
.hero__rule{
  width: 64px;
  height: 3px;
  margin: 0 auto 1.1rem;
  background: repeating-linear-gradient(
    to right,
    var(--accent) 0px,
    var(--accent) 6px,
    transparent 6px,
    transparent 10px
  );
}
.hero h1{
  font-size: clamp(1.55rem, 4.4vw, 2.25rem);
  margin: 0 0 0.9rem;
}
.hero__lead{
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}
.hero__rule--bottom{
  width: 64px;
  height: 3px;
  margin: 1.4rem auto 0;
  background: repeating-linear-gradient(
    to right,
    var(--accent) 0px,
    var(--accent) 6px,
    transparent 6px,
    transparent 10px
  );
}

/* ---------- CTA: 두 버튼 가로 ---------- */
.cta{
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.cta__btn{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: var(--bw) solid var(--ink);
}
.cta__btn--primary{
  background: var(--accent);
  color: hsl(var(--h) 40% 98%);
  border-color: var(--accent);
}
.cta__btn--secondary{
  background: var(--surface);
  color: var(--ink);
}
.cta__btn svg{ width: 17px; height: 17px; flex: none; }

/* ---------- 본문 ---------- */
main{
  background: var(--surface);
}
.section{
  padding: 2.6rem 1.25rem;
  border-bottom: var(--bw) dashed var(--line);
}
.section:last-of-type{ border-bottom: none; }
.section h2{
  font-size: 1.3rem;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: var(--bw) solid var(--line);
}
.section p{ margin: 0 0 1rem; }
.section p:last-child{ margin-bottom: 0; }

.lede{
  font-size: 1.02rem;
}

/* 사전 확인 표 */
.chk-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
  font-size: 0.94rem;
}
.chk-table caption{
  text-align: left;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.5rem;
}
.chk-table th, .chk-table td{
  border: var(--bw) solid var(--line);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.chk-table th{
  background: hsl(var(--h) 16% 93%);
  font-family: var(--font-head);
  width: 32%;
}

/* 순서 단계 */
.steps{
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.steps li{
  counter-increment: step;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3rem;
  background: var(--bg);
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
}
.steps li::before{
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 0.8rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: hsl(var(--h) 40% 98%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong{ font-family: var(--font-head); display: block; margin-bottom: 0.2rem; }

/* 주의사항 */
.note{
  background: hsl(var(--h) 30% 93%);
  border: var(--bw) solid hsl(var(--h) 30% 70%);
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
}
.note h2{ border-bottom: none; padding-bottom: 0; }
.note ul{ margin: 0; padding-left: 1.2rem; }
.note li{ margin-bottom: 0.5rem; }
.note li:last-child{ margin-bottom: 0; }

/* 도식 */
.diagram{
  background: var(--bg);
  border: var(--bw) solid var(--line);
  border-radius: var(--r);
  padding: 1rem;
  text-align: center;
}
.diagram svg{ max-width: 100%; height: auto; }
.diagram figcaption{
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ */
.faq dt{
  font-family: var(--font-head);
  font-weight: 700;
  margin-top: 1.1rem;
  padding-left: 1.6rem;
  position: relative;
}
.faq dt:first-child{ margin-top: 0; }
.faq dt::before{
  content: "Q";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-head);
}
.faq dd{
  margin: 0.4rem 0 0;
  padding-left: 1.6rem;
  color: var(--muted);
  position: relative;
}
.faq dd::before{
  content: "A";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}

/* 이미지 (공통 지정 클래스) */
.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, 3px); border: var(--bw) solid var(--line); }
@media (max-width: 640px){ .shot__row{ flex-wrap:wrap; } .shot__row img{ flex:1 1 100%; } }

/* ---------- footer: 중앙 1행 ---------- */
.ftr{
  background: hsl(var(--h) 16% 92%);
  border-top: var(--bw) solid var(--ink);
  padding: 2rem 1.25rem;
}
.ftr__inner{
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.ftr__biz{
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}
.ftr__biz a{ color: var(--muted); text-decoration: underline; }
.ftr__nav{
  display: flex;
  gap: 1rem;
}
.ftr__nav a{
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
}
.ftr__nav a:hover{ color: var(--accent); }
.ftr__copy{
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px){
  .hdr__inner{ flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hero{ padding: 2.6rem 1rem 2.2rem; }
  .section{ padding: 2rem 1rem; }
  .cta{ flex-direction: column; align-items: stretch; }
  .cta__btn{ justify-content: center; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
}
