/* server-room.css — 사무실이전철거 서버실 (Hue 168 / Deep Dark) */

:root{
  --h: 168;
  --bg:        hsl(var(--h) 26% 14%);
  --bg-2:      hsl(var(--h) 24% 11%);
  --surface:   hsl(var(--h) 22% 19%);
  --surface-2: hsl(var(--h) 20% 24%);
  --ink:       hsl(var(--h) 14% 94%);
  --muted:     hsl(var(--h) 12% 74%);
  --accent:    hsl(var(--h) 62% 62%);
  --accent-ink: hsl(var(--h) 45% 12%);
  --line:      hsl(var(--h) 18% 32%);
  --r: 3px;
  --r-lg: 3px 18px;
  --bw: 2px;
}

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

html{ scroll-behavior: smooth; }
@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;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,.brand{
  font-family: 'IBM Plex Sans KR', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

img{ max-width: 100%; height: auto; display: block; }

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

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

/* ---------- Header : 슬림 스티키 ---------- */
.hdr{
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--h) 24% 12% / 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr__inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hdr__label{
  font-family: 'IBM Plex Sans KR','Pretendard',sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hdr__nav{ display: flex; gap: 1.1rem; }
.hdr__nav a{
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.hdr__nav a:hover{ color: var(--accent); }

/* ---------- Hero : 다크 캔버스 대형 타이포 ---------- */
.hero{
  background: var(--bg);
  padding: 4.5rem 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
}
.hero__inner{ max-width: 980px; margin: 0 auto; }
.hero__eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero h1{
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.hero__sub{
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 2rem;
}
.hero__ctas{ display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- CTA : 보더 박스(역상) ---------- */
.cta-box{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--bw) solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--r);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cta-box:hover{
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
}
.cta-box--ghost{
  border-color: var(--line);
  color: var(--ink);
}
.cta-box--ghost:hover{
  background: var(--ink);
  color: var(--bg-2);
}
.cta-mid{
  margin: 3rem auto;
  max-width: 980px;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.6rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Main sections ---------- */
main{ background: var(--bg); }
section{ max-width: 980px; margin: 0 auto; padding: 3rem 1.25rem; }
section + section{ border-top: 1px solid var(--line); }
h2{
  font-size: 1.5rem;
  margin: 0 0 1.1rem;
}
h3{
  font-size: 1.1rem;
  margin: 1.6rem 0 0.6rem;
  color: var(--accent);
}
p{ margin: 0 0 1rem; color: var(--ink); }
.lead{ color: var(--muted); }

/* 사전 확인 표 */
.chk-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.chk-table caption{
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  caption-side: top;
}
.chk-table th,.chk-table td{
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}
.chk-table thead th{
  background: var(--surface-2);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.chk-table tbody tr:last-child td{ border-bottom: none; }
.chk-table td:first-child{ color: var(--ink); font-weight: 600; white-space: nowrap; }
.chk-table td:last-child{ color: var(--muted); }

/* 순서 단계 */
.steps{
  counter-reset: step;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.steps li{
  counter-increment: step;
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
}
.steps li::before{
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  width: 1.6rem;
  height: 1.6rem;
  border: var(--bw) solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* 도식 */
.diagram{
  margin: 1.6rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.2rem;
}
.diagram svg{ width: 100%; height: auto; display: block; }

/* 주의사항 */
.notice{
  background: var(--surface);
  border-left: var(--bw) solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.1rem 1.3rem;
  color: var(--ink);
}

/* 이미지 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);
  border: 1px solid var(--line);
}
.shot__cap{
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.7rem;
}
@media (max-width: 640px){
  .shot__row{ flex-wrap:wrap; }
  .shot__row img{ flex:1 1 100%; }
}

/* FAQ */
.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
}
.faq-item h3{
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}
.faq-item p{ margin: 0; color: var(--muted); }

/* ---------- Footer : 다크 밴드 ---------- */
.ftr{
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 2.6rem 1.25rem 2rem;
}
.ftr__inner{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.ftr__biz{
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
  margin: 0;
}
.ftr__biz a{ color: var(--accent); }
.ftr__nav{ display: flex; gap: 1.2rem; }
.ftr__nav a{ color: var(--ink); font-size: 0.88rem; }
.ftr__copy{ color: var(--muted); font-size: 0.78rem; margin: 0.4rem 0 0; }

@media (max-width: 640px){
  .hero{ padding: 3.2rem 1.1rem 2.6rem; }
  section{ padding: 2.2rem 1.1rem; }
  .hdr__nav{ gap: 0.8rem; }
}

@media (max-width: 375px){
  .hero h1{ font-size: 1.85rem; }
  .cta-box{ width: 100%; }
  .hero__ctas{ flex-direction: column; }
}
