/* shared-office.css — 사무실이전철거 공유오피스 전용 스타일 (다른 페이지와 공유 금지) */

:root{
  --h: 286;
  --bg:      hsl(0 0% 97%);
  --surface: hsl(0 0% 100%);
  --ink:     hsl(0 0% 16%);
  --muted:   hsl(0 0% 42%);
  --accent:  hsl(var(--h) 55% 34%);
  --accent-soft: hsl(var(--h) 46% 94%);
  --accent-deep: hsl(var(--h) 55% 24%);
  --line:    hsl(0 0% 86%);
  --r-sm: 3px;
  --r-md: 10px;
  --r-lg: 22px;
  --font-head: "Gowun Batang", "Nanum Myeongjo", "Noto Serif KR", serif;
  --font-body: "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

*{ 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: var(--font-body);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

h1,h2,h3{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-deep);
  margin: 0 0 0.6em;
}

p{ margin: 0 0 1em; }

a{ color: var(--accent); }
a:focus-visible,
button:focus-visible,
.cta-card a:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header: 헤어라인 단일줄 ---------- */
.site-header{
  background: var(--surface);
  border-bottom: 1px solid var(--ink);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brandmark{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brandmark svg{ width: 26px; height: 26px; flex-shrink: 0; }
.site-header nav{ display: flex; gap: 22px; }
.site-header nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}
.site-header nav a:hover{ color: var(--accent); }

/* ---------- Hero: 카드 모자이크 ---------- */
.hero{
  padding: 56px 0 40px;
}
.hero__lead{
  max-width: 720px;
  margin: 0 0 30px;
}
.hero__eyebrow{
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1{
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0.5em;
}
.hero__desc{
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 620px;
}

.mosaic{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(90px, auto);
  gap: 14px;
}
.mosaic__card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.mosaic__card strong{
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
}
.mosaic__card span{
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.mosaic__card--a{ grid-column: span 3; grid-row: span 2; background: var(--accent-soft); border-color: transparent; }
.mosaic__card--a strong{ color: var(--accent-deep); }
.mosaic__card--b{ grid-column: span 3; }
.mosaic__card--c{ grid-column: span 3; }
.mosaic__card--d{ grid-column: span 2; }
.mosaic__card--e{ grid-column: span 2; }
.mosaic__card--f{ grid-column: span 2; }

@media (max-width: 760px){
  .mosaic{ grid-template-columns: 1fr 1fr; }
  .mosaic__card--a{ grid-column: span 2; grid-row: auto; }
  .mosaic__card--b, .mosaic__card--c, .mosaic__card--d, .mosaic__card--e, .mosaic__card--f{ grid-column: span 1; }
}
@media (max-width: 480px){
  .mosaic{ grid-template-columns: 1fr; }
  .mosaic__card--a, .mosaic__card--b, .mosaic__card--c, .mosaic__card--d, .mosaic__card--e, .mosaic__card--f{ grid-column: span 1; }
}

/* ---------- Main content ---------- */
main{ padding-bottom: 30px; }
.section{ padding: 34px 0; border-top: 1px solid var(--line); }
.section:first-of-type{ border-top: none; }
.section h2{ font-size: 1.4rem; }
.section h3{ font-size: 1.08rem; color: var(--ink); }

.steps{ list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li{
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.steps li:last-child{ border-bottom: none; }
.steps li::before{
  content: counter(step);
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-family: var(--font-head);
}
.steps li p{ margin: 0; }

.notice{
  background: var(--accent-soft);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.notice p:last-child{ margin-bottom: 0; }

.diagram{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  margin: 20px 0 0;
}
.diagram__svg{ width: 100%; height: auto; display: block; }
.diagram figcaption{
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 10px;
  text-align: center;
}

.faq{ display: flex; flex-direction: column; gap: 10px; }
.faq details{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 20px;
}
.faq summary{
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1rem;
}
.faq summary::marker{ color: var(--accent); }
.faq p{ padding-bottom: 16px; color: var(--muted); margin: 0; }

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

/* ---------- CTA: 오프셋 카드 ---------- */
.cta{ padding: 46px 0 56px; }
.cta-card{
  position: relative;
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px 34px;
  max-width: 760px;
  margin: 0 auto;
}
.cta-card::before{
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  z-index: -1;
}
.cta-card h2{
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.4em;
}
.cta-card p{ color: hsl(var(--h) 30% 88%); margin-bottom: 1.4em; }
.cta-card__actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card__actions a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}
.cta-card__actions a.ghost{
  background: transparent;
  color: #fff;
  border: 1px solid hsl(var(--h) 30% 60%);
}
.cta-card__actions svg{ width: 18px; height: 18px; }

/* ---------- Footer: 중앙 정렬 스택 ---------- */
.ftr{
  background: var(--surface);
  border-top: 1px solid var(--ink);
  padding: 40px 0;
}
.ftr__inner{
  max-width: 480px;
  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.9rem;
  line-height: 1.9;
}
.ftr__biz a{ color: var(--accent); text-decoration: none; }
.ftr__nav{ display: flex; gap: 18px; }
.ftr__nav a{ color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.ftr__copy{ margin: 0; color: var(--muted); font-size: 0.8rem; }

@media (max-width: 375px){
  .wrap{ padding: 0 16px; }
  .cta-card{ padding: 28px 22px; }
  .cta-card::before{ inset: 10px -10px -10px 10px; }
}
