/* ===== 디자인 기본값 ===== */
:root {
  --bg: #FFFFFF;
  --surface: #F4F7F9;
  --line: #E2E8EE;
  --text: #0F1A24;
  --muted: #5A6775;
  --accent: #0A6EBD;
  --accent-hover: #085A9C;
  --accent-soft: #E6F1FA;
  --sun: #F2A93B;

  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard", "Manrope", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1120px, 100% - var(--s-400)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ===== 글자 스타일 ===== */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

.eyebrow { color: var(--accent); letter-spacing: 0.04em; margin-bottom: var(--s-75); }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 0.875rem; line-height: 1.25rem; }
.btn-md { font-size: 1rem; line-height: 1.5rem; }
.btn-lg { font-size: 1.125rem; line-height: 1.75rem; padding: var(--s-100) var(--s-300); border-radius: 12px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--bg); border-color: var(--line); color: var(--text); }
.btn-outline:hover { background: var(--surface); }
.btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }

.skip { position: absolute; left: var(--s-200); top: -100px; z-index: 100; background: var(--accent); color: #fff; padding: var(--s-75) var(--s-100); border-radius: 8px; }
.skip:focus { top: var(--s-200); }

/* ===== 상단 메뉴 ===== */
.nav-wrap { position: fixed; inset: var(--s-200) 0 auto; z-index: 50; display: flex; justify-content: center; pointer-events: none; padding-inline: var(--s-200); }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15,26,36,.08); border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15,26,36,.08);
}
.brand { display: flex; align-items: center; gap: var(--s-75); font-weight: 600; }
.brand i, .brand .icon-svg { color: var(--sun); font-size: 1.25rem; }
/* 페이지에 직접 그린 아이콘 (아이콘 글꼴 대신) */
.icon-svg { width: 1em; height: 1em; flex: none; fill: currentColor; }
/* 휴대폰에서 누를 때 회색 번쩍임 없애고, 두 번 눌러 확대되는 지연 없애기 */
a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nav-links { display: flex; gap: var(--s-50); list-style: none; }
.nav-links a { display: block; padding: var(--s-75) var(--s-100); border-radius: 8px; color: var(--muted); transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { background: var(--surface); color: var(--text); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 112px var(--s-300) var(--s-300);
}
.mobile-menu ul { list-style: none; display: grid; gap: var(--s-200); }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }

/* ===== 첫 화면 ===== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; }
.hero-top { position: relative; padding-top: 104px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(6,16,26,.48); }
.hero-inner { position: relative; padding-block: var(--s-600) var(--s-900); }
/* 메인 이름 (간판처럼) */
.hero-brand {
  display: inline-flex; align-items: center; gap: var(--s-100);
  color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hero-brand-sun {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  background: var(--sun); color: #fff; font-size: 1.875rem; text-shadow: none;
  box-shadow: 0 0 0 6px rgba(242, 169, 59, .25), 0 8px 24px rgba(0, 0, 0, .25);
}
.hero-brand-text { display: grid; gap: var(--s-50); }
.hero-brand-name { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-brand-sub {
  display: flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.5em; color: #FFE2B3;
}
.hero-brand-sub::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--sun); }
/* 넓은 화면에서는 메뉴와 같은 높이, 왼쪽 위에 */
@media (min-width: 1200px) {
  .hero-top { padding-top: 18px; }
}
.badge { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-50) var(--s-100); border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); margin-bottom: var(--s-300); }
.hero-title {
  max-width: 680px;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-500); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); margin-top: var(--s-500); list-style: none; color: rgba(255,255,255,.86); }
.hero-facts li { display: flex; align-items: center; gap: var(--s-75); }

/* ===== 공통 섹션 ===== */
.section { padding-block: var(--s-900); }
.section-head { max-width: 680px; margin-bottom: var(--s-600); }
.section-head .muted { margin-top: var(--s-200); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.card-title { display: flex; align-items: center; gap: var(--s-75); }
.card-title i { color: var(--accent); font-size: 1.25rem; }

/* ===== 빈자리 찾기 ===== */
.booking-section { padding-block: var(--s-800); }
.booking-grid { display: grid; grid-template-columns: minmax(300px, 340px) minmax(0, 1fr); gap: var(--s-300); align-items: start; }
.booking-form { padding: var(--s-300); display: grid; gap: var(--s-300); }
.bk-field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-100); }
.bk-field legend { display: flex; align-items: center; gap: var(--s-75); padding: 0; margin-bottom: var(--s-100); }
.bk-field legend i { color: var(--accent); }
.bk-search { width: 100%; }

.cal { border: 1px solid var(--line); border-radius: 16px; padding: var(--s-100); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-75); }
.cal-nav { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 1.125rem; transition: background-color .3s var(--ease); }
.cal-nav:hover:not(:disabled) { background: var(--surface); }
.cal-nav:disabled { color: var(--line); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-25); text-align: center; }
.cal-w { padding: var(--s-50) 0; color: var(--muted); }
.cal-day {
  aspect-ratio: 1; max-height: 44px; width: 100%; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cal-day:hover:not(:disabled) { background: var(--accent-soft); }
.cal-day.is-sun, .cal-w.is-sun { color: #C2410C; }
.cal-day.is-sat, .cal-w.is-sat { color: var(--accent); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.cal-day[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-day:disabled { color: #C3CBD3; cursor: default; }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.chip {
  padding: var(--s-75) var(--s-200); border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--text); cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.steppers { display: grid; gap: var(--s-75); }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200); border: 1px solid var(--line); border-radius: 14px; }
.stepper-ctrl { display: flex; align-items: center; gap: var(--s-100); }
.stepper-ctrl output { min-width: 3em; text-align: center; font-variant-numeric: tabular-nums; }
.step-btn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background-color .3s var(--ease); }
.step-btn:hover:not(:disabled) { background: var(--surface); }
.step-btn:active:not(:disabled) { transform: scale(0.96); }
.step-btn:disabled { color: #C3CBD3; cursor: default; }

.booking-results { display: grid; gap: var(--s-200); min-width: 0; }
.bk-demo { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-100); border-radius: 10px; background: #FFF6E8; color: #7A4B00; }
.bk-summary { display: grid; gap: var(--s-50); }
.pill { display: inline-block; margin-right: var(--s-75); padding: var(--s-25) var(--s-75); border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.bk-groups { display: grid; gap: var(--s-100); }
.bk-group { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.bk-group > summary, .bk-group.is-empty { list-style: none; display: flex; align-items: center; gap: var(--s-200); padding: var(--s-200) var(--s-300); }
.bk-group > summary { cursor: pointer; border-radius: 16px; }
.bk-group > summary::-webkit-details-marker { display: none; }
.bk-group > summary:hover { background: var(--surface); }
.bk-group > summary > i { color: var(--muted); transition: transform .5s var(--ease); }
.bk-group[open] > summary > i { transform: rotate(180deg); }
.bk-group.is-empty { opacity: .6; }
.bk-g-name { flex: 1; min-width: 0; display: grid; gap: var(--s-25); }
.bk-g-meta { display: grid; justify-items: end; gap: var(--s-50); text-align: right; }
.bk-count { padding: var(--s-25) var(--s-75); border-radius: 999px; background: #E7F6EC; color: #1F7A3E; white-space: nowrap; }
.bk-count.is-none { background: var(--surface); color: var(--muted); }
.bk-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s-75); padding: 0 var(--s-300) var(--s-300); }
.site-chip {
  display: grid; justify-items: center; gap: 0; padding: var(--s-75) var(--s-50); min-height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); cursor: pointer; font: inherit;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-chip:hover { border-color: var(--accent); }
.site-chip:active { transform: scale(0.98); }
.site-chip .caption-5 { color: var(--muted); }
.site-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-chip[aria-pressed="true"] .caption-5 { color: rgba(255,255,255,.85); }
.bk-empty { display: grid; justify-items: center; gap: var(--s-100); padding: var(--s-500) var(--s-300); text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.bk-empty > i { font-size: 2rem; color: var(--accent); }
.bk-empty.is-error > i { color: #C2410C; }
.bk-pick {
  position: sticky; bottom: var(--s-200); z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); border-radius: 16px; background: #0F1A24; color: #fff;
  box-shadow: 0 12px 32px rgba(15,26,36,.25);
}
.bk-pick .caption-4 { color: rgba(255,255,255,.7); }
.bk-next { background: #fff; color: var(--accent); }
.bk-next:hover { background: var(--accent-soft); }
.bk-next:disabled { opacity: .6; cursor: progress; }
.bk-pick-msg { flex-basis: 100%; color: #FFD9A0; }
.bk-legacy a { color: var(--accent); text-decoration: underline; }
.bk-hint { display: flex; align-items: center; gap: var(--s-75); color: var(--text); }
.bk-hint i { color: #1F9D55; font-size: 1.125rem; }

/* 배치도에서 고르기 */
.bk-map-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #F7F8F6; -webkit-overflow-scrolling: touch; }
.bk-map { display: block; width: 100%; min-width: 680px; height: auto; font-family: var(--font); }
.m-land { fill: #F7F8F6; }
.m-sea { fill: #D6E9F7; }
.m-coast { fill: none; stroke: #DADDE1; stroke-width: 8; }
.m-road { fill: #DFE2E6; }
.m-line { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.m-block { fill: #E3EEF8; }
.m-block.is-water { fill: #C4E6F8; stroke: #7CC4E8; stroke-width: 1; }
.m-label.is-water { fill: #2F7FB5; font-weight: 600; }
.m-icon { fill: #9AA6B2; }
.m-label { fill: #66717D; text-anchor: middle; font-weight: 500; }
.m-label.is-strong { fill: #A3ADB8; font-weight: 600; letter-spacing: 0.08em; }
.m-label.is-sea { fill: #5A8DB8; font-weight: 600; letter-spacing: 0.15em; }
.spot text { text-anchor: middle; font-weight: 600; pointer-events: none; font-variant-numeric: tabular-nums; }
.spot .hit { fill: transparent; }
/* 테두리는 원본 배치도 색(--line) 그대로. 안쪽 색: 예약 가능 흰색, 예약 불가 회색, 선택 주황 */
.spot .box { stroke: var(--line); stroke-width: 1.4; }
.spot.is-pension .box { stroke: #8EC3EC; }
.spot.is-closed .box { fill: #CDD3D9; }
.spot.is-closed text { fill: #7D8894; font-weight: 500; }
.spot.is-open { cursor: pointer; outline: none; }
.spot.is-open .box { fill: #fff; transition: fill .3s var(--ease); }
.spot.is-open.is-pension .box { fill: var(--line); }
.spot.is-open text { fill: #1F2A37; transition: fill .3s var(--ease); }
.spot.is-open:hover .box { fill: #FFF1DC; }
.spot.is-open:focus-visible .box { stroke: #E07B00; stroke-width: 2.6; }
.spot[aria-pressed="true"] .box { fill: #F28C1B; stroke: #C96A00; stroke-width: 1.8; }
.spot[aria-pressed="true"] text { fill: #fff; }
.bk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-75) var(--s-200); color: var(--muted); }
.bk-legend li { display: flex; align-items: center; gap: var(--s-50); }
.bk-legend .dot { width: 16px; height: 11px; border-radius: 3px; border: 1.5px solid transparent; }
.dot.is-open { background: #fff; border-color: #36B37E; }
.dot.is-closed { background: #CDD3D9; border-color: #36B37E; }
.dot.is-picked { background: #F28C1B; border-color: #C96A00; }
.bk-swipe { display: none !important; }
.bk-list { border: 1px solid var(--line); border-radius: 16px; }
.bk-list > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: var(--s-100) var(--s-200); border-radius: 16px; }
.bk-list > summary::-webkit-details-marker { display: none; }
.bk-list > summary:hover { background: var(--surface); }
.bk-list > summary i { color: var(--muted); transition: transform .5s var(--ease); }
.bk-list[open] > summary i { transform: rotate(180deg); }
.bk-list .bk-groups { padding: 0 var(--s-100) var(--s-100); }
.map-cta { margin-top: var(--s-200); }
.skel { height: 72px; background: var(--surface); border-color: transparent; animation: skel 1.4s var(--ease) infinite alternate; }
@keyframes skel { from { opacity: 1; } to { opacity: .45; } }

/* ===== 공지사항 ===== */
.news-section { padding-block: var(--s-800); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-500); align-items: start; }
.news-grid .section-head { margin-bottom: 0; }
.news-list { display: grid; gap: var(--s-100); }
.news-item { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .3s var(--ease); }
.news-item.is-important { border-color: #F5C98B; background: #FFFBF4; }
.news-item[open] { border-color: #BCD6EC; }
.news-item.is-important[open] { border-color: #EFB25F; }
.news-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding: var(--s-200) var(--s-300); border-radius: 16px; }
.news-item > summary::-webkit-details-marker { display: none; }
.news-item > summary:hover { background: rgba(15, 26, 36, .03); }
.news-title { display: flex; align-items: center; gap: var(--s-75); min-width: 0; }
.news-badge { flex: none; padding: var(--s-25) var(--s-75); border-radius: 999px; background: #F28C1B; color: #fff; }
.news-meta { display: flex; align-items: center; gap: var(--s-100); flex: none; }
.news-meta i { color: var(--muted); transition: transform .5s var(--ease); }
.news-item[open] .news-meta i { transform: rotate(45deg); }
.news-body { display: grid; gap: var(--s-50); padding: 0 var(--s-300) var(--s-300); color: var(--muted); }
.news-more { margin-top: var(--s-200); width: 100%; }
.news-empty { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-300); border: 1px dashed var(--line); border-radius: 16px; }

/* ===== 팝업창 ===== */
.popup-layer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--s-200); }
.popup-backdrop { position: absolute; inset: 0; background: rgba(6, 16, 26, .55); opacity: 0; transition: opacity .3s var(--ease); }
.popup-card {
  position: relative; width: min(420px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  background: var(--bg); border-radius: 20px; box-shadow: 0 24px 64px rgba(6, 16, 26, .3);
  opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.popup-layer.is-open .popup-backdrop { opacity: 1; }
.popup-layer.is-open .popup-card { opacity: 1; transform: none; }
.popup-img { width: 100%; max-height: 240px; object-fit: cover; }
.popup-body { display: grid; gap: var(--s-100); padding: var(--s-400) var(--s-300) var(--s-300); }
.popup-body .eyebrow { margin: 0; }
.popup-text { display: grid; gap: var(--s-50); color: var(--muted); }
.popup-cta { margin-top: var(--s-100); }
.popup-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.popup-link { flex: 1; padding: var(--s-200); border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .3s var(--ease); }
.popup-link + .popup-link { border-left: 1px solid var(--line); }
.popup-link:hover { background: var(--surface); }
.popup-link.is-strong { color: var(--text); font-weight: 600; }

/* ===== 공지 ===== */
.notice-section { padding-block: var(--s-700); background: var(--surface); }
.notice-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-300); }
.open-card { background: var(--accent); color: #fff; border-radius: 20px; padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-100); }
.open-card .eyebrow { color: rgba(255,255,255,.8); margin: 0; }
.open-card .muted { color: rgba(255,255,255,.82); }
.open-card .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--accent); }
.open-card .btn:hover { background: var(--accent-soft); }
.notice-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: var(--s-400); }
.notice-card > p { display: flex; align-items: center; gap: var(--s-75); margin-bottom: var(--s-200); }
.notice-card > p i { color: var(--sun); font-size: 1.25rem; }
.notice-list { display: grid; gap: var(--s-100); padding-left: var(--s-300); color: var(--muted); }
.notice-list li::marker { color: var(--accent); font-weight: 600; }

/* ===== 요금 ===== */
.price-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s-300); align-items: start; }
.price-grid > *, .guide-grid > *, .notice-grid > * { min-width: 0; }
.table-card { padding: var(--s-300); }
.table-card .card-title { margin-bottom: var(--s-200); }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 440px; }
.price-table th { text-align: left; color: var(--muted); padding: var(--s-75) var(--s-100); border-bottom: 1px solid var(--line); }
.price-table td { padding: var(--s-100); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 600; white-space: nowrap; }
.price-table td:first-child i { color: var(--accent); margin-left: var(--s-50); }
.table-note { margin-top: var(--s-200); display: flex; align-items: center; gap: var(--s-50); }

.room-card { overflow: hidden; }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-body { padding: var(--s-300); display: grid; gap: var(--s-100); }
.room-price { display: flex; align-items: baseline; gap: var(--s-75); }
.room-price strong { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); list-style: none; }
.chips li { padding: var(--s-50) var(--s-100); background: var(--surface); border-radius: 999px; }
.room-note { display: flex; gap: var(--s-75); padding: var(--s-100); background: #FFF6E8; border-radius: 12px; color: #7A4B00; }

.extra-fees { margin-top: var(--s-300); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.extra-fee { padding: var(--s-200) var(--s-300); background: var(--surface); border-radius: 16px; display: grid; gap: var(--s-50); }

/* ===== 태그라인 ===== */
.tagline-section { background: #0F1A24; padding-block: 160px; }
.tagline { max-width: 820px; color: #fff; }
.tagline .word { opacity: .3; transition: opacity .6s var(--ease); }
.tagline .word.is-on { opacity: 1; }

/* ===== 드론 영상 ===== */
.video-section { padding-bottom: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0F1A24; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0F1A24; color: #fff; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.video-play:hover img { transform: scale(1.02); opacity: 1; }
.video-btn {
  position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--accent); font-size: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transition: transform .5s var(--ease);
}
.video-play:hover .video-btn { transform: scale(1.06); }
.video-play:active .video-btn { transform: scale(0.98); }
.video-label { position: absolute; left: var(--s-300); bottom: var(--s-300); padding: var(--s-75) var(--s-100); border-radius: 999px; background: rgba(15,26,36,.7); }

/* ===== 물놀이장 ===== */
.water-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.water-grid figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); }
.water-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.water-grid figure:hover img { transform: scale(1.04); }
.water-note { margin-top: var(--s-300); display: flex; align-items: center; gap: var(--s-75); color: var(--muted); }
.water-note i { color: var(--accent); }

/* ===== 배치도 + 갤러리 ===== */
.map-card { display: block; position: relative; overflow: hidden; padding: var(--s-200); background: var(--surface); }
.map-card img { width: 100%; border-radius: 4px; transition: transform .5s var(--ease); }
.map-card:hover img { transform: scale(1.01); }
.map-zoom { position: absolute; right: var(--s-300); bottom: var(--s-300); display: flex; align-items: center; gap: var(--s-50); padding: var(--s-75) var(--s-100); background: rgba(15,26,36,.8); color: #fff; border-radius: 999px; }
.gallery { margin-top: var(--s-300); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-200); }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }

/* ===== 주변 관광지 ===== */
.nearby-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); }
.nearby-card {
  display: grid; grid-template-rows: auto 1fr auto; gap: var(--s-200); padding: var(--s-300);
  border: 1px solid var(--line); border-radius: 20px; background: var(--bg);
  transition: border-color .3s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nearby-card:hover { border-color: #BCD6EC; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 26, 36, .08); }
.nearby-card:active { transform: scale(0.98); }
.nearby-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.5rem; }
.nearby-text { display: grid; gap: var(--s-75); align-content: start; }
.nearby-link { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--accent); }

/* ===== 이용안내 ===== */
.guide-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s-700); align-items: start; }
.sticky-head { position: sticky; top: 120px; }
.accordion { display: grid; gap: var(--s-100); }
.accordion details { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .3s var(--ease); }
.accordion details[open] { border-color: #BCD6EC; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200) var(--s-300); border-radius: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--surface); }
.accordion summary i { transition: transform .5s var(--ease); color: var(--muted); }
.accordion details[open] summary i { transform: rotate(45deg); }
.accordion .panel { padding: 0 var(--s-300) var(--s-300); color: var(--muted); }
.accordion .panel ul { display: grid; gap: var(--s-75); padding-left: var(--s-200); }
.refund-card { margin-top: var(--s-300); padding: var(--s-300); }
.refund-list { list-style: none; margin-block: var(--s-200); display: grid; }
.refund-list li { display: flex; justify-content: space-between; gap: var(--s-200); padding: var(--s-100) 0; border-bottom: 1px solid var(--line); }
.refund-list li:last-child { border-bottom: 0; }
.refund-list li span:last-child { font-weight: 600; text-align: right; }
.refund-list li.is-none span:last-child { color: #C2410C; }
.faq-title { margin: var(--s-600) 0 var(--s-200); }

/* ===== 오시는 길 ===== */
.location-card { padding: var(--s-500); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-400); align-items: center; background: var(--surface); border-color: transparent; }
.location-card h2 { margin-bottom: var(--s-75); }
.nav-tip { margin-top: var(--s-200); }
.nav-tip i { color: var(--accent); margin-right: var(--s-50); vertical-align: -2px; }
.location-actions { display: grid; gap: var(--s-100); }
.bank-box {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300);
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
}
.bank-info { display: grid; gap: var(--s-50); min-width: 0; }
.bank-info .eyebrow { margin: 0; }
.bank-number { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; user-select: all; }
.bank-copy.is-done { border-color: var(--accent); color: var(--accent); }

/* ===== 푸터 ===== */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-600) var(--s-900); color: var(--muted); }
.footer-inner { display: grid; gap: var(--s-75); }
.footer-inner .title-4 { color: var(--text); margin-bottom: var(--s-75); }
.footer-links a { text-decoration: underline; }

/* ===== 휴대폰 하단 버튼 ===== */
.mobile-bar { display: none; }

/* ===== 스크롤 등장 효과 ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== 태블릿 ===== */
@media (max-width: 960px) {
  .notice-grid, .price-grid, .guide-grid, .location-card, .booking-grid, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-grid { gap: var(--s-300); }
  .sticky-head { position: static; }
  .guide-grid { gap: 0; }
  .extra-fees { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .water-grid { grid-template-columns: repeat(2, 1fr); }
  .nearby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 휴대폰 ===== */
@media (max-width: 720px) {
  .nav { width: 100%; justify-content: space-between; gap: var(--s-100); }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-4 { font-size: 1.5rem; line-height: 2rem; }
  .hero-inner { padding-block: var(--s-500) var(--s-700); }
  .hero-top { padding-top: 96px; }
  .hero-brand-sun { width: 44px; height: 44px; font-size: 1.5rem; }
  .hero-brand-name { font-size: 1.5rem; line-height: 2rem; }
  .hero-brand-sub { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.4em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding-block: var(--s-700); }
  .section-head { margin-bottom: var(--s-400); }
  .open-card, .notice-card { padding: var(--s-300); }
  .tagline-section { padding-block: var(--s-900); }
  .location-card { padding: var(--s-300); }
  .bank-box { padding: var(--s-200); }
  .booking-section { padding-block: var(--s-700); }
  .booking-form { padding: var(--s-200); }
  .bk-group > summary, .bk-group.is-empty { padding: var(--s-200); gap: var(--s-100); }
  .bk-sites { padding: 0 var(--s-200) var(--s-200); grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .bk-pick { bottom: calc(72px + env(safe-area-inset-bottom)); padding: var(--s-200); }
  .bk-next { flex: 1 1 100%; }
  .bk-swipe { display: flex !important; flex-basis: 100%; }
  .nearby-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-100); }
  .nearby-card { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; padding: var(--s-200); gap: var(--s-100) var(--s-200); }
  .nearby-icon { grid-row: span 2; width: 44px; height: 44px; }
  .nearby-link { grid-column: 2; }
  .news-section { padding-block: var(--s-700); }
  .news-item > summary { padding: var(--s-200); align-items: flex-start; }
  .news-title { flex-wrap: wrap; }
  .news-body { padding: 0 var(--s-200) var(--s-200); }
  .popup-layer { place-items: end center; padding: var(--s-100); }
  .popup-body { padding: var(--s-300) var(--s-200) var(--s-200); }
  .map-cta { width: 100%; }
  .bank-copy { flex: 1 1 100%; }
  .gallery { gap: var(--s-75); }
  .video-frame { border-radius: 16px; }
  .video-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 1.5rem; }

  /* ----- 손가락으로 누르기 편하게 (최소 44px) ----- */
  .cal-nav, .step-btn { width: 44px; height: 44px; }
  .cal-day { aspect-ratio: auto; height: 44px; max-height: none; }
  .chip { min-height: 44px; padding-inline: var(--s-200); }
  .bank-copy { min-height: 44px; }
  .bk-legacy a { display: inline-block; padding: var(--s-100) 0; }
  .nav .brand { min-height: 44px; display: inline-flex; align-items: center; }

  /* ----- 요금표: 휴대폰에서는 사이트마다 카드로 ----- */
  .table-scroll { overflow: visible; }
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-table tr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-50) var(--s-100);
    padding: var(--s-200) 0; border-bottom: 1px solid var(--line);
  }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table td { display: block; padding: 0; border: 0; }
  .price-table td:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-75); font-size: 1rem; }
  .price-table td:nth-child(2) { grid-column: 1 / -1; margin-bottom: var(--s-75); }
  .price-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; line-height: 1rem; color: var(--muted); }
  .price-table td:nth-child(2)::before { display: none; }
  .video-label { left: var(--s-200); bottom: var(--s-200); }
  .gallery figure, .water-grid figure { border-radius: 12px; }
  .water-grid { gap: var(--s-75); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-75);
    position: fixed; inset: auto 0 0; z-index: 30;
    padding: var(--s-75) var(--s-200) calc(var(--s-75) + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding-block: var(--s-100); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity .3s linear; }
  .mobile-menu li { transform: none; }
  .tagline .word { opacity: 1; transition: none; }
  .skel { animation: none; }
  .popup-card { transform: none; }
}
