/* =========================================================
   배치·간격 (색·글꼴 값은 tokens.css 에서만 정합니다)
   ========================================================= */
:root {
  --hd-h: 76px;
  --wrap: 1240px;
  --gut: 32px;
  --g-item: 12px;   /* 항목 안 묶음 사이 */
  --g-name: 2px;    /* 영문 ↔ 한글 이름 */
  --g-card: 28px;   /* 카드 사이 */
  --g-head: 56px;   /* 섹션 머리 ↔ 내용 */
  --sec-y: 120px;   /* 섹션 위아래 */
  --vh100: 100vh;   /* app.js 가 한 번 재서 고정 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1099px) { :root { --hd-h: 68px; --gut: 28px; --sec-y: 96px; } }
@media (max-width: 640px) { :root { --hd-h: 60px; --gut: 16px; --g-head: 40px; --g-card: 20px; --sec-y: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-body); font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(880px + var(--gut) * 2); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--c-dark); color: var(--c-on-dark); padding: 10px 16px; border-radius: var(--r-card); }
.skip:focus { top: 12px; }
#main:focus { outline: none; }

/* ---------- 버튼 · 칩 · 탭 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px; border-radius: var(--r-pill); background: var(--c-dark); color: var(--c-on-dark); font-size: 15px; font-weight: 500; letter-spacing: .01em; border: 1px solid var(--c-dark); transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { background: var(--c-dark-2); }
.btn .ic { width: 16px; height: 16px; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--light:hover { background: var(--c-bg); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn--line { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--line:hover { background: var(--c-ink); color: var(--c-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li, .pill { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: 13px; line-height: 1; color: var(--c-ink-2); }
.chips li { padding: 7px 12px; }
.pill { height: 38px; padding: 0 18px; font-size: 14px; color: var(--c-ink); background: var(--c-surface); transition: background .2s, color .2s, border-color .2s; }
.pill:hover { border-color: var(--c-ink); }
.pill.is-on { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-on-dark); }

/* ---------- 헤더 ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd-h); background: var(--c-surface); border-bottom: 1px solid var(--c-line); transition: background .3s, border-color .3s, color .3s; }
.hd-in { height: 100%; max-width: calc(1440px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.hd--home:not(.is-solid) { background: transparent; border-color: transparent; color: #fff; }
.logo { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.logo-en { font-family: var(--f-en); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.logo-ko { font-size: 11px; letter-spacing: .3em; margin-top: 5px; opacity: .75; }
.nav > ul { display: flex; gap: 6px; }
.nav-item { position: relative; }
.nav-top { display: flex; flex-direction: column; align-items: center; padding: 10px 18px; line-height: 1; }
.nav-en { font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav-ko { font-size: 11.5px; font-weight: 500; margin-top: 6px; opacity: .7; }
.nav-item.is-cur .nav-en { color: var(--c-accent); }
.sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px); padding-top: 8px; visibility: hidden; opacity: 0; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.sub ul { min-width: 140px; padding: 8px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); color: var(--c-ink); }
.sub a { display: block; padding: 8px 14px; text-align: center; font-size: 11.5px; font-weight: 500; white-space: nowrap; border-radius: 4px; }
.sub a:hover { background: var(--c-bg); }
.nav-item:hover .sub, .nav-item:focus-within .sub, .nav-item.is-open .sub { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.hd--home:not(.is-solid) .sub ul { background: var(--c-glass); border-color: var(--c-glass-line); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hd--home:not(.is-solid) .sub a:hover { background: var(--c-glass-hover); }
.nav-item.no-sub .sub { visibility: hidden !important; opacity: 0 !important; }
.hd-act { display: flex; align-items: center; gap: 10px; }
.hd--home:not(.is-solid) .hd-reserve { background: #fff; color: var(--c-ink); border-color: #fff; }
.m-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; align-items: center; justify-content: center; transition: background .3s var(--ease); }
.m-ico { position: relative; width: 16px; height: 10px; }
.m-ico i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .32s var(--ease), top .32s var(--ease); }
.m-ico i:first-child { top: 0; }
.m-ico i:last-child { top: calc(100% - 1.5px); }
.m-btn[aria-expanded="true"] .m-ico i:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.m-btn[aria-expanded="true"] .m-ico i:last-child { top: calc(50% - .75px); transform: rotate(-45deg); }
.mpanel { position: absolute; top: 100%; left: 0; right: 0; height: calc(var(--vh100) - var(--hd-h)); background: var(--c-surface); color: var(--c-ink); border-top: 1px solid var(--c-line); overflow: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.mpanel.is-open { opacity: 1; visibility: visible; }
.mpanel .mpanel-in { transform: translateY(-8px); transition: transform .32s var(--ease); }
.mpanel.is-open .mpanel-in { transform: none; }
.mpanel-in { max-width: 880px; min-height: 100%; margin: 0 auto; padding: 32px var(--gut) 40px; display: flex; flex-direction: column; gap: 40px; }
.m-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.m-head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--c-ink); }
.m-en { font-family: var(--f-en); font-size: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.m-ko { font-size: 12.5px; color: var(--c-ink-3); }
.m-list li { border-bottom: 1px solid var(--c-line); }
.m-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; font-size: 15.5px; }
.m-list .ic { width: 16px; height: 16px; color: var(--c-ink-3); transition: transform .25s, color .25s; }
.m-list a:hover .ic, .m-list a:focus-visible .ic { transform: translateX(3px); color: var(--c-ink); }
.m-list a[aria-current="page"] { font-weight: 700; }
.m-foot { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .m-nav { grid-template-columns: 1fr; gap: 28px; } .m-foot { grid-template-columns: 1fr; } .mpanel-in { padding-top: 24px; } }
@media (max-width: 1099px) {
  .nav, .hd-reserve { display: none; }
  .m-btn { display: inline-flex; }
}
@media (min-width: 1100px) { .mpanel { display: none !important; } }

/* ---------- 섹션 머리 · 항목 제목 ---------- */
.sec { padding: var(--sec-y) 0; }
.sec-head { display: flex; align-items: last baseline; justify-content: space-between; gap: 24px; margin-bottom: var(--g-head); }
.sec-en { font-family: var(--f-en); font-size: clamp(36px, 4.4vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.005em; }
.sec-ko { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--c-ink-2); margin-top: 8px; line-height: 1.4; }
.sec-lead { font-size: 15px; color: var(--c-ink-2); margin-top: 10px; line-height: 1.6; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.more .ic { width: 16px; height: 16px; transition: transform .25s; }
.more:hover .ic { transform: translateX(3px); }
.more--inline { margin-top: var(--g-item); align-self: flex-start; }
@media (max-width: 640px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
.it-title { display: flex; flex-direction: column; gap: var(--g-name); }
.it-en { font-family: var(--f-en); font-style: italic; font-size: 16px; line-height: 1.2; color: var(--c-ink-2); }
.it-ko { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.35; }
.it-title--lg .it-ko { font-size: 28px; }
.it-title--lg .it-en { font-size: 18px; }
.desc { color: var(--c-ink-2); font-size: 15.5px; line-height: 1.8; }
.desc p + p { margin-top: 12px; }
.desc--tight p + p { margin-top: 6px; }
.meta, .people, .label { font-size: 13px; color: var(--c-ink-3); line-height: 1.5; }
.people { color: var(--c-ink-2); display: flex; gap: 10px; align-items: center; }
.people i { font-style: normal; color: var(--c-line); }
.credit { font-size: 11.5px; color: var(--c-ink-3); line-height: 1.5; }
.date { font-family: var(--f-mono); font-size: 13px; color: var(--c-ink-3); }

/* ---------- 사진 ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r-photo); background: var(--c-surface-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph--card { aspect-ratio: 3 / 2; }
.ph--sq { aspect-ratio: 4 / 5; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--row { aspect-ratio: 3 / 2; }
.ph--gallery { aspect-ratio: 16 / 9; }
.ph--empty { display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); font-size: 13px; aspect-ratio: 3 / 2; }
a:hover .ph img, .card:hover .ph img { transform: scale(1.03); }
.empty { padding: 56px 24px; text-align: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); color: var(--c-ink-2); font-size: 15px; }

/* ---------- 등장 효과 (흐림 → 선명) ---------- */
.js .reveal { opacity: 0; filter: blur(10px); transition: opacity 1s var(--ease), filter 1s var(--ease); }
.js .reveal.is-in { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; filter: none; transition: none; }
  .ph img, .hero-slide { transition: none !important; }
}

/* ---------- 메인 첫 화면 ---------- */
.hero { position: relative; height: var(--vh100); min-height: 560px; color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--c-dark); }
.hero-media, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide img, .hero-video, .hero-poster { width: 100%; height: 100%; object-fit: cover; }
.hero-poster { position: absolute; inset: 0; z-index: -1; }
.hero-yt iframe { position: absolute; top: 50%; left: 50%; width: max(100%, calc(var(--vh100) * 1.7778)); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-shade { background: var(--c-overlay); }
.hero-in { position: relative; padding-top: var(--hd-h); padding-bottom: 24px; }
.hero-en { font-family: var(--f-en); font-style: italic; font-size: clamp(34px, 5.6vw, 76px); line-height: 1.02; margin-bottom: .14em; text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.hero-ko { font-family: var(--f-head); font-weight: 500; font-size: clamp(24px, 3vw, 40px); line-height: 1.45; max-width: 18em; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hero-sub { margin-top: 14px; font-size: clamp(15px, 1.3vw, 17px); color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero-cta { margin-top: 32px; }
.hero-dots { position: absolute; right: var(--gut); bottom: 36px; display: flex; gap: 8px; }
.hero-dots span { width: 26px; height: 2px; background: rgba(255, 255, 255, .4); transition: background .4s; }
.hero-dots span.is-on { background: #fff; }
.hero-credit { position: absolute; left: var(--gut); bottom: 14px; color: rgba(255, 255, 255, .72); font-size: 11px; }
@media (max-height: 760px) and (min-width: 641px) { .hero-cta { margin-top: 24px; } }

/* ---------- 메인 소개 ---------- */
.intro { min-height: calc(var(--vh100) - var(--hd-h)); display: flex; align-items: center; }
.intro .wrap { width: 100%; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-desc p:first-child { font-family: var(--f-head); font-size: clamp(20px, 2vw, 26px); line-height: 1.6; color: var(--c-ink); margin-bottom: 20px; }
.intro-fig .ph { max-height: calc(var(--vh100) - var(--hd-h) - 280px); min-height: 360px; aspect-ratio: auto; height: 600px; }
.intro-fig .credit { margin-top: 8px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-fig .ph { height: auto; max-height: none; min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- 넘기기 (객실 미리보기 · 상세 사진) ---------- */
.car-track, .g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar, .g-track::-webkit-scrollbar { display: none; }
.car-track { gap: var(--g-card); }
.car-item { flex: 0 0 calc((100% - var(--g-card) * 2) / 3); scroll-snap-align: start; }
@media (max-width: 1024px) { .car-item { flex-basis: calc((100% - var(--g-card)) / 2); } }
@media (max-width: 640px) { .car-item { flex-basis: 84%; } }
.rcard { display: flex; flex-direction: column; height: 100%; }
.rcard .ph { aspect-ratio: 3 / 2; max-height: 300px; }
.rcard-body { display: flex; flex-direction: column; gap: var(--g-item); padding-top: 20px; }
.nav-btns { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.nav-btns[hidden] { display: none; }
.nbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; background: var(--c-surface); transition: border-color .2s, background .2s; }
.nbtn:hover { border-color: var(--c-ink); }
.nbtn:disabled { opacity: .35; cursor: default; }

/* ---------- 메인 스페셜 ---------- */
.sp-grid { display: grid; gap: var(--g-card); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sp-grid { gap: 12px; } .scard-cap { left: 14px; right: 14px; bottom: 14px; } .scard .it-ko { font-size: 16px; } .scard .it-en { font-size: 14px; } }
.scard { position: relative; display: block; color: #fff; }
.scard .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 10, .72), rgba(8, 12, 10, 0) 58%); }
.scard-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.scard .it-en { color: rgba(255, 255, 255, .85); }
.scard .it-ko { text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }

/* ---------- 예약 안내 띠 ---------- */
.band { padding: 0 0 var(--sec-y); }
.band-card { position: relative; overflow: hidden; border-radius: var(--r-band); background: var(--c-dark); color: var(--c-on-dark); padding: clamp(56px, 8vw, 120px) clamp(24px, 4.5vw, 56px); min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.band-bg, .band-shade { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-shade { background: var(--c-overlay-strong); }
.band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band--photo .band-in { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .28); }
.band-en { font-family: var(--f-en); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.band-en em { color: var(--c-accent); font-style: italic; }
.band--photo .band-en em { color: #e9d7a8; }
.band-ko { font-family: var(--f-head); font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; margin-top: 14px; }
.band-desc { margin-top: 10px; font-size: 15px; max-width: 34em; }
.band-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; text-shadow: none; }
.band-credit { position: absolute; left: clamp(24px, 4.5vw, 56px); bottom: 12px; color: rgba(255, 255, 255, .7); }
@media (max-width: 640px) { .band-card { min-height: 0; } }
@media (max-width: 900px) { .band-in { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px) { .band-btns { width: 100%; } .band-btns .btn { flex: 1 1 100%; } }

/* ---------- 하위 페이지 머리 ---------- */
.is-sub #main { padding-top: var(--hd-h); }
.phead { padding: 40px var(--gut) 0; text-align: center; }
.phead-title { display: flex; justify-content: center; }
.phead-ko { font-family: var(--f-head); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.3; }
.tabs { margin-top: 22px; }
.tabs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sec--sub { padding-top: 64px; }
.sec--sub .sec-head { margin-bottom: 28px; }
.sec-head--room { align-items: flex-end; }
.nav-btns--head { margin-top: 0; flex: none; }
@media (max-width: 640px) { .sec-head--room { flex-direction: row; align-items: flex-end; } .nav-btns--head .nbtn { width: 42px; height: 42px; } }

/* ---------- 좌우 번갈아 놓는 줄 (객실 목록 · 부대시설) ---------- */
.rows { display: flex; flex-direction: column; gap: 88px; }
.row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.row--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.row--rev .row-ph { order: 2; }
.row-ph { display: flex; flex-direction: column; gap: 8px; }
.row-body { display: flex; flex-direction: column; gap: var(--g-item); }
.dots-list { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--c-ink-2); }
.dots-list li { position: relative; padding-left: 14px; }
.dots-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 900px) {
  .rows { gap: 64px; }
  .row, .row--rev { grid-template-columns: 1fr; gap: 24px; }
  .row--rev .row-ph { order: 0; }
  .row--room { gap: var(--g-item); }
  .row--room .row-ph { grid-row: 1; grid-column: 1; margin-bottom: 8px; }
  .row--room .row-body { display: contents; }
  .row--room .row-body > * { grid-column: 1; }
  .row--room .row-body .more--inline { grid-row: 1; justify-self: end; align-self: end; margin: 0 14px 22px 0; padding: 9px 16px; border-radius: var(--r-pill); background: var(--c-surface); text-decoration: none; position: relative; z-index: 1; }
}

/* ---------- 카드 격자 (주변 여행지 · 서비스) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--g-card); }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; }
.card-body { display: flex; flex-direction: column; gap: var(--g-item); padding-top: 20px; flex: 1; }
.card-body .more--inline { margin-top: auto; padding-top: 4px; }

/* ---------- 전경보기 ---------- */
.view-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g-card); }
.view-item--wide { grid-column: 1 / -1; }
.view-item .ph { aspect-ratio: 3 / 2; }
.view-item--wide .ph { aspect-ratio: 21 / 9; }
.view-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 10px; }
.view-cap { font-size: 14px; color: var(--c-ink-2); }
@media (max-width: 640px) { .view-grid { grid-template-columns: 1fr; } .view-item--wide .ph { aspect-ratio: 3 / 2; } }

/* ---------- 객실 상세 ---------- */
.gallery { position: relative; margin-bottom: 40px; }
.g-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; display: flex; gap: 8px; pointer-events: none; }
.g-dots span { width: 26px; height: 2px; background: rgba(255, 255, 255, .45); transition: background .4s; box-shadow: 0 0 6px rgba(0, 0, 0, .25); }
.g-dots span.is-on { background: #fff; }
.g-slide { flex: 0 0 100%; scroll-snap-align: start; }
.g-slide .ph { width: 100%; aspect-ratio: auto; height: clamp(300px, calc(var(--vh100) - var(--hd-h) - 200px), 720px); }
@media (max-width: 640px) { .g-slide .ph { height: auto; aspect-ratio: 4 / 3; } }
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.blk { display: flex; flex-direction: column; gap: var(--g-item); padding: 32px 0; border-top: 1px solid var(--c-line); }
.blk:first-child { border-top: 0; padding-top: 0; }
.blk-title { font-size: 15px; font-weight: 700; }
.ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; font-size: 14.5px; color: var(--c-ink-2); }
.ticks li { position: relative; padding-left: 14px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--c-ink-3); }
.sum { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.sum-dl { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.sum-dl div { display: flex; gap: 12px; }
.sum-dl dt { width: 48px; flex: none; color: var(--c-ink-3); }
.sum-btns { display: flex; flex-direction: column; gap: 8px; }
.sum-note { font-size: 12.5px; color: var(--c-ink-3); text-align: center; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.pager a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-ink-2); }
.pager a em { display: block; font-style: normal; font-family: var(--f-head); font-size: 16px; color: var(--c-ink); }
.pager a:last-child { justify-self: end; text-align: right; }
.pager-all { border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 10px 20px; color: var(--c-ink) !important; }
@media (max-width: 960px) { .room-grid { grid-template-columns: 1fr; } .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr 1fr; } .pager-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* ---------- 오시는 길 ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: var(--g-card); }
.map { position: relative; background: var(--c-surface-2); border-radius: var(--r-card); overflow: hidden; height: clamp(420px, calc(var(--vh100) - 320px), 600px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--c-ink-2); }
.map-empty .ic { width: 32px; height: 32px; }
.loc-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 28px; }
.li-rows { flex: 1; display: flex; flex-direction: column; }
.li-row { flex: 1; display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.li-row:first-child { border-top: 0; padding-top: 0; }
.li-txt { flex: 1; min-width: 0; }
.li-row .value { font-size: 15px; line-height: 1.55; }
.circle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--c-ink-2); background: var(--c-surface); }
.circle--btn:hover { border-color: var(--c-ink); color: var(--c-ink); }
.loc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.loc-btns .btn { flex: 1 1 auto; }
.way-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g-card); margin-top: 56px; }
.way { padding: 28px; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); display: flex; flex-direction: column; gap: 16px; }
.way-head { display: flex; align-items: center; gap: 14px; }
.way-title { font-family: var(--f-head); font-size: 18px; font-weight: 600; }
.way-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--c-ink-2); }
.way-list li { position: relative; padding-left: 14px; }
.way-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 1024px) { .loc-grid { grid-template-columns: 1fr; } .map { height: auto; aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .map { aspect-ratio: 1 / 1; } .way-grid { grid-template-columns: 1fr; } .loc-card, .way { padding: 22px; } }

/* ---------- 공지 · FAQ ---------- */
.acc { border-top: 1px solid var(--c-ink); }
.acc-item { border-bottom: 1px solid var(--c-line); }
.acc-item summary { display: flex; align-items: center; gap: 14px; padding: 22px 4px; cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--c-ink-2); border-bottom: 1.5px solid var(--c-ink-2); transform: rotate(45deg); margin-left: 8px; flex: none; transition: transform .25s; }
.acc-item[open] summary::after { transform: rotate(-135deg); }
.acc-q { flex: 1; font-size: 16px; font-weight: 500; }
.acc-mark { font-family: var(--f-en); font-size: 20px; color: var(--c-accent); }
.badge { font-size: 12px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-dark); color: var(--c-on-dark); flex: none; }
.acc-a { padding: 0 4px 26px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-cat { font-size: 14px; font-weight: 700; color: var(--c-ink-2); margin-bottom: 14px; }
.faq-more { margin-top: 64px; padding: 36px; text-align: center; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-surface); }
.faq-more-t { font-family: var(--f-head); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.faq-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- 법적 페이지 ---------- */
.legal h2 { font-size: 17px; font-weight: 700; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: var(--c-ink-2); line-height: 1.85; }
.legal p + p { margin-top: 8px; }
.legal ul { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; list-style: disc; margin: 4px 0 8px; }

/* ---------- 푸터 ---------- */
.ft { background: var(--c-dark); color: var(--c-on-dark); padding: 72px 0 110px; font-size: 13.5px; }
.ft-name { font-family: var(--f-head); font-size: 17px; margin-bottom: 20px; }
.ft-name span { font-family: var(--f-en); font-size: 24px; margin-right: 8px; }
.ft-info { display: flex; flex-direction: column; gap: 6px; opacity: .82; }
.ft-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.ft-row em { font-style: normal; opacity: .6; margin-right: 6px; }
.ft-sep { width: 1px; height: 11px; background: currentColor; opacity: .35; margin: 0 14px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; }
.ft-links a { display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.ft-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ft-links strong { font-weight: 700; }
.ft-links .ic { width: 15px; height: 15px; }
.ft-copy { margin-top: 28px; opacity: .55; font-size: 12px; }
@media (max-width: 640px) {
  .ft-row { flex-direction: column; align-items: flex-start; }
  .ft-sep { display: none; }
}

/* ---------- 고정 버튼 ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--c-dark); color: var(--c-on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 6px 18px rgba(0, 0, 0, .16); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: transform .2s, opacity .3s, visibility .3s; }
.fab-btn:hover { transform: translateY(-2px); }
.fab-btn span:not(.sr) { font-size: 10.5px; line-height: 1; }
.fab-label .ic { width: 18px; height: 18px; }
.js .fab-top { opacity: 0; visibility: hidden; }
.js .fab-top.is-show { opacity: 1; visibility: visible; }
@media (max-width: 640px) { .fab { right: 14px; bottom: 14px; gap: 8px; } .fab-btn { width: 52px; height: 52px; } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 160; background: var(--c-dark); color: var(--c-on-dark); padding: 12px 20px; border-radius: var(--r-pill); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; max-width: calc(100% - 140px); text-align: center; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 공지 팝업 ---------- */
.pop-layer { position: fixed; inset: 0; z-index: 150; background: rgba(10, 14, 12, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.pop-layer[hidden] { display: none; }
.pop { width: 100%; max-width: 420px; max-height: calc(var(--vh100) - 40px); overflow: auto; background: var(--c-surface); border-radius: var(--r-card); box-shadow: var(--shadow-pop); }
.pop[hidden] { display: none; }
.pop:focus, .pop:focus-visible { outline: none; }
.pop-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pop-body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: var(--g-item); align-items: flex-start; }
.pop-count { font-family: var(--f-mono); font-size: 12px; color: var(--c-ink-3); }
.pop-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.45; }
.pop-foot { display: flex; align-items: center; justify-content: center; gap: 16px; border-top: 1px solid var(--c-line); padding: 14px; font-size: 13.5px; color: var(--c-ink-2); }
.pop-foot i { width: 1px; height: 12px; background: var(--c-line); }
.pop-foot button:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 전환 애니메이션 (짧고 부드럽게, 과하지 않게) ---------- */
@keyframes fh-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fh-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#main { animation: fh-fade .35s var(--ease) both; }
.acc-item[open] .acc-a { animation: fh-rise .3s var(--ease) both; }
.pop-layer:not([hidden]) { animation: fh-fade .25s var(--ease) both; }
.pop:not([hidden]) { animation: fh-rise .3s var(--ease) both; }
.toast { transition-timing-function: var(--ease); }
a, button, .pill, .chips li, .nbtn, .fab-btn, .btn { transition-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}

/* 부대시설: 세로로 쌓이는 폭에서는 서비스처럼 2열 카드 */
@media (max-width: 900px) {
  .rows--fac { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--g-card); }
  .rows--fac .row, .rows--fac .row--rev { gap: 18px; align-items: start; }
  .rows--fac .row--rev .row-ph { order: 0; }
  .rows--fac .ph--row { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) { .rows--fac { grid-template-columns: 1fr; } }
