/* ==========================================================================
   별숲 스테이 — DREXLY 템플릿 10
   시안 정본: 00-디자인보드(색·활자·사이트맵) · 02-페이지시안(각 면 세부) ·
   06-mobile(모바일 정보 우선순위). 01-home 은 내비게이션이 사이트맵과 어긋나
   폐안 처리하고 사진 원천으로만 썼다.
   레이아웃 원형: Immersive Full-bleed + Horizontal Gallery + Sticky Booking
   ========================================================================== */

:root {
  /* 색 — 디자인보드 COLOR PALETTE */
  --forest: #1b2b22;        /* 포레스트 그린 */
  --forest-deep: #12201a;
  --forest-mid: #27392c;
  --forest-btn: #2f463a;
  --forest-btn-hover: #3b5546;
  --mist: #e7e7e3;          /* 미스트 그레이 */
  --wood: #c8a37a;          /* 웜 우드 */
  --wood-deep: #ab855e;
  --brown: #3b3026;         /* 딥 브라운 */
  --beige: #f5f2ec;         /* 소프트 베이지 */

  --paper: #faf7f2;
  --paper-2: #f1ede5;
  --surface: #ffffff;
  --ink: #2a241c;
  --ink-2: #5d564b;
  --muted: #6f675b;
  --line: rgba(59, 48, 38, 0.14);
  --line-soft: rgba(59, 48, 38, 0.08);
  --on-dark: #f3f0e9;
  --on-dark-2: rgba(243, 240, 233, 0.72);

  --ok: #2f6b45;
  --ok-bg: #e7f0e8;
  --warn: #8a5a1d;
  --warn-bg: #f6eddc;
  --off: #8a6a62;
  --off-bg: #f0e6e3;

  /* 활자 — 디자인보드 TYPOGRAPHY */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;

  /* 간격 — 8px 체계 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 40px; --s8: 56px; --s9: 72px; --s10: 96px;
  --section: 112px;
  --wrap: 1240px;
  --gutter: 32px;

  /* 모서리·그림자·테두리 */
  --r: 3px;
  --r-lg: 8px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(27, 43, 34, 0.05), 0 10px 30px rgba(27, 43, 34, 0.07);
  --shadow-sm: 0 1px 2px rgba(27, 43, 34, 0.06);
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);

  /* z-index */
  --z-bar: 60;
  --z-header: 70;
  --z-scrim: 80;
  --z-drawer: 90;
  --z-sheet: 100;
  --z-toast: 120;

  --bar-h: 84px;
}

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

/* 고정 헤더(76) + 안내 면의 구역 이동줄(56) 만큼 앵커 착지점을 내린다 */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  /* 한국어는 어절 단위로 끊는다 — 「2박」·「독채」가 갈라지지 않게 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img { max-width: 100%; display: block; }
/* display 를 바꾸는 부품이 많아 hidden 속성을 반드시 이기게 못 박는다 */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--forest-btn);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .bookbar :focus-visible { outline-color: var(--wood); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: 12px 20px; font-size: 14px;
}
.skip:focus { left: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 17px; height: 17px; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.3; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- 활자 */
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--wood-deep);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--wood); }
.section-title { font-size: clamp(25px, 3vw, 34px); line-height: 1.32; }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head .eyebrow { margin-bottom: var(--s3); }
.section-head p { margin-top: var(--s4); color: var(--ink-2); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.75; }
.tiny { font-size: 13px; color: var(--muted); }

.section { padding: var(--section) 0; }
.section-tight { padding: var(--s10) 0; }
.band-alt { background: var(--paper-2); }
.band-dark { background: var(--forest); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark p { color: var(--on-dark-2); }

/* --------------------------------------------------------------- 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest-btn); color: #fff; }
.btn-primary:hover { background: var(--forest-btn-hover); }
.btn-wood { background: var(--wood); color: #21170c; }
.btn-wood:hover { background: var(--wood-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--forest-btn); background: rgba(47, 70, 58, 0.05); }
.btn-on-dark { background: transparent; color: var(--on-dark); border-color: rgba(243, 240, 233, 0.4); }
.btn-on-dark:hover { background: rgba(243, 240, 233, 0.12); border-color: var(--on-dark); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { background: #d7d4cd; color: #7d7970; border-color: transparent; cursor: not-allowed; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.btn-text:hover { color: var(--forest-btn); border-color: var(--forest-btn); }
.band-dark .btn-text, .on-dark .btn-text { color: var(--on-dark); border-color: rgba(243, 240, 233, .38); }

/* --------------------------------------------------------------- 헤더 */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .nav { display: flex; align-items: center; gap: var(--s5); height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand-ico { width: 24px; height: 26px; color: var(--forest); }
.navlinks { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.navlinks a {
  position: relative; display: inline-flex; align-items: center; height: 44px;
  padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.navlinks a:hover { color: var(--ink); }
.navlinks a[aria-current] { color: var(--ink); font-weight: 600; }
.navlinks a[aria-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 12px;
  height: 1.5px; background: var(--forest);
}
.nav-actions { display: flex; align-items: center; gap: var(--s3); }
.nav-tel { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav-tel:hover { color: var(--forest-btn); }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: transparent; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}

/* --------------------------------------------------------------- 서랍 */
.scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim); background: rgba(18, 32, 26, 0.5);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s;
}
.scrim.open { opacity: 1; visibility: visible; }
/* 닫힌 서랍은 화면 밖으로만 밀어 둔다(visibility 로 지우면 링크 이름까지 사라진다).
   키보드 초점은 script.js 가 inert 로 막는다. */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(320px, 86vw); background: var(--forest); color: var(--on-dark);
  transform: translateX(100%); pointer-events: none;
  transition: transform .3s var(--ease);
  display: flex; flex-direction: column; padding: var(--s5); overflow-y: auto;
}
.drawer.open { transform: translateX(0); pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); }
.drawer-head .brand { color: var(--on-dark); }
.drawer-head .brand-ico { color: var(--wood); }
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; background: transparent; color: var(--on-dark);
  border: 1px solid rgba(243, 240, 233, 0.28); border-radius: var(--r); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  display: flex; align-items: center; min-height: 52px; font-family: var(--serif);
  font-size: 19px; color: var(--on-dark); border-bottom: 1px solid rgba(243, 240, 233, 0.14);
}
.drawer nav a[aria-current] { color: var(--wood); }
.drawer-foot { margin-top: auto; padding-top: var(--s6); display: grid; gap: var(--s3); }
.drawer-foot .btn-on-dark { justify-content: flex-start; }

/* --------------------------------------------------------------- 히어로 */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-deep); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(12, 22, 17, 0.82) 0%, rgba(12, 22, 17, 0.58) 42%, rgba(12, 22, 17, 0.24) 100%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 78vh; padding: var(--s10) 0 var(--s9); color: var(--on-dark); }
.hero h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.22; font-weight: 700; color: #fff; text-wrap: balance; }
.hero .lead { color: rgba(255, 255, 255, 0.84); margin-top: var(--s4); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.hero-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s8); font-size: 12px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; }
.hero-cue span.line { display: block; width: 46px; height: 1px; background: rgba(255, 255, 255, 0.5); }

/* 페이지 히어로(하위 4면) — 홈보다 낮은 띠 */
.hero-page .hero-inner { min-height: 44vh; padding: var(--s9) 0 var(--s8); }
.hero-page h1 { font-size: clamp(27px, 3.8vw, 40px); }
.hero-band .hero-inner { min-height: 250px; padding: var(--s8) 0 var(--s10); }

/* 안내 면 — 좌우 분할형 히어로 */
.hero-split { background: var(--paper-2); }
.hero-split .split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 380px; }
.hero-split .split-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--s9) var(--s8) var(--s9) 0; }
.hero-split h1 { font-size: clamp(26px, 3.4vw, 38px); margin-top: var(--s3); }
.hero-split .lead { margin-top: var(--s4); }
.hero-split .split-media { position: relative; }
.hero-split .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 시그니처 모션 1 — 히어로 사진의 아주 느린 확대(transform 만) */
.js .hero-media img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js .hero-media.in img { transform: scale(1); }

/* --------------------------------------------------------------- 등장 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------- 가로 갤러리 */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); }
.gal-ctrl { display: flex; gap: var(--s2); }
.gal-btn {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; color: var(--ink);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.gal-btn:hover { background: var(--forest-btn); border-color: var(--forest-btn); color: #fff; }
.gal-btn[aria-disabled="true"] { opacity: .38; cursor: default; }
.gal-btn[aria-disabled="true"]:hover { background: var(--surface); border-color: var(--line); color: var(--ink); }
.gallery {
  display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) var(--s2); margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 auto; width: 320px; scroll-snap-align: start; }
.gal-item img { width: 100%; height: 268px; object-fit: cover; border-radius: var(--r); }
.gal-cap { margin-top: var(--s3); font-size: 14px; color: var(--ink-2); }
.gal-cap b { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
/* 점 자체는 3px 막대지만 누르는 면적은 44px 을 지킨다 */
.dots { display: flex; gap: 4px; justify-content: center; margin-top: var(--s3); }
.dots button { position: relative; width: 30px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dots button::before {
  content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 3px;
  margin-top: -1.5px; background: var(--line); border-radius: 2px; transition: background-color .2s var(--ease);
}
.dots button[aria-current]::before { background: var(--forest-btn); }

/* --------------------------------------------------------------- 홈: 특징 띠 */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.feature { display: flex; flex-direction: column; gap: var(--s3); padding-right: var(--s5); border-left: 1px solid rgba(243, 240, 233, 0.18); padding-left: var(--s5); }
.feature:first-child { border-left: 0; padding-left: 0; }
.feature .ico-lg { color: var(--wood); }
.feature h3 { font-size: 18px; font-weight: 600; }
.feature p { font-size: 14px; line-height: 1.7; }

/* --------------------------------------------------------------- 편의시설 · 절차 */
.amen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.amen { display: grid; justify-items: center; gap: 10px; text-align: center; }
.amen .ico-lg { color: var(--wood-deep); }
.amen b { font-size: 14px; font-weight: 600; }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); counter-reset: step; }
.step-card { display: grid; gap: var(--s3); align-content: start; padding-left: var(--s5); border-left: 1px solid var(--line); }
.step-card:first-child { border-left: 0; padding-left: 0; }
.step-card .ico-lg { color: var(--wood-deep); }
.step-card h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; }
.step-card p { color: var(--ink-2); font-size: 14px; line-height: 1.7; }

/* --------------------------------------------------------------- 홈: 계절 */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.season { position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate; }
.season img { width: 100%; height: 320px; object-fit: cover; transition: transform .6s var(--ease); }
.season:hover img { transform: scale(1.04); }
.season::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 26, 0) 40%, rgba(18, 32, 26, 0.78) 100%);
}
.season-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; }
.season-copy b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.season-copy span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }

/* --------------------------------------------------------------- 홈: 요금 안내 띠 */
.rate-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: center; }
.rate-cta-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.rate-line { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.rate-line:last-of-type { border-bottom: 0; }
.rate-line b { font-size: 17px; font-weight: 600; }
.rate-note { margin-top: var(--s4); font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- 객실: 필터 + 사이드 레일 */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { border-color: var(--forest-btn); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest-btn); border-color: var(--forest-btn); color: #fff; }
.chip .ico-sm { opacity: .85; }

.rooms-layout { display: grid; grid-template-columns: 268px 1fr; gap: var(--s8); align-items: start; }
.room-rail { position: sticky; top: 104px; display: flex; flex-direction: column; }
.room-rail .rail-head { font-size: 13px; color: var(--muted); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.rail-btn {
  display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  width: 100%; min-height: 76px; padding: 14px 16px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-soft);
  transition: background-color .18s var(--ease);
}
.rail-btn:hover { background: rgba(47, 70, 58, 0.05); }
.rail-btn[aria-selected="true"] { background: var(--paper-2); box-shadow: inset 2px 0 0 var(--forest-btn); }
.rail-btn b { font-size: 16px; font-weight: 600; }
.rail-btn span { font-size: 13px; color: var(--muted); }

.room-detail { display: grid; gap: var(--s6); }
.room-figure { position: relative; overflow: hidden; border-radius: var(--r); }
.room-figure img { width: 100%; height: clamp(300px, 42vw, 520px); object-fit: cover; }
/* 상태에 따라 배지 클래스가 통째로 갈리므로 위치는 .badge 로 잡는다
   (badge-float 로 잡으면 JS 가 상태 클래스를 씌운 순간 자리가 무너진다) */
.room-figure .badge {
  position: absolute; left: 20px; top: 20px; z-index: 1;
  max-width: calc(100% - 40px); box-shadow: 0 2px 12px rgba(18, 32, 26, .28);
}
.room-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.room-head h3 { font-size: clamp(22px, 2.4vw, 30px); }
.room-price { text-align: right; }
.room-price b { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; }
.room-price span { display: block; font-size: 14px; color: var(--muted); }
.spec-row { display: flex; flex-wrap: wrap; gap: var(--s5); padding: var(--s4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.spec .ico-sm { color: var(--muted); }
.room-amen { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.room-amen li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.room-amen .ico-sm { color: var(--wood-deep); }
.room-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 1.5;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-off { background: var(--off-bg); color: var(--off); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-float { background: rgba(18, 32, 26, 0.82); color: #fff; backdrop-filter: blur(3px); }

.empty-state {
  display: grid; justify-items: center; gap: var(--s4); text-align: center;
  padding: var(--s9) var(--s5); border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--surface);
}
.empty-state .ico-lg { color: var(--muted); }
.empty-state p { color: var(--ink-2); }

/* --------------------------------------------------------------- 표 */
.table-wrap { overflow-x: auto; }
.tbl { min-width: 560px; font-size: 15px; }
.tbl caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: var(--s3); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.tbl thead th { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.tbl tbody th { font-weight: 600; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl .row-total th, .tbl .row-total td { border-top: 1px solid var(--line); font-weight: 700; background: var(--paper-2); }

.deflist { border-top: 1px solid var(--line); }
.deflist-item { display: grid; grid-template-columns: 40px 200px 1fr; gap: var(--s4); align-items: start; padding: var(--s5) 0; border-bottom: 1px solid var(--line-soft); }
.deflist-item .ico { color: var(--wood-deep); margin-top: 2px; }
.deflist-item dt { font-weight: 600; }
.deflist-item dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.deflist-item dd span { display: block; }

/* --------------------------------------------------------------- 경험: 에디토리얼 목록 */
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; padding: var(--s9) 0; border-bottom: 1px solid var(--line); }
.prog:last-child { border-bottom: 0; }
.prog-media img { width: 100%; height: clamp(240px, 30vw, 380px); object-fit: cover; border-radius: var(--r); }
.prog-flip .prog-media { order: -1; }
.prog-no { font-family: var(--serif); font-size: 14px; color: var(--wood-deep); letter-spacing: .1em; }
.prog h3 { font-size: clamp(21px, 2.2vw, 27px); margin-top: var(--s2); }
.prog p { margin-top: var(--s4); color: var(--ink-2); max-width: 46ch; }
.prog-meta { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); }
.prog-meta div { display: flex; flex-direction: column; gap: 2px; }
.prog-meta dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.prog-meta dd { margin: 0; font-size: 15px; font-weight: 600; }
.prog-actions { margin-top: var(--s6); display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.tabbar { display: flex; gap: var(--s1); overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px;
  background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--forest); }
.tab .count { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------- 안내: 구역 이동줄 */
.sectionnav { position: sticky; top: 76px; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.sectionnav .wrap { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.sectionnav .wrap::-webkit-scrollbar { display: none; }
.sectionnav a {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 18px;
  font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap;
}
.sectionnav a:hover { color: var(--ink); }
.sectionnav a.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--forest); }

.map-figure { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map-figure img { width: 100%; height: clamp(260px, 32vw, 420px); object-fit: cover; }
.map-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s5); }
.route-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s7); }
.route-list h3 { font-size: 16px; font-family: var(--sans); font-weight: 600; }
.route-list p { margin-top: var(--s2); color: var(--ink-2); font-size: 15px; }

/* --------------------------------------------------------------- 아코디언 */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  width: 100%; min-height: 66px; padding: var(--s4) 0; background: transparent; border: 0;
  text-align: left; font-size: 16px; font-weight: 600; cursor: pointer;
}
.acc-trigger .ico { color: var(--muted); transition: transform .25s var(--ease); }
.acc-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
.acc-panel { display: none; padding: 0 0 var(--s5); color: var(--ink-2); font-size: 15px; line-height: 1.8; max-width: 74ch; }
.acc-item.open .acc-panel { display: block; }

/* --------------------------------------------------------------- 예약: 검색 카드 */
.searchcard {
  position: relative; z-index: 2; margin-top: -64px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--s5);
}
.searchcard-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr auto; gap: var(--s4); align-items: end; }
.pickfield { display: flex; flex-direction: column; gap: 6px; }
.pickfield > span { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.pickbtn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 52px; width: 100%; padding: 0 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  font-size: 16px; font-weight: 600; text-align: left;
}
.pickbtn:hover { border-color: var(--forest-btn); }
.pickbtn .ico-sm { color: var(--muted); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 52px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 8px; }
.stepper .stepper-label { font-size: 14px; color: var(--ink-2); padding-left: 8px; }
.stepper-ctrl { display: flex; align-items: center; gap: 4px; }
.step-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
}
.step-btn:hover:not([disabled]) { border-color: var(--forest-btn); background: rgba(47, 70, 58, .06); }
.step-btn[disabled] { opacity: .35; cursor: not-allowed; }
.step-val { min-width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- 달력 */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.cal-title { font-size: 16px; font-weight: 600; }
.cal-nav { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; }
.cal-nav[disabled] { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: 12px; color: var(--muted); padding: 6px 0; }
.cal-dow.sun { color: #a4564e; }
.cal-cell { min-height: 46px; }
.cal-day {
  width: 100%; min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; background: transparent; border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
  font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.cal-day .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ok); opacity: .55; }
.cal-day:hover:not([disabled]) { background: var(--paper-2); }
.cal-day[disabled] { color: #b9b4ab; cursor: not-allowed; text-decoration: line-through; }
.cal-day[disabled] .dot { background: #c9c4bb; }
.cal-day.is-range { background: #e9eee7; border-radius: 0; }
.cal-day.is-picked { background: var(--forest-btn); color: #fff; font-weight: 700; }
.cal-day.is-picked .dot { background: rgba(255, 255, 255, .8); }
.cal-day.is-start { border-radius: var(--r) 0 0 var(--r); }
.cal-day.is-end { border-radius: 0 var(--r) var(--r) 0; }
.cal-legend { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s5); font-size: 13px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); }
.swatch.free { background: #e9eee7; }
.swatch.pick { background: var(--forest-btn); border-color: var(--forest-btn); }
.swatch.sold { background: #ded9d1; }

/* --------------------------------------------------------------- 예약: 객실 목록 */
.avail-list { display: grid; gap: var(--s4); }
.avail-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: var(--s5); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.avail-row:hover { border-color: rgba(47, 70, 58, .4); }
.avail-row.is-picked { border-color: var(--forest-btn); box-shadow: 0 0 0 1px var(--forest-btn); }
.avail-row.is-off { opacity: .72; }
.avail-row img { width: 100%; height: 148px; object-fit: cover; border-radius: var(--r); }
.avail-body h3 { font-size: 19px; }
.avail-specs { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s3); font-size: 14px; color: var(--ink-2); }
.avail-msg { margin-top: var(--s3); font-size: 14px; display: flex; align-items: center; gap: 7px; }
.avail-side { text-align: right; display: grid; gap: var(--s3); justify-items: end; min-width: 190px; }
.avail-price b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.avail-price span { font-size: 13px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, #eeeae3 25%, #f6f3ee 37%, #eeeae3 63%); background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.sk-row { display: grid; grid-template-columns: 220px 1fr 160px; gap: var(--s5); align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); background: var(--surface); }
.sk-line { height: 14px; border-radius: 4px; }

/* --------------------------------------------------------------- 예약: 요약 + 폼 */
.book-layout { display: grid; grid-template-columns: 1fr 396px; gap: var(--s8); align-items: start; }
/* 격자 칸의 min-width:auto 가 표의 min-width 를 밀어내 가로 넘침을 만든다 */
.book-layout > *, .rooms-layout > *, .prog > *, .rate-cta > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.summary { position: sticky; top: 104px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.summary h3 { font-size: 19px; }
.sum-line { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.sum-line dt { color: var(--muted); font-size: 14px; }
.sum-line dd { margin: 0; font-weight: 600; text-align: right; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.sum-total dt { font-weight: 600; }
.sum-total dd { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 700; }
.summary .btn { margin-top: var(--s5); }
.summary .tiny { margin-top: var(--s3); text-align: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.span2 { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 600; }
.field .req { color: #a4564e; margin-left: 3px; }
.control {
  min-height: 52px; padding: 12px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); font: inherit; font-size: 16px; color: var(--ink); width: 100%;
}
.control::placeholder { color: #a9a49b; }
.control:hover { border-color: rgba(47, 70, 58, .45); }
.control:focus { outline: 2px solid var(--forest-btn); outline-offset: 1px; border-color: var(--forest-btn); }
textarea.control { min-height: 118px; resize: vertical; line-height: 1.7; }
.field.invalid .control { border-color: #a4564e; background: #fdf6f4; }
.field-error { display: none; align-items: center; gap: 6px; font-size: 13px; color: #a4564e; }
.field.invalid .field-error { display: flex; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.checkline input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest-btn); flex: none; }
.checkline a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  border-radius: 50%; display: inline-block; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none; gap: var(--s4); align-items: flex-start;
  background: var(--ok-bg); border: 1px solid rgba(47, 107, 69, .25); border-radius: var(--r-lg); padding: var(--s6);
}
.form-success.show { display: flex; }
.form-success .ico-lg { color: var(--ok); }
.form-success h3 { font-size: 19px; color: var(--ok); }
.form-success p { margin-top: var(--s2); color: var(--ink-2); font-size: 15px; }
.form-success .btn { margin-top: var(--s4); }

/* --------------------------------------------------------------- 푸터 */
.site-footer { background: var(--forest); color: var(--on-dark); padding: var(--s10) 0 var(--s6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s7); }
.footer-brand .brand { color: var(--on-dark); font-size: 20px; }
.footer-brand .brand-ico { color: var(--wood); }
.footer-brand address { font-style: normal; margin-top: var(--s4); font-size: 14px; line-height: 1.9; color: var(--on-dark-2); }
.footer-brand address a:hover { color: var(--wood); }
.footer-col h3 { font-size: 14px; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.footer-col ul { margin-top: var(--s4); display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; color: var(--on-dark-2); }
.footer-col a:hover { color: var(--wood); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4);
  margin-top: var(--s9); padding-top: var(--s5); border-top: 1px solid rgba(243, 240, 233, .16);
  font-size: 13px; color: var(--on-dark-2);
}
.footer-bottom nav { display: flex; gap: var(--s5); }
.footer-bottom a { min-height: 34px; display: inline-flex; align-items: center; }
.footer-bottom a:hover { color: var(--wood); }

/* --------------------------------------------------------------- 스티키 예약 바 */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  background: var(--forest); color: var(--on-dark); border-top: 1px solid rgba(243, 240, 233, .12);
  box-shadow: 0 -8px 24px rgba(18, 32, 26, .18);
}
.bookbar .wrap { display: flex; align-items: center; gap: var(--s5); height: var(--bar-h); }
.bar-fields { display: flex; align-items: center; gap: var(--s2); }
.bar-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; justify-content: center;
  min-height: 56px; padding: 6px 16px; background: transparent; color: var(--on-dark);
  border: 1px solid rgba(243, 240, 233, .22); border-radius: var(--r); cursor: pointer; text-align: left;
}
.bar-btn:hover { border-color: var(--wood); }
.bar-btn small { font-size: 11px; letter-spacing: .06em; color: var(--on-dark-2); }
.bar-btn b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.bar-sum { margin-left: auto; text-align: right; }
.bar-sum small { display: block; font-size: 12px; color: var(--on-dark-2); }
.bar-sum b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--wood); }
.bookbar .btn-wood { min-height: 56px; padding: 0 30px; }
.bar-compact { display: none; }

/* --------------------------------------------------------------- 시트(날짜·인원) */
.sheet-scrim { position: fixed; inset: 0; z-index: var(--z-sheet); background: rgba(18, 32, 26, .5); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.sheet-scrim.open { opacity: 1; visibility: visible; }
.sheet[hidden] { display: none; }
.sheet {
  position: fixed; z-index: calc(var(--z-sheet) + 1); left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px)); max-height: min(88vh, 760px); overflow-y: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(18, 32, 26, .3); padding: var(--s6);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.sheet-head h2 { font-size: 20px; }
.sheet-close { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; }
.sheet-guests { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.sheet-foot { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.sheet-foot .btn { flex: 1; }
.sheet-hint { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- 토스트 · 맨 위로 */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 16px); transform: translate(-50%, 12px);
  z-index: var(--z-toast); max-width: min(560px, calc(100vw - 32px));
  background: var(--brown); color: #fff; padding: 14px 22px; border-radius: var(--r-pill);
  font-size: 14px; line-height: 1.5; text-align: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  pointer-events: none; /* 폭 전체 제출 버튼을 덮어 클릭을 삼키지 않게 */
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.to-top {
  position: fixed; right: 20px; bottom: calc(var(--bar-h) + 16px); z-index: 50;
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--forest-btn); color: #fff; border-color: var(--forest-btn); }

/* ═══════════════════════════════════════════════════ 반응형 ═══════════ */
@media (max-width: 1180px) {
  :root { --section: 92px; --gutter: 28px; }
  .rooms-layout { grid-template-columns: 232px 1fr; gap: var(--s6); }
  .book-layout { grid-template-columns: 1fr 340px; gap: var(--s6); }
  .nav-tel { display: none; }
}

/* 태블릿 — 2열로 줄이고 보조 패널은 서랍으로 */
@media (max-width: 1023px) {
  :root { --section: 80px; --bar-h: 78px; }
  html { scroll-padding-top: 130px; }
  .sectionnav { top: 68px; }
  .site-header .nav { height: 68px; }
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .hero-inner { min-height: 64vh; }
  .hero-split .split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .split-copy { padding: var(--s8) 0 var(--s6); }
  .hero-split .split-media { height: 280px; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s6); }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .seasons { grid-template-columns: 1fr 1fr; }
  .season img { height: 260px; }
  .rate-cta { grid-template-columns: 1fr; gap: var(--s6); }
  .rooms-layout { grid-template-columns: 1fr; }
  .room-rail { position: static; flex-direction: row; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .room-rail::-webkit-scrollbar { display: none; }
  .room-rail .rail-head { display: none; }
  .rail-btn { min-width: 176px; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .rail-btn[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--forest-btn); }
  .prog { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s8) 0; }
  .prog-flip .prog-media { order: 0; }
  .prog-media { order: -1; }
  .amen-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-3 { grid-template-columns: 1fr; gap: var(--s5); }
  .step-card { border-left: 0; padding-left: 0; padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
  .step-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .route-list { grid-template-columns: 1fr; gap: var(--s5); }
  .book-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .searchcard-grid { grid-template-columns: 1fr 1fr; }
  .searchcard-grid .pickfield-go { grid-column: 1 / -1; }
  .searchcard-grid .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .deflist-item { grid-template-columns: 32px 160px 1fr; gap: var(--s3); }
  .cal-wrap { grid-template-columns: 1fr; gap: var(--s6); }
  .sheet { padding: var(--s5); }
}

/* 모바일 — PC 축소판이 아니라 정보 우선순위를 다시 짠다
   (객실 Swipe · 날짜 Bottom Sheet · 예약 CTA 고정) */
@media (max-width: 767px) {
  :root { --section: 64px; --gutter: 20px; --bar-h: 76px; }
  html { scroll-padding-top: 124px; }
  body { font-size: 15px; }
  .sectionnav { top: 62px; }
  .site-header .nav { height: 62px; gap: var(--s3); }
  .brand { font-size: 17px; }
  .hero-inner { min-height: 76vh; padding: var(--s8) 0 var(--s7); }
  .hero-page .hero-inner { min-height: 38vh; padding: var(--s7) 0 var(--s6); }
  .hero-band .hero-inner { min-height: 200px; padding: var(--s7) 0 var(--s9); }
  .hero::after { background: linear-gradient(180deg, rgba(12, 22, 17, .5) 0%, rgba(12, 22, 17, .82) 100%); }
  .hero-actions .btn { flex: 1 1 auto; }
  .gal-item { width: 78vw; max-width: 320px; }
  .gal-item img { height: 232px; }
  .feature-row { grid-template-columns: 1fr; gap: var(--s5); }
  .feature { border-left: 0; padding-left: 0; padding-bottom: var(--s5); border-bottom: 1px solid rgba(243, 240, 233, .18); }
  .feature:last-child { border-bottom: 0; padding-bottom: 0; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .seasons { display: flex; gap: var(--s3); overflow-x: auto; padding: 0 var(--gutter) var(--s2); margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; scroll-snap-type: x mandatory; }
  .seasons::-webkit-scrollbar { display: none; }
  .season { flex: 0 0 auto; width: 58vw; max-width: 240px; scroll-snap-align: start; }
  .season img { height: 300px; }
  .room-figure img { height: 260px; }
  .room-head { gap: var(--s2); }
  .room-price { text-align: left; }
  .spec-row { gap: var(--s3) var(--s5); }
  .avail-row { grid-template-columns: 1fr; gap: var(--s4); }
  .avail-row img { height: 200px; }
  .avail-side { text-align: left; justify-items: stretch; min-width: 0; }
  .avail-side .btn { width: 100%; }
  .avail-price { display: flex; align-items: baseline; gap: 8px; }
  .sk-row { grid-template-columns: 1fr; }
  .searchcard { margin-top: -40px; padding: var(--s4); }
  .searchcard-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .form-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .deflist-item { grid-template-columns: 28px 1fr; gap: var(--s3) var(--s3); }
  .deflist-item dd { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .prog-meta { gap: var(--s4); }
  .tbl { min-width: 460px; font-size: 14px; }
  .tbl th, .tbl td { padding: 12px 12px; }

  /* 날짜 시트를 화면 아래에서 올린다 */
  .sheet {
    left: 0; top: auto; bottom: 0; transform: none; width: 100%;
    max-height: 90vh; border-radius: 16px 16px 0 0; padding: var(--s5) var(--gutter) var(--s6);
  }
  .sheet-guests { grid-template-columns: 1fr; }
  .cal-day { min-height: 44px; font-size: 14px; }
  /* 바텀 시트에서 「적용하기」가 스크롤 밖으로 밀리지 않게 바닥에 붙인다 */
  .sheet-hint, .sheet-foot { position: sticky; bottom: 0; background: var(--surface); }
  .sheet-hint { bottom: 68px; padding: 10px 0 4px; border-top: 1px solid var(--line); }
  .sheet-foot { margin-top: 0; padding-bottom: 8px; }

  /* 예약 바 — 요약 한 줄 + 고정 CTA */
  .bookbar .wrap { gap: var(--s3); padding: 0 var(--gutter); }
  .bar-fields { display: none; }
  .bar-compact { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; flex: 1; min-width: 0; min-height: 56px; padding: 6px 0; background: transparent; border: 0; color: var(--on-dark); cursor: pointer; text-align: left; }
  .bar-compact b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .bar-compact small { font-size: 12px; color: var(--wood); }
  .bar-sum { display: none; }
  .bookbar .btn-wood { min-height: 52px; padding: 0 18px; }
  .to-top { display: none; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .bookbar .btn-wood { padding: 0 14px; font-size: 14px; }
}

/* 큰 활자 대응(200%) — 고정 높이를 쓰지 않는다 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .js .hero-media img { transform: none; }
  .skeleton { animation: none; background: #eeeae3; }
}

@media print {
  .bookbar, .to-top, .site-header, .drawer, .scrim, .sheet, .sheet-scrim { display: none !important; }
  body { padding-bottom: 0; }
}
