/* ==========================================================================
   사무실이전철거 창호철거 — /window/
   Hue 176, 배경전략: 뉴트럴(N)
   ========================================================================== */

:root{
  --h: 176;
  --bg:      hsl(0 0% 97%);
  --surface: hsl(0 0% 100%);
  --surface-2: hsl(var(--h) 22% 96%);
  --ink:     hsl(220 12% 15%);
  --muted:   hsl(220 8% 42%);
  --accent:  hsl(var(--h) 60% 30%);
  --accent-ink: hsl(var(--h) 70% 96%);
  --line:    hsl(220 10% 86%);
  --radius: 4px;
  --radius-lg: 10px;
  --border-w: 1px;
}

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'SUIT Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, .brand, .hero__eyebrow{
  font-family: 'Paperlogy', 'SUIT Variable', -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

a{ color: inherit; }

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

.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;
}

.section__inner{
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------
   Header — 우측 상단 오프셋
   --------------------------------------------------------------------- */
.site-header{
  position: relative;
  background: var(--surface);
  border-bottom: var(--border-w) solid var(--line);
}
.site-header__inner{
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.brand{
  display: inline-flex;
  text-decoration: none;
  color: var(--ink);
}
.site-header__offset{
  position: absolute;
  top: 100%;
  right: 24px;
  transform: translateY(-50%);
}
.offset-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px hsl(var(--h) 60% 30% / 0.55);
}
.offset-chip:hover{ filter: brightness(1.06); }

/* ---------------------------------------------------------------------
   Hero — 대각 분할 섹션
   --------------------------------------------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  padding-top: 46px;
}
.hero__split{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--h) 45% 22%) 0%, hsl(var(--h) 55% 32%) 100%);
  clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%);
}
.hero__inner{
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
}
.hero__eyebrow{
  grid-column: 1;
  color: var(--accent-ink);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1{
  grid-column: 1;
  color: var(--accent-ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 18px;
}
.hero__lead{
  grid-column: 1;
  color: hsl(var(--h) 40% 94%);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero__cta{
  grid-column: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  border: var(--border-w) solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn--primary{
  background: hsl(0 0% 100%);
  color: hsl(var(--h) 55% 24%);
}
.btn--primary:hover{ filter: brightness(0.96); }
.btn--ghost{
  background: transparent;
  color: var(--accent-ink);
  border-color: hsl(0 0% 100% / 0.6);
}
.btn--ghost:hover{ background: hsl(0 0% 100% / 0.08); }

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section{
  padding: 56px 0;
}
.section--muted{
  background: var(--surface-2);
}
.section h2{
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 5px solid var(--accent);
}
.section p{
  color: var(--ink);
  margin: 0 0 16px;
}
.section p:last-child{ margin-bottom: 0; }

/* Table */
.table-wrap{
  overflow-x: auto;
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td{
  text-align: left;
  padding: 14px 18px;
  border-bottom: var(--border-w) solid var(--line);
  vertical-align: top;
}
thead th{
  background: hsl(var(--h) 30% 92%);
  font-weight: 700;
}
tbody th{
  width: 30%;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
}
tbody tr:last-child th,
tbody tr:last-child td{ border-bottom: none; }

/* Steps */
.steps{
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.steps li{
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 58px;
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-lg);
}
.steps li::before{
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong{
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* Image row */
.shot{ margin: 3rem auto; max-width: 1000px; padding: 0 24px; }
.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: var(--border-w) solid var(--line); }
@media (max-width: 640px){ .shot__row{ flex-wrap:wrap; } .shot__row img{ flex:1 1 100%; } }

/* ---------------------------------------------------------------------
   CTA — 인라인 카드
   --------------------------------------------------------------------- */
.cta-inline{ padding-top: 8px; }
.cta-card{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.cta-card__icon{ color: var(--accent); flex-shrink: 0; }
.cta-card__body h2{
  border: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.cta-card__body p{ margin: 0; color: var(--muted); font-size: 0.94rem; }
.cta-card__actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-card__actions .btn{ padding: 11px 22px; font-size: 0.9rem; }
.cta-card__actions .btn--primary{
  background: var(--accent);
  color: var(--accent-ink);
}
.cta-card__actions .btn--ghost{
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 640px){
  .cta-card{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-card__actions{ flex-direction: row; }
}

/* Diagram */
.diagram{ display: block; color: var(--accent); width: 100%; height: auto; }

/* FAQ */
.faq-list{ display: grid; gap: 12px; }
.faq-item{
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px 20px;
}
.faq-item summary{
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
}
.faq-item[open] summary::after{ content: '\2212'; }
.faq-item p{
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   Footer — 2단 좌우
   --------------------------------------------------------------------- */
.ftr{
  background: hsl(220 14% 12%);
  color: hsl(220 10% 88%);
  padding: 44px 0;
}
.ftr__inner{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.ftr__biz{
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: hsl(220 10% 74%);
}
.ftr__biz a{
  color: hsl(var(--h) 55% 68%);
  text-decoration: none;
}
.ftr__nav{
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}
.ftr__nav a{
  color: hsl(220 10% 88%);
  text-decoration: none;
}
.ftr__nav a:hover{ text-decoration: underline; }
.ftr__copy{
  width: 100%;
  margin: 24px 0 0;
  font-size: 0.78rem;
  color: hsl(220 8% 55%);
  text-align: right;
}

@media (max-width: 640px){
  .ftr__inner{ flex-direction: column; }
  .ftr__copy{ text-align: left; }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 760px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__split{ clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); }
}

@media (max-width: 480px){
  .site-header__inner{ padding-bottom: 30px; }
  .offset-chip{ padding: 10px 16px; font-size: 0.82rem; }
  .hero__inner{ padding: 40px 20px 56px; }
  .section{ padding: 40px 0; }
}

@media (max-width: 375px){
  .section__inner{ padding: 0 16px; }
  .shot{ padding: 0 16px; }
  th, td{ padding: 10px 12px; font-size: 0.88rem; }
  .cta-card{ padding: 20px; }
}
