/*
 * 수리터 - 마루 오염 철거
 * Primary: #3d2e1e (차콜 브라운 - 목재/마루 업종)
 * Accent: #6b4c35
 */

/* ===== CSS 변수 ===== */
:root {
  --primary: #3d2e1e;
  --primary-hover: #2a1f14;
  --primary-light: #f5f0eb;
  --accent: #6b4c35;
  --bg-1: #ffffff;
  --bg-2: #f8f6f3;
  --text: #1a1a1a;
  --text-sub: #4a4540;
  --text-muted: #6b7280;
  --border: #e5e0d8;
  --card-radius: 0.75rem;
  --btn-radius: 0.375rem;
}

/* ===== 리셋 & 기본 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-1);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== 버튼 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

/* ===== 섹션 공통 ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-2); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  font-weight: 300;
}

.section-head { text-align: center; margin-bottom: 3.5rem; }

/* ===== 애니메이션 ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }

/* ===== 헤더 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 32px; width: auto; }
.header-cta .btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ===== SERVICE 섹션 ===== */
.service-section {
  padding: 8rem 0 5rem;
  background: var(--bg-1);
}
.service-intro { margin-bottom: 3rem; text-align: center; }
.service-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.service-desc {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.service-card {
  display: block;
  border: 1.5px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  background: var(--bg-1);
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(61,46,30,0.12);
}
.service-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 1rem; }
.service-card-title {
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}
.service-card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 300;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 0.5rem;
}
.service-card-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s;
}
.service-card:hover .service-card-more { color: var(--primary); }

/* ===== HERO 섹션 ===== */
.hero-section {
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  min-height: 520px;
}
.hero-slider-wrap {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
  background: #1a1412;
}
.hero-section > .container {
  position: relative;
  z-index: 10;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}
.hero-indicators {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  padding: 0;
}
.hero-dot.active { background: #fff; }

.hero-text-area {
  padding: 3.5rem 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero-brand-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.hero-keyword {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.875rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-sub-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-tags {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}
.hero-tags span {
  margin: 0 0.25rem;
  color: rgba(255,255,255,0.35);
}

/* ===== 갤러리 섹션 ===== */
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: var(--bg-1);
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.card-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card-compare .side {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-compare .side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .card-compare .side img { transform: scale(1.03); }
.compare-badge {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  color: #fff;
}
.compare-badge.before { background: rgba(0,0,0,0.55); }
.compare-badge.after  { background: var(--primary); }
.gallery-card .card-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.card-meta { display: flex; align-items: center; gap: 0.5rem; }
.case-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 0.2rem;
}
.card-location { font-size: 0.75rem; color: var(--text-muted); }
.card-title { font-weight: 800; font-size: 1rem; line-height: 1.4; }
.card-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.gallery-card:hover .card-more { color: var(--primary); }

/* ===== WHY US 섹션 ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(61,46,30,0.08);
}
.why-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 24px; height: 24px; color: var(--primary); stroke: var(--primary); }
.why-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.why-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== PROCESS 섹션 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(25% / 2);
  right: calc(25% / 2);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 auto 1.25rem;
}
.step-title {
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
}
.step-desc {
  font-size: 0.8125rem;
  color: var(--text-sub);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== FAQ 섹션 ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  font-family: inherit;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.3s;
}
.faq-q-icon svg { width: 14px; height: 14px; stroke: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-q-icon { background: var(--primary); }
.faq-item.open .faq-q-icon svg { stroke: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== CTA 섹션 ===== */
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}
.cta-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.cta-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.trust-badges {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 400;
}
.trust-badge svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.7); flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1412;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-brand { font-weight: 800; font-size: 1rem; color: #fff; margin-bottom: 0.5rem; }
.footer-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.footer-contact-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.25s;
}
.footer-contact-link:hover { color: #fff; }
.footer-nav h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ===== FLOATING 버튼 ===== */
.floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(61,46,30,0.35);
  text-decoration: none;
  transition: all 0.25s ease;
}
.floating-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.floating-btn svg { width: 18px; height: 18px; stroke: #fff; flex-shrink: 0; }

.pulse-ring {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 3s infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  50%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

/* ===== NSEO / 서브 히어로 ===== */
.sub-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #1a1412;
  margin-top: 64px;
}
.sub-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.55));
}
.sub-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}
.sub-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: rgba(255,255,255,0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.sub-hero-h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.sub-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.sub-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ===== 상세 페이지 히어로 ===== */
.detail-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #1a1412;
  margin-top: 64px;
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}
.detail-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 3rem;
  color: #fff;
}
.detail-back {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.25s;
}
.detail-back:hover { color: #fff; }
.detail-hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.875rem;
  display: inline-block;
}
.detail-hero-title {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.625rem;
}
.detail-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.75); font-weight: 300; }

/* ===== 시공 정보 바 ===== */
.info-bar {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 0;
}
.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.info-bar-item {}
.info-bar-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-bottom: 0.375rem;
  letter-spacing: 0.05em;
}
.info-bar-value { font-weight: 700; font-size: 0.9375rem; }

/* ===== 이미지 갤러리 그리드 ===== */
.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.img-grid-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.img-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.img-grid-item:hover img { transform: scale(1.04); }

/* ===== PROCESS 단계 ===== */
.process-steps-list { display: flex; flex-direction: column; gap: 2rem; }
.process-step-item { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.process-step-badge {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.process-step-content {}
.process-step-title { font-weight: 800; font-size: 1rem; margin-bottom: 0.5rem; }
.process-step-desc { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; font-weight: 300; }
.process-step-img { margin-top: 0.875rem; }
.process-step-img img { width: 100%; border-radius: 0.5rem; max-height: 200px; object-fit: cover; }

/* ===== 시공 요약 박스 ===== */
.summary-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.75rem 2rem;
}
.summary-box h3 { font-weight: 800; margin-bottom: 1rem; }
.summary-box ul { display: flex; flex-direction: column; gap: 0.625rem; }
.summary-box li {
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.summary-box li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ===== 비교표 ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1rem;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
}
.compare-table th:first-child { background: var(--primary-hover); }
.compare-table td {
  padding: 0.875rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-2); }
.compare-table td:first-child { font-weight: 600; color: var(--text); text-align: left; }
.compare-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ===== 관련 서비스 카드 ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-card {
  border: 1.5px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  background: var(--bg-1);
}
.related-card:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(61,46,30,0.1); }
.related-card.current-page {
  border-color: var(--primary);
  background: var(--primary-light);
  cursor: default;
}
.related-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  display: inline-block;
  margin-bottom: 0.625rem;
}
.related-card.current-page .related-label { background: rgba(61,46,30,0.15); }
.related-current-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.375rem;
}
.related-title { font-weight: 800; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.related-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ===== CASE 갤러리 (NSEO) ===== */
.case-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.case-img-item {
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}
.case-img-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.case-img-item:hover img { transform: scale(1.04); }
.case-img-caption {
  padding: 0.625rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.5rem;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.25s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== CONTACT 페이지 ===== */
.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.contact-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
}
.contact-step-num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 1.25rem;
}
.contact-step-title { font-weight: 800; font-size: 1rem; margin-bottom: 0.625rem; }
.contact-step-desc { font-size: 0.875rem; color: var(--text-sub); font-weight: 300; line-height: 1.8; margin-bottom: 1.25rem; }
.contact-cta-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.notice-box {
  background: var(--primary-light);
  border: 1px solid rgba(61,46,30,0.2);
  border-radius: var(--card-radius);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
}
.notice-box h3 { font-weight: 800; margin-bottom: 1rem; font-size: 1rem; }
.notice-box ul { display: flex; flex-direction: column; gap: 0.625rem; }
.notice-box li {
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-weight: 300;
}
.notice-box li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ===== SITEMAP 페이지 ===== */
.sitemap-section { padding: 6rem 0; }
.sitemap-group { margin-bottom: 3rem; }
.sitemap-group-title { font-weight: 800; font-size: 1.125rem; margin-bottom: 1.25rem; color: var(--primary); }
.sitemap-links { display: flex; flex-direction: column; gap: 0.625rem; }
.sitemap-links a { font-size: 0.9375rem; color: var(--text-sub); transition: color 0.25s; }
.sitemap-links a:hover { color: var(--primary); }

/* ===== 미디어 쿼리 ===== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-grid::before { display: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .service-section { padding: 6rem 0 4rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { min-height: 380px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-steps { grid-template-columns: 1fr; }
  .info-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .detail-hero-content { padding: 0 1.5rem; }
  .img-grid { grid-template-columns: 1fr; }
  .case-img-grid { grid-template-columns: 1fr; }
  .floating-btn { bottom: 1.5rem; right: 1.25rem; padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .card-compare .side { aspect-ratio: 1/1; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .trust-badges { flex-direction: column; align-items: center; gap: 1rem; }
}
