/* ==========================================================
   임무완수설비 | 나무전지및벌목 | style.css
   Design: Espresso Brown + Champagne Gold (rb.techhomecity.com 스타일 적용)
   ========================================================== */

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS — 하이엔드 웜 뉴트럴 팔레트 (RoboPress 기반)
══════════════════════════════════════════════════════════ */
:root {
  /* Primary Palette — Espresso Brown */
  --clr-primary:       #6B4226;
  --clr-primary-light: #9B6B4A;
  --clr-primary-dark:  #3D2314;

  /* Accent — Champagne Gold */
  --clr-accent:        #C9A882;
  --clr-accent-light:  #E8D5BB;
  --clr-accent-dark:   #A08050;

  /* Backgrounds */
  --clr-bg-main:       #FAF7F2;
  --clr-bg-section:    #F2EBE0;
  --clr-bg-dark:       #1E130A;
  --clr-bg-warm:       #EDE4D8;

  /* Borders */
  --clr-border-light:  #DDD0BF;
  --clr-border-dark:   #A08050;

  /* Text */
  --clr-text-primary:  #1A1108;
  --clr-text-secondary:#4A3520;
  --clr-text-muted:    #8C7660;
  --clr-text-on-dark:  #F5EDD8;

  /* Typography */
  --font-heading: 'Hahmlet', 'Noto Serif KR', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Hahmlet', Georgia, serif;
  --font-body:    'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   3rem;
  --space-xl:   5rem;
  --space-2xl:  8rem;

  /* Section padding — 하이엔드 넉넉한 리듬 */
  --sec-pad: clamp(80px, 11vw, 140px);

  /* Border radius — 각진 디자인 */
  --radius:    0px;
  --radius-sm: 0px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-pill: 2px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(61,35,20,0.06);
  --shadow-md:  0 12px 32px rgba(61,35,20,0.10);
  --shadow-lg:  0 24px 60px rgba(61,35,20,0.16);

  /* Transitions */
  --ease-out:   cubic-bezier(.22,1,.36,1);
  --transition: 0.35s cubic-bezier(.22,1,.36,1);

  /* 레거시 호환 변수 */
  --primary:        var(--clr-primary);
  --primary-dark:   var(--clr-primary-dark);
  --primary-light:  var(--clr-primary-light);
  --accent:         var(--clr-accent);
  --dark:           var(--clr-text-primary);
  --gray:           var(--clr-text-muted);
  --light:          var(--clr-bg-section);
  --white:          #ffffff;
  --shadow:         var(--shadow-sm);
  --shadow-lg-old:  var(--shadow-lg);
  --max-w:          1280px;
  --header-h:       68px;
}

/* ══════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.75;
  color: var(--clr-text-primary);
  background: var(--clr-bg-main);
  -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; }
a:hover { color: var(--clr-primary); }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--clr-text-primary);
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 0.8em; }
p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* rb-container 호환 */
.rb-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section       { padding: var(--sec-pad) 0; }
.section-sm    { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt   { background: var(--clr-bg-section); }

/* rb-section 호환 */
.rb-section          { width: 100%; padding-block: var(--sec-pad); }
.rb-section--dark    { background: var(--clr-bg-dark); color: var(--clr-text-on-dark); }
.rb-section--dark h2,
.rb-section--dark h3,
.rb-section--dark .rb-section-header__title { color: var(--clr-text-on-dark); }
.rb-section--sand    { background: var(--clr-bg-section); }
.rb-section--warm    { background: var(--clr-bg-warm); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* 골드 구분선 */
.rb-divider {
  width: 48px;
  height: 1px;
  background: var(--clr-accent);
  margin: 0 auto 2rem;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   그리드 클래스 (필수 — 변경 금지)
══════════════════════════════════════════════════════════ */
.dp-g2    { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dp-g3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-g4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dp-g5    { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   섹션 헤더
══════════════════════════════════════════════════════════ */
.sec-header  { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.sec-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 1rem;
}

.sec-title { color: var(--clr-text-primary); margin-bottom: 12px; font-family: var(--font-heading); }
.sec-desc  { color: var(--clr-text-muted); max-width: 48ch; margin: 0 auto; }

/* rb-section-header 호환 */
.rb-section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.rb-section-header__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 1rem;
}
.rb-section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.rb-section-header__sub {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 48ch;
  margin-inline: auto;
  word-break: keep-all;
}

/* Eyebrow */
.rb-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — 하이엔드 각진 디자인
══════════════════════════════════════════════════════════ */
.btn, .rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  min-height: 52px;
  padding: 14px 32px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary, .rb-btn--primary {
  background: var(--clr-primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover, .rb-btn--primary:hover {
  background: var(--clr-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold, .rb-btn--gold {
  background: var(--clr-accent-dark);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-gold:hover, .rb-btn--gold:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline, .rb-btn--outline {
  background: transparent;
  color: #F5EDD8;
  border: 1.5px solid rgba(201,168,130,0.7);
}
.btn-outline:hover, .rb-btn--outline:hover {
  background: rgba(201,168,130,0.18);
  border-color: var(--clr-accent);
  color: var(--clr-accent-light);
}

.rb-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #F5EDD8;
  border: 1.5px solid rgba(245,237,216,0.45);
  backdrop-filter: blur(4px);
}
.rb-btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--clr-accent);
  color: var(--clr-accent-light);
}

.btn-white {
  background: white;
  color: var(--clr-primary);
  border: 1.5px solid rgba(201,168,130,0.7);
}
.btn-white:hover {
  background: var(--clr-bg-section);
}

.rb-btn--outline-dark {
  background: transparent;
  color: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  padding: 14px 32px;
}
.rb-btn--outline-dark:hover {
  background: var(--clr-primary);
  color: white;
}

.btn-lg, .rb-btn--lg { padding: 18px 40px; font-size: 1.1rem; min-height: 58px; }
.btn-sm, .rb-btn--sm { padding: 8px 20px; font-size: 0.85rem; min-height: 40px; }
.btn-cta-nav {
  background: var(--clr-primary) !important;
  color: white !important;
  border-radius: var(--radius-md) !important;
  padding: 0.6rem 1.4rem !important;
  letter-spacing: 0.03em;
}
.btn-cta-nav:hover { background: var(--clr-primary-dark) !important; }

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header, .rb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  height: var(--header-h);
}

.site-header.scrolled, .rb-header--scrolled {
  border-bottom-color: var(--clr-border-light);
  box-shadow: var(--shadow-sm);
}

.hdr-inner, .rb-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
}

/* 로고 */
.hdr-logo, .rb-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--clr-primary-dark);
  text-decoration: none;
  margin-right: auto;
}

.logo-icon, .rb-logo-icon { font-size: 1.6rem; }
.logo-text { font-size: 1.2rem; font-weight: 800; color: var(--clr-primary-dark); transition: color var(--transition); }
.rb-logo-sub { font-weight: 400; color: var(--clr-text-secondary); font-size: 0.95rem; }
.rb-logo-tagline {
  display: inline;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--clr-accent-dark);
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--clr-border-light);
  vertical-align: middle;
}

/* 내비 */
.hdr-nav, .rb-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item  { position: relative; }

.nav-item > a, .rb-nav__link {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: color var(--transition);
  position: relative;
}

.rb-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--clr-accent-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}
.rb-nav__link:hover { color: var(--clr-primary); }
.rb-nav__link:hover::after { transform: scaleX(1); }

.nav-item > a:hover { color: var(--clr-primary); }

/* 헤더 CTA */
.rb-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: var(--clr-primary);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.rb-header__cta:hover { background: var(--clr-primary-dark); color: white; transform: translateY(-1px); }

/* 드롭다운 */
.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}
.nav-has-sub:hover .nav-sub { opacity: 1; visibility: visible; top: 100%; }
.nav-sub li a {
  display: block;
  padding: 10px 20px;
  color: var(--clr-text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-sub li a:hover {
  background: var(--clr-bg-section);
  color: var(--clr-primary) !important;
}

/* ══════════════════════════════════════════════════════════
   햄버거 메뉴
══════════════════════════════════════════════════════════ */
.hdr-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 950;
}
.hdr-ham span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-primary-dark);
  transition: all var(--transition);
}
.hdr-ham.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hdr-ham.active span:nth-child(2) { opacity: 0; }
.hdr-ham.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════
   모바일 내비 (#mob-nav 필수)
══════════════════════════════════════════════════════════ */
.mob-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 920;
  padding: 80px 0 32px;
  overflow-y: auto;
  transition: right var(--transition);
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
  border-left: 1px solid var(--clr-border-light);
}
.mob-nav.open { right: 0; }

.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,19,10,.5);
  z-index: 910;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mob-overlay.open { opacity: 1; visibility: visible; }

.mob-nav-list { padding: 0 20px; }
.mob-nav-list li a {
  display: block;
  padding: 14px 16px;
  color: var(--clr-text-secondary);
  font-weight: 500;
  border-bottom: 1px solid var(--clr-border-light);
  transition: all var(--transition);
}
.mob-nav-list li a:hover { color: var(--clr-primary); padding-left: 24px; }
.mob-cta {
  display: block !important;
  margin-top: 16px;
  background: var(--clr-primary) !important;
  color: white !important;
  text-align: center;
  padding: 14px !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION — 풀블리드 풀스크린
══════════════════════════════════════════════════════════ */
.hero, .rb-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--clr-text-on-dark);
  background: var(--clr-bg-dark);
}

/* 레거시 그라디언트 배경 히어로 */
.hero { background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, var(--clr-primary-light) 100%); }

.hero-bg, .rb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  animation: hero-drift 20s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.08) translateX(-20px); }
}

.rb-hero__img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenBurns 12s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,19,10,.78) 0%, rgba(61,35,20,.55) 100%);
}
.rb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30,19,10,0.88) 0%,
    rgba(30,19,10,0.65) 35%,
    rgba(30,19,10,0.30) 65%,
    rgba(30,19,10,0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 120px 0 80px;
}
.rb-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px,12vw,160px) 0;
  padding-top: calc(68px + clamp(60px,10vw,120px));
}
.rb-hero__inner { max-width: 680px; }

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-accent-light);
  margin-bottom: 1rem;
}

.hero h1, .rb-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1.25rem;
  color: #F5EDD8;
  word-break: keep-all;
}

.rb-hero__title em {
  font-style: normal;
  color: var(--clr-accent-light);
  position: relative;
  display: inline-block;
}
.rb-hero__title em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: titleUnderline 1.1s cubic-bezier(.22,1,.36,1) 0.8s forwards;
}
@keyframes titleUnderline {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero-desc, .rb-hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  color: rgba(245,237,216,.8);
  margin-bottom: 2.5rem;
  word-break: keep-all;
  max-width: 540px;
}

.hero-btns, .rb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Trust 뱃지 */
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-accent);
  display: block;
}
.hero-stat-label { font-size: 0.85rem; color: rgba(245,237,216,.75); }

.rb-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.rb-hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.rb-hero__trust-item strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--clr-accent-light);
}
.rb-hero__trust-item span { font-size: 0.75rem; color: rgba(245,237,216,0.6); }
.rb-hero__trust-sep {
  width: 1px;
  height: 32px;
  background: rgba(201,168,130,0.3);
}

/* 서브 히어로 */
.hero-sub {
  min-height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--clr-bg-dark);
  overflow: hidden;
}
.hero-sub .hero-bg { opacity: 0.25; }
.hero-sub .hero-content { padding: 100px 0 60px; }
.hero-sub h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }

/* ══════════════════════════════════════════════════════════
   카드
══════════════════════════════════════════════════════════ */
.card {
  background: white;
  border: 1px solid var(--clr-border-light);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--clr-primary-dark); }
.card-text  { color: var(--clr-text-muted); font-size: 0.95rem; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════
   서비스 카드
══════════════════════════════════════════════════════════ */
.svc-card {
  background: white;
  border: 1px solid var(--clr-border-light);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width .4s cubic-bezier(.22,1,.36,1);
}
.svc-card:hover::before { width: 100%; }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(61,35,20,.12);
}
.svc-icon  { font-size: 2.8rem; margin-bottom: 16px; }
.svc-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--clr-primary-dark); margin-bottom: 10px; }
.svc-desc  { font-size: 0.95rem; color: var(--clr-text-secondary); line-height: 1.75; margin-bottom: 16px; word-break: keep-all; }
.svc-link  { display: inline-flex; align-items: center; gap: 6px; color: var(--clr-primary); font-weight: 600; font-size: 0.9rem; transition: gap var(--transition); }
.svc-link:hover { gap: 10px; }

/* rb-service-card 호환 */
.rb-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.rb-service-card {
  background: white;
  border: 1px solid var(--clr-border-light);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  overflow: hidden;
}
.rb-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width .4s cubic-bezier(.22,1,.36,1);
}
.rb-service-card:hover::before { width: 100%; }
.rb-service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(61,35,20,.12); }
.rb-service-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 1.25rem;
  display: block;
}
.rb-service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.rb-service-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text-secondary);
  word-break: keep-all;
}

/* ══════════════════════════════════════════════════════════
   통계
══════════════════════════════════════════════════════════ */
.stat-box     { text-align: center; padding: 24px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 600;
  color: var(--clr-accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--clr-text-muted); }

.rb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.rb-stat { padding: 2rem 1rem; position: relative; }
.rb-stat + .rb-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 25%;
  height: 50%; width: 1px;
  background: rgba(201,168,130,0.25);
}
.rb-stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 600;
  color: var(--clr-accent);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  display: block;
}
.rb-stat__number::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--clr-accent);
  margin: 14px auto 0;
}
.rb-stat__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text-on-dark);
  opacity: 0.85;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.rb-stat__label small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════════════════════
   프로세스 스텝
══════════════════════════════════════════════════════════ */
.proc-step { position: relative; padding: 0; }
.proc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.proc-list::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--clr-accent);
}
.proc-item { display: flex; gap: 24px; padding: 28px 0; position: relative; }
.proc-num {
  width: 64px; height: 64px; min-width: 64px;
  background: var(--clr-primary);
  color: white;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.proc-body    { flex: 1; padding-top: 12px; }
.proc-title   { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--clr-primary-dark); margin-bottom: 8px; }
.proc-desc    { color: var(--clr-text-muted); font-size: 0.95rem; line-height: 1.75; }

.rb-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.rb-process__step {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-border-light);
  transition: border-color var(--transition);
}
.rb-process__step:hover { border-top-color: var(--clr-accent); }
.rb-process__step-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.02em;
}
.rb-process__step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 0.5rem;
  word-break: keep-all;
}
.rb-process__step-desc {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.75;
  word-break: keep-all;
}

/* ══════════════════════════════════════════════════════════
   갤러리 그리드
══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* rb-gallery 호환 */
.rb-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rb-gallery-card {
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.rb-gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rb-gallery-card__img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.rb-gallery-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.rb-gallery-card:hover .rb-gallery-card__img { transform: scale(1.06); }
.rb-gallery-card__body { padding: 1.25rem; }
.rb-gallery-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 0.6rem;
}
.rb-gallery-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  margin-bottom: 0.4rem;
  word-break: keep-all;
}
.rb-gallery-card__desc { font-size: 0.83rem; color: var(--clr-text-muted); line-height: 1.5; word-break: keep-all; }

/* BENTO */
.rb-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 320px) 260px;
  gap: 6px;
}
.rb-bento__item {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-section);
  transition: transform var(--transition), box-shadow var(--transition);
}
.rb-bento__item:hover { box-shadow: var(--shadow-lg); z-index: 2; }
.rb-bento__item:nth-child(1) { grid-column: 1 / 9; grid-row: 1 / 3; }
.rb-bento__item:nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 2; }
.rb-bento__item:nth-child(3) { grid-column: 9 / 13; grid-row: 2 / 3; }
.rb-bento__item:nth-child(4) { grid-column: 1 / 5; grid-row: 3 / 4; }
.rb-bento__item:nth-child(5) { grid-column: 5 / 9; grid-row: 3 / 4; }
.rb-bento__item:nth-child(6) { grid-column: 9 / 13; grid-row: 3 / 4; }
.rb-bento__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.rb-bento__item:hover .rb-bento__img { transform: scale(1.04); }
.rb-bento__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(30,19,10,0.88) 0%, transparent 100%);
  color: white;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.rb-bento__item:hover .rb-bento__overlay { opacity: 1; transform: translateY(0); }
.rb-bento__overlay-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; word-break: keep-all; }
.rb-bento__overlay-sub { font-size: 0.8rem; opacity: 0.8; word-break: keep-all; }

/* ══════════════════════════════════════════════════════════
   Before/After 슬라이더 (필수)
══════════════════════════════════════════════════════════ */
.ba-container {
  position: relative;
  user-select: none;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}
.ba-after-img, .ba-before-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}
.ba-before-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: ew-resize;
}
.ba-label {
  position: absolute;
  bottom: 12px;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  backdrop-filter: blur(4px);
}
.ba-label-before { left: 12px; }
.ba-label-after  { right: 12px; }

/* rb-ba 호환 */
.rb-ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.rb-ba-item { background: white; overflow: hidden; box-shadow: var(--shadow-sm); }
.rb-ba-item__images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; }
.rb-ba-item__label {
  position: absolute;
  top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  z-index: 2;
}
.rb-ba-item__label--before { left: 12px; background: rgba(0,0,0,0.65); color: white; }
.rb-ba-item__label--after  { right: 12px; background: var(--clr-primary); color: white; }
.rb-ba-item__img { width: 100%; height: 200px; object-fit: cover; }
.rb-ba-item__info { padding: 1.25rem; }
.rb-ba-item__title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--clr-primary-dark); margin-bottom: 0.25rem; word-break: keep-all; }
.rb-ba-item__location { font-size: 0.85rem; color: var(--clr-text-muted); }

/* ══════════════════════════════════════════════════════════
   FAQ 아코디언 (필수)
══════════════════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--clr-border-light);
  overflow: hidden;
}
.faq-item:last-child { border-bottom: 1px solid var(--clr-border-light); }
.faq-item.open { border-top-color: var(--clr-accent-dark); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  cursor: pointer;
  transition: color var(--transition);
  word-break: keep-all;
}
.faq-q:hover { color: var(--clr-primary); }
.faq-q-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--clr-accent-dark);
  transition: transform var(--transition), color var(--transition);
  line-height: 1;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); color: var(--clr-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.22,1,.36,1); }
.faq-a-inner {
  padding: 0 0 1.5rem;
  color: var(--clr-text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  word-break: keep-all;
}

/* rb-faq 호환 */
.rb-faq { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; }
.rb-faq__item { border-top: 1px solid var(--clr-border-light); transition: border-color var(--transition); }
.rb-faq__item:last-child { border-bottom: 1px solid var(--clr-border-light); }
.rb-faq__item.is-open { border-top-color: var(--clr-accent-dark); }
.rb-faq__question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
  word-break: keep-all;
}
.rb-faq__question:hover { color: var(--clr-primary); }
.rb-faq__toggle {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--clr-accent-dark);
  transition: transform var(--transition), color var(--transition);
  line-height: 1;
}
.rb-faq__item.is-open .rb-faq__toggle { transform: rotate(45deg); color: var(--clr-primary); }
.rb-faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.22,1,.36,1); }
.rb-faq__item.is-open .rb-faq__answer { max-height: 500px; }
.rb-faq__answer-inner { padding: 0 0 1.5rem; font-size: 0.95rem; color: var(--clr-text-secondary); line-height: 1.8; word-break: keep-all; }

/* ══════════════════════════════════════════════════════════
   지역 링크 카드
══════════════════════════════════════════════════════════ */
.area-card {
  background: white;
  border: 1px solid var(--clr-border-light);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  display: block;
  color: var(--clr-text-primary);
}
.area-card:hover {
  border-color: var(--clr-accent);
  color: var(--clr-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.area-icon  { font-size: 2rem; margin-bottom: 8px; display: block; }
.area-name  { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; }
.area-sub   { font-size: 0.82rem; color: var(--clr-text-muted); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   CTA 섹션
══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--clr-primary-dark);
  color: var(--clr-text-on-dark);
  padding: var(--sec-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2  { color: var(--clr-text-on-dark); margin-bottom: 16px; }
.cta-desc { color: rgba(245,237,216,.85); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* CTA BANNER */
.rb-cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  overflow: hidden;
}
.rb-cta-banner__media { position: relative; overflow: hidden; }
.rb-cta-banner__media::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--clr-accent);
  z-index: 2;
}
.rb-cta-banner__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.rb-cta-banner:hover .rb-cta-banner__img { transform: scale(1.04); }
.rb-cta-banner__body {
  background: var(--clr-primary-dark);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.rb-cta-banner__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clr-accent); }
.rb-cta-banner__title { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; color: var(--clr-text-on-dark); line-height: 1.3; word-break: keep-all; }
.rb-cta-banner__sub { font-size: 0.95rem; color: rgba(245,237,216,0.7); line-height: 1.75; word-break: keep-all; }
.rb-cta-banner__micro { font-size: 0.8rem; color: rgba(245,237,216,0.45); letter-spacing: 0.03em; }

/* ══════════════════════════════════════════════════════════
   리뷰
══════════════════════════════════════════════════════════ */
.rb-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rb-review {
  margin: 0;
  padding: 2rem;
  background: white;
  border-left: 3px solid var(--clr-accent);
}
.rb-review__stars { color: var(--clr-accent-dark); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.rb-review__text { font-size: 0.95rem; line-height: 1.8; color: var(--clr-text-secondary); margin: 0 0 1.25rem; word-break: keep-all; }
.rb-review__meta { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--clr-text-muted); }
.rb-review__name { font-weight: 700; color: var(--clr-text-secondary); }
.rb-review__loc::before { content: '·'; margin-right: 0.5rem; }

/* ══════════════════════════════════════════════════════════
   표
══════════════════════════════════════════════════════════ */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--clr-border-light);
  text-align: left;
  font-size: 0.95rem;
}
.info-table th { background: var(--clr-bg-section); font-weight: 700; color: var(--clr-text-primary); width: 35%; }
.info-table td { color: var(--clr-text-muted); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

.svc-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.svc-table thead { background: var(--clr-primary); color: white; }
.svc-table th { padding: 14px 20px; font-weight: 700; text-align: left; }
.svc-table td { padding: 14px 20px; border-bottom: 1px solid var(--clr-border-light); color: var(--clr-text-muted); font-size: 0.95rem; }
.svc-table tr:nth-child(even) td { background: var(--clr-bg-section); }

/* ══════════════════════════════════════════════════════════
   특징 카드
══════════════════════════════════════════════════════════ */
.feature-card {
  background: white;
  border: 1px solid var(--clr-border-light);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  font-size: 2rem;
  min-width: 48px;
  width: 48px; height: 48px;
  background: var(--clr-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-body p  { font-size: 0.9rem; color: var(--clr-text-muted); margin: 0; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   브레드크럼
══════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(245,237,216,.7);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a       { color: rgba(245,237,216,.8); }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep     { color: rgba(245,237,216,.5); }

.rb-breadcrumb { padding: calc(68px + 1rem) 0 1rem; background: var(--clr-bg-section); }
.rb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; font-size: 0.85rem; color: var(--clr-text-muted); }
.rb-breadcrumb li + li::before { content: '›'; margin-right: 0.25rem; }
.rb-breadcrumb a { color: var(--clr-primary); }
.rb-breadcrumb a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   모바일 바 (#mob-bar 필수)
══════════════════════════════════════════════════════════ */
#mob-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: white;
  border-top: 1px solid var(--clr-border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mob-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 1rem;
  background: var(--clr-primary);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.mob-bar-btn:hover { background: var(--clr-primary-dark); color: white; }

/* rb-sticky-mobile 호환 */
.rb-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: white;
  border-top: 1px solid var(--clr-border-light);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.rb-sticky-mobile__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.rb-sticky-mobile__btn--consult { background: var(--clr-primary); color: white; }
.rb-sticky-mobile__btn--call    { background: white; color: var(--clr-primary); border-right: 1px solid var(--clr-border-light); }

/* ══════════════════════════════════════════════════════════
   플로팅 CTA
══════════════════════════════════════════════════════════ */
#float-cta {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 100;
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-primary-dark);
  color: var(--clr-text-on-dark);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  text-decoration: none;
  gap: 4px;
  border-left: 3px solid var(--clr-accent);
}
.float-btn:hover { background: var(--clr-primary); color: white; transform: translateY(-3px); }
.float-icon  { font-size: 1.4rem; }
.float-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }

.dp-float-cta {
  display: none;
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 64px; height: 64px;
  background: var(--clr-primary-dark);
  color: white;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--clr-accent);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: rb-float-in 0.5s var(--ease-out) both;
}
.dp-float-cta:hover { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(61,35,20,0.28); }
@keyframes rb-float-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   애니메이션 (필수: .reveal .stagger)
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.stagger .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger.visible .stagger-item { opacity: 1; transform: translateY(0); }
.stagger.visible .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible .stagger-item:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible .stagger-item:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible .stagger-item:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible .stagger-item:nth-child(6) { transition-delay: 0.40s; }

/* rb-animate 호환 */
.rb-animate {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(.22,1,.36,1),
    transform 0.7s cubic-bezier(.22,1,.36,1),
    filter 0.7s cubic-bezier(.22,1,.36,1);
}
.rb-animate.is-visible,
.rb-animate.rb-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.rb-animate--delay-1.is-visible { transition-delay: 0.1s; }
.rb-animate--delay-2.is-visible { transition-delay: 0.2s; }
.rb-animate--delay-3.is-visible { transition-delay: 0.3s; }
.rb-animate--delay-4.is-visible { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .rb-animate { opacity: 1; transform: none; filter: none; transition: none; }
  .rb-hero__img-bg { animation: none; }
  .rb-hero__title em::after { animation: none; transform: scaleX(1); }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer, .rb-footer {
  background: var(--clr-bg-dark);
  color: var(--clr-text-on-dark);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.ftr-inner, .rb-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.ftr-top { width: 100%; margin-bottom: 40px; }
.ftr-brand, .rb-footer__info { flex: 1; }
.ftr-name, .rb-footer__brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--clr-accent-light);
  margin-bottom: 0.4rem;
}
.ftr-address, .rb-footer__meta {
  font-size: 0.85rem;
  color: rgba(245,237,216,0.55);
  line-height: 1.8;
  margin-bottom: 0.3rem;
}
.rb-footer__copy, .ftr-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.ftr-links-title { font-weight: 700; color: var(--clr-accent-light); margin-bottom: 12px; font-size: 0.95rem; }
.ftr-link-list li { margin-bottom: 8px; }
.ftr-link-list a { color: rgba(245,237,216,0.65); font-size: 0.88rem; transition: color var(--transition); }
.ftr-link-list a:hover { color: var(--clr-accent-light); }

.ftr-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ftr-nav, .rb-footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.ftr-nav a, .rb-footer__nav a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.ftr-nav a:hover, .rb-footer__nav a:hover { color: var(--clr-accent-light); }

/* ══════════════════════════════════════════════════════════
   연락 섹션
══════════════════════════════════════════════════════════ */
.contact-card {
  background: white;
  border: 1px solid var(--clr-border-light);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon  { font-size: 2.5rem; margin-bottom: 16px; }
.contact-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-info  { font-size: 1.3rem; font-weight: 800; color: var(--clr-primary); margin-bottom: 8px; }
.contact-desc  { font-size: 0.88rem; color: var(--clr-text-muted); }

.rb-consult-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin-inline: auto; }
.rb-consult-card {
  background: white;
  border: 2px solid var(--clr-border-light);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
}
.rb-consult-card:hover { border-color: var(--clr-primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rb-consult-card__icon { width: 72px; height: 72px; background: rgba(107,66,38,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: var(--clr-primary); }
.rb-consult-card__title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--clr-primary-dark); margin-bottom: 0.5rem; }
.rb-consult-card__desc { font-size: 0.9rem; color: var(--clr-text-muted); margin-bottom: 1.5rem; word-break: keep-all; }
.rb-consult-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  width: 100%;
  letter-spacing: 0.04em;
}
.rb-consult-card--tel .rb-consult-card__action { background: var(--clr-primary); color: white; }
.rb-consult-card--tel .rb-consult-card__action:hover { background: var(--clr-primary-dark); }
.rb-consult-card--sms .rb-consult-card__action { background: transparent; color: var(--clr-primary); border: 2px solid var(--clr-primary); }
.rb-consult-card--sms .rb-consult-card__action:hover { background: var(--clr-primary); color: white; }

/* ══════════════════════════════════════════════════════════
   가이드 아티클
══════════════════════════════════════════════════════════ */
.guide-article { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.guide-article h2 { margin: 48px 0 20px; color: var(--clr-primary-dark); }
.guide-article h3 { margin: 32px 0 14px; }
.guide-article p  { color: var(--clr-text-muted); line-height: 1.8; margin-bottom: 16px; }
.guide-article ul, .guide-article ol { padding-left: 24px; margin-bottom: 16px; color: var(--clr-text-muted); line-height: 1.8; }
.guide-article li { margin-bottom: 6px; }

.tip-box  {
  background: var(--clr-bg-section);
  border-left: 4px solid var(--clr-accent);
  padding: 16px 20px;
  margin: 24px 0;
}
.tip-box strong  { color: var(--clr-primary); }
.warn-box {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  margin: 24px 0;
}
.warn-box strong { color: #b45309; }

/* ══════════════════════════════════════════════════════════
   사이트맵
══════════════════════════════════════════════════════════ */
.sitemap-section { margin-bottom: 40px; }
.sitemap-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--clr-primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--clr-accent); }
.sitemap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sitemap-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  padding: 8px 12px;
  transition: all var(--transition);
}
.sitemap-list li a:hover { color: var(--clr-primary); background: var(--clr-bg-section); padding-left: 16px; }
.sitemap-list li a::before { content: '→'; color: var(--clr-accent); font-size: 0.8rem; }
.sitemap-plan { opacity: 0.6; }
.sitemap-plan a::before { content: '○'; }

.rb-sitemap { max-width: 700px; margin-inline: auto; padding: var(--space-xl) 0; }
.rb-sitemap h2 { font-size: 1.4rem; color: var(--clr-primary-dark); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--clr-border-light); }
.rb-sitemap ul { list-style: none; padding: 0; margin-bottom: 2rem; }
.rb-sitemap li { padding: 0.5rem 0; border-bottom: 1px solid var(--clr-border-light); }
.rb-sitemap a { color: var(--clr-primary); font-size: 1rem; }
.rb-sitemap a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   기타 유틸
══════════════════════════════════════════════════════════ */
.page-body-offset { padding-top: var(--header-h); }

.rel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--clr-border-light);
  transition: all var(--transition);
  color: var(--clr-text-primary);
  font-weight: 600;
}
.rel-link:hover { background: var(--clr-primary); color: white; transform: translateX(6px); }
.rel-link-icon { font-size: 1.5rem; }

.img-hero-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
}
.img-hero-wrap img { width: 100%; height: 100%; object-fit: cover; }

.landmark-badge {
  display: inline-block;
  background: var(--clr-bg-section);
  border: 1px solid var(--clr-accent);
  color: var(--clr-primary-dark);
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 4px;
  transition: all var(--transition);
}
.landmark-badge:hover { background: var(--clr-primary); color: white; border-color: var(--clr-primary); }

/* rb-nav-carousel */
.rb-nav-carousel { overflow: hidden; }
.rb-nav-carousel ol { display: flex; gap: 0.75rem; flex-wrap: wrap; list-style: none; padding: 0; }
.rb-nav-carousel li a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: white;
  border: 1px solid var(--clr-border-light);
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  transition: all var(--transition);
}
.rb-nav-carousel li a:hover { background: var(--clr-primary); color: white; border-color: var(--clr-primary); }

/* ══════════════════════════════════════════════════════════
   반응형
══════════════════════════════════════════════════════════ */
@media (max-width: 1150px) {
  .rb-stats { grid-template-columns: repeat(2, 1fr); }
  .rb-stat + .rb-stat::before { display: none; }
  .rb-process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .dp-g4 { grid-template-columns: repeat(2, 1fr); }
  .dp-g5 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .rb-bento__item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .rb-bento__item:nth-child(2),
  .rb-bento__item:nth-child(3),
  .rb-bento__item:nth-child(4),
  .rb-bento__item:nth-child(5),
  .rb-bento__item:nth-child(6) { grid-column: auto; grid-row: auto; }
  .rb-bento__img { min-height: 240px; }
  .rb-bento__item:nth-child(1) .rb-bento__img { min-height: 320px; }
  .rb-ba-grid { grid-template-columns: 1fr; }
  .rb-cta-banner { grid-template-columns: 1fr; }
  .rb-cta-banner__media { min-height: 260px; }
}

@media (max-width: 900px) {
  .rb-reviews-grid { grid-template-columns: 1fr 1fr; }
  .rb-services-grid { grid-template-columns: 1fr 1fr; }
  .rb-gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body           { padding-bottom: 70px; }
  #mob-bar       { display: block; }
  #float-cta     { display: none; }
  .hdr-nav,
  .rb-header__nav,
  .hdr-phone     { display: none !important; }
  .hdr-ham       { display: flex; }

  .dp-g2    { grid-template-columns: 1fr; }
  .dp-g3    { grid-template-columns: 1fr; }
  .dp-g4    { grid-template-columns: 1fr; }
  .dp-g5    { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-list { grid-template-columns: 1fr; }

  .proc-list::before { left: 28px; }
  .proc-num { width: 56px; height: 56px; min-width: 56px; font-size: 1.1rem; }
  .hero-stats { gap: 24px; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
  .hero-btns, .rb-hero__actions { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section { padding: clamp(48px, 8vw, 80px) 0; }

  .rb-bento { grid-template-columns: 1fr 1fr; gap: 4px; }
  .rb-bento__item:nth-child(1) { grid-column: 1 / 3; }
  .rb-bento__img { min-height: 200px; }
  .rb-bento__item:nth-child(1) .rb-bento__img { min-height: 260px; }

  .rb-stats { grid-template-columns: repeat(2, 1fr); }
  .rb-services-grid { grid-template-columns: 1fr; }
  .rb-process { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .rb-sticky-mobile { display: flex; }
  .dp-float-cta { display: none; }
  .rb-consult-grid { grid-template-columns: 1fr; }
  .ftr-inner,
  .rb-footer__inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .dp-stat3 { grid-template-columns: 1fr; gap: 16px; }
  .dp-g5    { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .rb-reviews-grid { grid-template-columns: 1fr; }
  .rb-gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .btn-lg, .rb-btn--lg { padding: 14px 28px; font-size: 1rem; }
  .hero-desc, .rb-hero__sub { font-size: 1rem; }
  .card-body { padding: 16px; }
  .svc-card { padding: 24px 16px; }
  .cta-section { padding: clamp(48px, 8vw, 80px) 0; }
  .rb-bento { grid-template-columns: 1fr; }
  .rb-bento__item:nth-child(1) { grid-column: 1; }
  .rb-stats { grid-template-columns: 1fr 1fr; }
  .rb-process { grid-template-columns: 1fr; }
  .rb-services-grid { grid-template-columns: 1fr; }
  .rb-hero__trust-sep { display: none; }
  .rb-hero__trust { gap: 1rem; }
}

@media (min-width: 769px) {
  .dp-float-cta { display: flex; }
  .rb-sticky-mobile { display: none; }
}

@media print {
  .site-header, .rb-header, .rb-sticky-mobile, #mob-bar, .dp-float-cta, #float-cta { display: none !important; }
  body { padding-bottom: 0; }
}
