/* 
  Stay Hanok - Premium Design System (Modern & Elegant Edition)
  Focus: Fluid Animations, Glassmorphism, Sophisticated Typography
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;500;600&family=Pretendard:wght@300;400;500;700&display=swap");

:root {
  /* Color Palette - Refined */
  --color-bg-body: #fdfbf7;
  --color-bg-section: #f6f3ee;
  --color-primary: #3e322b; /* Deeper Wood Tone */
  --color-accent: #9d8c7c; /* Muted Gold/Earth */
  --color-text-main: #222222;
  --color-text-sub: #666666;
  --color-white: #ffffff;
  --color-border: #e6e2d8;
  --color-nav-text: #3d2f25;
  --color-nav-text-strong: #2b2018;
  --color-nav-accent: #7f614a;

  /* Modern Touches */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px -10px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-heading: "Noto Serif KR", serif;
  --font-body: "Pretendard", sans-serif;

  /* Spacing */
  --container-width: 1240px;
  --header-height: 90px;
  --section-padding: 120px 0;
  --copy-title-gap: 0.9rem;
  --copy-block-gap: 2.1rem;

  /* Motion */
  --motion-enter-duration: 620ms;
  --motion-enter-delay-step: 80ms;
  --motion-distance-y: 16px;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Easings */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-main);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* [Page Transition] */
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1; /* Fade in when JS adds this class */
}

body.menu-open {
  overflow: hidden; /* Prevent scrolling when menu is open */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

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

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

/* Copy Utilities */
.copy-lead {
  margin-top: var(--copy-title-gap);
  margin-bottom: var(--copy-block-gap);
  color: var(--color-text-sub);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: normal;
}

.copy-body {
  margin-top: 0;
  margin-bottom: 1.55rem;
  color: var(--color-text-sub);
  font-size: 1rem;
  line-height: 1.74;
  word-break: keep-all;
  overflow-wrap: normal;
}

.copy-narrow {
  max-width: min(92vw, 29rem);
}

.copy-medium {
  max-width: min(92vw, 36rem);
}

.copy-wide {
  max-width: min(96vw, 70rem);
}

.copy-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.copy-line {
  display: block;
  white-space: nowrap;
}

.copy-headline {
  font-size: clamp(1.75rem, 2.45vw, 2.1rem);
  margin-bottom: 1.15rem;
}

.info-title {
  font-size: 1.26rem;
  margin-bottom: 0.8rem;
}

/* Scroll Reveal Classes */
.fade-up,
.fade-in {
  opacity: 0;
  transform: translateY(var(--motion-distance-y));
  transition:
    opacity var(--motion-enter-duration) var(--motion-ease),
    transform var(--motion-enter-duration) var(--motion-ease);
  transition-delay: 0ms;
}

.fade-up {
  /* Alias class kept for semantic usage */
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  /* 애니메이션 종료 후 확실히 렌더링 복구를 위해 GPU 레이어 강제 해제 */
  transform: none; 
}

.fade-in {
  /* Alias class kept for semantic usage */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up,
  .fade-in,
  .hero-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-img,
  .swiper-slide-active .hero-img,
  .room-card-large:hover .room-img-wrapper img,
  .special-item:hover img,
  .map-container:hover .static-map-img {
    transform: none !important;
  }
}

/* Layout */
.container {
  width: 88%;
  max-width: var(--container-width);
  margin: 0 auto;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* Header (Fixed & Translucent) */
header {
  height: var(--header-height);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42),
    rgba(250, 243, 236, 0.28) 38%,
    rgba(214, 196, 179, 0.36) 100%
  );
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transition: all 0.4s ease;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0) 52%
  );
}

header.scrolled,
header.active {
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.46),
    rgba(247, 238, 230, 0.3) 35%,
    rgba(198, 176, 156, 0.44) 100%
  );
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2100;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-nav-text-strong);
  z-index: 2100;
  transition: color 0.4s ease;
}

/* No color change on scroll needed anymore as bg is dark */
header.scrolled .logo,
header.active .logo {
  color: var(--color-nav-text-strong);
}

/* Desktop Navigation Menu (Visible) */
.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(61, 47, 37, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.4s ease;
}

.nav-menu a:hover {
  color: var(--color-nav-text-strong);
  opacity: 1;
}

/* Underline Effect - Gold Accent */
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--color-nav-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Scrolled State for Nav Links - Stay White */
header.scrolled .nav-menu a,
header.active .nav-menu a {
  color: rgba(61, 47, 37, 0.92);
}

header.scrolled .nav-menu a:hover,
header.active .nav-menu a:hover {
  color: var(--color-nav-text-strong);
}

header.scrolled .nav-menu a::after,
header.active .nav-menu a::after {
  background-color: var(--color-nav-accent);
}

/* Hide specific mobile elements on Desktop */
.menu-toggle {
  display: none !important;
}
.menu-overlay {
  display: none !important;
}

/* Responsive: Show Hamburger & Hide Desktop Nav on Mobile */
@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  header {
    height: var(--header-height);
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.46),
      rgba(248, 240, 233, 0.32) 34%,
      rgba(214, 197, 180, 0.42) 100%
    );
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
  }

  header.scrolled,
  header.active {
    height: 72px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.48),
      rgba(245, 235, 226, 0.34) 32%,
      rgba(198, 176, 154, 0.46) 100%
    );
    border-bottom-color: rgba(255, 255, 255, 0.3);
  }

  header .container {
    width: 92%;
  }

  .logo {
    font-size: 1.28rem;
    letter-spacing: 0.02em;
  }

  .copy-line {
    white-space: normal;
  }

  .nav-menu {
    display: none; /* Hide desktop links */
  }

  .menu-toggle {
    position: relative;
    display: flex !important; /* Show Hamburger */
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: rgba(61, 47, 37, 0.92);
    cursor: pointer;
    z-index: 2200;
    margin-right: -2px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu-toggle::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0);
    opacity: 0;
    transition:
      opacity 0.25s ease,
      background-color 0.25s ease;
  }

  .menu-toggle:hover {
    background: transparent;
  }

  .menu-toggle:hover::before,
  .menu-toggle:focus-visible::before {
    opacity: 1;
    background: rgba(255, 255, 255, 0.34);
  }

  .menu-toggle:focus-visible {
    outline: none;
  }

  .menu-toggle:active {
    transform: scale(0.96);
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 1.6px;
    border-radius: 999px;
    margin-bottom: 0;
    background-color: currentColor;
    transition:
      transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      width 0.28s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-5.5px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(5.5px);
  }

  header.scrolled .menu-toggle,
  header.active .menu-toggle {
    color: rgba(43, 32, 24, 0.96);
  }

  .menu-toggle.open {
    background: transparent;
  }

  .menu-toggle.open::before {
    opacity: 1;
    background: rgba(255, 255, 255, 0.42);
  }

  .menu-toggle.open span:nth-child(1) {
    width: 17px;
    transform: translateY(0) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.7);
  }

  .menu-toggle.open span:nth-child(3) {
    width: 17px;
    transform: translateY(0) rotate(-45deg);
  }

  /* Mobile Overlay Menu (Re-using structure) */
  .menu-overlay {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 12, 10, 0.32);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    z-index: 2600;
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    box-shadow: none;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    max-height: none; /* Reset desktop styles */
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    width: clamp(210px, 56vw, 250px);
    height: 100dvh;
    padding: calc(var(--header-height) + 0.95rem) 0.85rem 1.2rem;
    /* 프로스티드 글래스: 반투명 그라디언트 + backdrop-filter로 뒤 컨텐츠가 은은히 비침 */
    background: linear-gradient(
      135deg,
      rgba(255, 253, 249, 0.78),
      rgba(244, 234, 222, 0.72) 34%,
      rgba(220, 196, 173, 0.7) 100%
    );
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border-left: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 0;
    box-shadow: -12px 0 32px -8px rgba(26, 20, 17, 0.22);
    transform: translateX(104%);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu-items a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 4.6vw, 1.36rem);
    letter-spacing: 0.015em;
    font-weight: 400;
    color: rgba(61, 47, 37, 0.94);
    padding: 0.82rem 0.16rem;
    border-radius: 0;
    border: none;
    border-bottom: none;
    background: transparent;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      color 0.28s ease,
      background-color 0.28s ease;
  }

  .menu-items a::after {
    content: none;
  }

  .menu-items a.active {
    color: var(--color-nav-accent);
    background: transparent;
  }

  .menu-items a:hover,
  .menu-items a:focus-visible {
    color: var(--color-nav-text-strong);
    background: transparent;
    outline: none;
  }

  .menu-items a:hover::after,
  .menu-items a:focus-visible::after {
    transform: none;
    color: inherit;
  }

  .menu-overlay.active .menu-items a {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-overlay.active .menu-items {
    transform: translateX(0);
  }

  body.menu-open header {
    z-index: 2000;
    border-bottom-color: transparent;
  }
}

.menu-info {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-white);
  transition: width 0.5s var(--ease-out-expo);
  z-index: -1;
}

.btn:hover {
  color: var(--color-primary);
}

.btn:hover::before {
  width: 100%;
}

.btn-naver {
  background-color: #03cf5d;
  border-color: #03cf5d;
  color: #ffffff;
}

.btn-naver::before {
  background-color: #e9fbee;
}

.btn-naver:hover {
  color: #0b6b36;
}

.btn-kakao {
  background-color: #ffe812;
  border-color: #ffe812;
  color: #3c1e1e;
}

.btn-kakao::before {
  background-color: #fff7b3;
}

.btn-kakao:hover {
  color: #3c1e1e;
}

/* 페이지 상단 섹션 오프셋 (히어로가 없는 내부 페이지용) */
.page-top-offset {
  padding-top: 150px;
}

/* 일반 유틸리티 */
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* 예약/카드 스타일 박스 */
.content-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.content-card-divider {
  background: var(--color-border);
  height: 1px;
  border: none;
  margin: 2rem 0;
}

/* 버튼 가로 배치 (center, 간격) */
.btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* About 페이지 이미지 + 캡션 스택 */
.about-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.about-copy {
  max-width: 1120px;
  margin: 0 auto;
}

/* Access 페이지 지도 오버레이 버튼 래퍼 */
.map-overlay-actions {
  display: flex;
  gap: 1rem;
}

/* Access 페이지 주소/주차 2열 */
.location-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* 스와이퍼 슬라이드 안의 room-card-large는 마진 리셋 */
.swiper-slide .room-card-large {
  margin: 0;
  width: 100%;
  flex: 1;
}

/* 큰 CTA 버튼 변형 */
.btn-lg {
  font-size: 1.1rem;
  padding: 1.3rem 4rem;
}

/* 링크 화살표 아이콘 (Attractions) */
.link-arrow {
  font-size: 0.9em;
  margin-left: 6px;
  opacity: 0.6;
  font-weight: 300;
}

@media (max-width: 600px) {
  .location-info {
    grid-template-columns: 1fr;
  }
  .about-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .content-card {
    padding: 2rem 1.4rem;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3rem;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  transition: all 0.5s var(--ease-out-expo);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: rgba(62, 50, 43, 0.03);
}

/* Hero Section */
.hero {
  padding: 0;
  height: 100vh;
  min-height: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide {
  height: 100%;
}

.swiper-slide {
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s ease;
}

.swiper-slide-active .hero-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  opacity: 0;
  transition: all 1.2s var(--ease-out-expo) 0.5s;
}

.swiper-slide-active .hero-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero-content h2 {
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero .swiper-button-prev,
.hero .swiper-button-next {
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.4s ease, transform 0.4s ease;
}

.hero .swiper-button-prev::after,
.hero .swiper-button-next::after {
  font-size: 14px;
  font-weight: 100;
}

.hero .swiper-button-prev {
  left: 2.5rem;
}

.hero .swiper-button-next {
  right: 2.5rem;
}

.hero .swiper-button-prev:hover,
.hero .swiper-button-next:hover {
  color: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

/* Intro Section (About) */
.intro {
  background-color: var(--color-bg-body); /* Ensure opaque background */
  position: relative;
  z-index: 20;
  padding-top: 5rem;
  margin-top: -1px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
}

.feature-card {
  padding: 3.5rem 2.5rem;
  border: 1px solid transparent;
  transition:
    opacity var(--motion-enter-duration) var(--motion-ease),
    transform var(--motion-enter-duration) var(--motion-ease),
    top 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo);
  background-color: var(--color-white);
  border-radius: 4px;
  text-align: center;
  position: relative;
  top: 0;
}

.feature-card:hover {
  top: -10px;
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 0, 0, 0.03);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
}

/* Room Preview */
.room-preview {
  background-color: var(--color-bg-section);
}

.open-plan-heading {
  margin-top: 6.2rem;
  margin-bottom: 2.8rem;
}

.open-plan-section-title {
  font-size: 2.05rem !important;
  margin-bottom: 0.85rem !important;
}

.open-plan-section-copy {
  color: var(--color-text-sub);
  font-size: 1.02rem;
}

.room-card-large {
  display: flex;
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
  margin-top: 4rem;
  transition:
    opacity var(--motion-enter-duration) var(--motion-ease),
    transform var(--motion-enter-duration) var(--motion-ease),
    box-shadow 0.4s ease;
  border-radius: 4px;
  overflow: hidden;
  min-height: 450px;
}

.room-card-large:hover {
  box-shadow: var(--shadow-hover);
}

.room-img-wrapper {
  flex: 1.3;
  overflow: hidden;
  position: relative;
}

.room-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.8s var(--ease-out-expo);
}

/* Swiper Slide Uniform Height Fix */
.index-rooms-slider .swiper-slide,
.rooms-page-slider .swiper-slide {
  height: auto; /* 부모인 wrapper의 높이(가장 긴 슬라이드 기준)를 그대로 따라감 */
  display: flex; /* 자식 요소 크기를 채우기 위한 Flex 활성화 */
}

/* Room Slider Navigation Buttons (Mimicking Hero Slider) */
.index-rooms-slider .swiper-button-prev,
.index-rooms-slider .swiper-button-next,
.rooms-page-slider .swiper-button-prev,
.rooms-page-slider .swiper-button-next {
  width: auto;
  height: auto;
  color: rgba(109, 91, 74, 0.6); /* #6d5b4a with opacity */
  transition: color 0.4s ease, transform 0.4s ease;
}

.index-rooms-slider .swiper-button-prev::after,
.index-rooms-slider .swiper-button-next::after,
.rooms-page-slider .swiper-button-prev::after,
.rooms-page-slider .swiper-button-next::after {
  font-size: 14px;
  font-weight: 100;
}

.index-rooms-slider .swiper-button-prev:hover,
.index-rooms-slider .swiper-button-next:hover,
.rooms-page-slider .swiper-button-prev:hover,
.rooms-page-slider .swiper-button-next:hover {
  color: rgba(109, 91, 74, 1);
  transform: scale(1.15);
}

.index-rooms-slider .swiper-button-prev,
.rooms-page-slider .swiper-button-prev {
  left: 1.5rem;
}

.index-rooms-slider .swiper-button-next,
.rooms-page-slider .swiper-button-next {
  right: 1.5rem;
}

/* 방해되는 깜빡이는 텍스트 커서(캐럿) 및 드래그, 포커스 아웃라인 제거 */
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet,
.swiper-wrapper,
.swiper-slide,
.room-img-wrapper {
  outline: none !important;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  -webkit-user-drag: none;
}

/* 단, 객실 정보의 텍스트는 드래그 복사가 가능하도록 정상화 */
.room-info {
  user-select: auto;
  -webkit-user-select: auto;
  caret-color: auto;
}

.room-card-large:hover .room-img-wrapper img {
  transform: scale(1.03);
}

.room-info {
  flex: 1;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  -webkit-font-smoothing: auto;
  transform: translateZ(0);
}

.room-specs {
  margin: 2rem 0;
  color: var(--color-text-sub);
  list-style: none;
  padding-left: 0;
  /* Swiper와 같은 transform 부모 안에서 텍스트 렌더링 선명도 유지 방어 코드 */
  -webkit-font-smoothing: auto;
  transform: translateZ(0); 
}

.room-specs li {
  margin-bottom: 0.5rem;
  padding-left: 1.35rem;
  position: relative;
}

.room-specs li::before {
  content: "\2022";
  position: absolute;
  left: 0.2rem;
  top: 0.1em;
  line-height: 1;
  color: var(--color-accent);
}

/* Room Card Vertical Modifier */
.room-card-vertical {
  flex-direction: column !important;
}

.room-card-vertical .room-img-wrapper {
  flex: none; /* Reset flex-grow/shrink */
  width: 100%;
  height: 400px; /* Reduced fixed height */
}

/* Open Plan Layout */
.open-plan-info {
  padding: 4.6rem 3rem;
  text-align: center;
  background: #fcfaf7;
}

.open-plan-title {
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  margin-bottom: 0.8rem !important;
}

.open-plan-subtitle {
  font-size: 1rem;
  color: var(--color-text-sub);
  margin-bottom: 2.4rem;
}

.open-plan-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1020px;
  margin: 0 auto;
}

.open-plan-track::before {
  content: "";
  position: absolute;
  left: 11%;
  right: 11%;
  top: 26px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(157, 140, 124, 0),
    rgba(157, 140, 124, 0.38),
    rgba(157, 140, 124, 0)
  );
}

.open-plan-step {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border: 1px solid rgba(157, 140, 124, 0.2);
  border-radius: 18px;
  padding: 2.6rem 1.5rem 1.8rem;
  text-align: left;
  box-shadow: 0 8px 18px -16px rgba(0, 0, 0, 0.2);
  transition:
    opacity var(--motion-enter-duration) var(--motion-ease),
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.open-plan-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -18px rgba(0, 0, 0, 0.24);
  border-color: rgba(157, 140, 124, 0.3);
}

.open-plan-step-no {
  position: absolute;
  top: -14px;
  left: 1.4rem;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-primary);
  background: #fcf9f4;
  border: 1px solid rgba(157, 140, 124, 0.34);
  box-shadow: 0 6px 14px -12px rgba(62, 50, 43, 0.4);
}

.open-plan-step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  color: var(--color-primary);
}

.open-plan-step p {
  color: var(--color-text-sub);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* Room Gallery Horizontal Slider */
.room-gallery {
  padding: var(--section-padding);
  background-color: var(--color-bg-section);
  overflow: hidden;
}

.room-gallery-header {
  margin-bottom: 3rem;
}

.room-gallery-slider {
  width: 100%;
  overflow: visible;
  padding: 0 calc((100% - 1200px) / 2);
}

@media (max-width: 1240px) {
  .room-gallery-slider {
    padding: 0 5%;
  }
}

.room-gallery-slide {
  width: 520px !important;
  height: 360px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative; /* 추가된 오버레이 부모 기준 */
  cursor: zoom-in;
  outline: none;
}

.room-gallery-slide:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.room-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out-expo);
}

.slide-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 3rem 1.8rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: var(--color-white);
  z-index: 2;
  pointer-events: none; /* 텍스트가 드래그를 방해하지 않도록 */
}

.slide-overlay p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  opacity: 0.95;
}

.room-gallery-slide:hover img {
  transform: scale(1.04);
}

.room-gallery-hint {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--color-text-sub);
  opacity: 0.65;
}

/* Map specific styles */
.map-container {
  position: relative;
  width: 100%;
  height: 400px; /* Reduced height */

  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 3rem;
  background-color: #f0f0f0;
}

.static-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.map-container:hover .map-overlay {
  opacity: 1;
}

.map-container:hover .static-map-img {
  transform: scale(1.05);
}

/* Special Grid */
.special-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  justify-content: center;
  gap: 3.8rem 4.4rem;
  max-width: 1120px;
  margin: 4rem auto 0;
}
.special-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease;
}

.special-item h3 {
  margin-bottom: 1rem;
}

.special-item .copy-body {
  font-size: 0.93rem;
  line-height: 1.72;
}

.special-item:hover img {
  transform: scale(1.02);
}

/* 클릭 가능한 special-item (라이트박스 트리거) */
.special-item[role="button"] {
  cursor: zoom-in;
  outline: none;
}

.special-item[role="button"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.special-item-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.special-item-img img {
  margin-bottom: 0 !important;
}

.special-item-count {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  pointer-events: none;
}

/* 라이트박스 갤러리 */
.special-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 2rem;
  animation: lightboxFade 0.25s ease;
}

.special-lightbox.is-open {
  display: flex;
}

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-stage {
  max-width: 1100px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  width: 100%;
  max-width: calc(100% - 180px);
  height: 62vh;
  max-height: 62vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}

.lightbox-info {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  color: #f7f3ec;
  text-align: center;
  padding: 0 1rem;
  overflow-y: auto;
  max-height: 20vh;
  flex-shrink: 0;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  color: #fff;
  word-break: keep-all;
  line-height: 1.45;
}

.lightbox-desc {
  font-size: 0.86rem;
  line-height: 1.7;
  opacity: 0.9;
  word-break: keep-all;
}

.lightbox-counter {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  line-height: 1;
  z-index: 3100;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 1.6rem;
  right: 1.6rem;
  height: 42px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}

.lightbox-prev { left: 1.6rem; }
.lightbox-next { right: 1.6rem; }

.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 768px) {
  .special-lightbox { padding: 1rem; }
  .lightbox-img { height: 52vh; max-height: 52vh; max-width: calc(100% - 110px); }
  .lightbox-info { bottom: 1rem; max-height: 25vh; }
  .lightbox-title { font-size: 1rem; }
  .lightbox-desc { font-size: 0.8rem; line-height: 1.65; }
  .lightbox-close { top: 0.9rem; right: 0.9rem; height: 36px; padding: 0 0.9rem; font-size: 0.82rem; }
  .lightbox-prev,
  .lightbox-next { width: 44px; height: 44px; font-size: 1.8rem; }
  .lightbox-prev { left: 0.7rem; }
  .lightbox-next { right: 0.7rem; }
}

/* Room Info Section (이용 안내) */
.room-info-section {
  padding: 5.5rem 0 4.5rem;
  background-color: var(--color-bg-section);
}

.room-info-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 1040px;
  margin: 3.2rem auto 2rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem 1.1rem;
  background: var(--color-white);
  text-align: center;
}

.spec-item.is-wide {
  grid-column: 1 / -1;
  padding: 1.6rem 1.6rem;
}

.spec-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--color-text-sub);
  text-transform: uppercase;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--color-primary);
  line-height: 1.55;
  font-weight: 500;
  word-break: keep-all;
}

.spec-item.is-wide .spec-value {
  font-size: 0.98rem;
  line-height: 1.7;
}

.room-info-notice {
  max-width: 840px;
  margin: 0 auto 4rem;
  padding: 1.4rem 1.8rem;
  background: rgba(157, 140, 124, 0.12);
  border-left: 3px solid var(--color-accent);
  border-radius: 2px;
}

.room-info-notice p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-main);
  margin: 0;
  word-break: keep-all;
}

.room-info-notice p + p {
  margin-top: 0.45rem;
}

.room-info-subheading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-primary);
  margin: 0 0 2.2rem;
  letter-spacing: 0.02em;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.8rem;
  max-width: 1080px;
  margin: 0 auto;
}

.amenity-category h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.02em;
}

.amenity-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenity-category li {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--color-text-main);
  word-break: keep-all;
}

.amenity-category li + li {
  padding-top: 0.15rem;
}

@media (max-width: 1024px) {
  .room-info-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 2rem;
  }
}

@media (max-width: 600px) {
  .room-info-section {
    padding: 4rem 0 3.5rem;
  }
  .room-info-specs {
    grid-template-columns: 1fr;
    margin: 2.4rem auto 1.6rem;
  }
  .spec-item {
    padding: 1.4rem 1rem;
  }
  .spec-item.is-wide {
    padding: 1.4rem 1.2rem;
  }
  .room-info-notice {
    margin-bottom: 3rem;
    padding: 1.2rem 1.3rem;
  }
  .room-info-notice p {
    font-size: 0.86rem;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .room-info-subheading {
    font-size: 1.2rem;
  }
}

/* Special Preview (Index 메인 화면 전용 - 더 가벼운 프리뷰 그리드) */
.special-grid.special-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem 2rem;
  max-width: 1200px;
  margin-top: 3rem;
}

.special-preview .special-item img {
  aspect-ratio: 1 / 1;
  margin-bottom: 1.1rem;
}

.special-preview .special-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.special-preview .special-item .copy-body {
  font-size: 0.88rem;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .special-grid.special-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2.4rem;
  }
}

/* Responsive Mobile UI */
@media (max-width: 768px) {
  :root {
    --section-padding: 88px 0;
  }

  body {
    font-size: 15.5px;
    line-height: 1.68;
  }

  .container {
    width: 92%;
  }

  section {
    overflow: hidden;
  }

  .section-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.8rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 7.6vw, 2.45rem);
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .copy-lead {
    font-size: 0.99rem;
    line-height: 1.74;
    margin-bottom: 1.65rem;
  }

  .copy-body {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }

  .copy-medium,
  .copy-narrow {
    max-width: none;
  }

  .copy-headline {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  .info-title {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
  }

  .page-top-offset {
    padding-top: 112px;
  }

  .hero {
    height: 65vh;
    min-height: 400px;
  }

  @supports (height: 65dvh) {
    .hero {
      height: 65dvh;
    }
  }

  .hero-slider,
  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide {
    height: 100%;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 1.25rem;
  }

  .hero-content h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn,
  .btn-outline {
    min-height: 48px;
    padding: 0.9rem 2.5rem;
    font-size: 0.95rem;
  }

  .text-center .btn,
  .text-center .btn-outline {
    margin-left: auto;
    margin-right: auto;
  }

  .intro {
    padding-top: 3.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.4rem;
  }

  .feature-card {
    padding: 2rem 1.3rem;
    border-radius: 12px;
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-soft);
  }

  .feature-card:hover {
    top: 0;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .room-card-large {
    flex-direction: column;
    margin-top: 2.3rem;
    border-radius: 14px;
  }

  .room-info {
    padding: 2rem 1.4rem;
  }

  .room-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .room-specs {
    margin: 1.4rem 0;
  }

  .room-specs li {
    font-size: 0.96rem;
    padding-left: 1.1rem;
  }

  .room-specs li::before {
    left: 0.08rem;
  }

  .room-img-wrapper {
    flex: none;
    width: 100%;
    height: 280px !important; /* Force smaller height on mobile */
  }

  .room-card-vertical .room-img-wrapper {
    height: 280px;
  }

  .open-plan-heading {
    margin-top: 3.4rem;
    margin-bottom: 1.4rem;
  }

  .open-plan-section-title {
    font-size: 1.75rem !important;
    margin-bottom: 0.6rem !important;
  }

  .open-plan-section-copy {
    font-size: 0.95rem;
  }

  .open-plan-info {
    padding: 2.3rem 1.2rem;
    text-align: left;
  }

  .open-plan-title {
    margin-bottom: 0.55rem !important;
  }

  .open-plan-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .open-plan-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .open-plan-track::before {
    display: none;
  }

  .open-plan-step {
    padding: 2.15rem 1.2rem 1.3rem;
    border-radius: 14px;
  }

  .open-plan-step-no {
    left: 1rem;
    min-width: 38px;
    height: 38px;
    top: -12px;
    font-size: 0.7rem;
  }

  .open-plan-step h4 {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
  }

  .open-plan-step p {
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .special-grid {
    grid-template-columns: 1fr;
    gap: 6.2rem;
    margin-top: 2rem;
  }

  .special-grid.special-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.2rem;
    margin-top: 2.2rem;
  }

  .special-preview .special-item img {
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.8rem;
  }

  .special-preview .special-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .special-preview .special-item p {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .room-gallery-slide {
    width: 80vw !important;
    height: 220px;
  }

  .special-item img {
    height: 220px;
  }

  .special-item h3 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
  }

  .special-item p {
    font-size: 0.98rem;
  }

  .map-container {
    height: 300px;
    margin-bottom: 1.5rem;
    border-radius: 14px;
  }

  .map-overlay {
    opacity: 1;
    align-items: flex-end;
    padding: 1rem;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.08)
    );
  }

  .map-overlay > div {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.7rem !important;
  }

  .map-overlay .btn,
  .map-overlay .btn-outline {
    width: 100%;
    max-width: none;
  }

  .location-info {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .location-details p,
  .location-info p {
    font-size: 0.98rem !important;
    line-height: 1.7;
  }

  main > section.container img[style*="height: 500px"] {
    height: 320px !important;
  }

  main > section.container div[style*="padding: 3rem"] {
    padding: 1.5rem !important;
    border-radius: 14px !important;
  }

  main > section.container div[style*="margin-top: 8rem"] {
    margin-top: 3.5rem !important;
  }

  main > section.container div[style*="gap: 4rem"] {
    gap: 1.5rem !important;
  }

  main > section.container div[style*="padding: 4rem 2rem"] {
    padding: 2rem 1rem !important;
  }

  main > section.container div[style*="min-width: 250px"] {
    min-width: 100% !important;
  }

  footer {
    padding: 4rem 0;
  }

  footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  body:not(.is-reserve-page) main {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  body:not(.is-reserve-page) .mobile-sticky-cta {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 2400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #3e322b, #5b473b);
    color: var(--color-white);
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease;
  }

  body.menu-open .mobile-sticky-cta {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
}

/* Footer */
footer {
  background-color: #26201d;
  color: rgba(255, 255, 255, 0.6);
  padding: 6rem 0;
  text-align: center;
  font-weight: 300;
}

footer h3 {
  color: var(--color-white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Design Refresh v2 — Editorial Tokens, Typography, Surfaces, Rhythm
   마지막에 위치하여 위 정의들을 덮어씀. 수정은 이 블록을 우선 검토.
   ========================================================================== */

:root {
  /* Deeper, more editorial palette */
  --color-ink: #0f0c0a;                  /* near-black for emphasis */
  --color-primary: #241c17;              /* deeper than 3e322b */
  --color-accent: #a37a3f;               /* true warm gold */
  --color-accent-soft: #c9a97a;
  --color-bg-body: #fbf8f2;              /* slightly warmer cream */
  --color-bg-section: #eee7db;           /* stronger contrast */
  --color-bg-deep: #1a1411;              /* dark full-bleed surface */
  --color-line: #d9d2c3;                 /* dedicated line color */
  --color-text-main: #1a1411;
  --color-text-sub: #655a4f;

  /* Layered shadows */
  --shadow-soft:
    0 1px 2px rgba(26, 20, 17, 0.04),
    0 10px 28px -14px rgba(26, 20, 17, 0.12);
  --shadow-hover:
    0 2px 6px rgba(26, 20, 17, 0.06),
    0 28px 64px -20px rgba(26, 20, 17, 0.28);

  /* Fluid type scale */
  --fs-display: clamp(3rem, 7vw, 6rem);
  --fs-h2: clamp(2.2rem, 4.6vw, 3.8rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.65rem);

  /* Section rhythm */
  --section-padding: clamp(5.5rem, 10vw, 8.5rem) 0;
  --section-padding-tight: clamp(3rem, 6vw, 4.8rem) 0;
  --section-padding-loose: clamp(7rem, 13vw, 11rem) 0;
}

/* Global refinements */
html {
  overflow-x: clip;
}

body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  letter-spacing: -0.025em;
}

/* Section title — display-scale */
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.1;
  margin-bottom: 1.8rem;
  letter-spacing: -0.03em;
  font-weight: 500;
}

/* Subtitle with horizontal accent line.
   display: flex + width: fit-content → 자기 줄을 차지하되 콘텐츠 너비에만 맞음. */
.section-subtitle {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.section-subtitle::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.text-center .section-subtitle {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-subtitle::after {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* Lead copy refinement */
.copy-lead {
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.95;
  color: var(--color-text-sub);
}

/* Copy-line no longer forces nowrap (let keep-all do the work) */
.copy-line {
  white-space: normal;
}

/* --- Feature cards: de-carded editorial treatment ------------------------ */
.features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
  margin-top: 4.5rem;
}

.feature-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none !important;
  padding: 2.4rem 0.4rem 0.6rem;
  text-align: left;
  top: 0 !important;
}

.feature-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 0 1.9rem;
  transition: width 0.5s var(--ease-out-expo);
}

.feature-card:hover {
  top: 0 !important;
  box-shadow: none !important;
  border-color: var(--color-line);
}

.feature-card:hover::before {
  width: 64px;
}

.feature-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-sub);
  font-size: 0.96rem;
  line-height: 1.85;
}

/* --- Room cards: quieter resting state, bigger lift on hover ------------- */
.room-card-large {
  box-shadow: none;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  background: var(--color-white);
}

.room-card-large:hover {
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.room-info h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.3rem;
}

/* --- Buttons: uppercase tracking + directional arrow --------------------- */
.btn,
.btn-outline {
  border-radius: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 1.15rem 2.6rem;
  gap: 0.8rem;
}

.btn {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
}

.btn:hover {
  color: var(--color-ink);
}

.btn::after,
.btn-outline::after {
  content: "→";
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  /* → 글리프가 기준선 쪽으로 낮게 앉아서 텍스트 시각 중심과 틀어지는 걸 보정 */
  position: relative;
  top: -0.08em;
  transform: translateX(0);
  transition: transform 0.45s var(--ease-out-expo);
}

.btn:hover::after,
.btn-outline:hover::after {
  transform: translateX(8px);
}

.btn-outline {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

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

.btn-lg {
  padding: 1.35rem 3.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

/* Brand-specific buttons keep their brand aesthetic; suppress arrow.
   Re-declare here so our .btn background override above doesn't win. */
.btn-naver,
.btn-kakao {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.btn-naver {
  background-color: #03cf5d;
  border-color: #03cf5d;
  color: #ffffff;
}

.btn-naver:hover {
  color: #0b6b36;
}

.btn-kakao {
  background-color: #ffe812;
  border-color: #ffe812;
  color: #3c1e1e;
}

.btn-kakao:hover {
  color: #3c1e1e;
}

.btn-outline.btn-kakao {
  color: #3c1e1e;
  border-color: #ffe812;
}

.btn-outline.btn-kakao:hover {
  background-color: #ffe812;
  color: #3c1e1e;
  border-color: #ffe812;
}

.btn-naver::after,
.btn-kakao::after {
  content: none;
}

/* --- Hero: stronger vignette, slower ken burns, bigger type --------------- */
.hero-overlay {
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(10, 8, 6, 0) 0%, rgba(10, 8, 6, 0.25) 55%, rgba(10, 8, 6, 0.65) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.05) 0%, rgba(10, 8, 6, 0) 25%, rgba(10, 8, 6, 0.55) 88%);
}

.hero-img {
  transform: scale(1.14);
  transition: transform 14s linear;
}

.swiper-slide-active .hero-img {
  transform: scale(1);
  transition: transform 14s linear;
}

.hero-content h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.8rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  letter-spacing: 0.03em;
  opacity: 0.92;
  margin-bottom: 2.8rem;
}

/* Hero swiper pagination — Apple-style fraction */
.hero .swiper-pagination {
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 16px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero .swiper-pagination .swiper-pagination-current {
  font-weight: 600;
}

.hero .swiper-pagination .fraction-separator {
  opacity: 0.5;
  font-size: 0.8rem;
  margin: 0 3px;
}

.hero .swiper-pagination .swiper-pagination-total {
  opacity: 0.7;
}

/* --- Section rhythm helpers (add to HTML when needed) -------------------- */
.section-tight {
  padding: var(--section-padding-tight);
}

.section-loose {
  padding: var(--section-padding-loose);
}

.section-dark {
  background: var(--color-bg-deep);
  color: rgba(255, 255, 255, 0.74);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fbf8f2;
}

.section-dark .section-subtitle {
  color: var(--color-accent-soft);
}

.section-dark .copy-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* --- Open plan steps: less chip, more editorial card --------------------- */
.open-plan-step {
  border-radius: 2px;
  box-shadow: none;
  border-color: var(--color-line);
}

.open-plan-step:hover {
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.open-plan-step-no {
  border-radius: 0;
  background: var(--color-bg-body);
  color: var(--color-accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  border-color: var(--color-line);
  font-weight: 600;
}

/* --- Room-info specs: sharper grid lines --------------------------------- */
.room-info-specs {
  border-radius: 2px;
  background: var(--color-line);
  border-color: var(--color-line);
}

.spec-label {
  letter-spacing: 0.24em;
  font-weight: 600;
}

.spec-value {
  color: var(--color-ink);
}

/* --- Room-gallery slide: sharper corners, subtler hover ------------------ */
.room-gallery-slide {
  border-radius: 2px;
}

.room-gallery-slide:hover img {
  transform: scale(1.06);
}

/* --- Attractions / Special cards: editorial clean ------------------------ */
.special-item img {
  border-radius: 2px;
}

/* --- Footer: richer contrast -------------------------------------------- */
footer {
  background-color: var(--color-bg-deep);
}

/* --- Content card for Reserve/Access pages: flat surface ---------------- */
.content-card {
  border: 1px solid var(--color-line);
  box-shadow: none;
  border-radius: 2px;
}

/* --- Mobile overrides that need to persist against this refresh ---------- */
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.2;
  }

  .hero-content h2 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    letter-spacing: -0.025em;
  }

  .feature-card {
    padding: 2rem 0.2rem 0.2rem;
    border-top: 1px solid var(--color-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
  }

  .feature-card::before {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    margin-top: 2.6rem;
  }

  .btn,
  .btn-outline {
    padding: 1rem 2.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .btn-lg {
    padding: 1.2rem 2.6rem;
    font-size: 0.82rem;
  }

  .room-card-large {
    border-radius: 2px;
  }

  .section-subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    gap: 0.7rem;
  }

  .section-subtitle::before,
  .text-center .section-subtitle::after {
    width: 1.6rem;
  }
}

/* --- About page: asymmetric 2-column editorial layout ------------------- */
@media (min-width: 900px) {
  .about-stack {
    display: grid;
    grid-template-columns: 6fr 5fr;
    column-gap: clamp(3rem, 5vw, 5.5rem);
    row-gap: 0;
    align-items: start;
    margin-top: clamp(3rem, 6vw, 5rem);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Image column — sticky so it holds while text scrolls past */
  .about-stack > div:first-child {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }

  .about-img {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 78vh;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
  }

  /* Text column — left-aligned, editorial */
  .about-stack > .about-copy {
    text-align: left;
    max-width: none;
    padding-top: clamp(2rem, 4vw, 3.5rem);
    margin: 0;
  }

  .about-stack .about-copy .copy-headline {
    font-size: clamp(2rem, 2.9vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 2.2rem;
    text-align: left;
  }

  .about-stack .about-copy .copy-headline::after {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    background: var(--color-accent);
    margin-top: 1.6rem;
  }

  .about-stack .about-copy .copy-lead {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(1rem, 1.08vw, 1.1rem);
    line-height: 1.95;
  }

  .about-stack .about-copy .copy-line {
    display: block;
    margin-bottom: 1.3rem;
    white-space: normal;
  }

  .about-stack .about-copy .copy-line:last-child {
    margin-bottom: 0;
  }
}

/* Wider desktops: flip image slightly to hold a looser visual */
@media (min-width: 1280px) {
  .about-stack {
    grid-template-columns: 7fr 6fr;
    column-gap: clamp(4rem, 7vw, 7rem);
  }
}

/* --- Gallery page: editorial 3-column grid ------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.6vw, 1.6rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-bg-section);
  border-radius: 2px;
  outline: none;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out-expo);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

/* 항상 유지되는 다크 그라디언트 — hover 시 더 진해짐 */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.18) 0%,
    rgba(10, 8, 6, 0.1) 40%,
    rgba(10, 8, 6, 0.42) 100%
  );
  transition: background 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.55) 0%,
    rgba(10, 8, 6, 0.45) 50%,
    rgba(10, 8, 6, 0.55) 100%
  );
}

/* 제목·설명 오버레이: 기본 flex center로 title 중앙 배치.
   hover 시 title이 위로 translate, desc가 max-height/opacity로 reveal. */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.8rem);
  text-align: center;
  color: #fbf8f2;
  z-index: 2;
  pointer-events: none;
}

.gallery-item-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 500;
  color: #fbf8f2;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.55s var(--ease-out-expo);
  word-break: keep-all;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:focus-visible .gallery-item-title {
  transform: translateY(-0.6em);
}

.gallery-item-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(251, 248, 242, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 26ch;

  /* 첫 글자부터 일부만, 길면 말줄임(3줄 클램프) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 기본 숨김 → hover 시 열림 */
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.55s var(--ease-out-expo),
    opacity 0.45s ease,
    margin-top 0.55s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-desc,
.gallery-item:focus-visible .gallery-item-desc {
  max-height: 4.8em;
  opacity: 1;
  margin-top: 0.85rem;
}

/* 더보기 버튼 */
.gallery-more-wrap {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.4s var(--ease-out-expo),
    background-color 0.4s var(--ease-out-expo),
    color 0.4s var(--ease-out-expo);
}

.gallery-more-btn:hover {
  background-color: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* 모바일은 호버가 없어서 desc를 기본 노출 */
  .gallery-item-title {
    transform: translateY(-0.6em);
  }

  .gallery-item-desc {
    max-height: 4.8em;
    opacity: 1;
    margin-top: 0.8rem;
  }

  .gallery-item::after {
    background: linear-gradient(
      180deg,
      rgba(10, 8, 6, 0.5) 0%,
      rgba(10, 8, 6, 0.4) 50%,
      rgba(10, 8, 6, 0.55) 100%
    );
  }

  .gallery-more-btn {
    padding: 0.95rem 2.4rem;
    font-size: 0.78rem;
  }
}

/* --- Fixed header anchor scroll offset ----------------------------------- */
html {
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

/* --- Navigation: submenu dropdown (desktop) + flip animation ------------- */
.nav-menu {
  align-items: stretch;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > .nav-top-link {
  padding: 1rem 0;
}

/* Desktop submenu dropdown — editorial minimal */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 170px;
  padding: 1.1rem 0 1.3rem;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: none;
  box-shadow: 0 8px 26px -14px rgba(26, 20, 17, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.4s var(--ease-out-expo),
    visibility 0s linear 0.4s;
  z-index: 100;
}

/* Hair-thin gold accent line along the top — subtle brand cue */
.nav-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

/* Invisible bridge that keeps :hover active while moving from link to submenu */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.4s var(--ease-out-expo),
    visibility 0s;
}

.nav-submenu a {
  position: relative;
  display: block;
  padding: 0.42rem 1.5rem 0.42rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(36, 28, 23, 0.72);
  text-transform: none;
  white-space: nowrap;
  /* Stagger reveal when menu opens */
  opacity: 0;
  transform: translateY(4px);
  transition:
    color 0.3s ease,
    padding-left 0.4s var(--ease-out-expo),
    opacity 0.35s ease,
    transform 0.35s ease,
    background-color 0.25s ease;
}

.nav-submenu a::after {
  display: none !important;
}

/* Hover: no color fill — text shifts right, tiny accent line slides in */
.nav-submenu a::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--color-accent);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-submenu a:hover {
  color: var(--color-ink);
  padding-left: 2.3rem;
  background: transparent;
}

.nav-submenu a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* Staggered reveal for submenu items */
.nav-item:hover .nav-submenu a,
.nav-item:focus-within .nav-submenu a {
  opacity: 1;
  transform: translateY(0);
}

.nav-submenu a:nth-child(1) { transition-delay: 0.04s, 0s, 0.04s, 0.04s, 0s; }
.nav-submenu a:nth-child(2) { transition-delay: 0.08s, 0s, 0.08s, 0.08s, 0s; }
.nav-submenu a:nth-child(3) { transition-delay: 0.12s, 0s, 0.12s, 0.12s, 0s; }
.nav-submenu a:nth-child(4) { transition-delay: 0.16s, 0s, 0.16s, 0.16s, 0s; }
.nav-submenu a:nth-child(5) { transition-delay: 0.2s, 0s, 0.2s, 0.2s, 0s; }
.nav-submenu a:nth-child(6) { transition-delay: 0.24s, 0s, 0.24s, 0.24s, 0s; }
.nav-submenu a:nth-child(7) { transition-delay: 0.28s, 0s, 0.28s, 0.28s, 0s; }
.nav-submenu a:nth-child(n + 8) { transition-delay: 0.32s, 0s, 0.32s, 0.32s, 0s; }

/* Flip text animation for 위치, 예약 및 문의 */
.nav-flip .nav-top-link {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  line-height: 1.2;
}

.nav-flip .nav-top-link::after {
  display: none;
}

.nav-flip .flip-inner {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.2;
  height: 1.2em;
  vertical-align: middle;
}

.nav-flip .flip-txt {
  display: block;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-flip .flip-clone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
}

.nav-flip .nav-top-link:hover .flip-txt {
  transform: translateY(100%);
}

.nav-flip .nav-top-link:hover .flip-clone {
  transform: translateY(0);
}

/* --- Mobile: submenu accordion (editorial minimal) ---------------------- */
@media (max-width: 900px) {
  .menu-items {
    overflow-y: auto;
    gap: 0.15rem;
  }

  /* 그룹/리프 간 구분은 가로선 대신 여백 리듬으로 */
  .menu-group {
    display: block;
    border: none;
  }

  .menu-group-toggle {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.95rem 0.1rem;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 4.8vw, 1.4rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: rgba(36, 28, 23, 0.9);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease,
      color 0.28s ease;
  }

  .menu-group-toggle > span:first-child {
    flex: 1;
  }

  .menu-overlay.active .menu-group-toggle,
  .menu-overlay.active .menu-leaf {
    opacity: 1;
    transform: translateY(0);
  }

  /* CSS 보더로 그리는 미니멀 쉐브론 (∨). open 시 위로 뒤집힘 (∧) */
  .menu-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(89, 65, 45, 0.45);
    border-bottom: 1px solid rgba(89, 65, 45, 0.45);
    transform: rotate(45deg) translate(-2px, -2px);
    transform-origin: center;
    transition:
      transform 0.4s var(--ease-out-expo),
      border-color 0.28s ease;
  }

  .menu-group.is-open .menu-chevron {
    transform: rotate(-135deg) translate(-2px, -2px);
    border-color: var(--color-accent);
  }

  .menu-group.is-open .menu-group-toggle {
    color: var(--color-ink);
  }

  .menu-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out-expo);
  }

  .menu-group.is-open .menu-sub {
    max-height: 700px;
  }

  /* 서브 항목: 세로 보더 제거, 골드 작은 선을 prefix로 — 호버 시 확장.
     기존 `.menu-overlay.active .menu-items a { opacity: 1 }` 규칙을 이기도록
     동일 특이도의 `.menu-overlay.active .menu-sub a`로 초기값을 잡음. */
  .menu-overlay .menu-sub a {
    position: relative;
    display: block;
    padding: 0.42rem 0 0.42rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(61, 47, 37, 0.68);
    border: none;
    margin: 0;
    transition:
      opacity 0.35s ease,
      transform 0.4s var(--ease-out-expo),
      color 0.25s ease,
      padding-left 0.4s var(--ease-out-expo);
  }

  .menu-overlay.active .menu-sub a {
    opacity: 0;
    transform: translateX(-6px);
  }

  .menu-sub a::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 1px;
    background: rgba(163, 122, 63, 0.45);
    transition: width 0.35s var(--ease-out-expo), background-color 0.25s ease;
  }

  .menu-sub a::after {
    content: none !important;
  }

  .menu-sub a:hover,
  .menu-sub a:focus-visible,
  .menu-sub a:active {
    color: var(--color-ink);
    padding-left: 2.2rem;
    outline: none;
  }

  .menu-sub a:hover::before,
  .menu-sub a:focus-visible::before,
  .menu-sub a:active::before {
    width: 22px;
    background: var(--color-accent);
  }

  .menu-sub a:last-child {
    padding-bottom: 0.6rem;
  }

  /* is-open 상태에서 서브 항목 stagger reveal (특이도 높여 기존 rule 이김) */
  .menu-overlay.active .menu-group.is-open .menu-sub a {
    opacity: 1;
    transform: translateX(0);
  }

  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(1) { transition-delay: 0.08s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(2) { transition-delay: 0.14s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(3) { transition-delay: 0.2s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(4) { transition-delay: 0.26s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(5) { transition-delay: 0.32s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(6) { transition-delay: 0.38s; }
  .menu-overlay.active .menu-group.is-open .menu-sub a:nth-child(n + 7) { transition-delay: 0.44s; }

  /* 리프 항목: 탑 라벨과 동일한 시각 무게, 가로선 없음 */
  .menu-leaf {
    display: flex !important;
    align-items: center;
    padding: 0.95rem 0.1rem !important;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 4.8vw, 1.4rem) !important;
    font-weight: 400;
    letter-spacing: -0.01em !important;
    color: rgba(36, 28, 23, 0.9);
    background: transparent;
    border: none !important;
  }

  .menu-items > a.menu-leaf {
    justify-content: flex-start;
  }

  .menu-leaf:hover,
  .menu-leaf:focus-visible {
    color: var(--color-ink);
  }
}

/* --- Room Info section redesign: editorial, single-rule visual language --- */
.room-info-section {
  background-color: var(--color-bg-body);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

/* Specs — replace cell-based grid with open reference-table feel.
   Only top/bottom rule + thin vertical dividers between same-row items. */
.room-info-specs {
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  overflow: visible;
  gap: 0;
  max-width: 960px;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto clamp(3rem, 5vw, 4rem);
}

.spec-item {
  background: transparent;
  padding: 1.9rem 1rem;
  gap: 0.55rem;
  border-right: 1px solid var(--color-line);
}

.spec-item:nth-child(4n),
.spec-item:last-child {
  border-right: none;
}

.spec-item.is-wide {
  grid-column: 1 / -1;
  border-right: none;
  border-top: 1px solid var(--color-line);
  padding: 1.4rem 1.5rem;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--color-text-sub);
}

.spec-value {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--color-ink);
  letter-spacing: -0.01em;
  line-height: 1.55;
  font-weight: 500;
}

.spec-item.is-wide .spec-value {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-weight: 400;
  text-align: center;
  max-width: 720px;
}

.spec-item.is-wide .spec-label {
  flex-shrink: 0;
}

/* Notice — 색 박스/왼쪽 accent 제거, 얇은 상·하선으로 조용한 주석 느낌 */
.room-info-notice {
  max-width: 720px;
  margin: 0 auto clamp(3.5rem, 6vw, 5rem);
  padding: 1.3rem 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  text-align: center;
}

.room-info-notice p {
  display: inline-block;
  text-align: left;
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--color-text-sub);
  margin: 0.15rem 0;
  word-break: keep-all;
}

.room-info-notice p::before {
  content: "·";
  position: absolute;
  left: 0.25rem;
  top: -0.05em;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2em;
}

.room-info-notice p + p {
  margin-top: 0.15rem;
}

/* 구비 물품 서브헤딩 — 골드 가는 액센트 라인 아래에 */
.room-info-subheading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  font-weight: 500;
  text-align: center;
  color: var(--color-ink);
  margin: 0 0 clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
}

.room-info-subheading::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  margin: 1rem auto 0;
  opacity: 0.7;
}

/* Amenities grid — 카테고리 카드 제거, 타이포그래피로만 구조화 */
.amenities-grid {
  gap: clamp(2.4rem, 4vw, 3.2rem) clamp(2rem, 3.5vw, 3rem);
  max-width: 1040px;
}

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

.amenity-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenity-category h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
  margin: 0 0 0.95rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-line);
  letter-spacing: -0.005em;
}

.amenity-category li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

/* Tablet (2열): 내부 가로선은 없애고 wide의 border-top만으로 그룹 구분 */
@media (max-width: 1024px) {
  .spec-item {
    border-right: none;
  }

  .spec-item.is-wide {
    border-top: 1px solid var(--color-line);
  }
}

/* Mobile (1열): 하단 보더로 스택 분리, wide 직전 item은 중복 방지 */
@media (max-width: 600px) {
  .room-info-specs {
    margin: 2.2rem auto 2.4rem;
  }

  .spec-item {
    padding: 1.3rem 0.9rem;
    border-bottom: 1px solid var(--color-line);
  }

  /* wide 바로 앞(last regular) item은 wide의 border-top과 겹치므로 제거 */
  .spec-item:nth-last-of-type(2):not(.is-wide) {
    border-bottom: none;
  }

  /* wide가 없을 때 대비: 마지막 item은 container의 border-bottom 덕에 불필요 */
  .spec-item:last-child {
    border-bottom: none;
  }

  .spec-item.is-wide {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.3rem 0.9rem;
  }

  .room-info-notice p {
    font-size: 0.82rem;
    padding-left: 0.9rem;
  }

  .amenities-grid {
    gap: 2rem;
  }
}

/* --- Room sliders: pagination bullets match hero style ------------------- */
/* Hero는 흰색(22x2 → active 46x2), 객실 슬라이더는 같은 모양에 먹색 */
.index-rooms-slider .swiper-pagination-bullet,
.rooms-page-slider .swiper-pagination-bullet {
  width: 22px;
  height: 2px;
  border-radius: 0;
  background: rgba(36, 28, 23, 0.22);
  opacity: 1;
  margin: 0 4px !important;
  transition:
    background 0.4s ease,
    width 0.4s var(--ease-out-expo);
}

.index-rooms-slider .swiper-pagination-bullet-active,
.rooms-page-slider .swiper-pagination-bullet-active {
  background: var(--color-ink);
  width: 46px;
}

.index-rooms-slider .swiper-pagination,
.rooms-page-slider .swiper-pagination {
  bottom: 1.2rem;
}



