/* ==========================================================================
   선라이즈글램핑 — 공통 스타일
   정적 사이트 / 외부 라이브러리 없음
   ========================================================================== */

:root {
  --ink: #17211d;
  --forest: #1f3a32;
  --forest-2: #2c5145;
  --moss: #6f8b72;
  --sand: #f3ede2;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --amber: #c07a2c;
  --amber-soft: #e7c79a;
  --line: #e3dbcc;
  --muted: #616b64;
  --shadow-sm: 0 1px 2px rgba(23, 33, 29, .06), 0 4px 14px rgba(23, 33, 29, .05);
  --shadow-md: 0 10px 30px rgba(23, 33, 29, .10);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --header-h: 76px;
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Nanum Myeongjo", "Noto Serif KR", "AppleMyungjo", Batang, "바탕",
    "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--forest);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 레이아웃 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--forest {
  background: var(--forest);
  color: #f0ece2;
}
.section--forest h2,
.section--forest h3 { color: #fff; }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.section--forest .eyebrow { color: var(--amber-soft); }

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.section-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}
.section--forest .section-desc { color: #cfd8d1; }

/* ---------- 버튼 ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--amber { --btn-bg: var(--amber); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest);
  border-color: rgba(31, 58, 50, .32);
}
.btn--ghost:hover { --btn-bg: rgba(31, 58, 50, .06); }
.btn--light {
  --btn-bg: rgba(255, 255, 255, .14);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px);
}
.btn--light:hover { --btn-bg: rgba(255, 255, 255, .26); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 20, 16, .55), rgba(10, 20, 16, 0));
  opacity: 1;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: -1;
}
.site-header.is-solid {
  background: rgba(251, 248, 242, .96);
  backdrop-filter: blur(10px);
  color: var(--forest);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(23, 33, 29, .06);
}
.site-header.is-solid::after { opacity: 0; }
.site-header--inner { color: #fff; }

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand .brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .26em;
  opacity: .72;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 8px;
  opacity: .92;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
  opacity: .55;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(192, 122, 44, .32); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.6px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4.4px); }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { transform: rotate(45deg) translate(0, 0); }
body.nav-open .menu-toggle span::after { transform: rotate(-45deg) translate(0, -1.6px); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  padding: calc(var(--header-h) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
body.nav-open .site-header {
  background: var(--cream);
  color: var(--forest);
  box-shadow: none;
}
body.nav-open .site-header::after { opacity: 0; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  padding: 15px 4px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .mobile-nav-cta { margin-top: 26px; }
.mobile-nav .tel {
  display: block;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

.mobile-nav-info {
  margin-top: auto;
  padding: 26px 4px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}
.mobile-nav-info b { color: var(--forest); font-weight: 600; }
.mobile-nav-info a { color: var(--amber); font-weight: 700; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(10, 22, 17, .72) 0%, rgba(10, 22, 17, .35) 48%, rgba(10, 22, 17, .12) 100%),
    linear-gradient(to top, rgba(9, 19, 15, .82) 0%, rgba(9, 19, 15, .12) 42%, rgba(9, 19, 15, .30) 100%);
}

.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 84px;
}
.hero-copy { max-width: 660px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, .08);
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}
.hero-title .accent {
  color: var(--amber-soft);
  font-style: normal;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  line-height: 1.8;
  color: rgba(255, 255, 255, .92);
  max-width: 540px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
.hero-actions { margin-top: 38px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, .22);
  border-radius: 16px;
  overflow: hidden;
  max-width: 720px;
}
.hero-facts div {
  background: rgba(12, 25, 19, .42);
  backdrop-filter: blur(8px);
  padding: 18px 20px;
}
.hero-facts dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--amber-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero-facts dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .7);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .8), transparent);
  animation: drop 1.9s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---------- 상단 정보 띠 ---------- */
.factbar {
  background: var(--forest);
  color: #efe9dd;
}
.factbar ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.factbar li {
  padding: 26px 24px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.factbar li:first-child { border-left: 0; }
.factbar b {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  margin-bottom: 3px;
}
.factbar span { font-size: 13.5px; color: #b9c6bd; }

/* ---------- 소개 ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.intro-text h2 { font-size: clamp(26px, 3.2vw, 38px); }
.intro-text p { margin-top: 20px; color: #4b5751; }
.intro-text .signature {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--forest);
}
.intro-media {
  position: relative;
}
.intro-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.intro-media .badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.intro-media .badge b {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--amber);
  line-height: 1;
}
.intro-media .badge span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- 강점 카드 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-soft);
}
.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0e7d7;
  color: var(--amber);
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- 객실 ---------- */
.room {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.room:first-of-type { border-top: 0; padding-top: 0; }
.room:nth-of-type(even) .room-media { order: 2; }
.room-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(251, 248, 242, .94);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
}
.room-body h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 8px;
}
.room-body .room-lead {
  color: var(--amber);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}
.room-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.room-spec span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eee6d7;
  color: #3c4a43;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.room-body p { color: var(--muted); font-size: 15.5px; }

.price-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.price-inline b {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--forest);
}
.price-inline i {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
  display: block;
  letter-spacing: .02em;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px 20px;
  margin-top: 24px;
}
.amenities li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #4b5751;
}
.amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-soft);
}

.room-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.room-strip button,
.room-strip a {
  display: block;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e9e1d3;
}
.room-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.room-strip img:hover { transform: scale(1.06); }

/* ---------- 요금표 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
table.rate {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
table.rate th,
table.rate td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
table.rate thead th {
  background: var(--forest);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: .04em;
  font-weight: 700;
  white-space: nowrap;
}
table.rate tbody th {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}
table.rate td strong {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink);
}
table.rate tbody tr:last-child th,
table.rate tbody tr:last-child td { border-bottom: 0; }
table.rate tbody tr:nth-child(even) { background: #fdfbf7; }
.rate-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.7;
}

.badge-save {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--amber);
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ---------- 이용안내 목록 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.guide-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.guide-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.guide-block h3 svg { width: 21px; height: 21px; color: var(--amber); flex: 0 0 auto; }
.guide-block li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  color: #46524c;
  margin-top: 8px;
}
.guide-block li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.guide-block li b { color: var(--ink); }
.guide-block .em { color: #a5411f; font-weight: 700; }

/* ---------- 시설 ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.facility {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #10201a;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.facility img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.facility::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 14, .82) 0%, rgba(8, 18, 14, .18) 55%, rgba(8, 18, 14, 0) 100%);
}
.facility:hover img { transform: scale(1.05); }
.facility-body {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
}
.facility-body h3 { font-size: 19px; color: #fff; }
.facility-body p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
  margin-top: 4px;
}
.facility--wide { grid-column: span 2; aspect-ratio: 2.72 / 1; }

/* ---------- 갤러리 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid a {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e6ddcd;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
}
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, .18);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid .span2 { grid-column: span 2; aspect-ratio: 2 / 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 11, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: 13.5px;
}

/* ---------- 오시는 길 ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-list dt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 26px;
}
.info-list dt:first-child { margin-top: 0; }
.info-list dd {
  margin: 6px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
}
.info-list dd a { border-bottom: 1px solid var(--amber-soft); }
.info-list dd a:hover { color: var(--amber); }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.map-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.map-card .map-body { padding: 22px 24px; }
.map-card h3 { font-size: 18px; margin-bottom: 6px; }
.map-card p { font-size: 14.5px; color: var(--muted); }
.map-card .btn { margin-top: 16px; }

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.nearby-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.nearby-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nearby-card div { padding: 16px 18px 18px; }
.nearby-card h3 { font-size: 16.5px; }
.nearby-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 예약 CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: 108px 0;
}
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(12, 26, 20, .72), rgba(12, 26, 20, .82));
}
.cta h2 { font-size: clamp(26px, 3.6vw, 42px); color: #fff; }
.cta p { margin: 18px auto 0; max-width: 560px; color: rgba(255, 255, 255, .86); }
.cta .btn-row { justify-content: center; margin-top: 36px; }
.cta .tel-line {
  margin-top: 26px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .8);
}
.cta .tel-line a {
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

/* ---------- 공지 ---------- */
.notice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.notice .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #9a5f1f;
  background: #f6ecda;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}
.notice h3 { font-size: 17.5px; margin-bottom: 8px; }
.notice p { font-size: 14px; color: var(--muted); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: #14231d;
  color: #b9c6bd;
  padding: 64px 0 40px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand { color: #fff; font-size: 21px; }
.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  font-size: 13.5px;
  color: #93a29a;
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-nav h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--amber-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-nav li { margin-top: 8px; }
.footer-nav a { color: #c7d2cb; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; }
.footer-bottom address {
  font-style: normal;
  font-size: 13px;
  line-height: 2;
  color: #8e9d95;
}
.footer-bottom address b { color: #c7d2cb; font-weight: 600; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.footer-links a { font-size: 13px; color: #a9b7ae; }
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin-top: 26px;
  font-size: 12px;
  color: #6d7d74;
  letter-spacing: .02em;
}

/* ---------- 모바일 하단 고정 바 ---------- */
.quick-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1px;
  background: rgba(31, 58, 50, .18);
  box-shadow: 0 -6px 20px rgba(23, 33, 29, .14);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.quick-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 62px;
  background: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--forest);
}
.quick-bar a svg { width: 19px; height: 19px; }
.quick-bar a.primary { background: var(--amber); color: #fff; }

/* ---------- 기타 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 68px;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .42;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(15, 30, 24, .92), rgba(15, 30, 24, .55));
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); color: #fff; }
.page-hero p {
  margin-top: 14px;
  max-width: 620px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
}
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 18px;
}
.crumb a:hover { color: #fff; }

.note {
  border-left: 3px solid var(--amber-soft);
  background: #fbf4e7;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  font-size: 14.5px;
  color: #5c4a34;
}

.legal { max-width: 860px; }
.legal h2 {
  font-size: 21px;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: #46524c; margin-top: 8px; line-height: 1.8; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14.5px;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: #f4eee2; font-weight: 700; }

/* 스크롤 등장 */
/* JS가 실행된 경우에만 스크롤 등장 효과를 적용 (스크립트가 없으면 항상 보임) */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll::after { animation: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-media .badge { left: 16px; bottom: 16px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .room:nth-of-type(even) .room-media { order: 0; }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility--wide { grid-column: span 2; aspect-ratio: 2.72 / 1; }
  .nearby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: 1fr; gap: 36px; }
  .notice-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 56px 0; }
  .section-head { margin-bottom: 38px; }

  /* 모바일: 히어로는 내용 높이에 맞춰 늘어나고, 헤더 아래에서 시작한다 */
  .hero {
    display: block;
    min-height: 0;
    padding: calc(var(--header-h) + 60px) 0 60px;
  }
  .hero-media img { object-position: center 62%; }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(9, 19, 15, .74) 0%, rgba(9, 19, 15, .52) 40%, rgba(9, 19, 15, .78) 100%);
  }
  .hero-inner { padding: 0 20px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-sub { margin-top: 18px; font-size: 15.5px; }
  .hero-actions { margin-top: 28px; }
  /* 모바일에서는 같은 내용을 바로 아래 factbar에서 보여주므로 히어로 요약 박스는 감춘다 */
  .hero-facts { display: none; }
  .hero-scroll { display: none; }
  .factbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factbar li { padding: 18px 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .factbar li:nth-child(odd) { border-left: 0; }
  .factbar li:nth-child(1), .factbar li:nth-child(2) { border-top: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .cta { padding: 76px 0; }
  .quick-bar { display: grid; }
  body { padding-bottom: 62px; }
  .site-footer { padding-bottom: 84px; }
  .footer-top { gap: 28px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header-inner { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .facility--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-grid .span2 { grid-column: span 2; aspect-ratio: 2/1; }
  .nearby-grid { grid-template-columns: 1fr; }
  .room-strip { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .btn { min-height: 50px; padding: 0 22px; font-size: 15px; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero-actions .btn { width: 100%; }
  table.rate th, table.rate td { padding: 15px 16px; font-size: 14.5px; }
  .legal h2 { font-size: 19px; }
}

/* ---------- 요금표: 좁은 화면에서는 카드형으로 ---------- */
@media (max-width: 640px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table.rate { min-width: 0; display: block; }
  table.rate thead { display: none; }
  table.rate tbody { display: block; }
  table.rate tr {
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 14px;
    padding: 0 0 6px;
    overflow: hidden;
  }
  table.rate tbody tr:nth-child(even) { background: var(--paper); }
  table.rate th,
  table.rate th[scope="row"] {
    display: block;
    background: #f4eee2;
    padding: 14px 18px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    width: auto;
  }
  table.rate td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px dashed #ece4d6;
    font-size: 15px;
    text-align: right;
  }
  table.rate td:last-child { border-bottom: 0; }
  table.rate td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
  }
  table.rate td strong { font-size: 18px; }
  .legal table { display: table; width: 100%; table-layout: fixed; font-size: 13.5px; }
  .legal th, .legal td { padding: 9px 10px; word-break: break-word; }
}
