/* ============================================================
   배고ENG — style.css
   근거: docs/design-system.md (토큰·컴포넌트 규칙 준수)
   외부 요청 0건 — 시스템 폰트 스택, 인라인 SVG 전제
   ============================================================ */

/* ===== 1. 토큰 ===== */
:root {
  /* 배경 계층 */
  --bg-0: #0C0E10;
  --bg-1: #101214;
  --bg-2: #16191C;

  /* 텍스트 계층 */
  --text-hi: #F2EFE9;
  --text-mid: #B7B2A8;
  --text-low: #6E6A63;

  /* 포인트 — 브라스 단 1색 */
  --brass: #C9A227;
  --brass-hover: #DDB83E;
  --brass-ink: #0C0E10;

  /* 1px 라인 */
  --line: rgba(242, 239, 233, 0.10);
  --line-strong: rgba(242, 239, 233, 0.22);
  --line-brass: rgba(201, 162, 39, 0.45);

  /* 타이포 */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo",
               "Noto Sans KR", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

  --fs-hero: clamp(3.5rem, 11vw, 9.5rem);
  --fs-num: clamp(2.75rem, 6vw, 5rem);
  --fs-h1: clamp(2rem, 4.5vw, 3.5rem);
  --fs-h2: clamp(1.375rem, 2.5vw, 1.75rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* 스페이싱 */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4.5rem; --sp-7: 7.5rem;  --sp-8: 10rem;
  --section-pad: clamp(var(--sp-7), 14vh, var(--sp-8));
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

/* ===== 2. 리셋·베이스 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
svg { display: block; }
:is(a, button, summary):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ===== 3. 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 52px; padding: 0 28px; border-radius: var(--radius);
  font: 600 .9375rem/1 var(--font-sans); letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--brass); color: var(--brass-ink); border: 1px solid var(--brass); }
.btn-primary:hover { background: var(--brass-hover); border-color: var(--brass-hover); }
.btn-ghost { background: transparent; color: var(--text-hi); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
@media (max-width: 768px) { .btn { height: 48px; } }

/* ===== 4. 섹션 라벨 (번호 + 영문 소제목 + 라인) ===== */
.section-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: var(--sp-5);
}
.section-label .num {
  font: 600 var(--fs-label)/1 var(--font-mono);
  letter-spacing: .18em; color: var(--brass);
}
.section-label .eng {
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-low);
}
.section-label .rule { flex: 1; height: 1px; background: var(--line); }

.section-title {
  font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.15; color: var(--text-hi);
}
.section-lead { margin-top: var(--sp-3); max-width: 36rem; color: var(--text-mid); }

/* ===== 5. 헤더 ===== */
.header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg-0) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .header { background: rgba(12, 14, 16, 0.9); }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--sp-4);
}
.wordmark { color: var(--text-hi); display: inline-flex; }
.wordmark svg { height: 20px; width: auto; }
.wordmark .accent { fill: var(--brass); }
.nav {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 0; font-size: var(--fs-small); color: var(--text-mid);
}
.nav a {
  transition: color .2s ease; position: relative;
  white-space: nowrap; flex-shrink: 0;
  padding: 0 1rem;
}
.nav a + a {
  border-left: 1px solid var(--line-strong);
}
.nav a:hover { color: var(--text-hi); }
.nav a.is-active { color: var(--text-hi); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -6px;
  height: 1px; background: var(--brass);
}
.page-sub .page-main { min-height: calc(100svh - 64px - 120px); }
.page-sub .page-main > .section,
.page-sub .page-main > .trust,
.page-sub .page-main > .contact {
  padding-block: var(--section-pad);
}
.header .btn { height: 40px; padding: 0 20px; font-size: .8125rem; flex-shrink: 0; }

/* 햄버거 버튼 — 기본 숨김, 폰(≤768)에서만 표시 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-hi);
  cursor: pointer;
  padding: 0;
  z-index: 95;
}
.nav-toggle:hover { border-color: var(--brass); color: var(--brass); }
.nav-toggle-box {
  position: relative;
  width: 18px;
  height: 14px;
}
.nav-toggle-box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 6px; }
.nav-toggle-box span:nth-child(3) { top: 12px; }
body.nav-open .nav-toggle-box span:nth-child(1) {
  top: 6px; transform: rotate(45deg);
}
body.nav-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-box span:nth-child(3) {
  top: 6px; transform: rotate(-45deg);
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.55);
}
body.nav-open .nav-backdrop { display: block; }
.nav-contact-mobile { display: none !important; }

/* 데스크톱·태블릿: 기존 가로 목차 (햄버거 없음) */
@media (max-width: 1100px) {
  .nav { font-size: .8125rem; }
  .nav a { padding: 0 .7rem; }
  .nav a.is-active::after { left: .7rem; right: .7rem; }
  .header .btn { padding: 0 16px; }
}
@media (max-width: 900px) {
  .header-inner { gap: .75rem; }
  .nav { font-size: .75rem; }
  .nav a { padding: 0 .45rem; }
  .nav a.is-active::after { left: .45rem; right: .45rem; }
  .wordmark svg { height: 16px; }
  .header .btn { height: 36px; padding: 0 12px; font-size: .75rem; }
}

/* 모바일(폰)만: 햄버거 + 전체 목록
   sticky+backdrop-filter 안 fixed 는 헤더 높이에 잘림 → 블러 해제 + body 포탈
   html.force-mobile: 넓은 Design Mode 창에서도 폰 레이아웃 강제 (?mobile=1) */
@media (max-width: 768px) {
  .header {
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-0);
  }
  .header-inner {
    height: 56px;
    gap: .5rem;
    position: relative;
  }
  .wordmark svg { height: 16px; }
  .nav-toggle { display: inline-flex !important; }
  .header-inner > a.btn { display: none !important; }

  .header .nav,
  nav.site-nav-panel,
  #site-nav.site-nav-panel {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    z-index: 200 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: calc(100vh - 56px) !important;
    height: calc(100dvh - 56px) !important;
    min-height: calc(100svh - 56px) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0.5rem 1.25rem calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-0) !important;
    border-top: 1px solid var(--line);
    font-size: 1.0625rem !important;
    color: var(--text-mid);
    transform: translate3d(100%, 0, 0) !important;
    visibility: hidden !important;
    pointer-events: none;
    transition: transform .28s ease, visibility .28s;
  }
  body.nav-open .header .nav,
  body.nav-open nav.site-nav-panel,
  body.nav-open #site-nav.site-nav-panel {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto;
  }
  .header .nav a,
  nav.site-nav-panel a,
  #site-nav.site-nav-panel a {
    display: block !important;
    padding: 1rem 0.25rem !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    flex-shrink: 0 !important;
    white-space: normal !important;
    font-size: 1.0625rem !important;
    color: inherit;
  }
  .header .nav a.is-active::after,
  nav.site-nav-panel a.is-active::after {
    left: 0.25rem;
    right: auto;
    bottom: 0.85rem;
    width: 1.25rem;
  }
  body.nav-open { overflow: hidden; }
  body { overflow-x: hidden; }
}

/* Design Mode / 편집용: 뷰포트가 넓어도 폰 UI (iframe 없이 요소 직접 선택) */
html.force-mobile {
  /* 세션 표시용 */
}
html.force-mobile body {
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  box-shadow: 0 0 0 1px var(--line-strong);
  overflow-x: hidden;
}
html.force-mobile .header {
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg-0);
}
html.force-mobile .header-inner {
  height: 56px;
  gap: .5rem;
  position: relative;
}
html.force-mobile .wordmark svg { height: 16px; }
html.force-mobile .nav-toggle { display: inline-flex !important; }
html.force-mobile .header-inner > a.btn { display: none !important; }
html.force-mobile .header .nav,
html.force-mobile nav.site-nav-panel,
html.force-mobile #site-nav.site-nav-panel {
  position: fixed !important;
  top: 56px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 200 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: min(430px, 100vw) !important;
  margin: 0 0 0 calc(min(430px, 100vw) / -2) !important;
  max-width: none !important;
  height: calc(100vh - 56px) !important;
  height: calc(100dvh - 56px) !important;
  min-height: calc(100svh - 56px) !important;
  max-height: none !important;
  padding: 0.5rem 1.25rem calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-0) !important;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem !important;
  color: var(--text-mid);
  transform: translate3d(100%, 0, 0) !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: transform .28s ease, visibility .28s;
}
html.force-mobile body.nav-open .header .nav,
html.force-mobile body.nav-open nav.site-nav-panel,
html.force-mobile body.nav-open #site-nav.site-nav-panel {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  pointer-events: auto;
}
html.force-mobile .header .nav a,
html.force-mobile nav.site-nav-panel a,
html.force-mobile #site-nav.site-nav-panel a {
  display: block !important;
  padding: 1rem 0.25rem !important;
  border-left: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  flex-shrink: 0 !important;
  white-space: normal !important;
  font-size: 1.0625rem !important;
  color: inherit;
}
html.force-mobile .header .nav a.is-active::after,
html.force-mobile nav.site-nav-panel a.is-active::after {
  left: 0.25rem;
  right: auto;
  bottom: 0.85rem;
  width: 1.25rem;
}
html.force-mobile body.nav-open { overflow: hidden; }
html.force-mobile .btn { height: 48px; }
/* 하단 전화·견적 CTA 바 · 메뉴 안 견적 문의 제거됨 (요청) */

/* ===== 데스크톱 전용 (769px+): 가로 목차 — force-mobile 제외 ===== */
@media (min-width: 769px) {
  html:not(.force-mobile) .nav-toggle { display: none !important; }
  html:not(.force-mobile) .nav-contact-mobile {
    display: none !important;
  }
  html:not(.force-mobile) .header .nav,
  html:not(.force-mobile) nav.site-nav-panel,
  html:not(.force-mobile) #site-nav.site-nav-panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border-top: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: auto !important;
    font-size: inherit;
  }
  html:not(.force-mobile) .header .nav a,
  html:not(.force-mobile) nav.site-nav-panel a,
  html:not(.force-mobile) #site-nav.site-nav-panel a {
    display: block !important;
    border-bottom: 0 !important;
    white-space: nowrap !important;
  }
  html:not(.force-mobile) .nav a + a { border-left: 1px solid var(--line-strong); }
  html:not(.force-mobile) body.nav-open { overflow: auto; }
  html:not(.force-mobile) body.nav-open .nav-backdrop { display: none !important; }
}

/* ===== 6. 히어로 ===== */
.hero {
  position: relative; overflow: hidden; background: var(--bg-0);
  min-height: calc(100svh - 64px);
  display: flex; align-items: center;
  padding-block: clamp(var(--sp-7), 14vh, var(--sp-8));
}
.hero-pattern {
  position: absolute; inset: 0; color: var(--brass);
  opacity: .5; pointer-events: none;
}
.hero-pattern svg { width: 100%; height: 100%; }
.hero::after {
  /* 유일하게 허용된 그라데이션 — 히어로 비네트 1회 (design-system §1) */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 30% 45%, transparent 40%, var(--bg-0) 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-overline {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font: 600 var(--fs-label)/1 var(--font-mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-low);
  margin-bottom: var(--sp-4);
}
.hero-overline .num { color: var(--brass); }
.hero-title {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .2em;
  color: var(--text-hi);
}
.hero-title-scope {
  display: block;
  font-size: clamp(1.05rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--text-mid);
}
.hero-title-scope .dot {
  display: inline-block;
  margin: 0 .4em;
  color: var(--brass);
  font-weight: 500;
}
.hero-title-brand {
  display: block;
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--text-hi);
}
.hero-title .brass { color: var(--brass); }
.hero-headline {
  margin-top: var(--sp-5);
  font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.3; color: var(--text-hi);
}
.hero-sub {
  margin-top: var(--sp-2); max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.7;
  color: var(--text-mid);
}
.hero-note {
  margin: var(--sp-5) 0 0;
  padding-top: var(--sp-3);
  max-width: 22rem;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: var(--text-mid);
  border-top: 1px solid var(--line-brass);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--sp-3);
}
.hero-phone {
  margin: 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--brass);
  text-shadow: 0 0 28px rgba(201, 162, 39, 0.22);
}
.hero-meta {
  margin-top: var(--sp-6); display: flex; gap: 2rem; align-items: center;
  font: 400 var(--fs-label)/1 var(--font-mono); letter-spacing: .12em;
  color: var(--text-low);
}
.hero-meta .rule { width: 3rem; height: 1px; background: var(--line-strong); }

/* 모바일 히어로: 여백은 기본값 유지(줄이기 전) + 가운데 정렬만 */
@media (max-width: 768px) {
  .hero {
    /* min-height·padding-block 은 기본 .hero 규칙 사용 (공간 줄이기 전) */
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-overline {
    justify-content: center;
    flex-direction: column;
    gap: .4rem;
  }
  .hero-title {
    align-items: center;
  }
  .hero-sub {
    max-width: 18rem;
  }
  .hero-note {
    max-width: none;
    width: 100%;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
}
html.force-mobile .hero {
  align-items: center;
  justify-content: center;
}
html.force-mobile .hero-content {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
html.force-mobile .hero-overline {
  justify-content: center;
  flex-direction: column;
  gap: .4rem;
}
html.force-mobile .hero-title {
  align-items: center;
}
html.force-mobile .hero-sub {
  max-width: 18rem;
}
html.force-mobile .hero-note {
  max-width: none;
  width: 100%;
}
html.force-mobile .hero-ctas {
  justify-content: center;
}
html.force-mobile .hero-meta {
  justify-content: center;
}

/* ===== 7. 신뢰 숫자 밴드 (01 TRUST) ===== */
.trust {
  background: var(--bg-1);
  border-block: 1px solid var(--line-strong);
}
.trust-lead {
  padding-top: var(--sp-5);
  font-size: var(--fs-small); color: var(--text-low);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  padding: clamp(2.5rem, 5vw, 4rem) var(--sp-4);
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-num {
  /* 4열 칸 안에서도 「전국출장」「당일회신」이 항상 1줄 */
  font-size: clamp(1.85rem, 2.6vw + 0.6rem, 3.25rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1; color: var(--text-hi); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.trust-num .suffix {
  color: var(--brass); font-size: .5em; font-weight: 700;
  vertical-align: .55em; margin-left: .08em;
  white-space: nowrap;
}
.trust-label { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--text-low); line-height: 1.6; }
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding-inline: 0; padding-block: 2.25rem; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
}
/* 모바일: 신뢰 숫자 밴드 전체 숨김 (데스크톱 유지) */
@media (max-width: 768px) {
  section#trust.trust,
  section.trust#trust,
  .trust { display: none !important; }
}
html.force-mobile section#trust.trust,
html.force-mobile section.trust#trust,
html.force-mobile .trust { display: none !important; }

/* ===== 8. 서비스 4카드 (02 SERVICES) ===== */
.services { background: var(--bg-0); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: var(--sp-5);
  background: var(--line); /* 1px gap으로 라인 공유 느낌 */
  border: 1px solid var(--line);
}
.services-grid--3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--bg-2);
  padding: var(--sp-5) var(--sp-4);
  transition: border-color .2s ease;
  border: 1px solid transparent; margin: -1px 0 0 -1px; /* hover 라인 위해 */
  position: relative;
}
.service-card:hover { border-color: var(--line-brass); z-index: 1; }
.service-icon { color: var(--brass); width: 48px; height: 48px; transition: color .2s ease; }
.service-icon svg { width: 100%; height: 100%; }
.service-card:hover .service-icon { color: var(--brass-hover); }
.service-num {
  margin-top: var(--sp-4);
  font: 600 var(--fs-label)/1 var(--font-mono);
  letter-spacing: .18em; color: var(--text-low);
}
.service-title {
  margin-top: var(--sp-1);
  font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.3; color: var(--text-hi);
}
.service-desc { margin-top: var(--sp-2); font-size: var(--fs-small); line-height: 1.7; color: var(--text-mid); }
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== 9. 프로세스 4단계 (03 PROCESS) ===== */
.process { background: var(--bg-1); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.process-step { position: relative; padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); }
.process-step::before {
  /* 단계 시작점 틱 마크 */
  content: ""; position: absolute; top: -1px; left: 0;
  width: 2rem; height: 1px; background: var(--brass);
}
.process-num {
  font: 700 1.125rem/1 var(--font-mono); letter-spacing: .1em; color: var(--brass);
}
.process-title {
  margin-top: var(--sp-2);
  font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; color: var(--text-hi);
}
.process-desc { margin-top: var(--sp-2); font-size: var(--fs-small); line-height: 1.7; }
.process-time {
  margin-top: var(--sp-2);
  font: 400 var(--fs-label)/1.6 var(--font-mono); letter-spacing: .06em;
  color: var(--text-low);
}
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-5); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== 10. 왜 배고ENG (04 WHY) — 3열 가로 나열 ===== */
.why { background: var(--bg-0); }
.why-list {
  list-style: none; margin: var(--sp-5) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.why-item {
  display: flex; flex-direction: column; gap: var(--sp-3);
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--bg-0);
  border: 0;
}
.why-num { font: 700 1rem/1 var(--font-mono); color: var(--brass); letter-spacing: .1em; }
.why-copy { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.why-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.3; color: var(--text-hi);
}
.why-body { margin: 0; color: var(--text-mid); font-size: var(--fs-body); line-height: 1.7; }
@media (max-width: 900px) {
  .why-list { grid-template-columns: 1fr; }
}

/* ===== 11. 대응 지역 (05 AREA) ===== */
.area { background: var(--bg-1); }
.area-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6);
  align-items: center; margin-top: var(--sp-5);
}
.area-body p + p { margin-top: var(--sp-2); }
.area-body strong { color: var(--text-hi); font-weight: 700; }
.area-tag {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-top: var(--sp-4);
  padding: .75rem 1.25rem;
  border: 1px solid var(--line-brass); border-radius: var(--radius);
  font: 600 var(--fs-small)/1 var(--font-sans); color: var(--text-hi);
}
.area-tag .dot { width: 6px; height: 6px; background: var(--brass); }
.area-map { color: var(--brass); }
.area-map svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .area-inner { grid-template-columns: 1fr; }
  .area-map { max-width: 26rem; }
}

/* ===== 12. 작업 사례 (06 WORKS) ===== */
.works { background: var(--bg-0); }

/* 관리자 상자 — 로그인한 관리자에게만 보임 (main.js) */
.works-admin {
  margin-top: var(--sp-4);
  padding: 1rem 1.25rem 1.1rem;
  border: 1px solid var(--line-brass); border-radius: var(--radius);
  background: rgba(201, 162, 39, 0.05);
}
.works-admin-title {
  margin: 0 0 .6rem;
  font: 400 var(--fs-label)/1 var(--font-mono); letter-spacing: .1em;
  color: var(--brass); text-transform: uppercase;
}
.works-admin-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.works-admin-row input {
  flex: 1 1 20rem; min-width: 0;
  height: 44px; padding: 0 .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg-0); color: var(--text-hi);
  font: 400 .875rem/1 var(--font-sans);
}
.works-admin-row input:focus { outline: none; border-color: var(--brass); }
.works-admin-row .btn { height: 44px; padding: 0 1.3rem; }
.works-admin-status {
  margin: .55rem 0 0; min-height: 1.2em;
  font: 400 .8125rem/1.5 var(--font-sans); color: var(--text-mid);
}
.works-admin-status.is-err { color: #c0392b; }

.works-tabs {
  margin-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.works-tab {
  height: 40px; padding: 0 1.1rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--text-mid);
  font: 600 .875rem/1 var(--font-sans); cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.works-tab:hover { border-color: var(--brass); color: var(--text-hi); }
.works-tab.is-active {
  border-color: var(--line-brass); color: var(--brass); background: transparent;
}
.works-toolbar {
  margin-top: var(--sp-4);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .75rem 1.5rem;
}
.works-sync {
  font: 400 var(--fs-label)/1.6 var(--font-mono); letter-spacing: .06em;
  color: var(--text-low);
}
.works-blog-link {
  font: 600 var(--fs-small)/1 var(--font-sans);
  color: var(--brass);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.works-blog-link:hover { color: var(--brass-hover); border-bottom-color: var(--line-brass); }
/* 시공사례 카드가 주인공 — 2열·큰 미디어 */
.works-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: var(--sp-5);
  background: var(--line);
  border: 1px solid var(--line);
}
.work-card {
  display: flex; flex-direction: column;
  background: var(--bg-2);
  text-decoration: none; color: inherit;
  border: 1px solid transparent; margin: -1px 0 0 -1px;
  transition: border-color .2s ease;
  position: relative;
  min-height: 100%;
}
.work-card:hover { border-color: var(--line-brass); z-index: 1; }
.work-media {
  aspect-ratio: 4 / 3;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: contain; /* 잘림 없이 네모 안 전체 표시 */
  object-position: center;
  display: block;
}
.work-media .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 600 var(--fs-label)/1 var(--font-mono); letter-spacing: .18em;
  color: var(--text-low); text-transform: uppercase;
}
.work-body { padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.25rem); }
.work-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  font: 600 var(--fs-label)/1 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-low);
}
.work-meta .cat { color: var(--brass); }
.work-title {
  margin-top: var(--sp-3);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.3; color: var(--text-hi);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.work-summary {
  margin-top: var(--sp-3);
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem); line-height: 1.75; color: var(--text-mid);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.works-empty {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border: 1px dashed var(--line-strong);
  color: var(--text-low); font-size: var(--fs-small); line-height: 1.7;
}
.works-empty code {
  font-family: var(--font-mono); font-size: .9em; color: var(--text-mid);
}
@media (max-width: 860px) { .works-grid { grid-template-columns: 1fr; } }

/* ===== 시공 사례 상세 (cases/*.html) ===== */
.case { background: var(--bg-0); }
.case-layout { max-width: 800px; }
.case-back { margin-bottom: var(--sp-4); font-size: var(--fs-small); }
.case-back a { color: var(--text-mid); border-bottom: 1px solid var(--line); }
.case-back a:hover { color: var(--brass); border-bottom-color: var(--line-brass); }
.case-meta {
  margin-top: var(--sp-3);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  font: 600 var(--fs-label)/1 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-low);
}
.case-meta .cat { color: var(--brass); }
/* 상세 히어로 사진 — 원본 비율 그대로 (자르지 않는다).
   목록 카드 썸네일은 잘라도 되지만, 사례 본문 첫 사진은 잘리면 내용이 사라진다. */
.case-hero-media {
  margin-top: var(--sp-5);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.case-hero-media img {
  display: block;
  width: 100%; height: auto;
  max-height: 80vh;
  object-fit: contain;
}
.case-body {
  margin-top: var(--sp-5);
  color: var(--text-mid);
  font-size: var(--fs-body);
  line-height: 1.85;
  max-width: 42rem;
}
.case-body h2,
.case-body .case-h {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0.85rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.35;
  color: var(--text-hi);
}
.case-body h2.case-h:first-child,
.case-body .case-h:first-child { margin-top: var(--sp-3); }
.case-body .case-h--faq {
  margin-top: var(--sp-4);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--text-hi);
}
.case-body .case-h--table {
  margin-bottom: 0.65rem;
}
.case-body p {
  margin: 0 0 0.95rem;
  color: var(--text-mid);
}
.case-body .case-faq-a {
  margin: -0.35rem 0 1.1rem;
  padding-left: 0.15rem;
  color: var(--text-mid);
}
.case-body .case-figcaption {
  margin: 0.35rem 0 1.25rem;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-low);
  letter-spacing: -.01em;
}
.case-body .case-list {
  list-style: none;
  margin: 0.25rem 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.case-body .case-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.case-body .case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--brass);
}
.case-body .case-table-caption {
  margin: var(--sp-5) 0 var(--sp-2);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -.02em;
}
.case-body .case-table-wrap {
  margin: var(--sp-3) 0 var(--sp-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.case-body .case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.55;
}
.case-body .case-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--text-hi);
  border-bottom: 1px solid var(--line);
}
.case-body .case-table th,
.case-body .case-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.case-body .case-table th {
  font: 600 var(--fs-label)/1.3 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  background: color-mix(in srgb, var(--bg-1) 70%, transparent);
  white-space: nowrap;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .case-body .case-table th { background: rgba(16, 18, 20, 0.85); }
}
.case-body .case-table td { color: var(--text-mid); }
.case-body .case-table tbody tr:last-child th,
.case-body .case-table tbody tr:last-child td { border-bottom: 0; }
.case-body .case-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--bg-0) 35%, transparent);
}
.case-body .case-inline-img {
  margin: var(--sp-5) 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.case-body .case-inline-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
}
.case-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--sp-6); }

/* ===== 13. 견적 문의 (07 CONTACT) — 고밀도 도면 스테이지 ===== */
.contact--stage {
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding-block: clamp(var(--sp-6), 10vh, var(--sp-8));
}
.contact-pattern {
  position: absolute; inset: 0;
  color: var(--brass);
  opacity: .72;
  pointer-events: none;
}
.contact-pattern svg { width: 100%; height: 100%; }
/* 가독성용 단색 베일 (그라데이션 아님 — 좌측 복사 영역만 덮음) */
.contact-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(58%, 720px);
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  border-right: 1px solid var(--line);
  pointer-events: none;
  z-index: 0;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .contact-rail { background: rgba(12, 14, 16, 0.82); }
}
.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
  gap: clamp(var(--sp-5), 6vw, var(--sp-7));
  align-items: center;
  width: 100%;
}
.contact-copy--panel {
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-1) 88%, transparent);
  padding: clamp(var(--sp-4), 4vw, var(--sp-6));
  max-width: 34rem;
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .contact-copy--panel { background: rgba(16, 18, 20, 0.92); }
}
.contact-copy--panel:hover { border-color: var(--line-brass); }
.contact-copy .section-title { margin-top: var(--sp-3); }
.contact-lead {
  margin-top: var(--sp-3);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--text-mid);
  max-width: 22rem;
}
.contact-tel-frame {
  margin-top: var(--sp-5);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: var(--sp-4);
  border-block: 1px solid var(--line-strong);
  max-width: max-content;
}
.contact-tel-mark {
  width: 1.25rem; height: 1px;
  background: var(--brass);
  flex-shrink: 0;
  align-self: center;
}
.contact-tel {
  display: inline-block;
  font-size: clamp(1.5rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color .2s ease;
}
.contact-tel:hover { color: var(--brass); }
/* 버튼 CTA 제거 → 도면식 진행 흐름 + 분야 스펙 */
.contact-flow {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-0) 55%, transparent);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .contact-flow { background: rgba(12, 14, 16, 0.55); }
}
.contact-flow-step {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: clamp(0.9rem, 2vw, 1.15rem) clamp(0.75rem, 1.6vw, 1.1rem);
  min-width: 0;
}
.contact-flow-num {
  font: 600 var(--fs-label)/1 var(--font-mono);
  letter-spacing: .16em;
  color: var(--brass);
}
.contact-flow-label {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-hi);
  line-height: 1.2;
}
.contact-flow-desc {
  font-size: var(--fs-small);
  color: var(--text-low);
  line-height: 1.35;
}
.contact-flow-join {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  position: relative;
}
.contact-flow-join::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  transform: translate(-70%, -50%) rotate(-45deg);
  opacity: .85;
}
.contact-fields {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
.contact-fields li {
  font: 600 var(--fs-label)/1 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--line);
  padding: .55rem .8rem;
  position: relative;
}
.contact-fields li::before {
  content: "";
  display: inline-block;
  width: .4rem;
  height: .4rem;
  margin-right: .55rem;
  background: var(--brass);
  vertical-align: middle;
  transform: translateY(-1px);
}
.contact-meta {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .375rem;
  font-size: var(--fs-small);
  color: var(--text-low);
}
.contact-plate {
  justify-self: end;
  width: min(100%, 440px);
  border: 1px solid var(--line-brass);
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .contact-plate { background: rgba(22, 25, 28, 0.9); }
}
.contact-plate-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
  font: 600 var(--fs-label)/1 var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-low);
}
.contact-plate-code { color: var(--brass); }
.contact-plate-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--text-mid);
}
.contact-plate-accent { fill: var(--brass); }
.contact-plate:hover { border-color: var(--brass); }
.contact-plate:hover .contact-plate-svg { color: var(--text-hi); }
@media (max-width: 900px) {
  .contact-rail { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); height: 55%; inset: 0 0 auto 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy--panel { max-width: none; }
  .contact-plate {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    order: -1;
    max-height: 260px;
    overflow: hidden;
  }
  .contact-plate-svg { transform: translateY(-4%); }
  .contact--stage { min-height: auto; }
  .contact-pattern { opacity: .55; }
}
@media (max-width: 480px) {
  .contact-flow {
    grid-template-columns: 1fr;
  }
  .contact-flow-join {
    width: auto;
    height: 1px;
    margin-inline: clamp(0.75rem, 1.6vw, 1.1rem);
  }
  .contact-flow-join::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%) rotate(45deg);
  }
}

/* ===== 14. 푸터 ===== */
.footer { background: var(--bg-0); border-top: 1px solid var(--line); }
.footer-info a { color: var(--text-mid); border-bottom: 1px solid var(--line); }
.footer-info a:hover { color: var(--brass); border-bottom-color: var(--line-brass); }
.footer-inner {
  padding-block: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-5);
  align-items: flex-start;
}
.footer .wordmark { color: var(--text-low); }
.footer .wordmark:hover { color: var(--text-mid); }
.footer-info {
  font-size: var(--fs-small); color: var(--text-low); line-height: 1.9;
  max-width: 40rem;
}
.footer-info p { margin: 0; }
.footer-info p + p { margin-top: .35rem; }
/* 한 문단 안 행 단위 — 데스크톱은 · 로 이어 쓰기, 모바일은 줄바꿈 */
.footer-info .fi-row { display: inline; }
.footer-info .fi-row + .fi-row::before {
  content: " · ";
  color: var(--text-low);
}
.footer-copy {
  padding-block: var(--sp-3);
  border-top: 1px solid var(--line);
  font: 400 var(--fs-label)/1 var(--font-mono); letter-spacing: .08em;
  color: var(--text-low);
}
/* 관리자 입구 — 작성기(:8125) 로그인. 손님 눈에 튀지 않게 */
.footer-admin {
  margin-left: .75em;
  color: var(--text-low);
  text-decoration: none;
  opacity: .55;
  border-bottom: 1px solid currentColor;
}
.footer-admin:hover,
.footer-admin:focus-visible { opacity: 1; }

/* 모바일·force-mobile: 푸터 정보 왼쪽 정렬 + 줄 간격 정리 + 전화 중간 끊김 방지 */
@media (max-width: 768px) {
  .footer .container { padding-inline: 1.25rem; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    padding-block: 2rem 1.5rem;
  }
  .footer-info {
    width: 100%;
    max-width: none;
    text-align: left;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .footer-info p {
    margin: 0;
    padding: 0;
  }
  .footer-info p + p {
    margin-top: 0.75rem;
  }
  .footer-info .fi-row {
    display: block;
  }
  .footer-info .fi-row + .fi-row {
    margin-top: 0.15em;
  }
  .footer-info .fi-row + .fi-row::before {
    content: none;
  }
  /* 전화번호가 줄 끝에서 분리되지 않도록 */
  .footer-info a[href^="tel:"] {
    white-space: nowrap;
    display: inline;
  }
  .footer-copy {
    text-align: left;
    line-height: 1.6;
  }
}
html.force-mobile .footer .container { padding-inline: 1.25rem; }
html.force-mobile .footer-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.25rem;
  padding-block: 2rem 1.5rem;
}
html.force-mobile .footer-info {
  width: 100%;
  max-width: none;
  text-align: left;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html.force-mobile .footer-info p { margin: 0; padding: 0; }
html.force-mobile .footer-info p + p { margin-top: 0.75rem; }
html.force-mobile .footer-info .fi-row { display: block; }
html.force-mobile .footer-info .fi-row + .fi-row { margin-top: 0.15em; }
html.force-mobile .footer-info .fi-row + .fi-row::before { content: none; }
html.force-mobile .footer-info a[href^="tel:"] {
  white-space: nowrap;
  display: inline;
}
html.force-mobile .footer-copy {
  text-align: left;
  line-height: 1.6;
}

/* ===== 14. 모바일 하단 고정 CTA 바 — 제거 (전화·견적 문의 숨김) ===== */
.cta-bar {
  display: none !important;
}

/* ===== 15. 스크롤 등장 모션 =====
   html.js 게이트 — JS 미실행/실패 시에도 콘텐츠 항상 표시 */
html.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; }
html.js .reveal[data-delay="2"] { transition-delay: .16s; }
html.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
