/* ===================================================================
   headquarters.css — 사무실이전철거 사옥
   Hue 8 (warm red-orange) / Deep(D) background strategy
   =================================================================== */

:root{
  --h: 8;
  --bg:      hsl(var(--h) 26% 14%);
  --surface: hsl(var(--h) 22% 19%);
  --surface-2: hsl(var(--h) 20% 23%);
  --ink:     hsl(var(--h) 14% 94%);
  --muted:   hsl(var(--h) 14% 76%);
  --accent:  hsl(var(--h) 62% 62%);
  --accent-ink: hsl(var(--h) 40% 12%);
  --line:    hsl(var(--h) 20% 32%);
  --r: 4px 20px;
  --header-h: 64px;

  --font-head: "Pretendard ExtraBold", Pretendard, "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --font-body: Pretendard, "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.7;
  padding-bottom:calc(var(--header-h) + 12px);
}

img{ max-width:100%; }

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

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

h1,h2,h3{
  font-family:var(--font-head);
  font-weight:800;
  letter-spacing:-0.01em;
  color:var(--ink);
}

/* ---------- Header: bottom fixed bar ---------- */
.site-header{
  position:fixed;
  left:0; right:0; bottom:0;
  height:var(--header-h);
  background:hsl(var(--h) 30% 9%);
  border-top:1px solid var(--line);
  z-index:100;
  display:flex;
  align-items:center;
  box-shadow:0 -6px 24px hsl(var(--h) 40% 4% / 0.5);
}
.site-header__inner{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.site-header__brand{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.05rem;
  color:var(--ink);
  letter-spacing:-0.02em;
}
.site-header__nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.site-header__nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:0.92rem;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.site-header__nav a:hover{
  color:var(--ink);
  border-color:var(--line);
}
.site-header__nav a.is-cta{
  background:var(--accent);
  color:var(--accent-ink);
  font-weight:700;
}

/* ---------- Hero ---------- */
.hero{
  padding:76px 20px 64px;
  background:
    radial-gradient(120% 90% at 50% -10%, hsl(var(--h) 55% 26% / 0.9), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--line);
  text-align:center;
}
.hero__inner{ max-width:920px; margin:0 auto; }
.hero__eyebrow{
  display:inline-block;
  font-size:0.85rem;
  letter-spacing:0.14em;
  color:var(--accent);
  font-weight:700;
  margin-bottom:18px;
  text-transform:uppercase;
}
.hero h1{
  font-size:clamp(2.4rem, 6.4vw, 4.4rem);
  line-height:1.12;
  margin:0 0 22px;
}
.hero__lead{
  font-size:clamp(1.02rem, 2vw, 1.2rem);
  color:var(--muted);
  max-width:640px;
  margin:0 auto 36px;
}

/* CTA — two stacked buttons */
.cta-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  max-width:340px;
  margin:0 auto;
}
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  padding:16px 24px;
  border-radius:var(--r);
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.02rem;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn--primary{
  background:var(--accent);
  color:var(--accent-ink);
  box-shadow:0 10px 30px hsl(var(--h) 60% 40% / 0.35);
}
.btn--secondary{
  background:transparent;
  color:var(--ink);
  border:1.5px solid var(--line);
}
.btn:hover{ transform:translateY(-2px); }
@media (prefers-reduced-motion: reduce){
  .btn{ transition:none; }
  .btn:hover{ transform:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Main content ---------- */
main{ display:block; }
.content{
  max-width:840px;
  margin:0 auto;
  padding:64px 20px 40px;
}
.content section{ margin-bottom:56px; }
.content h2{
  font-size:clamp(1.4rem, 3vw, 1.8rem);
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:2px solid var(--line);
}
.content h3{
  font-size:1.1rem;
  margin:0 0 10px;
  color:var(--accent);
}
.content p{ color:var(--ink); margin:0 0 14px; }
.content p.muted{ color:var(--muted); }

.lead-block{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:24px 26px;
}

/* table */
.check-table{
  width:100%;
  border-collapse:collapse;
  background:var(--surface);
  border-radius:var(--r);
  overflow:hidden;
  border:1px solid var(--line);
}
.check-table caption{
  text-align:left;
  padding:14px 18px;
  font-size:0.9rem;
  color:var(--muted);
  background:var(--surface-2);
}
.check-table th, .check-table td{
  text-align:left;
  padding:14px 18px;
  border-top:1px solid var(--line);
  vertical-align:top;
  font-size:0.95rem;
}
.check-table th{
  width:34%;
  color:var(--accent);
  font-weight:700;
  background:hsl(var(--h) 22% 21%);
}
.check-table td{ color:var(--ink); }

/* ordered process steps */
.steps{
  list-style:none;
  counter-reset:step;
  margin:0; padding:0;
  display:grid;
  gap:14px;
}
.steps li{
  counter-increment:step;
  position:relative;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:18px 20px 18px 62px;
}
.steps li::before{
  content:counter(step);
  position:absolute;
  left:16px; top:50%;
  transform:translateY(-50%);
  width:32px; height:32px;
  border-radius:50%;
  background:var(--accent);
  color:var(--accent-ink);
  font-family:var(--font-head);
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.95rem;
}
.steps strong{ display:block; margin-bottom:4px; color:var(--ink); font-family:var(--font-head); font-size:1rem;}
.steps span{ color:var(--muted); font-size:0.92rem; }

/* caution */
.caution{
  border-left:4px solid var(--accent);
  background:var(--surface);
  padding:20px 22px;
  border-radius:0 var(--r) var(--r) 0;
}

/* diagram */
.diagram{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:20px;
  text-align:center;
}
.diagram svg{ max-width:100%; height:auto; }
.diagram figcaption{
  margin-top:12px;
  font-size:0.88rem;
  color:var(--muted);
}

/* mid-body CTA */
.mid-cta{
  text-align:center;
  padding:30px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
}
.mid-cta p{ margin:0 0 16px; color:var(--muted); }
.mid-cta .cta-stack{ max-width:300px; }

/* FAQ */
.faq-item{
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--surface);
  padding:18px 22px;
  margin-bottom:12px;
}
.faq-item h3{ margin-bottom:8px; display:flex; gap:10px; }
.faq-item h3 .q-badge{
  flex:none;
  color:var(--accent-ink);
  background:var(--accent);
  border-radius:6px;
  padding:1px 9px;
  font-size:0.85rem;
  font-family:var(--font-head);
}
.faq-item p{ margin:0; color:var(--muted); padding-left:44px; }

/* images */
.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%; } }
.shot figcaption{
  text-align:center;
  margin-top:10px;
  font-size:0.85rem;
  color:var(--muted);
}

/* ---------- Footer: dark band ---------- */
.ftr{
  background:hsl(var(--h) 32% 8%);
  border-top:1px solid var(--line);
  padding:44px 20px calc(44px + var(--header-h));
}
.ftr__inner{
  max-width:840px;
  margin:0 auto;
  display:grid;
  gap:22px;
}
.ftr__biz{
  margin:0;
  color:var(--muted);
  font-size:0.9rem;
  line-height:1.9;
}
.ftr__biz a{ color:var(--accent); }
.ftr__nav{ display:flex; gap:16px; }
.ftr__nav a{
  color:var(--ink);
  text-decoration:none;
  font-size:0.92rem;
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
}
.ftr__copy{ margin:0; color:hsl(var(--h) 10% 50%); font-size:0.8rem; }

/* ---------- Responsive down to 375px ---------- */
@media (max-width:480px){
  .content{ padding:48px 16px 24px; }
  .check-table th, .check-table td{ padding:12px 14px; font-size:0.9rem; }
  .steps li{ padding:16px 16px 16px 54px; }
  .hero{ padding:60px 16px 48px; }
  .site-header__brand{ font-size:0.92rem; }
  .site-header__nav a{ padding:7px 10px; font-size:0.85rem; }
}
