/* ── 공통 리셋 & 기본 ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* ── 네비게이션 ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(12px, 2vw, 22px) clamp(16px, 4vw, 48px) clamp(12px, 2vw, 22px) clamp(12px, 3.2vw, 40px);
  background: transparent;
  transition: transform 0.35s ease, background 0.35s ease, padding 0.35s ease;
}

#navbar.hide {
  transform: translateY(-100%);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-menu a {
  color: rgba(20, 20, 20, 0.75);
}

#navbar.scrolled .nav-menu a:hover {
  color: #000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  gap: 12px;
  white-space: nowrap;
}

.nav-logo {
  color: #fff;
  font-size: clamp(0.75rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: clamp(0px, 0.3vw, 3px);
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  width: clamp(110px, 28vw, 220px);
  height: auto;
}

/* ── 햄버거 버튼 ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

#navbar.scrolled .nav-hamburger span {
  background: rgba(20, 20, 20, 0.8);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 드로어 배경 딤 */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-backdrop.open {
  display: block;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 72vw;
    max-width: 300px;
    background: #07090e;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 80px 36px 40px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu a {
    display: block;
    padding: 18px 0;
    font-size: 1rem !important;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .nav-menu a.active {
    color: #c9a96e !important;
  }
}

.nav-menu {
  display: flex;
  gap: clamp(12px, 2.5vw, 36px);
  list-style: none;
  flex-shrink: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: clamp(0.65rem, 1.2vw, 0.88rem);
  letter-spacing: clamp(0px, 0.15vw, 1.5px);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a.active {
  color: #c9a96e;
}

#navbar.scrolled .nav-menu a.active {
  color: #b8923a;
}

/* ── 공통 섹션 헤더 ── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: #c9a96e;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 0.95rem;
  color: #888;
}

/* ── 고정 플로팅 버튼 ── */
.floating-btns {
  position: fixed;
  bottom: 36px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* 푸터가 화면에 보이면 겹치지 않도록 플로팅 버튼을 숨김 */
.floating-btns.is-footer-visible {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 480px) {
  .floating-btns {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    padding: 11px 16px;
    font-size: 0.8rem;
  }

  .float-label {
    font-size: 0.78rem;
  }
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.float-visit {
  background: #c9a96e;
  color: #0d1117;
}

.float-call {
  background: #0d1117;
  color: #fff;
}

.float-chat {
  background: #FEE500;
  color: #3C1E1E;
}

.float-icon {
  font-size: 1rem;
  line-height: 1;
}

.float-label {
  font-size: 0.85rem;
}

/* ── 푸터 ── */
#footer {
  background: #07090e;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #c9a96e;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-details {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.footer-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  #footer {
    padding: 36px 20px 24px;
  }

  .footer-details {
    flex-direction: column;
    gap: 8px;
  }

  .footer-details li {
    font-size: 0.78rem;
  }
}

.footer-label {
  color: rgba(255, 255, 255, 0.6);
}

.footer-value {
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  font-size: 0.78rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links span {
  color: rgba(255, 255, 255, 0.2);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 8px;
}

/* ── 문의 페이지 히어로 ── */
.inq-hero {
  background: linear-gradient(160deg, #07090e 0%, #0d1b2a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: clamp(80px, 12vw, 130px) 20px clamp(60px, 8vw, 100px);
}

.inq-hero-label {
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.9);
  margin-bottom: 16px;
}

.inq-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.inq-hero-sub {
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1.5px;
  font-weight: 300;
}

/* ── 문의 상담 안내 섹션 ── */
.inq-info-section {
  background: #0d1117;
  padding: clamp(60px, 8vw, 96px) clamp(16px, 5vw, 60px);
}

.inq-info-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.inq-info-header {
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.inq-info-label {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 12px;
}

.inq-info-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.inq-info-sub {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.inq-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

@media (max-width: 680px) {
  .inq-info-cards {
    grid-template-columns: 1fr;
  }
}

.inq-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color 0.25s, background 0.25s;
}

.inq-info-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.inq-info-card-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.inq-info-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a96e;
}

.inq-info-card-value {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.inq-info-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.inq-info-card-btn {
  margin-top: 8px;
  display: inline-block;
  padding: 9px 22px;
  border-radius: 6px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: #c9a96e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.inq-info-card-btn:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: rgba(201, 169, 110, 0.7);
}

/* ── 공통 방문예약 CTA 섹션 ── */
.cta-section {
  background: #07090e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 60px);
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  align-items: center;
}

.cta-divider {
  background: rgba(255, 255, 255, 0.08);
  height: 100%;
  min-height: 120px;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-block-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.7);
}

.cta-block-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.cta-block-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 6px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 15px 36px;
  border-radius: 8px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-btn-visit {
  background: #c9a96e;
  color: #07090e;
}

.cta-btn-visit:hover {
  background: #d9b97e;
}

.cta-btn-call {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-btn-call:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-btn-chat {
  background: #FEE500;
  color: #3C1E1E;
}

.cta-btn-chat:hover {
  background: #ffd800;
}

@media (max-width: 860px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }
  .cta-divider {
    display: none;
  }
  .cta-block {
    align-items: center;
    text-align: center;
  }
}
