/* commercial.css — 사무실이전철거 상가건물 (Hue 24 / Paper / 단일 페이지 전용) */

:root{
  --h: 24;
  --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-2:hsl(var(--h) 55% 44%);
  --line:    hsl(var(--h) 14% 84%);
  --tint:    hsl(var(--h) 46% 90%);
  --r: 3px 16px;
  --bw: 2px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family: "Freesentation", "Freesentation Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
p{ margin: 0 0 1em; }
a{ color: var(--accent); }
img{ max-width:100%; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

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

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

.btn{
  display:inline-block;
  padding: 0.85em 1.6em;
  border-radius: var(--r) / 24px;
  font-weight: 700;
  text-decoration: none;
  border: var(--bw) solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn--primary{ background: var(--accent); color: hsl(var(--h) 60% 97%); }
.btn--primary:hover{ background: var(--accent-2); }
.btn--ghost{ background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover{ background: hsl(var(--h) 46% 92%); }
.btn--strip{ background: var(--ink); color: var(--surface); }
.btn--strip:hover{ background: hsl(var(--h) 28% 24%); }

/* ---------- 헤더: 중앙 정렬 스택 ---------- */
.hdr{
  border-bottom: var(--bw) solid var(--line);
  background: var(--surface);
  padding: 1.6rem 1rem 1.4rem;
}
.hdr__inner{
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}
.hdr__mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent);
}
.hdr__mark svg{ width: 28px; height: 28px; }
.hdr__label{
  margin:0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hdr__nav{
  display:flex;
  gap: 1.2rem;
  font-size: 0.92rem;
}
.hdr__nav a{
  color: var(--ink);
  text-decoration:none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.hdr__nav a:hover{ border-color: var(--accent); }

/* ---------- 히어로: 가로 밴드 적층 ---------- */
.hero{ display:flex; flex-direction: column; }
.hero__band{ width:100%; padding: 1.1rem 1rem; }
.hero__band > *{ max-width: 760px; margin: 0 auto; text-align:center; }
.hero__band--eyebrow{ background: var(--tint); }
.hero__eyebrow{ margin:0; font-size:0.9rem; font-weight:700; color: var(--accent); letter-spacing:0.04em; }
.hero__band--title{ background: var(--surface); padding-top: 1.8rem; padding-bottom: 1.4rem; }
.hero__band--title h1{ font-size: clamp(1.6rem, 4.4vw, 2.5rem); line-height:1.35; }
.hero__band--desc{ background: var(--bg); }
.hero__desc{ margin:0; color: var(--muted); font-size: 1.02rem; }
.hero__band--cta{
  background: var(--ink);
  padding: 1.4rem 1rem 1.7rem;
}
.hero__band--cta > *{ display:flex; gap:0.9rem; justify-content:center; flex-wrap:wrap; }
.hero__band--cta .btn--primary{ background: hsl(var(--h) 62% 55%); color: hsl(var(--h) 30% 12%); }
.hero__band--cta .btn--ghost{ border-color: hsl(var(--h) 20% 70%); color: hsl(var(--h) 20% 92%); }
.hero__band--cta .btn--ghost:hover{ background: hsl(var(--h) 26% 22%); }

/* ---------- 본문 ---------- */
.main{ max-width: 880px; margin: 0 auto; padding: 2.6rem 1.2rem 1rem; }
.sec{ margin-bottom: 2.6rem; }
.sec h2{ font-size: 1.35rem; border-left: 6px solid var(--accent); padding-left: 0.7rem; }
.sec p{ color: var(--ink); }

.chk-table{
  width:100%;
  border-collapse: collapse;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-radius: var(--r) / 18px;
  overflow:hidden;
}
.chk-table th, .chk-table td{
  padding: 0.85rem 1rem;
  text-align:left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.chk-table th{
  background: var(--tint);
  color: var(--accent);
  width: 32%;
  font-weight: 700;
}
.chk-table tr:last-child th, .chk-table tr:last-child td{ border-bottom:none; }

.diagram{
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-radius: var(--r) / 18px;
  padding: 1.2rem;
}
.diagram svg{ width:100%; height:auto; display:block; }

.note{
  background: var(--tint);
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--r);
  padding: 1.1rem 1.2rem;
}

.faq__item{
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq__item:last-child{ border-bottom:none; }
.faq__item h3{
  font-size: 1.03rem;
  margin-bottom: 0.4em;
  color: var(--ink);
}
.faq__item p{ margin:0; color: var(--muted); }

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

/* ---------- CTA: 틴티드 스트립 ---------- */
.cta-strip{
  background: var(--tint);
  border-top: var(--bw) solid var(--line);
  border-bottom: var(--bw) solid var(--line);
  padding: 1.5rem 1rem;
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.cta-strip p{ margin:0; font-weight:600; color: var(--ink); }

/* ---------- footer: 4단 그리드 ---------- */
.ftr{ background: hsl(var(--h) 26% 16%); color: hsl(var(--h) 12% 88%); padding: 2.6rem 1rem 1.6rem; }
.ftr__inner{
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  align-items:start;
}
.ftr__biz{
  grid-column: span 2;
  margin:0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: hsl(var(--h) 12% 82%);
}
.ftr__biz a{ color: hsl(var(--h) 55% 74%); }
.ftr__nav{
  grid-column: span 1;
  display:flex;
  flex-direction:column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.ftr__nav a{ color: hsl(var(--h) 12% 88%); text-decoration:none; }
.ftr__nav a:hover{ text-decoration:underline; }
.ftr__copy{
  grid-column: span 1;
  margin:0;
  font-size: 0.82rem;
  color: hsl(var(--h) 10% 60%);
  align-self:end;
}
@media (max-width: 720px){
  .ftr__inner{ grid-template-columns: 1fr 1fr; }
  .ftr__biz{ grid-column: span 2; }
}
@media (max-width: 480px){
  .ftr__inner{ grid-template-columns: 1fr; }
  .ftr__biz, .ftr__nav, .ftr__copy{ grid-column: span 1; }
}

/* ---------- 반응형 375px 대응 ---------- */
@media (max-width: 400px){
  .hero__band--title h1{ font-size: 1.45rem; }
  .sec h2{ font-size: 1.18rem; }
  .btn{ padding: 0.75em 1.2em; font-size: 0.92rem; }
}
