/* 디코 포레스트 디자인 샘플 — 낮·밤 전환 패럴랙스형 */
:root {
  --forest: #2F4F3A; --pine: #1E3A2B; --sand: #F3EBDD; --sun: #E8894A; --butter: #F8D27A;
  --night: #0D1B2A; --night-2: #1B2D45; --ice: #9FD3E6;
  --text: #2B3A2F; --sub: #637264; --line: #DCD3C2;
  --header-h: 72px;
  --display: 'Black Han Sans', 'Pretendard Variable', sans-serif;
  --round: 'Gowun Dodum', 'Pretendard Variable', sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
  /* 장면 색 (낮) */
  --sky-top: #4F93BA; --sky-bot: #F0D3A8;
  --l5: #A9C8B4; --l4: #84AE91; --l3: #5F8E6C; --l2: #3E6B4B; --l1: #1E3A2B;
  --tent: #F3EBDD; --door: #E8894A;
}
html[data-time="night"] {
  --sky-top: #0B1526; --sky-bot: #2A3B5E;
  --l5: #2B3D5C; --l4: #22344F; --l3: #1A2B42; --l2: #132235; --l1: #0A1522;
  --tent: #3A4A63; --door: #F8D27A;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #FBF8F2; line-height: 1.75; word-break: keep-all; -webkit-font-smoothing: antialiased; }
svg, img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--forest); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.ph { display: inline-block; padding: 0 6px; border: 1.5px dashed var(--sun); border-radius: 4px; color: #B4572A; font-size: .92em; }

.sample-banner { background: var(--pine); color: #DDE7DC; font-size: 12.5px; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 0 10px; background: var(--butter); color: var(--pine); border-radius: 99px; font-weight: 700; }
.sample-banner a { color: var(--butter); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .9); backdrop-filter: blur(10px); transition: background .6s; }
html[data-time="night"] .site-header { background: rgba(13, 27, 42, .85); color: #E6ECF4; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header__right { display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.15; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .02em; }
.logo small { font-size: 10px; letter-spacing: .18em; opacity: .7; }
.site-nav ul { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav a.is-active { color: var(--sun); }
.nav-toggle { display: none; }

.daynight { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid currentColor; border-radius: 99px; background: none; font: inherit; font-size: 13px; font-weight: 700; color: inherit; cursor: pointer; }
.daynight__track { position: relative; width: 44px; height: 24px; border-radius: 99px; background: #9FD3E6; transition: background .6s; }
.daynight__knob { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 10px var(--butter); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), background .6s, box-shadow .6s; }
html[data-time="night"] .daynight__track { background: #2A3B5E; }
html[data-time="night"] .daynight__knob { transform: translateX(20px); background: #F4E9C8; box-shadow: inset -5px -2px 0 #C9BE9D; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: transform .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-3px); }
.btn--sun { background: var(--sun); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .22); color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--forest { background: var(--forest); color: #fff; }
.btn--line { border: 1.5px solid var(--forest); color: var(--forest); }

/* 히어로 */
.hero { position: relative; height: calc(100vh - 36px); height: calc(100svh - 36px); min-height: 620px; overflow: hidden; color: #fff; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-top), var(--sky-bot)); transition: background 1s; }
.sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-top), var(--sky-bot)); opacity: 0; transition: opacity 1s; }
.sun { position: absolute; right: 18%; top: 16%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #FFE7A6 0 45%, #F8C46A 46% 100%); box-shadow: 0 0 80px 30px rgba(248, 210, 122, .5); transition: transform 1.2s cubic-bezier(.6, 0, .3, 1), opacity 1s; }
.moon { position: absolute; right: 22%; top: 14%; width: 84px; height: 84px; border-radius: 50%; background: #F4E9C8; box-shadow: inset -16px -6px 0 #C9BE9D, 0 0 60px 10px rgba(244, 233, 200, .35); transform: translateY(140%); opacity: 0; transition: transform 1.2s cubic-bezier(.6, 0, .3, 1), opacity 1s; }
html[data-time="night"] .sun { transform: translateY(260%); opacity: 0; }
html[data-time="night"] .moon { transform: none; opacity: 1; }
.stars { position: absolute; inset: 0 0 40% 0; opacity: 0; transition: opacity 1.2s; }
html[data-time="night"] .stars { opacity: 1; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.has-motion .stars i { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }
.layer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; will-change: transform; }
.layer path { transition: fill 1s; }
.layer--5 path { fill: var(--l5); } .layer--4 path { fill: var(--l4); } .layer--3 path { fill: var(--l3); }
.layer--2 > path { fill: var(--l2); } .layer--1 path { fill: var(--l1); }
.layer--5 { height: 78%; } .layer--4 { height: 70%; } .layer--3 { height: 60%; } .layer--2 { height: 46%; } .layer--1 { height: 30%; bottom: -1px; }
.tent__body { fill: var(--tent); transition: fill 1s; }
.tent__door { fill: var(--door); transition: fill 1s, filter 1s; }
html[data-time="night"] .tent__door { filter: drop-shadow(0 0 8px #F8D27A); }
.fireflies { position: absolute; inset: 40% 0 0 0; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
html[data-time="night"] .fireflies { opacity: 1; }
.fireflies i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #F8E16C; box-shadow: 0 0 10px 3px rgba(248, 225, 108, .7); }
.fireflies i:nth-child(1) { left: 12%; top: 40%; } .fireflies i:nth-child(2) { left: 22%; top: 70%; } .fireflies i:nth-child(3) { left: 35%; top: 50%; }
.fireflies i:nth-child(4) { left: 48%; top: 75%; } .fireflies i:nth-child(5) { left: 58%; top: 45%; } .fireflies i:nth-child(6) { left: 66%; top: 68%; }
.fireflies i:nth-child(7) { left: 74%; top: 38%; } .fireflies i:nth-child(8) { left: 82%; top: 62%; } .fireflies i:nth-child(9) { left: 90%; top: 48%; } .fireflies i:nth-child(10) { left: 6%; top: 66%; }
.has-motion .fireflies i { animation: firefly 6s ease-in-out infinite; }
.fireflies i:nth-child(odd) { animation-duration: 8s !important; animation-delay: -2s !important; }
.fireflies i:nth-child(3n) { animation-delay: -4s !important; }
@keyframes firefly { 0%, 100% { transform: translate(0, 0); opacity: .2; } 25% { transform: translate(20px, -24px); opacity: 1; } 50% { transform: translate(-10px, -40px); opacity: .4; } 75% { transform: translate(-24px, -10px); opacity: 1; } }
.hero__copy { position: relative; z-index: 2; padding-top: 12vh; text-shadow: 0 2px 20px rgba(0, 0, 0, .18); }
.hero__kicker { font-weight: 700; letter-spacing: .2em; font-size: 14px; }
.hero__title { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.12; }
[data-hero-night] { display: none; }
html[data-time="night"] [data-hero-day] { display: none; }
html[data-time="night"] [data-hero-night] { display: inline; }
.hero__lead { margin-top: 20px; max-width: 30em; font-size: 17.5px; font-family: var(--round); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.has-motion .hero__copy > * { animation: hero-in 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.has-motion .hero__copy > *:nth-child(2) { animation-delay: .15s; } .has-motion .hero__copy > *:nth-child(3) { animation-delay: .3s; } .has-motion .hero__copy > *:nth-child(4) { animation-delay: .45s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(40px); } }

/* 등장 */
.has-motion .up { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.has-motion .up.is-in { opacity: 1; transform: none; }

/* 섹션 */
.section { padding: 120px 0; position: relative; }
.section--forest { background: var(--forest); color: #DDE7DC; }
.section--sand { background: var(--sand); }
.section--night { background: var(--night); color: #C9D3E0; }
.eyebrow { font-weight: 800; letter-spacing: .24em; font-size: 13px; color: var(--sun); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-bottom: 48px; }
.head .eyebrow { flex-basis: 100%; }
.head h2, .booking h2, .location h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.15; color: var(--pine); }
.section--forest h2, .section--night h2 { color: #fff; }
.lead { margin-top: 14px; font-family: var(--round); font-size: 17px; color: var(--sub); }
.note { margin-top: 24px; font-size: 13.5px; color: var(--sub); }

/* 객실 캐러셀 */
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--forest); background: none; font-size: 20px; color: var(--forest); cursor: pointer; transition: background .3s, color .3s; }
.carousel-nav button:hover { background: var(--forest); color: #fff; }
.carousel { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 14px; scrollbar-width: thin; }
.room { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; background: #fff; border-radius: 22px; padding: 16px 16px 26px; box-shadow: 0 20px 40px -26px rgba(30, 58, 43, .5); transition: transform .4s; }
.room:hover { transform: translateY(-8px); }
.room__art { border-radius: 14px; overflow: hidden; margin-bottom: 18px; }
.room__art svg { transition: transform 1s; }
.room:hover .room__art svg { transform: scale(1.06); }
.room__type { font-size: 13px; font-weight: 700; color: var(--sun); padding: 0 8px; }
.room h3 { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--pine); padding: 0 8px; }
.room > p:not(.room__type):not(.room__price) { color: var(--sub); font-size: 15px; padding: 0 8px; }
.room__amen { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 8px; }
.room__amen li { padding: 3px 10px; border-radius: 99px; background: var(--sand); font-size: 13px; }
.room__price { padding: 0 8px; }

/* 부대시설 */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac { padding: 30px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .4s, transform .4s; }
.fac:hover { background: rgba(255, 255, 255, .12); transform: translateY(-6px); }
.fac__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(248, 210, 122, .15); font-size: 32px; margin-bottom: 16px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.fac:hover .fac__icon { transform: rotate(-10deg) scale(1.12); }
.fac h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.fac .ph { border-color: var(--butter); color: var(--butter); }

/* 1박 일정: 낮에서 밤으로 물드는 띠 */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding-top: 34px; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 14px; background: linear-gradient(90deg, #F8D27A, #F2A25A, #C8653F, #4B4E7A, #1B2D45, #9FD3E6); }
.has-motion .journey::before { clip-path: inset(0 100% 0 0); transition: clip-path 2s cubic-bezier(.6, 0, .3, 1) .3s; }
.has-motion .journey.is-in::before { clip-path: inset(0); }
.journey li { position: relative; padding: 20px 14px 0 0; }
.journey li::before { content: ""; position: absolute; left: 0; top: -27px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 4px solid #FBF8F2; }
.journey time { font-family: var(--display); font-size: 26px; color: var(--pine); display: block; }
.journey b { display: block; font-size: 18px; }
.journey span { font-family: var(--round); font-size: 14.5px; color: var(--sub); }

/* 예약 현황 */
.booking__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.legend { display: flex; gap: 18px; margin-top: 24px; font-size: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.legend .open, .cal__day.open { background: #fff; }
.legend .open { border: 1.5px solid var(--forest); }
.legend .few, .cal__day.few { background: var(--butter); }
.legend .full, .cal__day.full { background: #CFC6B5; }
.pick { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: #fff; font-weight: 700; color: var(--pine); min-height: 64px; }
.booking__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cal { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(30, 58, 43, .5); }
.cal__head { text-align: center; font-family: var(--display); font-size: 24px; color: var(--pine); margin-bottom: 14px; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__week span { text-align: center; font-size: 13px; color: var(--sub); padding-bottom: 6px; }
.cal__week span:first-child { color: #C8553D; } .cal__week span:last-child { color: #3B6EA8; }
.cal__day { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 12px; font: inherit; font-weight: 700; color: var(--pine); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.cal__day.open { border: 1.5px solid #CFE0CF; }
.cal__day.full { color: #8B8473; text-decoration: line-through; cursor: not-allowed; }
.cal__day.past { opacity: .35; cursor: default; }
.cal__day:not(.full):not(.past):hover { transform: scale(1.08); box-shadow: 0 6px 14px rgba(30, 58, 43, .2); }
.cal__day[aria-pressed="true"] { background: var(--forest); color: #fff; }
.cal__blank { aspect-ratio: 1; }

/* 이용 안내 */
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.head--left { display: block; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 14px; padding: 20px 0; font-weight: 700; font-size: 17.5px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "⌄"; color: var(--sun); transition: transform .4s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list p { padding-bottom: 20px; color: var(--sub); font-family: var(--round); }

/* 오시는 길 */
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.loc__info { margin-top: 30px; }
.loc__info > div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.loc__info dt { font-weight: 700; color: var(--butter); }
.location .ph { border-color: rgba(248, 210, 122, .6); color: var(--butter); }
.route { position: relative; }
.route span { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--ice); }
.has-motion .route__line { animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -40; } }

.site-footer { padding: 30px 0; background: #08121D; color: #8796AA; font-size: 13px; }
.site-footer b { color: #fff; }
.site-footer .ph { border-color: rgba(248, 210, 122, .4); color: var(--butter); }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; vertical-align: middle; }
.credit img { filter: brightness(0) invert(1); }

@media (max-width: 1023.98px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 12px; background: none; color: inherit; font-size: 20px; cursor: pointer; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; z-index: 45; background: var(--forest); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 20px; }
  .site-nav a { font-family: var(--display); font-weight: 400; font-size: 34px; }
  .site-header__right { gap: 12px; }
  .daynight__label { display: none; }
  .daynight { padding: 6px; }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .journey::before { display: none; }
  .journey li::before { top: -6px; }
  .journey li { padding-top: 26px; }
  .booking__grid, .faq__grid, .loc__grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 40px); }
  .sample-banner__inner { align-items: flex-start; font-size: 12px; }
  .logo small { display: none; }
  .hero { height: auto; min-height: 640px; }
  .hero__copy { padding-top: 56px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .sun { width: 70px; height: 70px; right: 10%; top: 50%; }
  .moon { width: 60px; height: 60px; right: 10%; top: 50%; }
  .section { padding: 84px 0; }
  .head { margin-bottom: 32px; }
  .carousel-nav { display: none; }
  .fac-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .cal { padding: 16px; }
  .cal__week, .cal__grid { gap: 4px; }
  .cal__day { border-radius: 8px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
