:root {
  /* 다크모드 (기본) */
  --bg: #0c0c0c;
  --card: #131313;
  --text: #f4f4f5;
  --sub: #c9c9ce;
  --brand: #9ad1c8;
  --accent: #8aa4ff;
  --line: #242424;
}

[data-theme="light"] {
  /* 라이트모드 */
  --bg: #ffffff;
  --card: #f8f9fa;
  --text: #1a1a1a;
  --sub: #6b7280;
  --brand: #0d9488;
  --accent: #4f46e5;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
html { 
  transition: background-color 0.3s ease;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans KR, Apple SD Gothic Neo, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-y: scroll;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 20px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(12,12,12,0.6);
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] header {
  background: rgba(255,255,255,0.8);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; letter-spacing: 0.2px; }
.menu { display: flex; gap: 18px; font-size: 14px; color: var(--sub); }
.menu a { padding: 8px 10px; border-radius: 8px; }
.menu a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
[data-theme="light"] .menu a:hover { background: rgba(0,0,0,0.04); }
.menu-links { display: flex; gap: 18px; align-items: center; }
.menu-utils { display: none; }

/* 서브 메뉴 스타일 */
.menu-item-with-children {
  position: relative;
}

.menu-item-with-children .menu-parent {
  position: relative;
}

.menu-item-with-children .menu-parent::after {
  content: '▼';
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.menu-item-with-children:hover .menu-parent::after {
  transform: rotate(180deg);
}

/* 활성화된 서브 메뉴의 화살표 회전 (데스크톱 및 모바일 공통) */
.menu-item-with-children.active .menu-parent::after {
  transform: rotate(180deg);
}

.menu-item-with-children .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 180px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-item-with-children:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 모바일에서 서브 메뉴 클릭으로 작동 */
@media (max-width: 960px) {
  .menu-item-with-children {
    width: 100%;
  }
  
  .menu-item-with-children .menu-parent {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
  }
  
  .menu-item-with-children .submenu {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-left: 0;
    min-width: auto;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: opacity 0.3s ease, max-height 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    box-shadow: none;
  }
  
  .menu-item-with-children.active .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
    padding: 8px 0 8px 16px;
  }
  
  .menu-item-with-children .submenu a {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 6px;
    margin-bottom: 4px;
    display: block;
    width: 100%;
  }
  
  .menu-item-with-children .submenu a.submenu-parent-link {
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  
  /* 호버 효과 제거 (모바일) */
  .menu-item-with-children:hover .submenu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding: 0;
  }
  
  .menu-item-with-children.active:hover .submenu {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
    padding: 8px 0 8px 16px;
  }
  
  /* 모바일에서 hover 시 화살표 회전 효과 제거 */
  .menu-item-with-children:hover .menu-parent::after {
    transform: none;
  }
  
  /* 서브 메뉴 화살표 아이콘 스타일 */
  .menu-item-with-children .menu-parent::after {
    content: '▼';
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  
  /* 클릭으로 열렸을 때만 화살표 회전 */
  .menu-item-with-children.active .menu-parent::after {
    transform: rotate(180deg);
  }
}

.menu-item-with-children .submenu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--sub);
  border-radius: 0;
}

.menu-item-with-children .submenu a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

[data-theme="light"] .menu-item-with-children .submenu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* 서브 메뉴의 첫 번째 항목 (메인 메뉴 링크) 스타일 */
.menu-item-with-children .submenu a.submenu-parent-link {
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding-bottom: 12px;
}

.menu-item-with-children .submenu a.submenu-parent-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .menu-item-with-children .submenu a.submenu-parent-link:hover {
  background: rgba(0, 0, 0, 0.06);
}
.utils { display: flex; gap: 10px; }

/* 햄버거 메뉴 버튼 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #151515; color: var(--text); font-weight: 600; font-size: 14px;
  transition: all 0.2s ease;
}

[data-theme="light"] .btn {
  background: #f3f4f6;
  color: var(--text);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
}

.theme-toggle:hover {
  background: var(--line);
  transform: scale(1.05);
}
.btn.primary { 
  background: var(--accent); 
  border: 1px solid var(--accent); 
  color: #ffffff; 
}
.btn.primary:hover {
  background: #7a8fff;
  border-color: #7a8fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(138, 164, 255, 0.3);
}

.btn.brand { 
  background: var(--brand); 
  border: 1px solid var(--brand); 
  color: #ffffff; 
}
.btn.brand:hover {
  background: #7fc4b8;
  border-color: #7fc4b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(154, 209, 200, 0.3);
}

[data-theme="light"] .btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

[data-theme="light"] .btn.brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

/* Hero */
.hero { padding: 68px 0 40px; border-bottom: 1px solid var(--line); }

/* Fullscreen Hero (참고 페이지 스타일) */
.hero-fullscreen {
  position: relative;
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#owl-hero {
  width: 100%;
  height: 100%;
}

#owl-hero .owl-stage-outer {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#owl-hero .owl-stage {
  width: 100%;
  height: 100%;
  display: flex;
}

#owl-hero .owl-item {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#owl-hero .owl-item img,
#owl-hero .owl-item .hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-width: 100%;
  min-height: 100%;
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

#owl-hero .owl-item.active .hero-slide-bg {
  animation: hero-zoom 8s ease-out forwards;
}

@keyframes hero-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* Hero carousel pagination (dots) */
#owl-hero .owl-dots {
  position: absolute;
  bottom: 240px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  line-height: 1;
}

#owl-hero .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-sizing: border-box;
}

#owl-hero .owl-dot span {
  display: none;
}

#owl-hero .owl-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

#owl-hero .owl-dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 1);
  width: 12px;
  height: 12px;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-text {
  max-width: 800px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0 0 24px 0;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px 0;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  z-index: 2;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.hero-badges .badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.hero-badges .badge h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.hero-badges .badge p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

/* 기존 Hero 스타일 (다른 페이지용) */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; }
.eyebrow { display:inline-block; font-weight:800; font-size:12px; letter-spacing:3px; color:var(--sub); text-transform:uppercase; }
.h1 { font-size: clamp(32px, 6vw, 60px); line-height: 1.05; font-weight: 900; letter-spacing: -0.8px; }
.sub { margin-top: 12px; color: var(--sub); font-size: 14px; line-height: 1.6; }
.cta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-card { background: radial-gradient(1200px 500px at 70% -20%, rgba(154,209,200,0.12), transparent), var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
[data-theme="light"] .hero-card { background: radial-gradient(1200px 500px at 70% -20%, rgba(13,148,136,0.08), transparent), var(--card); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }

/* Hero carousel Ken Burns effect */
#owl-hero .owl-item .imgBg img { transform: scale(1.04); transform-origin: center; will-change: transform; }
#owl-hero .owl-item.active .imgBg img { animation: hero-kenburns 5s ease-out forwards; }
@keyframes hero-kenburns {
  0% { transform: scale(1.04); }
  100% { transform: scale(1.12); }
}

/* Lookbook 배너 스타일 */
.lookbook-hero-banner {
  position: relative;
  width: 100%;
  min-height: 60vh;
  margin-top: -64px;
  padding-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lookbook-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.lookbook-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) brightness(0.4);
  transform: scale(1.1);
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.lookbook-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.lookbook-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

.lookbook-banner-title {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0;
  font-family: 'Playfair Display', 'Georgia', serif;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.1s ease-out, opacity 0.3s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .lookbook-hero-banner {
    min-height: 50vh;
  }
  
  .lookbook-banner-content {
    padding: 60px 20px;
  }
  
  .lookbook-banner-title {
    font-size: clamp(36px, 10vw, 64px);
  }
}

/* Trust badges (일반 섹션용) */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.badge { background: var(--card); border: 1px solid var(--line); padding: 16px; border-radius: 12px; }
.badge h4 { margin: 0 0 6px; font-size: 14px; }
.badge p { margin: 0; color: var(--sub); font-size: 13px; }

/* Section headings */
.kicker { display:block; font-weight:800; font-size:12px; letter-spacing:3px; color:var(--sub); text-transform:uppercase; margin-bottom:10px; padding: 10px 0; }

/* Highlights */
section { 
  padding: 56px 0; 
  position: relative; 
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-head h3 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing:-0.4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding: 24px; }
.card.gallery-card { max-width: 400px; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block;  }
.card:has(img) { padding: 0; }
.card:has(img) .meta { padding: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--sub); }
.card .meta { padding: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--sub); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Directional reveal for cards */
.reveal-left { opacity:0; transform: translateX(-24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity:0; transform: translateX(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.is-visible, .reveal-right.is-visible { opacity:1; transform:none; }

/* Typographic utilities */
.display-xl { font-size: clamp(28px, 6vw, 64px); line-height: 1.05; font-weight: 900; letter-spacing: -0.6px; }
.lead { font-size: 18px; line-height: 1.8; }
.quote { font-size: 18px; line-height: 1.8; color: var(--sub); margin: 0; }
.content { padding: 12px; }

/* Auth pages */
.auth { padding: 80px 0; }
.auth-header { max-width: 560px; margin: 0 auto 24px; }
.auth-title { font-size: clamp(36px, 6vw, 56px); font-weight: 900; letter-spacing: -0.6px; margin: 0 0 10px 0; }
.auth-sub { margin: 0; color: var(--sub); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.auth-form { max-width: 560px; margin: 0 auto; }
.helper { text-align: right; margin: 6px 2px 16px; }
.helper a { color: var(--sub); font-size: 13px; }
.btn.block { width: 100%; height: 48px; font-size: 16px; }
.muted { color: var(--sub); font-size: 14px; }

/* Quick booking */
.booking { background: linear-gradient(180deg, rgba(154,209,200,0.08), rgba(138,164,255,0.06)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
label { font-size: 12px; color: var(--sub); margin-bottom: 8px; display: block; }
input, select, textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid #2a2a2a; background: #0f0f10; color: var(--text); font-size: 14px; transition: all 0.2s ease; }
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea { border: 1px solid var(--line); background: #ffffff; color: var(--text); }
textarea { resize: vertical; min-height: 100px; margin-bottom: 4px; }

/* Sticky CTAs */
.sticky { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 60; }
.sticky .btn { box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* Footer */
footer {
  padding: 36px 0;
  color: var(--sub);
  border-top: 1px solid var(--line);
  scroll-snap-align: end;
  scroll-snap-stop: normal;
  min-height: auto;
}
.map-container { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.map-container #kakao-map { width: 100%; height: 300px; }

/* 카카오 약도 서비스 스타일 */
.root_daum_roughmap { 
  background: var(--card) !important; 
  border-radius: 10px; 
  overflow: hidden; 
  margin: 16px 0 !important; 
  padding: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.root_daum_roughmap * { 
  color: var(--text) !important; 
  box-sizing: border-box !important;
}
.root_daum_roughmap .wrap_controllers,
.root_daum_roughmap .wrap_controllers *,
.root_daum_roughmap .wrap_info,
.root_daum_roughmap .wrap_info * {
  background: var(--card) !important;
  color: var(--text) !important;
  padding: 8px 12px !important;
  margin: 4px 0 !important;
  line-height: 1.6 !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}
.root_daum_roughmap .wrap_controllers {
  padding: 12px !important;
  margin-bottom: 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: center !important;
}
.root_daum_roughmap .wrap_controllers a {
  white-space: nowrap !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.5 !important;
}
.root_daum_roughmap .wrap_btn_roadview {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.root_daum_roughmap .wrap_btn_roadview a,
.root_daum_roughmap .wrap_btn_roadview span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
}
.root_daum_roughmap .wrap_btn_roadview .bar {
  display: inline-block !important;
  width: 1px !important;
  height: 14px !important;
  background: var(--line) !important;
  vertical-align: middle !important;
  margin: 0 4px !important;
}
.root_daum_roughmap .wrap_info {
  padding: 12px 12px 16px !important;
  margin-top: 12px !important;
}
.root_daum_roughmap .wrap_info > div {
  margin-bottom: 10px !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}
.root_daum_roughmap .wrap_controllers a,
.root_daum_roughmap .wrap_info a {
  color: var(--brand) !important;
  margin: 0 4px !important;
}
.root_daum_roughmap .wrap_info .item_address,
.root_daum_roughmap .wrap_info .item_tel,
.root_daum_roughmap .wrap_info .item_category {
  color: var(--sub) !important;
  margin: 6px 0 !important;
  padding: 4px 0 !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
}
.root_daum_roughmap .wrap_map {
  margin: 12px 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}
.root_daum_roughmap .wrap_map iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 300px !important;
}

.item
{
  width:100%;
}

/* Modal */
.modal { position:fixed; inset:0; display:none; z-index:100; }
.modal-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.7); backdrop-filter:blur(4px); }
[data-theme="light"] .modal-overlay { background:rgba(0,0,0,0.5); }
.modal-content { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-dialog { width:min(920px, 100%); background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
[data-theme="light"] .modal-dialog { box-shadow:0 20px 60px rgba(0,0,0,0.15); }

/* 예약 모달 반응형 */
@media (max-width: 768px) {
  #bookingModalLayout,
  #bookingModalLayoutPage {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .booking-modal-wide {
    max-width: 95% !important;
  }
}

/* Tabs */
.tabs { display:flex; gap:8px; margin-bottom:12px; }
.tab { padding:8px 12px; border:1px solid var(--line); border-radius:999px; color:var(--sub); cursor:pointer; transition: all 0.2s ease; }
.tab.active { background:#1a1a1a; color:var(--text); }
[data-theme="light"] .tab.active { background:#e5e7eb; color:var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .badges-grid { grid-template-columns: 1fr 1fr; }
  .hero-fullscreen { min-height: 500px; }
  .hero-title { font-size: clamp(36px, 10vw, 80px); }
  .hero-subtitle { font-size: clamp(14px, 3vw, 18px); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; }
  .booking .wrap { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  
  /* 햄버거 메뉴 표시 */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* 메뉴 숨기기 */
  .menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    display: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 99;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  
  .menu.active {
    display: flex !important;
  }
  
  .menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  
  .menu-links a {
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--line);
  }
  
  .menu-links a:last-child {
    border-bottom: none;
  }
  
  /* 서브 메뉴가 있는 메뉴 항목 스타일 */
  .menu-links .menu-item-with-children {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  
  .menu-links .menu-item-with-children:last-child {
    border-bottom: none;
  }
  
  .menu-links .menu-item-with-children .menu-parent {
    border-bottom: none;
  }
  
  .menu-links .menu-item-with-children .menu-parent::after {
    content: '▼';
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .menu-links .menu-item-with-children.active .menu-parent::after {
    transform: rotate(180deg);
  }
  
  .menu-utils {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .menu-utils .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .menu-utils .theme-toggle {
    width: 100%;
    height: 44px;
    border-radius: 8px;
  }
  
  /* 데스크톱 utils 숨기기 */
  .utils {
    display: none !important;
  }
  
  .utils .btn {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .utils .theme-toggle {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: 1fr; }
  .hero-fullscreen { min-height: 400px; }
  .hero-title { font-size: clamp(32px, 12vw, 60px); }
  .hero-subtitle { font-size: clamp(14px, 4vw, 16px); }
  .hero-badges { padding: 24px 0; }
  .hero-badges .badge { padding: 16px; }
}

/* jQuery UI Datepicker 다크 테마 스타일 */
.ui-datepicker {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  font-family: inherit !important;
  color: var(--text) !important;
}

.ui-datepicker-header {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
}

.ui-datepicker-title {
  color: var(--text) !important;
  font-weight: 700 !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--text) !important;
  top: 8px !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: rgba(255,255,255,0.1) !important;
  border-radius: 6px !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  border-color: var(--text) !important;
}

.ui-datepicker-calendar {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 4px !important;
}

.ui-datepicker-calendar thead th {
  color: var(--sub) !important;
  font-weight: 600 !important;
  padding: 8px 4px !important;
  font-size: 12px !important;
}

.ui-datepicker-calendar td {
  padding: 0 !important;
}

.ui-datepicker-calendar td a {
  background: transparent !important;
  border: none !important;
  color: var(--text) !important;
  padding: 8px 4px !important;
  text-align: center !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

.ui-datepicker-calendar td a:hover {
  background: rgba(255,255,255,0.1) !important;
}

.ui-datepicker-calendar td.ui-datepicker-today a {
  background: var(--brand) !important;
  color: #072321 !important;
  font-weight: 700 !important;
}

.ui-datepicker-calendar td.ui-datepicker-current-day a {
  background: rgba(154, 209, 200, 0.3) !important;
  color: var(--brand) !important;
  font-weight: 700 !important;
}

.ui-datepicker-calendar td.closed-day a {
  color: #999 !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.ui-datepicker-calendar td.ui-datepicker-other-month a {
  color: #666 !important;
  opacity: 0.5 !important;
}

.ui-datepicker-calendar td.ui-state-disabled a {
  color: #666 !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.ui-datepicker-buttonpane {
  border-top: 1px solid var(--line) !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
}

.ui-datepicker-buttonpane button {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.ui-datepicker-buttonpane button:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* 대표인사 섹션 반응형 */
@media (max-width: 768px) {
  .ceo-section-card {
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  .ceo-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .ceo-image-wrapper img {
    max-width: 100% !important;
  }
  
  .ceo-content-wrapper {
    width: 100% !important;
  }
}

/* 오시는 길 섹션 반응형 */
@media (max-width: 768px) {
  .root_daum_roughmap {
    padding: 8px !important;
    margin: 12px 0 !important;
  }
  
  .root_daum_roughmap .wrap_controllers {
    padding: 8px !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  
  .root_daum_roughmap .wrap_controllers a {
    display: inline-block !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }
  
  .root_daum_roughmap .wrap_info {
    padding: 8px !important;
    font-size: 13px !important;
  }
  
  .root_daum_roughmap .wrap_info > div {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .root_daum_roughmap .wrap_map {
    margin: 8px 0 !important;
  }
  
  .root_daum_roughmap .wrap_map iframe {
    min-height: 250px !important;
  }
  
  /* booking 페이지의 오시는 길 카드 */
  .card[style*="padding:20px"] {
    padding: 16px !important;
    overflow-x: hidden !important;
  }
  
  /* 홈 페이지 온라인 예약 섹션 모바일 반응형 */
  .booking-content-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .booking-content-grid > div:last-child {
    order: 2;
  }
  
  .booking-content-grid > div:first-child {
    order: 1;
  }
}

