/* ==========================================================================
   이천 휴먼빌 클래스원 분양사무소 — 공통 디자인 시스템 & 레이아웃
   Theme: Architectural Deep Navy + Crisp Pure White + Warm Ivory
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@500;600;700&display=swap');

:root {
  /* Color Palette — Deep Navy + Pure White + Warm Ivory */
  --navy-950: #071120;
  --navy-900: #0c1b33;
  --navy-800: #152b4d;
  --navy-700: #22406e;
  --ivory-100: #faf7f2;
  --ivory-200: #f2ede3;
  --ivory-300: #e5ded1;
  --ivory-400: #d2c8b7;
  --white: #ffffff;
  --ink-900: #101a29;
  --ink-700: #313f52;
  --ink-500: #5c697a;
  --ink-400: #8793a3;
  --border-light: rgba(12, 27, 51, 0.11);
  --border-navy: rgba(12, 27, 51, 0.24);
  --border-dark: rgba(255, 255, 255, 0.16);
  --border-ivory: rgba(242, 237, 227, 0.34);

  /* Typography */
  --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-serif-kr: 'Noto Serif KR', 'Nanum Myeongjo', Georgia, serif;
  --font-serif-en: 'Cormorant Garamond', 'Noto Serif KR', Georgia, serif;

  /* Layout & Motion */
  --header-h: 88px;
  --container-w: 1240px;
  --container-wide: 1440px;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 8px 24px rgba(7, 17, 32, 0.06);
  --shadow-md: 0 18px 48px rgba(7, 17, 32, 0.11);
  --shadow-lg: 0 30px 76px rgba(7, 17, 32, 0.24);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--ivory-100);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  word-break: keep-all;
  overflow-wrap: break-word;
}

main,
section,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, p, figure {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.pc-br {
  display: inline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Containers */
.container {
  width: min(var(--container-w), calc(100% - 172px));
  margin-inline: auto;
}

.container-wide {
  width: min(var(--container-wide), calc(100% - 172px));
  margin-inline: auto;
}

/* Scroll Progress Hairline */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700), var(--ivory-300));
  z-index: 1200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ==========================================================================
   HEADER & FULL-WIDTH MEGA NAVIGATION (타겟 사이트 호버·스크롤 전환 효과)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-100%);
  transition: background-color 0.48s var(--ease-luxury),
              border-color 0.48s var(--ease-luxury),
              box-shadow 0.48s var(--ease-luxury),
              transform 0.78s var(--ease-luxury);
}

.site-header.is-shown {
  transform: translateY(0);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  background: rgba(7, 17, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(242, 237, 227, 0.16);
}

.site-header.is-light-theme {
  background: #ffffff;
  background-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(12, 27, 51, 0.12);
  box-shadow: 0 6px 24px rgba(7, 17, 32, 0.06);
  color: var(--navy-950);
}

.site-header.is-hovered {
  background: #ffffff;
  background-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(12, 27, 51, 0.16);
  box-shadow: none;
  color: var(--navy-950);
}

/* 서브페이지: 스크롤 위치와 무관하게 항상 100% 불투명 화이트 헤더 고정 (본문 비침·투명화 원천 차단) */
body[data-page-type="sub"] .site-header,
body[data-page-type="sub"] .site-header.is-scrolled,
body[data-page-type="sub"] .site-header.is-light-theme,
body[data-page-type="sub"] .site-header.is-hovered {
  background: #ffffff;
  background-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(12, 27, 51, 0.12);
  box-shadow: 0 4px 18px rgba(7, 17, 32, 0.06);
  color: var(--navy-950);
  transform: translateY(0);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body[data-page-type="sub"] .site-header .brand-logo-img.is-light {
  opacity: 0;
}

body[data-page-type="sub"] .site-header .brand-logo-img.is-dark {
  opacity: 1;
}

body[data-page-type="sub"] .site-header .gnb-link {
  color: var(--ink-900);
}

body[data-page-type="sub"] .site-header .gnb-link::after {
  background: var(--navy-900);
}

body[data-page-type="sub"] .site-header .gnb-item:hover .gnb-link,
body[data-page-type="sub"] .site-header .gnb-item.is-active .gnb-link {
  color: var(--navy-900);
  font-weight: 700;
}

body[data-page-type="sub"] .site-header .header-reserve-btn {
  border-color: rgba(12, 27, 51, 0.28);
  background: var(--ivory-100);
  color: var(--navy-900);
}

body[data-page-type="sub"] .site-header .header-tel-btn {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(12, 27, 51, 0.2);
}

body[data-page-type="sub"] .site-header .mobile-menu-toggle {
  border-color: rgba(12, 27, 51, 0.24);
}

body[data-page-type="sub"] .site-header .mobile-menu-toggle span {
  background: var(--navy-950);
}

/* 풀폭 화이트 메가메뉴 배경 판 */
.site-header::after {
  content: '';
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 48px rgba(7, 17, 32, 0.12);
  border-bottom: 1px solid rgba(12, 27, 51, 0.08);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: height 0.45s var(--ease-luxury), opacity 0.35s ease;
}

.site-header.is-hovered::after {
  height: 226px;
  opacity: 1;
  pointer-events: auto;
}

.header-inner {
  height: 100%;
  width: min(1680px, calc(100% - 56px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo — 타겟 사이트 공식 BI 이미지 (339×41px) 다크·라이트 부드러운 교차 전환 */
.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 339px;
  height: 41px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity 0.42s ease;
}

.brand-logo-img.is-light {
  opacity: 1;
}

.brand-logo-img.is-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

/* 화이트/밝은 헤더 (호버 또는 밝은 섹션)일 때 타겟 사이트 공식 다크 로고로 교차 전환 */
.site-header.is-light-theme .brand-logo-img.is-light,
.site-header.is-hovered .brand-logo-img.is-light {
  opacity: 0;
}

.site-header.is-light-theme .brand-logo-img.is-dark,
.site-header.is-hovered .brand-logo-img.is-dark {
  opacity: 1;
}

.brand-logo.is-footer-logo {
  width: 264px;
  height: 32px;
}

.mobile-drawer-logo {
  width: 204px;
  height: 25px;
  object-fit: contain;
  object-position: left center;
}

/* GNB */
.gnb {
  display: flex;
  align-items: center;
  height: 100%;
}

.gnb-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}

.gnb-item {
  position: relative;
  height: 100%;
  min-width: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gnb-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 22px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.42s ease, font-weight 0.2s ease;
}

/* 타겟 사이트 시그니처: 호버 시 상단 가로선 → 회전 다이아몬드(◆) 변신 액센트 */
.gnb-link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--navy-900);
  opacity: 0;
  clip-path: inset(0 50%);
  transform: translate(-50%, -21px) rotate(0deg);
  transition: opacity 0.35s ease,
              clip-path 0.35s ease,
              width 0.3s ease,
              height 0.3s ease,
              transform 0.35s ease,
              background-color 0.35s ease;
}

.site-header.is-hovered .gnb-item:hover .gnb-link::before,
.site-header.is-light-theme .gnb-item.is-active .gnb-link::before,
.site-header.is-hovered .gnb-item.is-active .gnb-link::before {
  opacity: 1;
  clip-path: inset(0);
  width: 5px;
  height: 5px;
  background: var(--navy-900);
  transform: translate(-50%, -22px) rotate(45deg);
  transition: opacity 0.3s ease,
              clip-path 0.35s ease,
              width 0.26s ease 0.22s,
              height 0.26s ease 0.22s,
              transform 0.35s ease 0.22s,
              background-color 0.3s ease;
}

.gnb-link::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2.5px;
  background: var(--ivory-300);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-luxury), background-color 0.35s ease;
}

.site-header.is-light-theme .gnb-link::after,
.site-header.is-hovered .gnb-link::after {
  background: var(--navy-900);
}

.site-header.is-light-theme .gnb-link,
.site-header.is-hovered .gnb-link {
  color: var(--ink-900);
}

.gnb-item:hover .gnb-link,
.gnb-item.is-active .gnb-link {
  color: var(--ivory-200);
}

.site-header.is-light-theme .gnb-item:hover .gnb-link,
.site-header.is-light-theme .gnb-item.is-active .gnb-link,
.site-header.is-hovered .gnb-item:hover .gnb-link,
.site-header.is-hovered .gnb-item.is-active .gnb-link {
  color: var(--navy-900);
  font-weight: 700;
}

.gnb-item:hover .gnb-link::after,
.gnb-item.is-active .gnb-link::after {
  transform: scaleX(1);
}

/* Full-Width Mega Dropdown Columns */
.gnb-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 100%;
  min-width: 140px;
  padding: 20px 0 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.36s var(--ease-luxury), visibility 0.32s;
}

.site-header.is-hovered .gnb-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.07s;
}

.gnb-dropdown a {
  display: block;
  text-align: center;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-700);
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.22s ease, transform 0.22s ease, font-weight 0.15s ease;
}

.gnb-dropdown a:hover,
.gnb-dropdown a.is-current {
  color: var(--navy-900);
  font-weight: 700;
  transform: translateY(-1px);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 237, 227, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.35s var(--ease-luxury);
}

.site-header.is-light-theme .header-reserve-btn,
.site-header.is-hovered .header-reserve-btn {
  border-color: rgba(12, 27, 51, 0.28);
  background: var(--ivory-100);
  color: var(--navy-900);
}

.header-reserve-btn svg,
.header-tel-btn svg,
.mobile-bar-btn svg,
.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.header-reserve-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-950);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.site-header.is-light-theme .header-reserve-btn:hover,
.site-header.is-hovered .header-reserve-btn:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(12, 27, 51, 0.22);
}

.header-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--white) 0%, var(--ivory-200) 100%);
  color: var(--navy-950);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.35s var(--ease-luxury);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.site-header.is-light-theme .header-tel-btn,
.site-header.is-hovered .header-tel-btn {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(12, 27, 51, 0.2);
}

.header-tel-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 26px rgba(7, 17, 32, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.35s ease;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.35s ease;
}

.site-header.is-light-theme .mobile-menu-toggle,
.site-header.is-hovered .mobile-menu-toggle {
  border-color: rgba(12, 27, 51, 0.24);
}

.site-header.is-light-theme .mobile-menu-toggle span,
.site-header.is-hovered .mobile-menu-toggle span {
  background: var(--navy-950);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 32, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--navy-950);
  color: var(--white);
  z-index: 1110;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(242, 237, 227, 0.18);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 32px;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.mobile-nav-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--white);
}

.mobile-nav-trigger .chevron {
  color: var(--ivory-300);
  transition: transform 0.3s ease;
}

.mobile-nav-group.is-open .mobile-nav-trigger .chevron {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: none;
  padding: 6px 0 8px 12px;
}

.mobile-nav-group.is-open .mobile-nav-sub {
  display: block;
}

.mobile-nav-sub a {
  display: block;
  padding: 9px 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.76);
  border-radius: 6px;
}

.mobile-nav-sub a:hover,
.mobile-nav-sub a.is-current {
  color: var(--white);
  background: rgba(242, 237, 227, 0.12);
}

.mobile-drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border-dark);
  background: var(--navy-900);
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   FLOATING QUICK DOCK (PC) & BOTTOM BAR (MOBILE)
   ========================================================================== */
.quick-dock {
  position: fixed;
  right: 14px;
  top: 54%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-dock-item {
  width: 64px;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(12, 27, 51, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 237, 227, 0.24);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(7, 17, 32, 0.24);
  transition: transform 0.3s var(--ease-luxury), background-color 0.3s ease, border-color 0.3s ease;
}

.quick-dock-item svg {
  width: 18px;
  height: 18px;
  color: var(--ivory-200);
}

.quick-dock-item:hover {
  transform: translateX(-4px);
  border-color: var(--white);
  background: var(--navy-800);
}

.quick-dock-item.is-primary {
  background: linear-gradient(155deg, var(--white) 0%, var(--ivory-200) 100%);
  color: var(--navy-950);
  border-color: var(--ivory-300);
}

.quick-dock-item.is-primary svg {
  color: var(--navy-950);
}

.quick-dock-item.is-primary:hover {
  background: var(--white);
}

.quick-dock-tel {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Mobile Bottom Sticky Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 960;
  background: var(--navy-950);
  border-top: 1px solid rgba(242, 237, 227, 0.22);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -10px 30px rgba(7, 17, 32, 0.32);
}

.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-bar-btn.is-call {
  background: linear-gradient(135deg, var(--white) 0%, var(--ivory-200) 100%);
  color: var(--navy-950);
}

.mobile-bar-btn.is-reserve {
  background: var(--navy-800);
  color: var(--white);
  border: 1px solid rgba(242, 237, 227, 0.42);
}

/* ==========================================================================
   COMMON BUTTONS & TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif-en);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--navy-700);
}

/* 어두운 딥 네이비 배경 위의 eyebrow는 웜 아이보리 컬러 */
.cinema-section .eyebrow,
.unit-section .eyebrow,
.reserve-card-head .eyebrow,
.sub-hero .eyebrow,
.pdf-action-panel .eyebrow,
.brand-hero-content .eyebrow,
.brand-naming-banner .eyebrow,
.sub-cta-banner .eyebrow {
  color: var(--ivory-300);
}

.cinema-section .eyebrow::before,
.unit-section .eyebrow::before,
.reserve-card-head .eyebrow::before,
.sub-hero .eyebrow::before,
.pdf-action-panel .eyebrow::before,
.brand-hero-content .eyebrow::before,
.brand-naming-banner .eyebrow::before,
.sub-cta-banner .eyebrow::before {
  background: var(--ivory-300);
}

.section-title {
  font-family: var(--font-serif-kr);
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin-top: 14px;
  color: var(--navy-950);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--ink-500);
  margin-top: 14px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: all 0.32s var(--ease-luxury);
  white-space: nowrap;
}

/* 다크 네이비 위 메인 강조 버튼 — 화이트 & 웜 아이보리 */
.btn-gold {
  background: linear-gradient(135deg, var(--white) 0%, var(--ivory-200) 100%);
  color: var(--navy-950);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(7, 17, 32, 0.24);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 17, 32, 0.34);
}

/* 밝은 배경(예약 폼 등) 안의 submit 버튼은 딥 네이비로 선명한 대비 */
.reserve-card-body .btn-gold,
.modal-body .btn-gold,
.unit-popup-actions .btn-gold {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-color: var(--navy-800);
  box-shadow: 0 10px 24px rgba(12, 27, 51, 0.22);
}

.reserve-card-body .btn-gold:hover,
.modal-body .btn-gold:hover,
.unit-popup-actions .btn-gold:hover {
  background: var(--navy-950);
  box-shadow: 0 14px 30px rgba(12, 27, 51, 0.32);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--navy-800);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 다크 네이비 위 아웃라인 버튼 — 화이트 & 웜 아이보리 */
.btn-outline-gold {
  border: 1px solid rgba(242, 237, 227, 0.62);
  color: var(--ivory-100);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-gold:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1px solid rgba(12, 27, 51, 0.22);
  color: var(--navy-900);
  background: var(--white);
}

.btn-outline-dark:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-luxury), transform 0.85s var(--ease-luxury);
}

[data-reveal="left"] {
  transform: translateX(-38px);
}

[data-reveal="right"] {
  transform: translateX(38px);
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(242, 237, 227, 0.16);
  padding: 68px 0 56px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-company-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-is-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-meta-list strong {
  color: var(--ivory-200);
  font-weight: 600;
  margin-right: 6px;
}

.footer-contact-box {
  text-align: right;
  flex-shrink: 0;
}

.footer-contact-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--ivory-300);
  text-transform: uppercase;
}

.footer-contact-tel {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 4px 0 8px;
}

.footer-contact-hours {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-notices {
  margin-top: 28px;
  display: grid;
  gap: 5px;
  font-size: 0.79rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(242, 237, 227, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(242, 237, 227, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-admin-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-950);
}

.modal-dialog-sm {
  width: min(440px, 100%);
}

.admin-login-error {
  display: none;
  padding: 11px 14px;
  border-radius: 8px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.22);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.admin-login-error.is-show {
  display: block;
}

/* ==========================================================================
   VISIT RESERVATION MODAL & LIGHTBOX MODAL & TOAST
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(7, 17, 32, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  max-height: 90dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.38s var(--ease-luxury);
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-head {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--ivory-300);
}

.modal-head-title {
  font-family: var(--font-serif-kr);
  font-size: 1.42rem;
  font-weight: 600;
}

.modal-head-sub {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 4px;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--white);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-body {
  padding: 28px 30px 30px;
}

/* Reservation Form Styling */
.reserve-form {
  display: grid;
  gap: 16px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
}

.form-label .req {
  color: #b91c1c;
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(12, 27, 51, 0.18);
  border-radius: 8px;
  background: var(--ivory-100);
  font-size: 0.94rem;
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(12, 27, 51, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 76px;
}

.privacy-box {
  background: var(--ivory-100);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
}

.privacy-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.privacy-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
}

.privacy-checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--navy-900);
}

.privacy-toggle-btn {
  font-size: 0.8rem;
  color: var(--ink-500);
  text-decoration: underline;
}

.privacy-detail {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(12, 27, 51, 0.16);
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.privacy-detail.is-open {
  display: block;
}

.reserve-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border-radius: 10px;
}

.reserve-success-box {
  text-align: center;
  padding: 16px 8px;
}

.reserve-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ivory-200);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.reserve-success-box h4 {
  font-family: var(--font-serif-kr);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.reserve-success-box p {
  font-size: 0.94rem;
  color: var(--ink-500);
  line-height: 1.7;
}

.reserve-summary-card {
  margin: 18px 0 22px;
  padding: 16px;
  background: var(--ivory-100);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  text-align: left;
  font-size: 0.88rem;
  display: grid;
  gap: 6px;
}

/* Image Lightbox Viewer */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 32, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-btn {
  padding: 7px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--white);
  color: var(--navy-950);
}

.lightbox-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
}

.lightbox-img {
  max-width: min(1240px, 94vw);
  width: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  transform-origin: top center;
  transition: transform 0.25s var(--ease-luxury);
}

/* Toast Notification */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--ivory-300);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(7, 17, 32, 0.34);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-luxury);
}

.site-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1280px) {
  .brand-logo {
    width: 268px;
    height: 33px;
  }
}

@media (max-width: 1180px) {
  .brand-logo {
    width: 232px;
    height: 28px;
  }
  .gnb-link {
    padding: 0 16px;
    font-size: 0.94rem;
  }
  .gnb-link::after {
    left: 18px;
    right: 18px;
  }
  .header-reserve-btn {
    padding: 9px 14px;
    font-size: 0.84rem;
  }
  .header-tel-btn {
    padding: 9px 14px;
    font-size: 0.94rem;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .site-header::after {
    display: none;
  }

  .container,
  .container-wide {
    width: calc(100% - 36px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .gnb,
  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .quick-dock {
    display: none;
  }

  .mobile-bottom-bar {
    display: grid;
  }

  body {
    padding-bottom: 72px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-contact-box {
    text-align: left;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }

  [data-reveal="left"] {
    transform: translateX(-22px);
  }

  [data-reveal="right"] {
    transform: translateX(22px);
  }
}

@media (max-width: 600px) {
  .container,
  .container-wide {
    width: calc(100% - 28px);
  }

  .header-inner {
    width: calc(100% - 28px);
    gap: 12px;
  }

  .brand-logo {
    width: min(198px, 60vw);
    height: auto;
    aspect-ratio: 339 / 41;
  }

  .brand-logo.is-footer-logo {
    width: 210px;
    height: auto;
    aspect-ratio: 339 / 41;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    gap: 8px;
  }

  .eyebrow::before {
    width: 18px;
  }

  .section-title {
    font-size: clamp(1.42rem, 5.8vw, 1.82rem);
    line-height: 1.36;
    margin-top: 10px;
  }

  .section-desc {
    font-size: 0.88rem;
    line-height: 1.66;
    margin-top: 10px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 0.86rem;
    gap: 6px;
    max-width: 100%;
  }

  .site-footer {
    padding: 42px 0 32px;
  }

  .footer-top {
    gap: 22px;
    padding-bottom: 24px;
  }

  .footer-company-row {
    gap: 10px;
    font-size: 0.82rem;
  }

  .footer-meta-list {
    gap: 6px 14px;
    font-size: 0.82rem;
  }

  .footer-contact-tel {
    font-size: 1.85rem;
  }

  .footer-notices {
    margin-top: 20px;
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .footer-bottom {
    margin-top: 20px;
    padding-top: 16px;
    font-size: 0.78rem;
  }

  .mobile-bottom-bar {
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .mobile-bar-btn {
    padding: 11px 8px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .modal-head,
  .modal-body {
    padding: 18px 16px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .mobile-bar-btn {
    font-size: 0.77rem;
    padding: 10px 6px;
    gap: 4px;
  }
}
