/* ============================================================
   realty-bee - layout.css
   헤더 / 푸터 / GNB / 모바일 메뉴 / 퀵버튼
   ============================================================ */

/* ──────────────────────────────────────────
   공통 헤더
   ────────────────────────────────────────── */
#rb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--rb-header-height);
  z-index: var(--rb-z-header);
  transition: background var(--rb-transition), box-shadow var(--rb-transition);
  background: transparent;
}

/* 스크롤 시 배경 */
#rb-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

#rb-header.is-scrolled .rb-header__logo-white { display: none; }
#rb-header.is-scrolled .rb-header__logo-dark  { display: block; }
#rb-header:not(.is-scrolled) .rb-header__logo-white { display: block; }
#rb-header:not(.is-scrolled) .rb-header__logo-dark  { display: none; }

/* 헤더가 고정이므로 본문 상단 여백 */
#rb-main { padding-top: var(--rb-header-height); }

.rb-header__inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* 로고 */
.rb-header__logo {
  flex-shrink: 0;
  margin-right: 48px;
}
.rb-header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rb-font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
#rb-header.is-scrolled .rb-header__logo a { color: var(--rb-primary); }

.rb-header__logo img { height: 40px; width: auto; }

/* ── Style 1: 정석형 (로고 좌 / GNB 중앙 / 전화 우) ── */
.rb-header--style1 .rb-header__inner { justify-content: space-between; }
.rb-header--style1 .rb-gnb { flex: 1; display: flex; justify-content: center; }
.rb-header--style1 .rb-header__contact { flex-shrink: 0; }

/* ── Style 2: 와이드형 (로고 좌 / GNB 좌측 넓게 / 퀵링크 우상단) ── */
.rb-header--style2 .rb-header__inner { justify-content: flex-start; gap: 60px; }
.rb-header--style2 .rb-gnb { flex: 1; }

/* 헤더 전화번호 */
.rb-header__contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rb-header__phone {
  font-family: var(--rb-font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color var(--rb-transition);
}
#rb-header.is-scrolled .rb-header__phone { color: var(--rb-primary); }
.rb-header__phone:hover { color: var(--rb-accent) !important; }

.rb-header__cta {
  padding: 9px 20px;
  background: var(--rb-accent);
  color: #fff !important;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--rb-transition);
  white-space: nowrap;
}
.rb-header__cta:hover { background: var(--rb-accent-dark) !important; color: #fff !important; }

/* ── Style 2 퀵링크 (상단 바) ── */
.rb-header__quickbar {
  display: none;
  background: var(--rb-primary-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 6px 40px;
  text-align: right;
  gap: 20px;
}
.rb-header--style2 .rb-header__quickbar { display: flex; justify-content: flex-end; }
.rb-header__quickbar a {
  color: rgba(255,255,255,0.75);
  transition: color var(--rb-transition);
}
.rb-header__quickbar a:hover { color: var(--rb-accent); }

/* ── GNB ── */
.rb-gnb__list {
  display: flex;
  align-items: center;
  gap: 0;
}
.rb-gnb__item {
  position: relative;
}
.rb-gnb__link {
  display: flex;
  align-items: center;
  height: var(--rb-header-height);
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--rb-transition);
}
#rb-header.is-scrolled .rb-gnb__link { color: var(--rb-text); }
.rb-gnb__link:hover,
.rb-gnb__item.is-active > .rb-gnb__link {
  color: var(--rb-accent) !important;
}

/* 드롭다운 */
.rb-gnb__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #fff;
  border-top: 2px solid var(--rb-primary);
  box-shadow: var(--rb-shadow-md);
  z-index: 10;
}
.rb-gnb__item:hover .rb-gnb__dropdown { display: block; }
.rb-gnb__dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--rb-text);
  border-bottom: 1px solid var(--rb-border);
  transition: background var(--rb-transition), color var(--rb-transition);
  white-space: nowrap;
}
.rb-gnb__dropdown a:hover {
  background: var(--rb-bg-alt);
  color: var(--rb-primary);
}

/* 햄버거 버튼 */
.rb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.rb-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--rb-transition);
}
#rb-header.is-scrolled .rb-hamburger span { background: var(--rb-primary); }
.rb-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rb-hamburger.is-open span:nth-child(2) { opacity: 0; }
.rb-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ──────────────────────────────────────────
   모바일 메뉴
   ────────────────────────────────────────── */
#rb-mobile-menu {
  display: none;
  position: fixed;
  top: var(--rb-header-height-m);
  left: 0; right: 0; bottom: 0;
  background: #fff;
  overflow-y: auto;
  z-index: calc(var(--rb-z-header) - 1);
  padding-bottom: 80px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#rb-mobile-menu.is-open {
  transform: translateX(0);
}

.rb-mmenu__item { border-bottom: 1px solid var(--rb-border); }
.rb-mmenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rb-text);
}
.rb-mmenu__link .rb-mmenu__arrow {
  font-size: 0.75rem;
  color: var(--rb-text-light);
  transition: transform var(--rb-transition);
}
.rb-mmenu__item.is-open > .rb-mmenu__link .rb-mmenu__arrow {
  transform: rotate(180deg);
}

.rb-mmenu__sub {
  display: none;
  background: var(--rb-bg-alt);
}
.rb-mmenu__item.is-open > .rb-mmenu__sub { display: block; }
.rb-mmenu__sub a {
  display: block;
  padding: 13px 20px 13px 36px;
  font-size: 0.9rem;
  color: var(--rb-text-sub);
  border-top: 1px solid var(--rb-border);
}
.rb-mmenu__sub a:hover,
.rb-mmenu__sub a.is-active { color: var(--rb-primary); font-weight: 600; }

.rb-mmenu__contact {
  padding: 20px;
  background: var(--rb-primary);
  margin: 0;
  text-align: center;
}
.rb-mmenu__contact .phone {
  display: block;
  font-family: var(--rb-font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.rb-mmenu__contact .rb-btn {
  background: var(--rb-accent);
  color: #fff;
  width: 100%;
  border-radius: 4px;
}

/* ──────────────────────────────────────────
   푸터 공통
   ────────────────────────────────────────── */
#rb-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.8;
}

.rb-footer__inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  padding: 60px 40px 40px;
}

/* ── Style 1: 상세형 ── */
.rb-footer--style1 .rb-footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.rb-footer__logo {
  font-family: var(--rb-font-en);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
.rb-footer__logo img { height: 36px; width: auto; margin-bottom: 12px; }
.rb-footer__logo .sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: 0.1em;
}

.rb-footer__info { }
.rb-footer__info .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-bottom: 4px;
}
.rb-footer__info .row span { white-space: nowrap; }
.rb-footer__info .row strong {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-right: 6px;
}

.rb-footer__notice {
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  font-size: 0.775rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ── Style 2: 강조형 ── */
.rb-footer--style2 .rb-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.rb-footer--style2 .rb-footer__phone-big {
  font-family: var(--rb-font-en);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.rb-footer--style2 .rb-footer__phone-big:hover { color: var(--rb-accent); }

/* 공통 하단 */
.rb-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.775rem;
  color: rgba(255,255,255,0.3);
}
.rb-footer__bottom a { color: rgba(255,255,255,0.4); }
.rb-footer__bottom a:hover { color: var(--rb-accent); }

/* ──────────────────────────────────────────
   모바일 퀵버튼
   ────────────────────────────────────────── */
#rb-quick {
  display: none; /* 모바일에서만 표시 */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
}

/* Full Bar */
#rb-quick.style-fullbar {
  }
#rb-quick.style-fullbar .rb-quick__btn {
  flex: 1;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
#rb-quick.style-fullbar .rb-quick__btn--phone { background: var(--rb-primary); }
#rb-quick.style-fullbar .rb-quick__btn--consult { background: var(--rb-accent); }

/* Floating */
#rb-quick.style-floating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 16px 20px;
  gap: 12px;
  pointer-events: none;
}
#rb-quick.style-floating .rb-quick__btn {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: var(--rb-shadow-lg);
  cursor: pointer;
}
#rb-quick.style-floating .rb-quick__btn--phone   { background: var(--rb-primary); }
#rb-quick.style-floating .rb-quick__btn--kakao   { background: #FEE500; color: #3c1e1e; }
#rb-quick.style-floating .rb-quick__btn--consult { background: var(--rb-accent); }

/* Center */
#rb-quick.style-center {
  display: flex;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
#rb-quick.style-center .rb-quick__btn--consult {
  flex: 1;
  height: 48px;
  background: var(--rb-primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* ──────────────────────────────────────────
   반응형
   ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rb-gnb, .rb-header__contact { display: none; }
  .rb-hamburger { display: flex; }
  #rb-mobile-menu { display: block; }
  .rb-header__inner { padding: 0 20px; }
  #rb-header.is-scrolled ~ #rb-main,
  #rb-main { padding-top: var(--rb-header-height-m); }
  #rb-header { height: var(--rb-header-height-m); }
}

@media (max-width: 768px) {
  #rb-quick.style-fullbar  { display: flex; }
  #rb-quick.style-floating { display: flex; }
  #rb-quick.style-center   { display: flex; }
  #rb-main { padding-bottom: 56px; } /* 퀵버튼 높이만큼 */

  .rb-footer__inner { padding: 40px 16px 30px; }
  .rb-footer--style1 .rb-footer__top { grid-template-columns: 1fr; gap: 24px; }
  .rb-footer--style2 .rb-footer__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rb-footer--style2 .rb-footer__phone-big { font-size: 1.6rem; }
  .rb-footer__bottom { flex-direction: column; align-items: flex-start; }

  .rb-header__logo { margin-right: 0; }
  .rb-header__logo a { font-size: 1.1rem; }
}

/* ──────────────────────────────────────────
   서브페이지 비주얼 + LNB
   ────────────────────────────────────────── */
.rb-sub-visual {
  position: relative;
  height: 280px;
  background: var(--rb-primary-dark);
  overflow: hidden;
  margin-top: var(--rb-header-height);
}
.rb-sub-visual__bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--rb-primary-dark) 0%, var(--rb-primary) 100%); }
.rb-sub-visual__bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-sub-visual__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.rb-sub-visual__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rb-sub-visual__title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.rb-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.rb-breadcrumb a { color: rgba(255,255,255,0.65); }
.rb-breadcrumb a:hover { color: var(--rb-accent); }
.rb-breadcrumb .sep { color: rgba(255,255,255,0.35); }
.rb-breadcrumb .current { color: var(--rb-accent); font-weight: 600; }
/* LNB */
.rb-lnb { background: #fff; border-bottom: 2px solid var(--rb-border); position: sticky; top: var(--rb-header-height); z-index: 50; }
.rb-lnb__list { display: flex; gap: 0; }
.rb-lnb__item { position: relative; }
.rb-lnb__link { display: flex; align-items: center; height: 52px; padding: 0 24px; font-size: 0.9rem; font-weight: 600; color: var(--rb-text-sub); border-bottom: 3px solid transparent; transition: all var(--rb-transition); white-space: nowrap; }
.rb-lnb__item.is-active .rb-lnb__link, .rb-lnb__link:hover { color: var(--rb-primary); border-bottom-color: var(--rb-primary); }
.rb-lnb__sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--rb-border); border-top: 2px solid var(--rb-primary); min-width: 160px; box-shadow: var(--rb-shadow-md); z-index: 10; }
.rb-lnb__item.is-active .rb-lnb__sub { display: block; }
.rb-lnb__sub li a { display: block; padding: 12px 20px; font-size: 0.875rem; color: var(--rb-text); border-bottom: 1px solid var(--rb-border); }
.rb-lnb__sub li.is-active a, .rb-lnb__sub li a:hover { color: var(--rb-primary); background: var(--rb-bg-alt); }
/* 갤러리 라이트박스 네비 */
.rb-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: all var(--rb-transition); border-top-style: none; border-left-style: none; border-right-style: none; }
.rb-lightbox__nav { border: 1px solid rgba(255,255,255,0.3); }
.rb-lightbox__nav--prev { left: 16px; }
.rb-lightbox__nav--next { right: 16px; }
.rb-lightbox__nav:hover { background: var(--rb-accent); }
@media (max-width: 768px) {
  .rb-sub-visual { height: 180px; margin-top: var(--rb-header-height-m); }
  .rb-sub-visual__title { font-size: 1.4rem; }
  .rb-lnb { overflow-x: auto; } .rb-lnb__list { width: max-content; }
  .rb-lnb__link { padding: 0 16px; font-size: 0.85rem; }
}

/* ══════════════════════════════════════════════════════════
   HEADER STYLE 1 : 반도유보라형
   투명고정 → GNB 호버 시 네이비(#0c1148) 전환
   전체폭 드롭다운 + 우측 플로팅 퀵배너
   ══════════════════════════════════════════════════════════ */
.rb-header--style1 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--rb-z-header);
}
.rb-menu-area {
  position: relative;
  width: 100%;
  transition: background 0.3s ease;
}
.rb-menu-area.is-open {
  background: #0c1148;
  transition: background 0.4s ease;
}
.rb-menu-box { position: relative; z-index: 100; }
.rb-topmenu {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 90px;
  padding: 0 100px;
}
/* 로고 */
.rb-logo1 {
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.rb-logo1 a { display: block; }
.rb-logo1 img { height: 38px; width: auto; display: block; }
.rb-logo-d { display: block; }
.rb-logo-w { display: none; }
.rb-menu-area:not(.is-open) .rb-logo-w { display: block; }
.rb-menu-area:not(.is-open) .rb-logo-d { display: none; }
.rb-logo-txt {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* GNB 1depth */
.rb-menudep1 {
  display: table;
  table-layout: fixed;
  margin: 0 auto;
  height: 90px;
  width: 100%;
  max-width: 900px;
  padding: 0;
  list-style: none;
}
.rb-menudep1 > li {
  position: relative;
  display: table-cell;
  text-align: center;
}
.rb-menudep1 > li > a {
  position: relative;
  display: inline-block;
  line-height: 30px;
  color: #fff;
  font-size: 17px;
  text-align: center;
  padding: 30px 0;
  margin: 0 clamp(10px, 1.2vw, 30px);
  font-weight: 400;
  transition: color 0.2s;
}
.rb-menudep1 > li > a::before {
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0; height: 3px;
  background: var(--rb-accent);
  content: '';
  transition: left 0.4s ease, width 0.4s ease;
}
.rb-menudep1 > li:hover > a { color: #333; }
.rb-menudep1 > li:hover > a::before { left: 0; width: 100%; }
/* 서브메뉴 - 전체폭 드롭다운 */
.rb-submn0 {
  height: 0;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
  transition: max-height 0.3s ease;
}
.rb-menu-area.is-open .rb-submn0 {
  max-height: 240px;
  height: auto;
  margin-top: 20px;
  padding-bottom: 20px;
}
.rb-submn0 > li { display: block; text-align: center; }
.rb-submn0 > li a {
  display: block;
  line-height: 20px;
  font-size: 15px;
  color: #8386a7;
  font-weight: 400;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.rb-submn0 > li a:hover { color: #fff; font-weight: 500; }
/* 우측 전화+CTA */
.rb-mnbnn1 {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
}
.rb-mnbnn1-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
}
.rb-mnbnn1-label {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
}
.rb-mnbnn1-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', var(--rb-font-en);
  letter-spacing: .04em;
  transition: color 0.2s;
}
.rb-mnbnn1-phone:hover .rb-mnbnn1-num { color: var(--rb-accent); }
.rb-mnbnn1-cta {
  background: var(--rb-accent);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 2px;
  white-space: nowrap;
  transition: filter 0.2s;
}
.rb-mnbnn1-cta:hover { filter: brightness(1.1); }
/* 본문 상단 여백 없음 (비주얼이 헤더 아래 깔림) */
.rb-header--style1 ~ #rb-main { padding-top: 0; }
/* 플로팅 퀵배너 */
/* ══════════════════════════════════════════════════════════
   HEADER STYLE 2 : 호반써밋형 (2단)
   ══════════════════════════════════════════════════════════ */
.rb-header--style2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--rb-z-header);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.rb-header--style2 .rb-header__topbar {
  background: var(--rb-primary-dark);
  height: 38px;
}
.rb-header--style2 .rb-header__topbar-inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.rb-header--style2 .rb-header__topbar-name {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  letter-spacing: .05em;
}
.rb-header--style2 .rb-header__topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rb-header--style2 .rb-header__topbar-phone {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  font-family: var(--rb-font-en);
  font-weight: 600;
  letter-spacing: .05em;
}
.rb-header--style2 .rb-header__topbar-cta {
  background: var(--rb-accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 700;
}
.rb-header--style2 .rb-header__topbar-cta:hover { filter: brightness(1.1); }
.rb-header--style2 .rb-header__main {
  background: #fff;
  height: 72px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.rb-header--style2 .rb-header__inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
}
.rb-header--style2 .rb-header__logo img { height: 36px; width: auto; }
.rb-header--style2 .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rb-primary-dark);
}
.rb-header--style2 .rb-gnb { flex: 1; }
.rb-header--style2 .rb-gnb__list { display: flex; justify-content: flex-end; }
.rb-header--style2 .rb-gnb__link {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rb-text);
  white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.rb-header--style2 .rb-gnb__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rb-primary);
  transform: scaleX(0);
  transition: transform .25s;
}
.rb-header--style2 .rb-gnb__link:hover { color: var(--rb-primary); }
.rb-header--style2 .rb-gnb__link:hover::after { transform: scaleX(1); }
.rb-header--style2 .rb-gnb__sub {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 160px;
  background: #fff;
  border-top: 2px solid var(--rb-primary);
  border: 1px solid var(--rb-border);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 10;
}
.rb-header--style2 .rb-gnb__item:hover .rb-gnb__sub { display: block; }
.rb-header--style2 .rb-gnb__sub li a {
  display: block;
  padding: 11px 18px;
  font-size: .85rem;
  color: var(--rb-text);
  border-bottom: 1px solid var(--rb-border);
  transition: all .2s;
}
.rb-header--style2 .rb-gnb__sub li a:hover {
  color: var(--rb-primary);
  background: var(--rb-bg-alt);
  padding-left: 24px;
}
:root { --rb-header-height-s2: 110px; }
@media (max-width: 1024px) {
  .rb-header--style2 .rb-header__topbar { display: none; }
  .rb-header--style2 .rb-header__main { height: 60px; }
  .rb-header--style2 .rb-header__inner { padding: 0 16px; }
  .rb-header--style2 .rb-gnb { display: none; }
  .rb-hamburger { display: flex !important; }
  :root { --rb-header-height-s2: 60px; }
  #rb-header-spacer { height: 60px !important; }
}

/* ══════════════════════════════════════════════════════════
   HEADER STYLE 3 : 프리미엄형
   반투명 블러 + 하단 퀵링크바
   ══════════════════════════════════════════════════════════ */
.rb-header--style3 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--rb-z-header);
}
.rb-header--style3 .rb-header__main {
  background: rgba(5,15,35,0.85);
  backdrop-filter: blur(12px);
  height: 70px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .4s;
}
.rb-header--style3.is-scrolled .rb-header__main {
  background: rgba(5,15,35,0.97);
}
.rb-header--style3 .rb-header__inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 32px;
}
.rb-header--style3 .rb-header__logo img { height: 38px; }
.rb-header--style3 .logo-text { color: #fff; font-size: 1.15rem; font-weight: 700; }
.rb-gnb--center { flex: 1; display: flex; justify-content: center; }
.rb-header--style3 .rb-gnb__list { display: flex; gap: 4px; }
.rb-header--style3 .rb-gnb__link {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 16px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  transition: color .2s;
  position: relative;
}
.rb-header--style3 .rb-gnb__link::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--rb-accent);
  transition: width .25s;
}
.rb-header--style3 .rb-gnb__link:hover { color: #fff; }
.rb-header--style3 .rb-gnb__link:hover::before { width: 70%; }
.rb-header--style3 .rb-gnb__sub {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(5,15,35,0.97);
  min-width: 160px;
  text-align: center;
  border-top: 2px solid var(--rb-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 10;
}
.rb-header--style3 .rb-gnb__item:hover .rb-gnb__sub { display: block; }
.rb-header--style3 .rb-gnb__sub li a {
  display: block;
  padding: 12px 20px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all .2s;
}
.rb-header--style3 .rb-gnb__sub li a:hover { color: var(--rb-accent); }
.rb-header--style3 .rb-header__contact { flex-shrink: 0; }
.rb-header--style3 .rb-header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
}
.rb-header__phone-label { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.rb-header__phone-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--rb-font-en);
  letter-spacing: .05em;
}
.rb-header__quickbar {
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.06);
}
.rb-header__quickbar-inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 40px;
}
.rb-header__quicklink {
  padding: 0 24px;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .05em;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: all .2s;
  white-space: nowrap;
}
.rb-header__quicklink:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.rb-header__quicklink:hover { color: #fff; background: rgba(255,255,255,.06); }
.rb-header__quicklink.is-highlight { color: var(--rb-accent); font-weight: 700; }
.rb-header__quicklink.is-highlight:hover { background: var(--rb-accent); color: #fff; }
@media (max-width: 1024px) {
  .rb-header--style3 .rb-header__main { height: 58px; }
  .rb-header--style3 .rb-header__inner { padding: 0 16px; }
  .rb-header--style3 .rb-gnb,
  .rb-header--style3 .rb-header__contact { display: none; }
  .rb-header__quickbar { display: none; }
  .rb-hamburger { display: flex !important; }
}

/* ══════════════════════════════════════════════════════════
   HEADER STYLE 4 : 자이형
   다크 고정 + 박스 활성메뉴 + 골드전화 + 가로 서브메뉴
   ══════════════════════════════════════════════════════════ */
.rb-header--style4 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--rb-z-header);
  background: rgba(18,22,35,0.97);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.rb-header--style4 .rb-header__main { height: 70px; }
.rb-header--style4 .rb-header__inner {
  max-width: var(--rb-max-width);
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.rb-header--style4 .rb-header__logo {
  flex-shrink: 0;
  margin-right: 40px;
}
.rb-header--style4 .rb-header__logo a {
  display: flex;
  align-items: center;
  height: 70px;
}
.rb-header--style4 .rb-header__logo img { height: 34px; }
.rb-header--style4 .logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.rb-header--style4 .rb-gnb { flex: 1; }
.rb-header--style4 .rb-gnb__list { display: flex; height: 70px; }
.rb-header--style4 .rb-gnb__item { position: relative; }
.rb-header--style4 .rb-gnb__link {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 22px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  transition: all .2s;
  position: relative;
}
.rb-header--style4 .rb-gnb__item:hover > .rb-gnb__link,
.rb-header--style4 .rb-gnb__item.is-active > .rb-gnb__link {
  background: var(--rb-primary);
  color: #fff;
}
/* 메뉴 구분선 */
.rb-header--style4 .rb-gnb__item + .rb-gnb__item > .rb-gnb__link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: rgba(255,255,255,.12);
}
/* 서브메뉴 - 전체폭 가로 */
.rb-header--style4 .rb-gnb__sub {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(18,22,35,0.97);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 2px solid var(--rb-primary);
  z-index: var(--rb-z-header);
  justify-content: center;
  padding: 0 32px;
}
.rb-header--style4 .rb-gnb__item:hover .rb-gnb__sub { display: flex; }
.rb-header--style4 .rb-gnb__sub li { list-style: none; }
.rb-header--style4 .rb-gnb__sub li a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  transition: all .2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.rb-header--style4 .rb-gnb__sub li a:hover { color: #fff; border-bottom-color: var(--rb-accent); }
/* 우측 전화+CTA */
.rb-header--style4 .rb-header__contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 24px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.rb-header--style4 .rb-header__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.rb-header--style4 .rb-header__phone-label {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}
.rb-header--style4 .rb-header__phone-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rb-accent);
  font-family: var(--rb-font-en);
  letter-spacing: .04em;
  transition: color .2s;
}
.rb-header--style4 .rb-header__phone-wrap:hover .rb-header__phone-num { color: #fff; }
.rb-header--style4 .rb-header__cta-wrap { padding-left: 20px; }
.rb-header--style4 .rb-header__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  transition: color .2s;
  text-decoration: none;
}
.rb-header--style4 .rb-header__cta:hover { color: var(--rb-accent); }
.rb-header--style4 .cta-icon {
  width: 18px; height: 18px;
  border: 2px solid var(--rb-accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--rb-accent);
  transition: all .2s;
}
.rb-header--style4 .rb-header__cta:hover .cta-icon {
  background: var(--rb-accent);
  color: #fff;
}
.rb-gnb4-dim {
  display: none;
  position: fixed;
  top: 116px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.3);
  z-index: calc(var(--rb-z-header) - 1);
}
@media (max-width: 1024px) {
  .rb-header--style4 .rb-gnb,
  .rb-header--style4 .rb-header__contact { display: none; }
  .rb-header--style4 .rb-header__inner { padding: 0 16px; }
  .rb-header--style4 .rb-header__main { height: 58px; }
  .rb-hamburger { display: flex !important; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER STYLE 1 : 반도유보라형
   다크 + 좌텍스트 + 우이미지
   ══════════════════════════════════════════════════════════ */
.rb-footer--style1 {
  clear: both;
  width: 100%;
  background: #1c1c22;
  padding: 50px 100px;
  box-sizing: border-box;
}
.rb-footer--style1 .rb-footer__cont {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.rb-footer--style1 .rb-footer__copy {
  flex: 1;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-weight: 300;
  line-height: 22px;
}
.rb-footer--style1 .rb-footer__info-line {
  line-height: 20px;
  margin-bottom: 4px;
}
.rb-footer--style1 .rb-footer__info-line span:not(:first-of-type)::before {
  display: inline-block;
  vertical-align: middle;
  width: 1px; height: 12px;
  margin: 0 8px;
  background: rgba(255,255,255,.25);
  content: '';
}
.rb-footer--style1 .rb-footer__info-line em,
.rb-footer--style1 .rb-footer__copyright em {
  font-family: 'Montserrat', var(--rb-font-en);
  font-weight: 200;
  font-style: normal;
}
.rb-footer--style1 .rb-footer__info-line a {
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.rb-footer--style1 .rb-footer__info-line a:hover { color: var(--rb-accent); }
.rb-footer--style1 .rb-footer__copyright { margin-top: 30px; }
.rb-footer--style1 .rb-footer__notice {
  margin-top: 6px;
  list-style: none;
  padding: 0;
}
.rb-footer--style1 .rb-footer__notice li {
  font-weight: 300;
  line-height: 18px;
  font-size: 12px;
  color: rgba(255,255,255,.28);
}
.rb-footer--style1 .rb-footer__coop {
  text-align: right;
  flex-shrink: 0;
}
.rb-footer--style1 .rb-footer__coop img { display: block; max-width: 240px; }
.rb-footer--style1 .rb-footer__coop img + img { margin-top: 30px; }
.rb-footer__phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-decoration: none;
}
.rb-footer__phone-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
}
.rb-footer__phone-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--rb-accent);
  font-family: 'Montserrat', var(--rb-font-en);
  letter-spacing: .03em;
  transition: color .2s;
}
.rb-footer__phone-text:hover .rb-footer__phone-num { color: #fff; }
.rb-footer__partner { margin-top: 30px; max-width: 200px; }
/* Footer Style2 심플형 */
.rb-footer--style2 {
  background: #1c1c22;
  padding: 50px 24px 36px;
}
.rb-footer--style2 .rb-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,.4);
}
.rb-footer__phone-big {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rb-accent);
  font-family: 'Montserrat', var(--rb-font-en);
  letter-spacing: .05em;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color .2s;
}
.rb-footer__phone-big:hover { color: #fff; }
.rb-footer__meta {
  font-size: .82rem;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.rb-footer__meta span:not(:first-of-type)::before {
  display: inline-block;
  width: 1px; height: 12px;
  background: rgba(255,255,255,.2);
  content: '';
  vertical-align: middle;
  margin: 0 10px;
}
.rb-footer__copy2 { font-size: .8rem; margin-bottom: 8px; }
.rb-footer__notice2 {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
/* Footer 반응형 */
@media (max-width: 1024px) {
  .rb-footer--style1 { padding: 40px 32px; }
}
@media (max-width: 768px) {
  .rb-footer--style1 { padding: 36px 16px; }
  .rb-footer--style1 .rb-footer__cont { flex-direction: column; align-items: flex-start; gap: 28px; }
  .rb-footer--style1 .rb-footer__coop { text-align: left; }
  .rb-footer__phone-text { align-items: flex-start; }
  .rb-footer__phone-num { font-size: 1.4rem; }
  .rb-footer--style1 .rb-footer__info-line span { display: block; }
  .rb-footer--style1 .rb-footer__info-line span::before { display: none !important; }
}
