/* ================================================================
   MB — 대리석 보수시공 | style.css
   Primary: #2A2016 | Secondary: #1E160E | Accent: #9B785A
   ================================================================ */

/* ── CSS 변수 — 대리석 스톤 팔레트 ──────────────────────── */
:root {
  /* 브랜드 코어 */
  --primary:        #2A2016;
  --secondary:      #1E160E;
  --accent:         #9B785A;
  --accent-light:   #C4A882;
  --accent-pale:    #E8DDD0;

  /* 스톤 배경 팔레트 */
  --bg-cream:       #F7F4F0;   /* 아이보리 대리석 */
  --bg-sand:        #EDE8E1;   /* 베이지 스톤 */
  --bg-stone:       #D8D0C6;   /* 중간 스톤 */
  --bg-marble:      #ECEAE6;   /* 흰 대리석 */
  --bg-dark:        #1E160E;

  /* 텍스트 */
  --text:           #1A1714;
  --text-muted:     #6B5F52;
  --text-light:     #9A8E82;
  --border:         rgba(155,120,90,.18);
  --border-stone:   rgba(42,32,22,.12);

  /* 대리석 결(vein) 장식 */
  --vein-light:     rgba(200,190,178,.45);
  --vein-mid:       rgba(155,120,90,.22);
  --vein-dark:      rgba(42,32,22,.08);

  /* 그림자 */
  --shadow-sm:      0 2px 12px rgba(42,32,22,.07), 0 1px 4px rgba(42,32,22,.05);
  --shadow-md:      0 8px 40px rgba(42,32,22,.10), 0 2px 8px rgba(42,32,22,.06);
  --shadow-lg:      0 20px 80px rgba(42,32,22,.14), 0 4px 16px rgba(42,32,22,.08);
  --shadow-stone:   inset 0 1px 0 rgba(255,255,255,.6), 0 4px 20px rgba(42,32,22,.10);

  --radius:         0px;
  --font-display:   'Manrope', sans-serif;
  --font-body:      'Noto Sans KR', sans-serif;
  --container:      1200px;
  --transition:     0.32s ease;
}

/* ── 대리석 텍스처 유틸리티 ──────────────────────────────── */
/* 미세 결 패턴 (SVG 인라인 — 스톤 그레인) */
.marble-bg {
  background-color: var(--bg-marble);
  background-image:
    linear-gradient(128deg, transparent 42%, var(--vein-light) 43%, var(--vein-light) 43.5%, transparent 44%),
    linear-gradient(52deg,  transparent 61%, var(--vein-mid)   62%, var(--vein-mid)   62.4%, transparent 63%),
    linear-gradient(108deg, transparent 27%, var(--vein-dark)  28%, var(--vein-dark)  28.3%, transparent 29%),
    linear-gradient(162deg, transparent 70%, var(--vein-light) 71%, var(--vein-light) 71.8%, transparent 72%);
}
.stone-bg {
  background-color: var(--bg-sand);
  background-image:
    linear-gradient(145deg, transparent 35%, var(--vein-dark)  36%, var(--vein-dark)  36.5%, transparent 37%),
    linear-gradient(65deg,  transparent 58%, var(--vein-mid)   59%, var(--vein-mid)   59.6%, transparent 60%),
    linear-gradient(115deg, transparent 22%, var(--vein-light) 23%, var(--vein-light) 23.8%, transparent 24%);
}

/* 대리석 구분선 */
.marble-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vein-mid) 20%, var(--accent-pale) 50%, var(--vein-mid) 80%, transparent);
  border: none; margin: 0;
}

/* 스톤 섹션 구분 — 사선 cut */
.section-stone-cut {
  position: relative;
  background: var(--bg-cream);
}
.section-stone-cut::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent) 30%, var(--accent-light) 60%, var(--bg-stone));
}

/* 스톤 카드 — 대리석 테두리 질감 */
.stone-card {
  background: #fff;
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-stone);
  position: relative;
}
.stone-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.8) 0%, transparent 40%),
    linear-gradient(315deg, rgba(42,32,22,.03) 0%, transparent 30%);
}

/* ── 리셋 & 기본 ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── 레이아웃 ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ── 헤더 ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: 64px;
  display: flex; align-items: center; padding: 0 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, transparent 100%);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255,252,248,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto; width: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  transition: color var(--transition);
}
.site-header.scrolled .site-logo { color: var(--primary); }
.logo-icon { width: 30px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.logo-name { font-size: 15px; font-weight: 700; letter-spacing: -.3px; line-height: 1.2; }
.logo-kw   { font-size: 10.5px; font-weight: 400; letter-spacing: -.15px; line-height: 1.2; opacity: .75; }

/* 네비 */
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.nav-link {
  font-size: clamp(13px, 1.4vw, 14px); font-weight: 500;
  color: rgba(255,255,255,.9); padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover { color: #fff; border-color: var(--accent-light); }
.site-header.scrolled .nav-link { color: var(--text); }
.site-header.scrolled .nav-link:hover { color: var(--primary); border-color: var(--accent); }
.nav-link.is-active { border-color: var(--accent-light); }
.site-header.scrolled .nav-link.is-active { border-color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px !important; border: none !important;
  font-weight: 700; transition: background var(--transition), opacity var(--transition);
}
.nav-cta:hover { background: var(--primary); }

/* 햄버거 */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.bar { width: 24px; height: 2px; background: #fff; transition: all .3s; border-radius: 2px; }
.site-header.scrolled .bar { background: var(--primary); }
.hamburger.is-open .bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.is-open .bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(255,252,248,.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  z-index: 890;
}
.mobile-menu.is-open { max-height: 520px; }
.mobile-menu-inner { padding: 20px 24px 32px; }
.m-nav-link {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.m-nav-link:last-child { border-bottom: none; }
.m-nav-link:hover, .m-nav-link.is-active { color: var(--accent); }
.m-nav-cta {
  display: inline-block; margin-top: 16px;
  background: var(--accent); color: #fff !important;
  padding: 12px 28px; font-weight: 700;
  border: none !important;
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.btn-hero {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: clamp(12px,2vw,16px) clamp(28px,4vw,44px);
  font-size: clamp(14px,1.6vw,16px); font-weight: 700;
  letter-spacing: .5px;
  transition: background var(--transition), transform .2s;
}
.btn-hero:hover { background: var(--primary); transform: translateY(-2px); }

.btn-primary {
  display: inline-block;
  background: var(--primary); color: #fff;
  padding: 12px 32px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .5px;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--accent); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--primary); color: var(--primary);
  padding: 10px 28px;
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── 공통 섹션 타이포 ─────────────────────────────────────── */
.svc-kicker {
  font-family: var(--font-display);
  font-size: clamp(10px,1.2vw,12px);
  font-weight: 700; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem,4vw,2.4rem);
  font-weight: 700; line-height: 1.3;
  color: var(--primary); margin-bottom: 24px;
}
.title-line { color: var(--accent); }
.section-sub { color: var(--text-muted); font-size: clamp(14px,1.6vw,16px); margin-bottom: 40px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: kenburns 7s ease-in-out infinite;
  transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
@keyframes kenburns {
  0%   { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  /* 대리석 스톤 오버레이 — 따뜻한 다크 그라데이션 + 미세 결 */
  background:
    linear-gradient(128deg, transparent 42%, rgba(155,120,90,.06) 43%, rgba(155,120,90,.06) 43.5%, transparent 44%),
    linear-gradient(52deg,  transparent 68%, rgba(196,168,130,.04) 69%, rgba(196,168,130,.04) 69.4%, transparent 70%),
    linear-gradient(to bottom, rgba(30,22,14,.68) 0%, rgba(30,22,14,.28) 55%, rgba(30,22,14,.62) 100%);
}
.hero-fixed { position: relative; z-index: 2; width: 100%; }
.hero-content { text-align: center; padding: clamp(80px,12vh,160px) 0 clamp(60px,8vh,100px); }
.hero-label {
  font-size: clamp(11px,1.3vw,13px); font-weight: 600;
  color: var(--accent-light); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero-h1 {
  font-size: clamp(2rem,6vw,4rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-sub {
  font-size: clamp(14px,2vw,18px); color: rgba(255,255,255,.88);
  margin-bottom: 16px; line-height: 1.7;
}
.hero-notice {
  font-size: clamp(12px,1.4vw,13px); color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.25); padding: 10px 20px;
  margin: 0 auto 28px; max-width: 480px;
  backdrop-filter: blur(4px);
  line-height: 1.6;
}
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: rgba(255,255,255,.4);
  border: none; padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.is-active { background: var(--accent-light); transform: scale(1.3); }
.hero-scroll {
  position: absolute; bottom: 32px; right: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: 1px;
}
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.4); }

/* ── 신뢰 스트립 — 스톤 바 ──────────────────────────────── */
.trust-strip {
  background:
    linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, #3A2C1C 100%);
  border-top: 1px solid rgba(155,120,90,.3);
  border-bottom: 1px solid rgba(155,120,90,.3);
  padding: clamp(14px,2vw,18px) 0;
}
.trust-strip-list {
  display: flex; flex-wrap: wrap; gap: clamp(12px,2vw,32px);
  justify-content: center; align-items: center;
}
.trust-strip-item {
  font-size: clamp(12px,1.3vw,14px); font-weight: 600;
  color: rgba(255,255,255,.88);
  display: flex; align-items: center; gap: 6px;
}
.trust-strip-check {
  display: inline-block; width: 16px; height: 16px;
  border: 1.5px solid var(--accent-light); border-radius: 50%;
  flex-shrink: 0;
}
.trust-strip-check::after {
  content: ''; display: block;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--accent-light);
  border-bottom: 1.5px solid var(--accent-light);
  transform: rotate(45deg) translate(2px,-1px);
}

/* ── 시공사례 그리드 — 마블 섹션 ────────────────────────── */
.gallery-preview, .gallery-page-section {
  padding: clamp(60px,8vw,100px) 0;
  background-color: var(--bg-cream);
  background-image:
    linear-gradient(128deg, transparent 42%, rgba(155,120,90,.05) 43%, rgba(155,120,90,.05) 43.5%, transparent 44%),
    linear-gradient(52deg,  transparent 61%, rgba(200,185,165,.04) 62%, rgba(200,185,165,.04) 62.4%, transparent 63%);
  position: relative;
}
.gallery-preview::before, .gallery-page-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent) 30%, var(--accent-light) 60%, transparent);
}
.gallery-preview-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: clamp(32px,4vw,48px);
  flex-wrap: wrap; gap: 20px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(280px,40vw,420px), 1fr));
  gap: clamp(20px,3vw,32px);
}
.case-card {
  background: #fff;
  box-shadow: var(--shadow-stone);
  overflow: hidden;
  border-top: 2px solid var(--accent);
  position: relative;
}
.case-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.case-img-wrap { position: relative; overflow: hidden; }
.case-label {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  background: rgba(42,32,22,.82);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--accent-light);
  padding: 3px 8px; text-transform: uppercase;
  border-left: 2px solid var(--accent);
}
.case-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-info { padding: clamp(12px,2vw,20px); }
.case-category {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 4px;
  display: block;
}
.case-title {
  font-size: clamp(14px,1.6vw,16px); font-weight: 700;
  color: var(--primary); margin-bottom: 4px;
}
.case-title a:hover { color: var(--accent); }
.case-location { font-size: 13px; color: var(--text-muted); }

/* ── 서비스 리스트 — 스톤 패널 ──────────────────────────── */
.services-section {
  padding: clamp(60px,8vw,100px) 0;
  background-color: #fff;
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-pale) 20%, var(--accent) 50%, var(--accent-pale) 80%, transparent);
}
.svc-header { margin-bottom: clamp(32px,4vw,48px); }
.svc-list { display: flex; flex-direction: column; gap: 1px; }
.svc-item { }
.svc-link {
  display: flex; align-items: center; gap: clamp(16px,3vw,32px);
  padding: clamp(20px,3vw,28px) clamp(16px,3vw,32px);
  background-color: var(--bg-cream);
  background-image:
    linear-gradient(128deg, transparent 55%, rgba(155,120,90,.04) 56%, rgba(155,120,90,.04) 56.5%, transparent 57%);
  border-bottom: 1px solid var(--border-stone);
  border-left: 3px solid transparent;
  transition: background var(--transition), transform .2s, border-color var(--transition);
}
.svc-link:hover {
  background-color: var(--bg-sand);
  border-left-color: var(--accent);
  transform: translateX(6px);
}
.svc-num {
  font-family: var(--font-display);
  font-size: clamp(20px,3vw,28px); font-weight: 800;
  color: var(--accent-pale); flex-shrink: 0; min-width: 40px;
}
.svc-body { flex: 1; }
.svc-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.svc-title { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.svc-desc { font-size: clamp(12px,1.4vw,14px); color: var(--text-muted); }
.svc-arrow { color: var(--accent); font-size: 20px; flex-shrink: 0; }

/* ── 신뢰 통계 — 다크 스톤 ──────────────────────────────── */
.trust-stats {
  background:
    linear-gradient(128deg, transparent 42%, rgba(155,120,90,.06) 43%, rgba(155,120,90,.06) 43.5%, transparent 44%),
    linear-gradient(52deg,  transparent 61%, rgba(155,120,90,.04) 62%, rgba(155,120,90,.04) 62.4%, transparent 63%),
    linear-gradient(135deg, var(--secondary) 0%, var(--primary) 60%, #3A2C1C 100%);
  padding: clamp(60px,8vw,100px) 0;
}
.stats-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(140px,20vw,200px), 1fr));
  gap: 1px; margin-bottom: 1px;
}
.stat-item {
  background: rgba(255,255,255,.04);
  border-left: 1px solid rgba(155,120,90,.2);
  padding: clamp(24px,4vw,40px) clamp(16px,3vw,32px);
  text-align: center;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute; top: 12px; bottom: 12px; right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(155,120,90,.3), transparent);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 800; color: #fff;
  display: block; margin-bottom: 8px;
}
.stat-num--word { font-size: clamp(1rem,2vw,1.4rem); line-height: 1.4; }
.stat-label { font-size: clamp(11px,1.3vw,13px); color: rgba(255,255,255,.6); }
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,320px), 1fr));
  gap: 2px;
}
.trust-feature {
  background: rgba(255,255,255,.04);
  padding: clamp(24px,4vw,40px) clamp(20px,3vw,36px);
}
.trust-feature h3 { font-size: clamp(14px,1.8vw,17px); font-weight: 700; color: var(--accent-light); margin-bottom: 12px; }
.trust-feature p { font-size: clamp(12px,1.4vw,14px); color: rgba(255,255,255,.65); line-height: 1.7; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { padding: clamp(60px,8vw,100px) 0; background: var(--bg-sand); }
.faq-section--sub { background: var(--bg-cream); }
.faq-layout {
  display: grid;
  grid-template-columns: clamp(200px,28vw,360px) 1fr;
  gap: clamp(32px,5vw,80px);
  align-items: start;
}
.faq-col-left { position: sticky; top: 80px; }
.faq-col-desc { font-size: clamp(13px,1.5vw,15px); color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { }
.faq-toggle {
  width: 100%; text-align: left;
  padding: clamp(16px,2.5vw,22px) 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: clamp(13px,1.5vw,15px); font-weight: 600;
  color: var(--primary); background: none; border: none;
  cursor: pointer;
}
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--accent); border-radius: 50%;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute;
  background: var(--accent);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.faq-icon::before { width: 8px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 8px; transition: transform .3s; }
.faq-toggle[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-a {
  padding: 0 0 20px 0;
  font-size: clamp(13px,1.5vw,14px); color: var(--text-muted); line-height: 1.75;
}

/* ── 지역 그리드 ──────────────────────────────────────────── */
.region-section { padding: clamp(60px,8vw,100px) 0; }
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(150px,20vw,220px), 1fr));
  gap: 2px;
}
.region-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(16px,2.5vw,22px) clamp(16px,2.5vw,24px);
  background: var(--bg-cream);
  transition: background var(--transition), color var(--transition);
}
.region-card:hover { background: var(--primary); color: #fff; }
.region-title { font-size: clamp(13px,1.5vw,15px); font-weight: 600; }
.region-arrow { color: var(--accent); font-size: 14px; }

/* ── 하단 CTA ─────────────────────────────────────────────── */
.bottom-cta {
  padding: clamp(60px,8vw,100px) 0;
  background: var(--primary);
  text-align: center;
}
.cta-inner-grid { }
.cta-kicker { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--accent-light); text-transform: uppercase; margin-bottom: 12px; }
.bottom-cta-title { font-size: clamp(1.8rem,5vw,3rem); font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.bottom-cta-sub { font-size: clamp(13px,1.6vw,16px); color: rgba(255,255,255,.7); margin-bottom: 32px; line-height: 1.7; }

/* ── 서비스 히어로 (서브페이지) ───────────────────────────── */
.svc-hero {
  position: relative; min-height: clamp(280px,40vw,480px);
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  padding-top: 64px;
}
.svc-hero-overlay { position: absolute; inset: 0; background: rgba(30,22,14,.65); }
.svc-hero-content { position: relative; z-index: 1; padding: clamp(48px,8vw,80px) 0; }
.kicker {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--accent-light); text-transform: uppercase; margin-bottom: 12px;
}
.svc-hero-h1 { font-size: clamp(1.8rem,5vw,3.2rem); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.svc-hero-sub { font-size: clamp(13px,1.8vw,17px); color: rgba(255,255,255,.82); margin-bottom: 28px; line-height: 1.7; }

/* ── 인트로 섹션 ──────────────────────────────────────────── */
.intro-section { padding: clamp(60px,8vw,100px) 0; }
.intro-text { margin-bottom: clamp(32px,4vw,52px); max-width: 680px; }
.intro-desc { font-size: clamp(14px,1.6vw,16px); color: var(--text-muted); line-height: 1.8; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,320px), 1fr));
  gap: clamp(16px,3vw,28px);
}

/* ── 피처 카드 ────────────────────────────────────────────── */
.feat-card {
  padding: clamp(24px,4vw,36px) clamp(20px,3vw,32px);
  background: var(--bg-cream); border-top: 3px solid var(--accent);
}
.feat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  color: var(--accent-pale); display: block; margin-bottom: 8px; line-height: 1;
}
.feat-card h3 { font-size: clamp(14px,1.8vw,17px); font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.feat-card p  { font-size: clamp(12px,1.4vw,14px); color: var(--text-muted); line-height: 1.7; }

/* ── 증상 진단카드 ────────────────────────────────────────── */
.symp-section { padding: clamp(60px,8vw,100px) 0; background: var(--bg-sand); }
.symp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(180px,25vw,280px), 1fr));
  gap: clamp(12px,2vw,20px);
  margin-top: 32px;
}
.symp-card {
  padding: clamp(20px,3vw,28px);
  background: #fff; border: 1px solid var(--border);
  position: relative;
}
.symp-card .num {
  font-family: var(--font-display);
  font-size: clamp(1.2rem,2.5vw,1.8rem); font-weight: 800;
  color: var(--accent-pale); display: block; margin-bottom: 8px; line-height: 1;
}
.symp-card h3 { font-size: clamp(13px,1.6vw,15px); font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.symp-card p  { font-size: clamp(12px,1.3vw,13px); color: var(--text-muted); line-height: 1.65; }

/* ── 프로세스 ─────────────────────────────────────────────── */
.proc-section { padding: clamp(60px,8vw,100px) 0; }
.proc-steps {
  counter-reset: proc-counter;
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 32px;
}
.proc-step {
  counter-increment: proc-counter;
  display: flex; gap: clamp(16px,3vw,32px);
  padding: clamp(20px,3vw,28px) 0;
  border-bottom: 1px solid var(--border);
}
.proc-step::before {
  content: counter(proc-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: clamp(1.4rem,3vw,2rem); font-weight: 800;
  color: var(--accent-pale); flex-shrink: 0; min-width: 40px;
  line-height: 1.2;
}
.proc-step-inner { }
.proc-step h3 { font-size: clamp(14px,1.8vw,17px); font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.proc-step p  { font-size: clamp(12px,1.4vw,14px); color: var(--text-muted); line-height: 1.7; }

/* ── 방식 비교 ────────────────────────────────────────────── */
.method-section { padding: clamp(60px,8vw,100px) 0; background: var(--bg-sand); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(240px,35vw,400px), 1fr));
  gap: clamp(16px,3vw,28px);
  margin-top: 32px;
}
.method-card {
  padding: clamp(24px,4vw,40px) clamp(20px,3vw,32px);
  background: #fff; border: 2px solid var(--border);
}
.method-card--accent { border-color: var(--accent); }
.method-name { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.pros, .cons { list-style: none; margin-bottom: 16px; }
.pros li, .cons li {
  padding: 6px 0 6px 20px; position: relative;
  font-size: clamp(12px,1.4vw,14px); color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.pros li:last-child, .cons li:last-child { border-bottom: none; }
.pros li::before { content: '+'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cons li::before { content: '-'; position: absolute; left: 0; color: var(--text-light); font-weight: 700; }
.method-recommend {
  font-size: clamp(11px,1.3vw,12px); font-weight: 600;
  color: var(--accent); background: var(--bg-cream); padding: 8px 14px; margin-top: 12px;
}

/* ── 시공 갤러리 ──────────────────────────────────────────── */
.svc-gallery-section { padding: clamp(60px,8vw,100px) 0; }
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,360px), 1fr));
  gap: clamp(12px,2vw,20px);
  margin-top: 32px;
}
.svc-gallery-item { position: relative; overflow: hidden; }
.svc-gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-gallery-label {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 3px 8px;
}

/* ── 연관 서비스 ──────────────────────────────────────────── */
.related-section { padding: clamp(60px,8vw,100px) 0; background: var(--bg-cream); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,320px), 1fr));
  gap: 2px; margin-top: 32px;
}
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(20px,3vw,28px);
  background: #fff;
  position: relative;
  transition: background var(--transition);
}
.related-card:hover { background: var(--primary); color: #fff; }
.related-card h3 { font-size: clamp(14px,1.8vw,16px); font-weight: 700; }
.related-card p  { font-size: clamp(12px,1.3vw,13px); color: var(--text-muted); }
.related-card:hover p { color: rgba(255,255,255,.7); }
.related-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 16px; }

/* ── 갤러리 페이지 ────────────────────────────────────────── */
.gallery-page-head { margin-bottom: clamp(32px,4vw,52px); }
.gallery-page-desc { font-size: clamp(13px,1.5vw,16px); color: var(--text-muted); }
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(280px,40vw,500px), 1fr));
  gap: clamp(20px,3vw,32px);
}
.gallery-case-card { background: var(--bg-cream); overflow: hidden; }
.gallery-case-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.gallery-case-img-wrap { position: relative; overflow: hidden; }
.gallery-case-label {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  background: var(--primary); color: #fff; padding: 3px 8px; text-transform: uppercase;
}
.gallery-case-label--after { background: var(--accent); }
.gallery-case-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-case-info { padding: clamp(14px,2vw,20px); }
.gallery-case-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); display: block; margin-bottom: 4px; }
.gallery-case-title { font-size: clamp(14px,1.6vw,16px); font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.gallery-case-title a:hover { color: var(--accent); }
.gallery-case-loc { font-size: 13px; color: var(--text-muted); }
.gallery-empty { text-align: center; color: var(--text-muted); padding: 80px 0; }

/* ── 포트폴리오 상세 ──────────────────────────────────────── */
.portfolio-detail { padding-bottom: clamp(60px,8vw,100px); }
.portfolio-detail-head { margin-bottom: clamp(24px,4vw,40px); padding-top: 20px; }
.portfolio-detail-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--accent); display: block; margin-bottom: 8px; }
.portfolio-detail-title { font-size: clamp(1.5rem,4vw,2.4rem); font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.portfolio-detail-loc { font-size: clamp(13px,1.5vw,15px); color: var(--text-muted); }
.portfolio-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px,2vw,20px); margin-bottom: clamp(32px,4vw,52px); }
.portfolio-img-wrap { position: relative; overflow: hidden; }
.portfolio-img-label {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 4px 10px;
}
.portfolio-img-label--after { background: var(--accent); }
.portfolio-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-info-grid {
  display: grid;
  grid-template-columns: 1fr clamp(180px,25vw,280px);
  gap: clamp(24px,4vw,48px);
  align-items: start;
}
.portfolio-summary-title { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.portfolio-detail-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.portfolio-detail-list li { padding-left: 16px; position: relative; font-size: clamp(13px,1.4vw,14px); color: var(--text-muted); }
.portfolio-detail-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.portfolio-meta { background: var(--bg-cream); padding: clamp(20px,3vw,28px); }
.portfolio-meta-list { display: flex; flex-direction: column; gap: 12px; }
.portfolio-meta-item { display: flex; flex-direction: column; gap: 2px; }
.portfolio-meta-item dt { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.portfolio-meta-item dd { font-size: clamp(13px,1.5vw,14px); color: var(--text); }

/* ── 상담 페이지 ──────────────────────────────────────────── */
.consult-section { padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,100px); }
.consult-container { max-width: 760px; }
.consult-head { margin-bottom: clamp(32px,4vw,52px); text-align: center; }
.consult-notice {
  font-size: clamp(13px,1.5vw,15px); color: var(--text-muted);
  background: var(--bg-sand); padding: 14px 20px;
  border-left: 3px solid var(--accent); line-height: 1.7; text-align: left;
}
.consult-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,3vw,28px); margin-bottom: clamp(40px,6vw,60px); }
.consult-card { padding: clamp(24px,4vw,40px) clamp(20px,3vw,32px); background: var(--bg-cream); text-align: center; }
.consult-card--accent { background: var(--primary); }
.consult-card-icon { margin: 0 auto 16px; color: var(--accent); }
.consult-card--accent .consult-card-icon { color: var(--accent-light); }
.consult-card-title { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.consult-card--accent .consult-card-title { color: #fff; }
.consult-card-desc { font-size: clamp(12px,1.4vw,14px); color: var(--text-muted); margin-bottom: 20px; line-height: 1.65; }
.consult-card--accent .consult-card-desc { color: rgba(255,255,255,.7); }
.consult-card-btn {
  display: block; padding: 14px 20px; font-weight: 700;
  font-size: clamp(14px,1.6vw,17px); letter-spacing: .5px;
  transition: background var(--transition), color var(--transition);
}
.consult-card-btn--tel { background: var(--primary); color: #fff; }
.consult-card-btn--tel:hover { background: var(--accent); }
.consult-card-btn--sms { background: var(--accent); color: #fff; }
.consult-card-btn--sms:hover { background: var(--accent-light); }
.consult-guide, .consult-biz { margin-bottom: clamp(32px,4vw,48px); }
.consult-guide-title, .consult-biz-title { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.consult-guide-list { display: flex; flex-direction: column; gap: 10px; }
.consult-guide-list li {
  padding: 12px 16px 12px 44px; position: relative;
  background: var(--bg-cream); font-size: clamp(12px,1.4vw,14px); color: var(--text-muted);
  counter-increment: guide-list;
}
.consult-guide-list li::before {
  content: counter(guide-list);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.consult-guide-list { counter-reset: guide-list; }
.consult-biz-info { display: flex; flex-direction: column; gap: 10px; }
.consult-biz-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.consult-biz-item dt { min-width: 120px; font-size: 13px; font-weight: 700; color: var(--accent); }
.consult-biz-item dd { font-size: clamp(13px,1.4vw,14px); color: var(--text-muted); }

/* ── 사이트맵 ─────────────────────────────────────────────── */
.sitemap-section { padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,100px); }
.sitemap-container { max-width: 900px; }
.sitemap-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sitemap-filter-btn {
  padding: 6px 16px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text-muted);
  background: #fff; cursor: pointer;
  transition: all .2s;
}
.sitemap-filter-btn:hover, .sitemap-filter-btn.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.sitemap-search { margin-bottom: 32px; }
.sitemap-search input {
  width: 100%; padding: 10px 16px;
  border: 1.5px solid var(--border); outline: none;
  font-size: 14px; font-family: var(--font-body);
  transition: border-color .2s;
}
.sitemap-search input:focus { border-color: var(--accent); }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,300px), 1fr)); gap: clamp(20px,3vw,32px); }
.sitemap-group-title { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.sitemap-list { display: flex; flex-direction: column; gap: 4px; }
.sitemap-item a { font-size: 14px; color: var(--text); padding: 4px 0; display: block; transition: color .2s; }
.sitemap-item a:hover { color: var(--accent); }

/* ── 가이드 ───────────────────────────────────────────────── */
.guide-index-section { padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,100px); }
.guide-index-head { margin-bottom: clamp(32px,4vw,52px); }
.guide-index-desc { font-size: clamp(13px,1.5vw,16px); color: var(--text-muted); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px,28vw,320px), 1fr));
  gap: clamp(12px,2vw,20px);
}
.guide-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(20px,3vw,28px);
  background: var(--bg-cream); border-left: 3px solid var(--accent);
  transition: background var(--transition), border-color var(--transition);
  position: relative;
}
.guide-card:hover { background: var(--bg-sand); border-color: var(--primary); }
.guide-num { font-family: var(--font-display); font-size: clamp(1.2rem,2.5vw,1.8rem); font-weight: 800; color: var(--accent-pale); line-height: 1; }
.guide-card-title { font-size: clamp(14px,1.8vw,16px); font-weight: 700; color: var(--primary); }
.guide-card-desc { font-size: clamp(11px,1.3vw,13px); color: var(--text-muted); line-height: 1.6; }
.guide-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 14px; }
.guide-article { padding: clamp(20px,4vw,40px) 0 clamp(60px,8vw,100px); }
.guide-article-container { max-width: 800px; }
.guide-article-head { margin-bottom: clamp(32px,4vw,52px); }
.guide-article-intro { font-size: clamp(14px,1.6vw,17px); color: var(--text-muted); line-height: 1.75; }
.guide-sections { display: flex; flex-direction: column; gap: clamp(24px,4vw,40px); margin-bottom: clamp(40px,6vw,60px); }
.guide-section { padding: clamp(20px,3vw,32px); background: var(--bg-cream); border-left: 3px solid var(--accent); }
.guide-section-title { font-size: clamp(15px,2vw,18px); font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.guide-section p { font-size: clamp(13px,1.5vw,15px); color: var(--text-muted); line-height: 1.8; }
.guide-nav { margin-top: 32px; }

/* ── 푸터 ─────────────────────────────────────────────────── */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.7); padding: clamp(48px,6vw,80px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px,4vw,48px);
  margin-bottom: clamp(40px,5vw,60px);
}
.footer-brand-name { font-size: clamp(16px,2vw,20px); font-weight: 800; color: #fff; margin-bottom: 4px; }
.footer-brand-kw { font-size: clamp(12px,1.4vw,14px); color: var(--accent-light); margin-bottom: 16px; }
.footer-biz-info { display: flex; flex-direction: column; gap: 4px; }
.footer-biz-info li { font-size: clamp(11px,1.3vw,12px); color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-light); text-transform: uppercase; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: clamp(12px,1.4vw,14px); color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); text-align: center; }

/* ── Floating CTA ─────────────────────────────────────────── */
.floating-cta { position: fixed; bottom: clamp(20px,3vw,32px); right: clamp(16px,2.5vw,24px); z-index: 800; }
.floating-cta-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: visible;
  transition: background var(--transition), transform .2s;
}
.floating-cta-btn:hover { background: var(--primary); transform: scale(1.04); }
.floating-cta-pulse {
  position: absolute; top: -4px; right: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #E03E2D;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .6; }
}
.floating-cta-text { font-size: 13px; }

/* ── 맨 위로 ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: clamp(20px,3vw,32px); left: clamp(16px,2.5vw,24px); z-index: 800;
  width: 44px; height: 44px;
  background: rgba(42,32,22,.85); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), opacity .3s;
}
.back-to-top:hover { background: var(--accent); }

/* ── 스크롤 리빌 ──────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: translateY(0); }
[data-delay="1"].rv.in { transition-delay: .1s; }
[data-delay="2"].rv.in { transition-delay: .2s; }
[data-delay="3"].rv.in { transition-delay: .3s; }
[data-delay="4"].rv.in { transition-delay: .4s; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-col-left { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero-scroll { display: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .portfolio-imgs { grid-template-columns: 1fr; }
  .consult-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-list { grid-template-columns: 1fr 1fr; }
  .symp-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(1.6rem,7vw,2.4rem); }
}
