/* ═══ 디자인 토큰 ═══
   Primary: #3d2e1e (차콜 브라운 — 목재·가구·인테리어)
   Accent: #c4a97a / BG: #fff / #f7f5f3
   Font: Noto Sans KR / Card-radius: 0.75rem / Btn-radius: 0.375rem
   ═══════════════════════ */

:root {
  --primary: #3d2e1e;
  --primary-dark: #2a1f12;
  --primary-light: #5c4a36;
  --accent: #c4a97a;
  --accent-hover: #a88e60;
  --bg-white: #ffffff;
  --bg-gray: #f7f5f3;
  --bg-dark: #1a1512;
  --text-main: #1a1512;
  --text-sub: #3d3530;
  --text-muted: #8a7a6a;
  --border: #e0d8d0;
  --card-radius: 0.75rem;
  --btn-radius: 0.375rem;
  --section-pad: 5rem 1.5rem;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-white);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.7;
}

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

/* ── 공통 레이아웃 ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: var(--section-pad); }

/* ── 섹션 레이블 ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* ── 버튼 ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--btn-radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.73rem 1.73rem;
  border-radius: var(--btn-radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.73rem 1.73rem;
  border-radius: var(--btn-radius);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── 공통 제목 스타일 ── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* ── 스크롤 애니메이션 ── */
.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); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════
   HEADER
══════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.header-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.header-logo-text span {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0;
}

.body-offset { padding-top: 64px; }

/* ══════════════════════════════════
   SERVICE 섹션 (첫 번째)
══════════════════════════════════ */
.service-section {
  background: var(--bg-white);
  padding: 5rem 1.5rem 4rem;
}
.service-intro { max-width: var(--max-w); margin: 0 auto 3rem; }
.service-intro .section-title { margin-bottom: 1rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: #fff;
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,46,30,0.12);
}
.service-card .card-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .card-thumb img { transform: scale(1.04); }
.service-card .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.service-card .card-name {
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-main);
}
.service-card .card-desc {
  font-weight: 300;
  font-size: 0.78rem;
  color: var(--text-muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.service-card .card-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.service-card:hover .card-more { color: var(--primary); }

/* ══════════════════════════════════
   HERO 섹션
══════════════════════════════════ */
.hero-section {
  background: var(--bg-gray);
  padding: 5rem 1.5rem;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-brand-tag {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.hero-keyword {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.8;
}
.hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.hero-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

/* 이미지 슬라이더 */
.hero-slider-wrap {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s;
}
.slider-dot.active { background: #fff; }

/* ══════════════════════════════════
   CASE GALLERY 섹션
══════════════════════════════════ */
.gallery-section {
  background: var(--bg-white);
  padding: var(--section-pad);
}
.gallery-section .section-header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: #fff;
  color: inherit;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,46,30,0.12);
}
.gallery-card .card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .card-thumb img { transform: scale(1.03); }
.case-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  z-index: 2;
}
.gallery-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-title { font-weight: 800; font-size: 1rem; line-height: 1.4; color: var(--text-main); }
.card-sub { font-weight: 300; font-size: 0.875rem; color: var(--text-muted); }
.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); }

/* ══════════════════════════════════
   PROJECT VIDEO 섹션
══════════════════════════════════ */
.video-section {
  background: var(--bg-gray);
  padding: var(--section-pad);
}
.video-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.video-embed {
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-text { display: flex; flex-direction: column; gap: 1.25rem; }

/* ══════════════════════════════════
   WHY US 섹션
══════════════════════════════════ */
.why-section {
  background: var(--bg-white);
  padding: var(--section-pad);
}
.why-inner { max-width: var(--max-w); margin: 0 auto; }
.why-header { margin-bottom: 3rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(61,46,30,0.09);
  transform: translateY(-2px);
}
.why-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-gray);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-card-icon svg { width: 24px; height: 24px; color: var(--primary); }
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.why-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ══════════════════════════════════
   PROCESS 섹션
══════════════════════════════════ */
.process-section {
  background: var(--bg-gray);
  padding: var(--section-pad);
}
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-header { margin-bottom: 3rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.process-step p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ══════════════════════════════════
   FAQ 섹션
══════════════════════════════════ */
.faq-section {
  background: var(--bg-white);
  padding: var(--section-pad);
}
.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}
.faq-header { margin-bottom: 2.5rem; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  gap: 1rem;
}
.faq-q:hover { background: var(--bg-gray); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--primary);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  background: var(--bg-gray);
}
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════════════
   CTA 섹션
══════════════════════════════════ */
.cta-section {
  background: var(--primary);
  padding: var(--section-pad);
  color: #fff;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.cta-sub { font-size: 0.9rem; font-weight: 300; opacity: 0.8; line-height: 1.7; }
.cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; }
.cta-badges { display: flex; flex-direction: column; gap: 0.6rem; }
.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.cta-badge svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.9; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 2.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand {}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  opacity: 0.75;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav ul li a {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════
   FLOATING 버튼
══════════════════════════════════ */
.floating-btn-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}
.floating-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61,46,30,0.35);
  text-decoration: none;
  white-space: nowrap;
}
.floating-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  animation: pulse-ring 3s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  80% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ══════════════════════════════════
   CONTACT 페이지
══════════════════════════════════ */
.contact-hero {
  position: relative;
  height: 320px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.contact-hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-hero-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contact-hero-text p { font-size: 1rem; opacity: 0.85; }

.contact-steps {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.step-list { display: flex; flex-direction: column; gap: 2rem; margin: 2.5rem 0; }
.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.7;
}

.contact-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.contact-notice {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.contact-notice h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.contact-notice ul { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-notice ul li {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-sub);
  padding-left: 1rem;
  position: relative;
}
.contact-notice ul li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ══════════════════════════════════
   SUB HERO (NSEO / 상세 페이지)
══════════════════════════════════ */
.sub-hero {
  position: relative;
  height: 400px;
  background: var(--primary);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.sub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.sub-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.sub-hero .section-label {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.sub-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.sub-hero p { font-size: 0.95rem; opacity: 0.85; max-width: 520px; line-height: 1.7; margin-bottom: 1.5rem; }

/* ══════════════════════════════════
   NSEO 페이지 섹션들
══════════════════════════════════ */
.content-section { padding: var(--section-pad); }
.content-section .inner { max-width: var(--max-w); margin: 0 auto; }

.case-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}
.case-img-wrap { position: relative; border-radius: var(--card-radius); overflow: hidden; }
.case-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-caption {
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  background: var(--bg-gray);
}

.content-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.9;
}
.content-text p + p { margin-top: 1rem; }

.step-num-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.step-num-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-badge {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-num-item .step-content h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.step-num-item .step-content p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 비교표 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  text-align: left;
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.compare-table tr:nth-child(even) td { background: var(--bg-gray); }
.compare-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* 관련 서비스 그리드 */
.related-services { padding: var(--section-pad); background: var(--bg-gray); }
.related-services .inner { max-width: var(--max-w); margin: 0 auto; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.related-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.related-card.current {
  border-color: var(--primary);
  background: var(--bg-gray);
  pointer-events: none;
}
.related-card .card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.related-card h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.4rem; }
.related-card p { font-size: 0.82rem; font-weight: 300; color: var(--text-muted); line-height: 1.6; }
.current-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--primary);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

/* 유도 배너 */
.goto-main-banner {
  background: var(--bg-dark);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.goto-main-banner p { font-size: 1rem; opacity: 0.8; margin-bottom: 1.5rem; }

/* ══════════════════════════════════
   PORTFOLIO 상세 페이지
══════════════════════════════════ */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.info-bar {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
}
.info-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.info-item { display: flex; flex-direction: column; gap: 0.3rem; }
.info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
.info-value { font-size: 0.95rem; font-weight: 700; color: var(--text-main); }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.process-steps-detail { display: flex; flex-direction: column; gap: 2.5rem; }
.process-detail-step {}
.process-detail-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.process-step-badge {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.process-detail-step h3 { font-size: 1.05rem; font-weight: 800; }
.process-detail-step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.process-detail-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.process-detail-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.5rem;
}

.summary-box {
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.summary-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: 1rem; color: var(--primary); }
.summary-box ul { display: flex; flex-direction: column; gap: 0.5rem; }
.summary-box ul li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-sub);
  padding-left: 1.1rem;
  position: relative;
}
.summary-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ══════════════════════════════════
   SITEMAP 페이지
══════════════════════════════════ */
.sitemap-section { padding: 5rem 1.5rem; }
.sitemap-section .inner { max-width: var(--max-w); margin: 0 auto; }
.sitemap-group { margin-bottom: 3rem; }
.sitemap-group h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.sitemap-links { display: flex; flex-direction: column; gap: 0.5rem; }
.sitemap-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.sitemap-links a:hover { color: var(--primary); padding-left: 0.5rem; }

/* ══════════════════════════════════
   반응형
══════════════════════════════════ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-right { align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .info-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr; }
  .process-detail-images { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .case-images { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-cta-group { flex-direction: column; }
  .floating-btn-wrap { bottom: 1.25rem; right: 1.25rem; }
}
