/* ===========================================================
   사무실이전철거 조명철거 — /lighting/ 전용 스타일
   Hue 42 · 뉴트럴(N) 배경 전략
   =========================================================== */

:root{
  --h: 42;
  --bg:      hsl(0 0% 97%);
  --surface: hsl(0 0% 100%);
  --ink:     hsl(20 12% 15%);
  --muted:   hsl(20 6% 42%);
  --accent:  hsl(var(--h) 74% 42%);
  --accent-ink: hsl(var(--h) 74% 22%);
  --accent-soft: hsl(var(--h) 74% 94%);
  --line:    hsl(20 10% 87%);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --border-w: 2px;
}

*, *::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.75;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

h1, h2, h3, .title-font{
  font-family: "GmarketSansBold", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  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: 980px; 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: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.logo{
  font-family: "GmarketSansBold", "Pretendard", "Noto Sans KR", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo svg{ width: 26px; height: 26px; flex: none; stroke: var(--accent); }
.gnb{
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.gnb a{
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.gnb a:hover{ color: var(--ink); background: var(--accent-soft); }
.gnb .gnb-cta{
  background: var(--accent);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.gnb .gnb-cta:hover{ background: var(--accent-ink); color: #fff; }

/* ---------- Hero : 좌정렬 + 세로 액센트 바 ---------- */
.hero{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero .wrap{
  padding: 64px 24px 52px;
}
.hero-body{
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 760px;
}
.hero-bar{
  flex: none;
  width: 6px;
  align-self: stretch;
  min-height: 168px;
  background: linear-gradient(180deg, var(--accent), var(--accent-ink));
  border-radius: 999px;
}
.hero-eyebrow{
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.hero h1{
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
  margin: 0 0 18px;
}
.hero p{
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 56ch;
  margin: 0 0 8px;
}

/* ---------- Main content ---------- */
main{ background: var(--bg); }
.section{ padding: 46px 24px; }
.section > .wrap{ padding: 0; }
.section h2{
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section h2::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  flex: none;
}
.section p{ margin: 0 0 14px; }
.lead{ max-width: 720px; }

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* 사전확인 표 */
.chk-table{
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.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.95rem;
  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{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.steps h3{
  font-size: 1.02rem;
  margin: 0 0 12px;
  color: var(--accent-ink);
}
.steps ol{
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.steps li{
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.94rem;
}
.steps li::before{
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px){
  .steps{ grid-template-columns: 1fr; }
}

/* 이미지 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%; } }

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

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

/* 주의사항 */
.notice{
  background: var(--accent-soft);
  border: 1px solid hsl(var(--h) 60% 78%);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.notice h2::before{ background: var(--accent-ink); }
.notice ul{ margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* 구분비교 */
.compare{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare .card h3{
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--accent-ink);
}
.compare .card p{ margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 720px){
  .compare{ grid-template-columns: 1fr; }
}

/* CTA 인라인 카드 */
.cta-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.cta-card .cta-text h2{ color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.cta-card .cta-text h2::before{ background: var(--accent); }
.cta-card .cta-text p{ margin: 0; color: hsl(0 0% 82%); font-size: 0.92rem; }
.cta-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.cta-actions a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 20px;
  border-radius: 999px;
}
.cta-actions .btn-primary{ background: var(--accent); color: #fff; }
.cta-actions .btn-primary:hover{ background: var(--accent-ink); }
.cta-actions .btn-ghost{ background: transparent; color: #fff; border: 1px solid hsl(0 0% 50%); }
.cta-actions .btn-ghost:hover{ border-color: #fff; }
.cta-actions svg{ width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* FAQ */
.faq-list{ display: grid; gap: 12px; }
.faq-item{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 4px;
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  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 18px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer : 중앙 정렬 스택 ---------- */
.ftr{
  background: var(--surface);
  border-top: var(--border-w) solid var(--line);
  padding: 44px 24px 34px;
}
.ftr__inner{
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.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__nav{ display: flex; gap: 18px; }
.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: 375px){
  .hero .wrap{ padding: 44px 18px 36px; }
  .section{ padding: 34px 18px; }
  .cta-card{ padding: 22px; }
}
