/* ================================================================
   VAMOS 바모스 — visual.css (문짝복원수리)
   Brand Tier: standard | Mood: Warm Craft — garod 디자인 언어 포팅
   컬러: 웜 테라코타 (Primary #7A4030 / Accent #E8956C / BG #FFF8F4)
   garod dark 계열 → JP light 계열 대응
   ================================================================ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Primary — 딥 테라코타 */
  --c-primary:   #7A4030;
  --c-primary-2: #964E3C;
  --c-primary-3: #B56048;

  /* Accent — 웜 피치 */
  --c-accent:    #E8956C;
  --c-accent-2:  #F2B89A;

  /* Background */
  --c-bg:        #FFFFFF;
  --c-bg-soft:   #FFF8F4;
  --c-bg-warm:   #F5EDE6;

  /* Border */
  --c-border:    #E8D5CC;
  --c-border-2:  #F0E4DC;

  /* Text */
  --c-text:      #2C1810;
  --c-text-sub:  #6B4E42;
  --c-text-light:#9C7A70;
  --c-white:     #FFFFFF;

  /* Typography — garod scale 방식 */
  --font-display: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --font-body:    'Pretendard Variable', 'Apple SD Gothic Neo', sans-serif;

  /* Font sizes — garod 방식 */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  /* Font weights */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* Spacing — garod 방식 */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 6px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(122, 64, 48, 0.08);
  --shadow-md: 0 4px 20px rgba(122, 64, 48, 0.12);
  --shadow-lg: 0 8px 40px rgba(122, 64, 48, 0.16);

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-base: 0.3s ease;
  --trans-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::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: var(--fs-base);
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Header — garod 방식 ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 248, 244, 0.95);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-top: 3px solid var(--c-primary);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--trans-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  font-size: var(--fs-base);
}
.site-logo span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--c-text-sub);
  letter-spacing: 0.02em;
}

/* Site nav — garod 언더라인 애니메이션 방식 */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-nav a {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-sub);
  transition: color var(--trans-fast);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav a:hover { color: var(--c-primary); }
.site-nav a:hover::after { transform: scaleX(1); }
/* nav-cta-btn 은 언더라인 없음 */
.site-nav a.nav-cta-btn::after { display: none; }

/* Nav CTA button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--c-primary);
  color: var(--c-white) !important;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.03em;
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.nav-cta-btn:hover { background: var(--c-primary-2) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--trans-base);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
  z-index: 999;
  padding: var(--space-4) 0;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity var(--trans-base), transform var(--trans-base);
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav li a {
  display: block;
  padding: 12px var(--container-pad);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-2);
  transition: color var(--trans-fast), background var(--trans-fast);
}
.mobile-nav li a:hover { color: var(--c-primary); background: var(--c-bg-warm); }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}

/* ── Hero — garod Split Layout ──────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(540px, 80vh, 860px);
  overflow: hidden;
  background: var(--c-bg-soft);
  margin-top: 68px;
}

/* 왼쪽: 텍스트 패널 */
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16) var(--space-12) var(--space-16) clamp(var(--space-8), 6vw, var(--space-20));
  background: var(--c-bg-soft);
  position: relative;
}
/* 왼쪽 3px primary accent 바 */
.hero__copy::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--c-primary);
}

/* 오른쪽: 이미지 패널 */
.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-warm);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero.loaded .hero__media img { transform: scale(1.0); }

/* eyebrow — garod badge 방식 */
.hero__eyebrow {
  margin-bottom: var(--space-5);
}
.hero__eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 12px;
  background: rgba(122, 64, 48, 0.06);
  border: 1px solid rgba(122, 64, 48, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.hero__eyebrow-badge .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* Hero title — large, tight */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--space-5);
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* em 언더라인 scaleX 애니메이션 */
.hero__title em {
  font-style: normal;
  color: var(--c-primary);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1s;
}
.hero.animated .hero__title em::after { transform: scaleX(1); }

/* Hero description */
.hero__desc {
  font-size: var(--fs-lg);
  color: var(--c-text-sub);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Hero actions */
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

/* Trust badges */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: rgba(122, 64, 48, 0.05);
  border: 1px solid rgba(122, 64, 48, 0.15);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-sub);
}

/* 스테이지드 애니메이션 — JS 활성시에만 opacity:0 적용 */
html.js-animate .hero__eyebrow,
html.js-animate .hero__title,
html.js-animate .hero__desc,
html.js-animate .hero__actions,
html.js-animate .hero__trust {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
html.js-animate .hero.animated .hero__eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
html.js-animate .hero.animated .hero__title   { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
html.js-animate .hero.animated .hero__desc    { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
html.js-animate .hero.animated .hero__actions { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
html.js-animate .hero.animated .hero__trust   { opacity: 1; transform: translateY(0); transition-delay: 0.70s; }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 340px auto;
  }
  .hero__media { grid-row: 1; }
  .hero__copy {
    grid-row: 2;
    padding: var(--space-10) var(--container-pad);
  }
  .hero__copy::before {
    width: 100%; height: 3px;
    top: 0; left: 0;
  }
}

/* ── Buttons — garod 방식 ────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.03em;
  transition: background var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
  box-shadow: 0 4px 16px rgba(122, 64, 48, 0.25);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--c-primary-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 64, 48, 0.30);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  background: var(--c-bg-warm);
  color: var(--c-primary);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  transition: border-color var(--trans-fast), background var(--trans-fast);
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--c-primary);
  background: var(--c-bg-warm);
}

/* inner-hero 내부 버튼 — 어두운 배경 위 가시성 확보 */
.inner-hero .btn-primary {
  background: var(--c-accent);
  color: var(--c-text);
  box-shadow: 0 4px 16px rgba(232, 149, 108, 0.35);
}
.inner-hero .btn-primary:hover {
  background: var(--c-accent-2);
  box-shadow: 0 8px 24px rgba(232, 149, 108, 0.45);
}
.inner-hero .btn-secondary {
  background: transparent;
  color: #FFF8F4;
  border-color: rgba(255, 248, 244, 0.35);
}
.inner-hero .btn-secondary:hover {
  background: rgba(255, 248, 244, 0.10);
  border-color: rgba(255, 248, 244, 0.60);
  color: #FFF8F4;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: border-color var(--trans-fast), color var(--trans-fast);
}
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary-2); }

.mt-8 { margin-top: var(--space-8); }

/* ── Section Base ───────────────────────────────────────────── */
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

/* ── Section Label — garod 방식 ─────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--space-3);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--c-primary);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.section-title--white { color: #FFF8F4; }

.section-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.section-desc--white { color: rgba(255, 255, 255, 0.70); }

.text-center { text-align: center; }

/* ── Trust Strip — garod horizontal 방식 ────────────────────── */
.trust-strip {
  background: var(--c-primary);
  padding: var(--space-6) 0;
  border-bottom: 2px solid var(--c-accent);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}
.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: var(--space-8);
}
.trust-item__icon {
  width: 48px; height: 48px;
  background: rgba(232, 149, 108, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.trust-item__label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  word-break: keep-all;
}
.trust-item__value {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #FFF8F4;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .trust-strip__inner { grid-template-columns: 1fr; gap: 0; }
  .trust-item + .trust-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
}

/* ── Bento Grid — 시공사례 ───────────────────────────────────── */
.bento-section { background: var(--c-bg); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.bento-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 32px rgba(122, 64, 48, 0.16);
}
.bento-card:hover img { transform: scale(1.06); }

/* 레이아웃 */
.bento-card:nth-child(1) { grid-column: 1/8;  grid-row: 1/3; min-height: 420px; }
.bento-card:nth-child(2) { grid-column: 8/13; grid-row: 1;   min-height: 200px; }
.bento-card:nth-child(3) { grid-column: 8/13; grid-row: 2;   min-height: 200px; }
.bento-card:nth-child(4) { grid-column: 1/5;  grid-row: 3;   min-height: 240px; }
.bento-card:nth-child(5) { grid-column: 5/9;  grid-row: 3;   min-height: 240px; }
.bento-card:nth-child(6) { grid-column: 9/13; grid-row: 3;   min-height: 240px; }

.bento-card__img {
  position: absolute;
  inset: 0;
}
.bento-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bento-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 24, 16, 0.85) 0%,
    rgba(44, 24, 16, 0.15) 60%,
    transparent 100%
  );
  opacity: 0.6;
  transition: opacity 250ms ease;
}
.bento-card:hover .bento-card__overlay { opacity: 1; }

.bento-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-6);
  z-index: 1;
}
.bento-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(122, 64, 48, 0.18);
  border: 1px solid rgba(232, 149, 108, 0.45);
  border-radius: 2px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.bento-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: #FFF8F4;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.bento-card:nth-child(1) .bento-card__title { font-size: var(--fs-xl); }

.bento-card__arrow {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  backdrop-filter: blur(6px);
  transition: background 150ms ease, transform 150ms ease;
  z-index: 2;
  font-size: 11px;
  font-weight: var(--fw-bold);
}
.bento-card:hover .bento-card__arrow {
  background: var(--c-primary);
  color: white;
  transform: translate(2px, -2px);
}

.bento-footer {
  text-align: center;
  margin-top: var(--space-8);
}

/* bento 모바일 */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .bento-card:nth-child(1) { grid-column: 1/3; grid-row: auto; min-height: 280px; }
  .bento-card:nth-child(2) { grid-column: auto; grid-row: auto; min-height: 180px; }
  .bento-card:nth-child(3) { grid-column: auto; grid-row: auto; min-height: 180px; }
  .bento-card:nth-child(4) { grid-column: auto; grid-row: auto; min-height: 180px; }
  .bento-card:nth-child(5) { grid-column: auto; grid-row: auto; min-height: 180px; }
  .bento-card:nth-child(6) { grid-column: 1/3; grid-row: auto; min-height: 180px; }
}
@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card:nth-child(n) { grid-column: 1; grid-row: auto; min-height: 220px; }
}

/* ── Service Cards — top border hover (garod 방식) ──────────── */
.services-section { background: var(--c-bg-soft); }

/* 서비스 카드 4열 그리드 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (min-width: 769px) and (max-width: 1150px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--c-border);
  border-top: 3px solid transparent;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(122, 64, 48, 0.14);
  border-top-color: var(--c-primary);
  border-color: var(--c-border);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(122, 64, 48, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.service-card:hover .service-card__icon { background: rgba(122, 64, 48, 0.12); }
.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  word-break: keep-all;
}
.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.7;
  flex: 1;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.service-card__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  margin-top: var(--space-5);
  transition: gap 150ms ease;
}
.service-card:hover .service-card__link { gap: var(--space-3); }

/* ── Process Section — garod 4단계 horizontal ───────────────── */
.process-section {
  background: var(--c-primary);
  overflow: hidden;
  padding: var(--space-20) 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  position: relative;
  margin-top: var(--space-12);
}
.process-step {
  padding: var(--space-10) var(--space-6);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: background 250ms ease;
}
.process-step:hover { background: rgba(255, 255, 255, 0.06); }
/* 화살표 연결 */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -1px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid rgba(232, 149, 108, 0.50);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  z-index: 1;
}
.process-step__num {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.process-step__icon {
  width: 52px; height: 52px;
  background: rgba(232, 149, 108, 0.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--space-5);
}
.process-step__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #FFF8F4;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.process-step__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
}

/* ── NSEO Card Grid ─────────────────────────────────────────── */
/* 카드 수 6개 기준: ≥769px → 3열, 481-768px → 2열, ≤480px → 1열 */
.nseo-section { background: var(--c-bg-soft); }
.nseo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 768px) { .nseo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nseo-grid { grid-template-columns: 1fr; } }

.nseo-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.nseo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.nseo-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-bg-warm);
}
.nseo-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nseo-card:hover .nseo-card-img img { transform: scale(1.05); }
.nseo-card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.nseo-card-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  background: var(--c-bg-warm);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}
.nseo-card-badge.is-main {
  background: var(--c-primary);
  color: var(--c-white);
}
.nseo-card-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: 1.4;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.nseo-card-desc {
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: var(--space-3);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.nseo-card-link {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nseo-card-more-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-top: var(--space-5);
  cursor: pointer;
  transition: background var(--trans-fast);
}
.nseo-card-more-btn:hover { background: var(--c-bg-warm); }
.nseo-card-current { border: 2px solid var(--c-primary); pointer-events: none; }

/* ── CTA Section — garod dot pattern ────────────────────────── */
.cta-section {
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
  text-align: center;
}
/* dot pattern */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
/* top accent line */
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
}
.cta-section .section-title { color: #FFF8F4; }
.cta-section .section-desc { color: rgba(255, 255, 255, 0.75); margin: 0 auto var(--space-8); max-width: 520px; }
.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-section .section-label { color: rgba(255,255,255,0.65); justify-content: center; }
.cta-section .section-label::before { background: rgba(255,255,255,0.4); }
.cta-inner { position: relative; z-index: 1; }
/* cta-section 내 btn-outline — 라이트 버전 */
.cta-section .btn-outline {
  color: #FFF8F4;
  border-color: rgba(255, 255, 255, 0.45);
}
.cta-section .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #FFF8F4;
}

/* ── FAQ Section — garod 라이트 방식 ────────────────────────── */
.faq-section { background: var(--c-bg-soft); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--space-5) 0;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  background: none;
  word-break: keep-all;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform var(--trans-base);
  font-weight: 300;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--trans-base);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.7;
  padding: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: var(--space-5); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { padding: 12px 0; font-size: var(--fs-xs); color: var(--c-text-sub); }
.breadcrumb a { color: var(--c-text-sub); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span { margin: 0 6px; }

/* ── Footer — garod 3열 방식 ─────────────────────────────────── */
.site-footer {
  background: var(--c-text);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 2px solid var(--c-primary);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
}

.footer-brand__name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: #FFF8F4;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.footer-brand__tag {
  font-size: var(--fs-sm);
  color: var(--c-accent);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}
.footer-brand__desc {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.8;
  word-break: keep-all;
}

.footer-col__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: #FFF8F4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-5);
}
.footer-col a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.50);
  transition: color 150ms ease;
  word-break: keep-all;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-col p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  word-break: keep-all;
}

.footer-bottom {
  text-align: center;
}
.footer-biz {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Floating / Sticky ──────────────────────────────────────── */
.floating-pill {
  position: fixed;
  bottom: 32px; right: 24px;
  z-index: 999;
}
.pill-consult {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 22px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  box-shadow: 0 4px 20px rgba(122, 64, 48, 0.4);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  animation: pulse-ring 3s infinite;
}
.pill-consult svg { width: 16px; height: 16px; flex-shrink: 0; }
.pill-consult:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(122, 64, 48, 0.5); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 4px 20px rgba(122,64,48,0.4), 0 0 0 0 rgba(122,64,48,0.3); }
  70%  { box-shadow: 0 4px 20px rgba(122,64,48,0.4), 0 0 0 12px rgba(122,64,48,0); }
  100% { box-shadow: 0 4px 20px rgba(122,64,48,0.4), 0 0 0 0 rgba(122,64,48,0); }
}
@media (max-width: 768px) { .floating-pill { display: none; } }

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: 10px var(--container-pad);
  gap: var(--space-2);
}
@media (max-width: 768px) { .sticky-cta { display: flex; } }
.cta-full {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}
.cta-tel { background: var(--c-primary); color: var(--c-white); }
.cta-tel svg { width: 16px; height: 16px; }
.cta-outline-dark {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.cta-outline-dark svg { width: 16px; height: 16px; }

/* ── Page Hero (sub pages) ──────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding-top: 68px;
  overflow: hidden;
  background: var(--c-bg-warm);
}
.page-hero-img { position: absolute; inset: 0; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.8) 0%, rgba(44,24,16,0.3) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--c-white);
  padding: var(--space-10) var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-4);
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.03em;
}
.page-hero-content p { font-size: var(--fs-sm); opacity: 0.85; margin-bottom: var(--space-5); }
.page-hero-btns { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ── Guide / Info Page ──────────────────────────────────────── */
.guide-body { max-width: 760px; margin: 0 auto; padding: var(--space-20) var(--container-pad); }
.guide-body h2 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--c-text); margin: var(--space-10) 0 var(--space-4); letter-spacing: -0.02em; }
.guide-body p { margin-bottom: var(--space-4); line-height: 1.8; }
.guide-body ul, .guide-body ol { margin-left: var(--space-5); margin-bottom: var(--space-4); }
.guide-body li { margin-bottom: 6px; line-height: 1.7; }
.guide-highlight {
  background: var(--c-bg-warm);
  border-left: 4px solid var(--c-primary);
  padding: var(--space-5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--space-5) 0;
}

/* ── Consult Page ───────────────────────────────────────────── */
.consult-photo-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
}
.consult-map-wrap {
  position: relative;
  margin-top: var(--space-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding-bottom: 300px;
  height: 0;
}
@media (max-width: 768px) { .consult-map-wrap { padding-bottom: 240px; } }
.consult-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 680px;
  margin: 0 auto;
}
@media (max-width: 480px) { .consult-cards { grid-template-columns: 1fr; } }
.consult-card {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: var(--space-10);
  text-align: center;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}
.consult-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.consult-card-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }
.consult-card-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--c-text); margin-bottom: 6px; }
.consult-card-desc { font-size: var(--fs-xs); color: var(--c-text-sub); line-height: 1.6; margin-bottom: var(--space-5); word-break: keep-all; }
.consult-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.consult-card-btn.tel { background: var(--c-primary); color: var(--c-white); }
.consult-card-btn.tel:hover { background: var(--c-primary-2); transform: translateY(-1px); }
.consult-card-btn.sms { background: var(--c-bg-warm); color: var(--c-primary); border: 2px solid var(--c-border); }
.consult-card-btn.sms:hover { background: var(--c-border); }
.consult-info { max-width: 560px; margin: var(--space-8) auto 0; text-align: center; font-size: var(--fs-sm); color: var(--c-text-sub); line-height: 1.8; }

/* ── Sitemap Page ───────────────────────────────────────────── */
.sitemap-section { padding: var(--space-10) 0; }
.sitemap-filter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.sitemap-filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text-sub);
  cursor: pointer;
  transition: all var(--trans-fast);
}
.sitemap-filter-btn.active,
.sitemap-filter-btn:hover {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}
.sitemap-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  transition: border-color var(--trans-fast), transform var(--trans-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sitemap-card:hover { border-color: var(--c-primary); transform: translateY(-3px); }
.sitemap-card-cat { font-size: 0.7rem; color: var(--c-text-sub); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.05em; }
.sitemap-card-title { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--c-text); line-height: 1.4; word-break: keep-all; }
.sitemap-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto var(--space-8);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-white);
}
.sitemap-search input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--c-text);
  background: transparent;
}
.sitemap-count { text-align: center; font-size: var(--fs-xs); color: var(--c-text-sub); margin-bottom: var(--space-4); }

/* ── Scroll Animations — garod 방식 ─────────────────────────── */
html.js-animate .anim-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-animate .anim-fade-up.visible { opacity: 1; transform: translateY(0); }

html.js-animate .anim-fade-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js-animate .anim-fade-left.visible { opacity: 1; transform: translateX(0); }

html.js-animate .anim-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js-animate .anim-scale.visible { opacity: 1; transform: scale(1); }

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-left, .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ================================================================
   SUB PAGE COMPONENTS — garod inner-hero 방식 포팅 (2026-05)
   ================================================================ */

/* ── Inner Hero (서브 페이지 hero) ──────────────────────────── */
.inner-hero {
  background: var(--c-primary);
  padding: calc(68px + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
/* 배경 사진 레이어 */
.inner-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.inner-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
/* dot pattern 오버레이 */
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23E8956C' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.inner-hero__content { position: relative; z-index: 2; }
.inner-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255,248,244,0.50);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.inner-hero__breadcrumb a {
  color: rgba(255,248,244,0.50);
  transition: color 150ms ease;
}
.inner-hero__breadcrumb a:hover { color: var(--c-accent); }
.inner-hero__breadcrumb .sep { color: rgba(255,248,244,0.25); }
.inner-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  background: rgba(232,149,108,0.12);
  border: 1px solid rgba(232,149,108,0.30);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.inner-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: var(--fw-extrabold);
  color: #FFF8F4;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.inner-hero__desc {
  font-size: var(--fs-lg);
  color: rgba(255,248,244,0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: var(--space-8);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
@media (max-width: 768px) {
  .inner-hero { padding: calc(68px + var(--space-6)) 0 var(--space-8); }
  .inner-hero__actions { flex-direction: column; }
  .inner-hero__actions .btn-primary,
  .inner-hero__actions .btn-secondary { width: 100%; justify-content: center; }
}

/* ── Photo Grid (Before/After) ──────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.photo-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card__label {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(44,24,16,0.75);
  color: #FFF8F4;
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 4/3; }
}

/* ── Feature List ────────────────────────────────────────────── */
.feature-list { display: grid; gap: var(--space-4); }
.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  transition: box-shadow 250ms ease, border-color 250ms ease;
  text-decoration: none;
  color: inherit;
}
.feature-item:hover {
  box-shadow: 0 4px 20px rgba(122,64,48,0.12);
  border-left-color: var(--c-primary);
}
.feature-item__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(122,64,48,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.feature-item:hover .feature-item__icon { background: rgba(122,64,48,0.12); }
.feature-item__body { flex: 1; }
.feature-item__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.feature-item__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── NSEO 카드 개선 ──────────────────────────────────────────── */
.nseo-card { border-radius: var(--radius-md); border: 1px solid var(--c-border); }
.nseo-card-more-btn {
  display: block;
  text-align: center;
  padding: 14px var(--space-8);
  background: transparent;
  color: var(--c-text);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-8);
  cursor: pointer;
  transition: border-color 250ms ease, background 250ms ease, color 250ms ease;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.nseo-card-more-btn:hover {
  border-color: var(--c-primary);
  background: var(--c-bg-warm);
  color: var(--c-primary);
}

/* ── Contact Cards (상담 페이지) ─────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin: var(--space-12) auto;
  max-width: 720px;
}
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  border: 1px solid var(--c-border);
  border-top: 3px solid transparent;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}
.contact-card--tel:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(122,64,48,0.14);
  border-top-color: var(--c-primary);
}
.contact-card--sms:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(122,64,48,0.10);
  border-top-color: var(--c-accent);
}
.contact-card__icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card--tel .contact-card__icon-wrap {
  background: rgba(122,64,48,0.08);
  color: var(--c-primary);
}
.contact-card--sms .contact-card__icon-wrap {
  background: rgba(232,149,108,0.08);
  color: var(--c-accent);
}
.contact-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.contact-card__number {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-3xl));
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  word-break: keep-all;
}
.contact-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  word-break: keep-all;
}
.contact-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  width: 100%;
  margin-top: var(--space-2);
  transition: background var(--trans-fast), transform var(--trans-fast);
}
.contact-card--tel .contact-card__btn {
  background: var(--c-primary);
  color: #FFF8F4;
}
.contact-card--tel .contact-card__btn:hover {
  background: var(--c-primary-2);
  transform: translateY(-1px);
}
.contact-card--sms .contact-card__btn {
  background: var(--c-bg-warm);
  color: var(--c-primary);
  border: 1px solid var(--c-border);
}
.contact-card--sms .contact-card__btn:hover {
  background: var(--c-border);
}

/* ── Business Info ───────────────────────────────────────────── */
.business-info {
  background: var(--c-bg-soft);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border: 1px solid var(--c-border);
  margin-top: var(--space-8);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.business-info__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.business-info__row {
  display: flex;
  gap: var(--space-4);
  font-size: var(--fs-sm);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--c-border-2);
}
.business-info__row:last-child { border-bottom: none; }
.business-info__row dt {
  min-width: 80px;
  font-weight: var(--fw-semibold);
  color: var(--c-text-sub);
  flex-shrink: 0;
}
.business-info__row dd { color: var(--c-text); word-break: keep-all; }

/* ── Trust Strip (서브 페이지용 라이트 variant) ──────────────── */
.trust-strip--light {
  background: var(--c-bg-soft);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.trust-strip--light .trust-item__icon {
  background: rgba(122,64,48,0.06);
  color: var(--c-primary);
}
.trust-strip--light .trust-item__label { color: var(--c-text-sub); }
.trust-strip--light .trust-item__value { color: var(--c-text); }
.trust-strip--light .trust-item + .trust-item {
  border-left: 1px solid var(--c-border);
  padding-left: var(--space-8);
}
@media (max-width: 768px) {
  .trust-strip--light .trust-item + .trust-item {
    border-left: none;
    border-top: 1px solid var(--c-border-2);
    padding-left: 0;
  }
}

/* ── Photo section layout ────────────────────────────────────── */
.photo-section { background: var(--c-bg); }
.photo-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 768px) {
  .photo-section__inner { grid-template-columns: 1fr; }
}
.photo-section__text h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
  word-break: keep-all;
}
.photo-section__text p {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  word-break: keep-all;
}

/* ── btn-secondary in CTA section ───────────────────────────── */
.cta-section .btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #FFF8F4;
  border-color: rgba(255,255,255,0.35);
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.60);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGE COMPONENTS — overview / comparison / checklist
   ═══════════════════════════════════════════════════════════════ */

/* ── Overview 2-column grid ──────────────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  margin-top: var(--space-8);
}
@media (max-width: 768px) {
  .overview-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
.overview-text p {
  font-size: var(--fs-base);
  color: var(--c-text-sub);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  word-break: keep-all;
}
.overview-text p:last-child { margin-bottom: 0; }

.overview-highlight {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: 4px;
  padding: var(--space-8);
}
.overview-highlight__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.overview-highlight__list {
  display: grid;
  gap: var(--space-3);
}
.overview-highlight__item {
  display: flex;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  word-break: keep-all;
}
.overview-highlight__item::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: var(--c-primary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ── Process section (service pages) ────────────────────────── */
.svc-process {
  background: var(--c-primary);
  padding: var(--space-16) 0;
}
.svc-process .section-label { color: rgba(255,255,255,0.55); }
.svc-process .section-title { color: #fff; }
.svc-process .section-desc  { color: rgba(255,255,255,0.70); }

.svc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  counter-reset: svc-step;
}
@media (max-width: 900px) {
  .svc-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .svc-process-grid { grid-template-columns: 1fr; }
}

.svc-process-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: var(--space-6);
  position: relative;
  counter-increment: svc-step;
}
.svc-process-step::before {
  content: counter(svc-step, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.22);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
  font-variant-numeric: tabular-nums;
}
.svc-process-step__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  word-break: keep-all;
}
.svc-process-step__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  word-break: keep-all;
}

/* ── Comparison table ────────────────────────────────────────── */
.comparison-wrap {
  margin-top: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.comparison-table th {
  background: var(--c-primary);
  color: #FFF8F4;
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.comparison-table th:first-child {
  background: var(--c-bg-warm);
  color: var(--c-text-sub);
}
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  border-bottom: 1px solid var(--c-border-2);
  line-height: 1.6;
  word-break: keep-all;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg-soft);
  white-space: nowrap;
}
.comparison-table td.highlight {
  color: var(--c-primary);
  font-weight: 600;
}

/* ── Checklist (move-restore) ────────────────────────────────── */
.checklist {
  background: var(--c-bg-warm);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: var(--space-8);
  margin-top: var(--space-8);
}
.checklist__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-5);
  word-break: keep-all;
}
.checklist__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--c-border-2);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.6;
  word-break: keep-all;
}
.checklist__item:last-of-type { border-bottom: none; }
.checklist__box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid var(--c-border);
  border-radius: 3px;
  margin-top: 1px;
}
.checklist__note {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: rgba(122,64,48,0.06);
  border-radius: 4px;
  font-size: var(--fs-sm);
  color: var(--c-primary);
  font-weight: 600;
  word-break: keep-all;
}

/* ── Feature list (service pages, 5 items) ───────────────────── */
.feature-list--5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (min-width: 769px) and (max-width: 1150px) {
  .feature-list--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .feature-list--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .feature-list--5 { grid-template-columns: 1fr; }
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-border-2);
  border-radius: 4px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 40px;
  height: 40px;
  background: var(--c-bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.feature-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  word-break: keep-all;
}
.feature-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.65;
  word-break: keep-all;
}

/* ── Second photo grid (inline) ──────────────────────────────── */
.photo-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
  max-width: 720px;
}
@media (max-width: 600px) {
  .photo-grid--2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   DOOR-RESTORE-PRICE PAGE — stat-cards / damage-types / gallery
   ═══════════════════════════════════════════════════════════════ */

/* ── Stat Cards (4 columns) ──────────────────────────────────── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
.stat-card {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-card__num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
  word-break: keep-all;
}
.stat-card__label {
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  word-break: keep-all;
}
.stat-card__sub {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  margin-top: var(--space-1);
  line-height: 1.5;
  word-break: keep-all;
}

/* ── Damage Types (2x2 grid) ─────────────────────────────────── */
.damage-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (max-width: 768px) {
  .damage-types { grid-template-columns: 1fr; }
}
.damage-type-card {
  background: var(--c-bg-soft);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border-left: 4px solid var(--c-primary);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}
.damage-type-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.damage-type-card__num {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: rgba(122, 64, 48, 0.10);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}
.damage-type-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.damage-type-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  background: rgba(122,64,48,0.08);
  border-radius: 2px;
  padding: 2px 8px;
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.damage-type-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.75;
  word-break: keep-all;
}
.damage-type-card__detail {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-border-2);
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  line-height: 1.6;
  word-break: keep-all;
}

/* ── Gallery 4-photo grid ────────────────────────────────────── */
.gallery-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}
@media (min-width: 769px) and (max-width: 1150px) {
  .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid--4 { grid-template-columns: 1fr; }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  background: var(--c-bg-warm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__label {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: rgba(44, 24, 16, 0.70);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ── Restore vs Replace comparison ──────────────────────────── */
.restore-vs-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  margin-top: var(--space-8);
}
.restore-vs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}
.restore-vs-table th {
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.restore-vs-table th:first-child {
  background: var(--c-bg-warm);
  color: var(--c-text-sub);
  text-align: left;
}
.restore-vs-table th.col-restore {
  background: var(--c-primary);
  color: #FFF8F4;
}
.restore-vs-table th.col-replace {
  background: var(--c-bg-soft);
  color: var(--c-text-sub);
}
.restore-vs-table td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  border-bottom: 1px solid var(--c-border-2);
  line-height: 1.6;
  word-break: keep-all;
  text-align: center;
}
.restore-vs-table tr:last-child td { border-bottom: none; }
.restore-vs-table td:first-child {
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg-soft);
  text-align: left;
  white-space: nowrap;
}
.restore-vs-table td.restore-val {
  color: var(--c-primary);
  font-weight: 600;
  background: rgba(122,64,48,0.03);
}

/* ── Material table ──────────────────────────────────────────── */
.material-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  margin-top: var(--space-8);
}
.material-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.material-table th {
  background: var(--c-primary);
  color: #FFF8F4;
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.material-table th:first-child {
  background: var(--c-bg-warm);
  color: var(--c-text-sub);
}
.material-table td {
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  border-bottom: 1px solid var(--c-border-2);
  line-height: 1.6;
  word-break: keep-all;
}
.material-table tr:last-child td { border-bottom: none; }
.material-table td:first-child {
  font-weight: 700;
  color: var(--c-text);
  background: var(--c-bg-soft);
  white-space: nowrap;
}
.material-table .diff-mid  { color: var(--c-accent);   font-weight: 600; }
.material-table .diff-high { color: var(--c-primary);  font-weight: 600; }
