/* ==========================================================
   JUSTINN — 공통 스타일 (v4)
   색: JUSTINN_Brand_Direction_v5.pdf 07 COLOR & TYPE
   배치: 참고 사이트(uhc-global.com) 방식 — 사진 중심, 굵은 제목, 선+점 섹션 제목
   ========================================================== */
:root {
  --white: #ffffff;
  --gray: #f3f3f3;       /* 밝은 띠 배경 (UHC 방식: 무채색) */
  --linen: #f1e9dc;
  --sand: #d8c6aa;
  --champagne: #b09260;
  --cocoa: #3a2a1f;
  --ink: #141414;
  --dark: #111111;       /* 어두운 섹션 */
  --muted: #666666;
  --todo: #b5482f;

  --font-kr: "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;
  --font-serif: Georgia, "Gelasio", "Times New Roman", serif;
  --font-logo: "Segoe UI Semilight", "Segoe UI", "Open Sans", "Noto Sans KR", sans-serif;

  --wrap: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; } /* 숨김 처리한 요소는 항상 숨김 */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-kr); color: var(--ink); background: var(--white);
  line-height: 1.75; font-weight: 400; font-size: 16px;
  -webkit-font-smoothing: antialiased; word-break: keep-all;
  overflow-x: clip; /* 화면 끝까지 넓어지는 사진 띠 때문에 가로 스크롤 생기지 않게 */
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ---------- 스택 로고 (HTML/CSS 재현) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: .9em; }
.logo-box {
  display: inline-flex; flex-direction: column; align-items: center;
  border: .09em solid currentColor; font-family: var(--font-logo); font-weight: 300; line-height: 1;
  letter-spacing: .2em; padding: .5em .55em .5em .75em; gap: .32em;
}
.logo-box i { display: block; width: 100%; height: .06em; min-height: 1px; background: currentColor; margin-left: -.1em; }
.logo-box span:last-child { letter-spacing: .5em; margin-right: -.3em; }
.logo-branch { font-family: var(--font-logo); font-weight: 300; font-size: .32em; letter-spacing: .6em; padding-left: .6em; }
.logo--sm { font-size: 12px; }
.logo--lg { font-size: clamp(30px, 4.4vw, 50px); }
.wordmark { font-family: var(--font-logo); font-weight: 300; letter-spacing: .4em; }

/* ---------- 헤더 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white); transition: background .35s, color .35s, box-shadow .35s;
}
.header.is-solid, .header--solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .wordmark { font-size: 14px; }
.nav ul { display: flex; gap: 42px; }
.nav a { font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor; transition: width .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }
.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 사진 배경 (사진 파일은 이 한 곳에서 교체) ---------- */
.photo-bg {
  position: relative; color: var(--white);
  background: linear-gradient(rgba(20,14,10,.5), rgba(20,14,10,.62)), url("../assets/img/hero.jpg") center / cover no-repeat;
}
.photo-credit { position: absolute; right: 16px; bottom: 10px; font-size: 11px; opacity: .6; }

/* ---------- 메인 히어로 ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-inner { padding: 0 24px; }
.hero .slogan { font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 4.4vw, 56px); margin-top: 44px; line-height: 1.2; padding: 0 12px; }
.hero .slogan-kr { font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; margin-top: 14px; }

/* ---------- 서브 페이지 상단 ---------- */
.page-hero { padding: calc(var(--header-h) + 150px) 0 150px; text-align: center; }
.page-hero .kicker { font-size: 15px; font-weight: 500; opacity: .85; letter-spacing: .04em; }
.page-hero h1 { font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.4; margin-top: 12px; }
.page-hero p { margin-top: 16px; font-size: 17px; opacity: .88; }

/* ---------- 공통 섹션 ---------- */
.section { padding: 130px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--dark); color: var(--white); overflow: hidden; }
.section--dark .muted, .section--dark .lead { color: rgba(255,255,255,.7); }

/* 섹션 제목: 굵은 제목 + 가는 선 + 점 */
.sec-title { display: flex; align-items: center; gap: 22px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; white-space: nowrap; }
.sec-title::after {
  content: ""; flex: 0 1 300px; min-width: 40px; height: 7px;
  background: linear-gradient(currentColor, currentColor) left center / calc(100% - 7px) 1px no-repeat,
              radial-gradient(circle, currentColor 3px, transparent 3.5px) right center / 7px 7px no-repeat;
  opacity: .45;
}
.sec-title + * { margin-top: 40px; }

.big { font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.45; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.8; }
.muted { color: var(--muted); }
.rule { border: 0; border-top: 1px solid currentColor; opacity: .25; margin: 28px 0; }

/* 가운데 문장 띠 (참고 사이트 메인 두 번째 영역) */
.intro { background: var(--gray); padding: 120px 0; text-align: center; }
.intro p { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.6; }
.intro .btn { margin-top: 34px; }

/* 사업 블록: 큰 제목 → 선 → 설명/목록 → 넓은 사진 */
.biz-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.biz-list li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-weight: 500; }
.biz-list li b { color: var(--champagne); font-weight: 600; min-width: 26px; }
.biz-list li span { color: var(--muted); font-weight: 400; margin-left: auto; font-size: 14px; text-align: right; }

/* 넓은 사진 띠 / 사진 자리 */
.band { margin-top: 56px; height: clamp(240px, 32vw, 460px); overflow: hidden; }
.band.photo-bg { display: block; }
.ph {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start; padding: 22px 26px;
  background: linear-gradient(135deg, #e9e9e9, #dcdcdc);
  color: #8a8a8a; font-size: 13px;
}
.ph b { position: absolute; top: 22px; left: 26px; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #9a9a9a; }

/* 브랜드 등급 카드 */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { position: relative; min-height: 460px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; color: var(--white); }
.brand-card .bg { position: absolute; inset: 0; transition: transform .8s ease; }
.brand-card:hover .bg { transform: scale(1.05); }
.brand-card > *:not(.bg) { position: relative; }
.brand-card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 6px 12px; border: 1px solid rgba(255,255,255,.6); margin-bottom: auto; }
.brand-card h3 { font-family: var(--font-logo); font-weight: 300; font-size: clamp(26px, 3vw, 36px); letter-spacing: .28em; margin-top: 30px; }
.brand-card .grade { font-weight: 600; margin-top: 6px; }
.brand-card p { margin-top: 12px; opacity: .85; max-width: 420px; }
.bg--standard { background: linear-gradient(160deg, #4a3829, var(--cocoa) 60%, #2a1e16); }
.bg--suite { background: linear-gradient(160deg, #2b2620, #15110d 70%); }
.bg--suite::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(176,146,96,.45); }

/* 지점 목록 (참고 사이트 Find a Hotel 방식) */
.hotels { border-top: 2px solid var(--ink); }
.hotel { display: grid; grid-template-columns: 70px 1.2fr 1.6fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.hotel .no { color: var(--champagne); font-weight: 600; }
.hotel h3 { font-size: 20px; font-weight: 700; }
.hotel h3 small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.hotel .addr { color: var(--muted); }
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--champagne); color: var(--champagne); white-space: nowrap; }
.hotel--next { color: var(--muted); }
.hotel--next h3 { color: var(--muted); font-weight: 500; }

/* 컨셉 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); padding: 48px 38px 54px; border-top: 3px solid var(--cocoa); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.section--gray .card { background: var(--white); }
.card .en { font-family: var(--font-serif); font-style: italic; color: var(--champagne); font-size: 22px; }
.card h3 { font-size: 22px; font-weight: 700; margin: 8px 0 16px; }
.card p { color: var(--muted); }

/* 2단 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--top { align-items: start; }
.split .ph, .split .photo { aspect-ratio: 4 / 3; }

/* 등급 비교 표 / 정보 표 */
.info { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.info th, .info td { text-align: left; padding: 20px 10px; border-bottom: 1px solid rgba(0,0,0,.1); vertical-align: top; }
.info th { width: 170px; font-weight: 600; }
.info thead th { background: var(--gray); width: auto; }
.section--dark .info { border-top-color: var(--white); }
.section--dark .info th, .section--dark .info td { border-bottom-color: rgba(255,255,255,.15); }

/* 도보 거리 */
.walk li { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.walk b { font-size: 34px; font-weight: 700; line-height: 1; }
.walk b small { font-size: 15px; font-weight: 500; margin-left: 2px; }
.walk span { font-size: 17px; font-weight: 600; }
.walk span em { font-style: normal; font-weight: 400; opacity: .65; font-size: 14px; margin-left: 8px; }
.note { font-size: 13px; opacity: .7; margin-top: 14px; }

/* 층별 안내 */
.floor { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.floor b { font-size: 30px; font-weight: 700; }
.floor em { font-style: normal; display: block; color: var(--muted); font-size: 14px; }

/* 미입력 표시 */
.todo { color: var(--todo); background: rgba(181,72,47,.07); border: 1px dashed rgba(181,72,47,.5); padding: 1px 8px; font-size: .9em; font-weight: 400; }
.section--dark .todo, .photo-bg .todo { color: #f3bba7; border-color: rgba(243,187,167,.5); background: rgba(243,187,167,.08); }

/* 버튼 */
.btn { display: inline-block; padding: 12px 26px; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--white); border: 1px solid var(--ink); transition: background .3s, color .3s; cursor: pointer; }
.btn:hover { background: var(--white); color: var(--ink); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.photo-bg .btn, .section--dark .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: var(--white); }
.photo-bg .btn:hover, .section--dark .btn:hover { background: var(--white); color: var(--ink); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* 예약 문의 (사진 배경) */
.cta { padding: 150px 0; text-align: center; }
.cta h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: .06em; }
.cta p { margin-top: 12px; font-size: 17px; opacity: .9; }
.cta .btns { justify-content: center; }

/* 창업 문의 (작게) */
.franchise { border: 1px solid rgba(0,0,0,.12); padding: 30px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.franchise h3 { font-size: 17px; font-weight: 700; }
.franchise p { color: var(--muted); font-size: 15px; }

/* 문의 폼 */
.form { display: grid; gap: 18px; }
.form label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 14px 16px; border: 1px solid rgba(0,0,0,.18); background: #fff; font: inherit; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--champagne); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- 푸터 ---------- */
.footer { background: var(--gray); padding: 80px 0 50px; font-size: 14px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.footer-brands { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-logo); font-weight: 300; letter-spacing: .3em; color: #a69a8e; font-size: 17px; margin-bottom: 40px; }
.footer .logo { color: var(--ink); }
.footer-info { margin-top: 24px; line-height: 1.9; }
.footer-nav { min-width: 180px; }
.footer-nav a { display: block; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.12); color: var(--ink); font-size: 15px; transition: color .3s; }
.footer-nav a:hover { color: var(--champagne); }
.footer-nav a.small { font-size: 13px; color: var(--muted); }
.copy { margin-top: 30px; font-size: 12px; }

/* ---------- 스크롤 등장 효과 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .brand-card .bg { transition: none; } }

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .split, .biz-head, .brands { grid-template-columns: 1fr; gap: 40px; }
  .brands { gap: 16px; }
  .cards { grid-template-columns: 1fr; }
  .hotel { grid-template-columns: 50px 1fr; gap: 6px 16px; }
  .hotel .addr, .hotel .status { grid-column: 2; justify-self: start; }
  .section { padding: 96px 0; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav ul { flex-direction: column; align-items: center; gap: 30px; padding-top: 60px; }
  .nav a { font-size: 18px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header { background: var(--white); color: var(--ink); }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .brand .wordmark { display: none; }
  .brand-card { min-height: 380px; padding: 30px; }
  .info th, .info td { display: block; width: 100%; padding: 6px 4px; border: 0; }
  .info tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
  .info thead { display: none; }
  .card { padding: 38px 28px 44px; }
  .biz-list li span { display: none; }
}
@media (max-width: 480px) {
  .info td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--champagne); letter-spacing: .08em; }
}

/* ================= v7 추가: 움직임 요소 ================= */
/* 첫 화면 사진이 천천히 확대 */
.hero { position: relative; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-inner { position: relative; z-index: 2; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

/* 첫 화면 위로 흐르는 큰 글자 */
.marquee { position: absolute; left: 0; right: 0; bottom: 7vh; z-index: 1; overflow: hidden; pointer-events: none; }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 45s linear infinite; }
.marquee-track span {
  font-family: var(--font-kr); font-weight: 700; font-size: clamp(64px, 11vw, 170px); line-height: 1; padding-right: .5em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); letter-spacing: .02em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* 머리 메뉴 오른쪽 작은 Partnership 버튼 */
.nav .pill { padding: 7px 16px; border-radius: 999px; background: var(--champagne); color: var(--white); font-size: 13px; font-weight: 600; }
.nav .pill::after { display: none; }
.nav .pill:hover { background: var(--cocoa); }

/* 화면 아래에 떠 있는 예약 · 문의 버튼 */
.float-cta {
  position: fixed; left: 50%; bottom: 22px; z-index: 40; transform: translate(-50%, 140%);
  padding: 14px 28px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .45s ease, opacity .45s, background .3s; opacity: 0;
}
.float-cta.show { transform: translate(-50%, 0); opacity: 1; }
.float-cta:hover { background: var(--cocoa); }

/* 넘기는 카드 (UHC 미디어 영역 방식) */
.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: var(--white); font-size: 18px; cursor: pointer; transition: background .3s; }
.carousel-nav button:hover { background: rgba(255,255,255,.15); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; margin-top: 40px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; background: #1e1e1e; border-radius: 10px; overflow: hidden; color: var(--white); transition: transform .4s; }
.slide:hover { transform: translateY(-6px); }
.slide-media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.slide-media > * { transition: transform .8s ease; }
.slide:hover .slide-media > * { transform: scale(1.06); }
.slide-media.std { background: linear-gradient(160deg, #4a3829, var(--cocoa) 65%, #241a13); }
.slide-media.suite { background: linear-gradient(160deg, #2a2a2a, #0d0d0d); }
.slide-media.suite::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(176,146,96,.5); }
.slide-media.photo-bg { background-position: center; }
.slide-media .ph { width: 100%; height: 100%; }
.slide-body { padding: 22px 24px 26px; }
.slide-body small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--champagne); }
.slide-body h3 { font-size: 19px; font-weight: 700; margin-top: 6px; }
.slide-body p { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 6px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.dots i.on { background: var(--white); }

/* 큰 문장 띠 (UHC 방식) */
.statement { padding: 150px 0; text-align: center; background: var(--gray); }
.statement p { font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.55; }
.statement .line { width: 1px; height: 60px; background: #bbb; margin: 0 auto 40px; }

@media (max-width: 860px) {
  .nav .pill { padding: 10px 22px; }
  .carousel-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media, .marquee-track { animation: none; }
}

/* ================= v8: 스크롤 연동 움직임 (UHC 방식) =================
   --p : 요소가 화면 아래에서 들어와 위로 나갈 때까지 0 → 1 (js/main.js 에서 계산)
   --e : 들어오는 구간 진행률 0 → 1                                    */
/* 섹션 제목 선이 스크롤에 맞춰 그려짐 */
.sec-title[data-p]::after { transform-origin: left center; transform: scaleX(var(--e, 1)); }
.center .sec-title[data-p]::after { transform-origin: center; }

/* 첫 화면: 사진은 느리게, 글은 흐려지며 위로 */
.hero-media { translate: 0 var(--hy, 0px); }
.hero-inner { opacity: var(--ho, 1); translate: 0 var(--hty, 0px); }

/* 사진 띠: 본문 폭에서 화면 끝까지 넓어짐 + 안쪽 사진 천천히 이동 */
.band.bleed {
  width: 100vw; margin-left: calc(50% - 50vw);
  clip-path: inset(0 calc((1 - var(--e, 1)) * max(32px, (100vw - var(--wrap)) / 2 + 32px)) round calc((1 - var(--e, 1)) * 14px));
}
.band.photo-bg, .cta.photo-bg, .page-hero.photo-bg { background-position: center calc(20% + var(--p, .5) * 60%); }

/* 넘기는 카드: 스크롤에 맞춰 오른쪽에서 밀려 들어옴 */
.carousel-shift { translate: calc((1 - var(--e, 1)) * 28%) 0; }

/* 큰 문장 띠의 세로선이 자라남 */
.statement .line { transform-origin: top; transform: scaleY(var(--e, 1)); }
.statement p { opacity: calc(.15 + var(--e, 1) * .85); }

@media (prefers-reduced-motion: reduce) {
  .sec-title[data-p]::after, .statement .line { transform: none; }
  .band.bleed { clip-path: none; }
  .carousel-shift, .hero-media, .hero-inner { translate: none; }
  .hero-inner { opacity: 1; }
}

/* 잠실 지점 카드 전용 사진 */
.slide-media.photo-jamsil { background: url("../assets/img/jamsil/exterior-render.jpg") center / cover no-repeat; }
.copy a { text-decoration: underline; }

/* ================= v10: About 프레임 · 지점 상세 페이지 ================= */
/* 지점 상세 상단 (지점 사진) */
.page-hero.photo-jamsil { position: relative; color: var(--white); background: linear-gradient(rgba(20,14,10,.5), rgba(20,14,10,.62)), url("../assets/img/jamsil/exterior-render.jpg") center / cover no-repeat; background-position: center calc(20% + var(--p, .5) * 60%); }
.breadcrumb { font-size: 14px; opacity: .8; }
.breadcrumb a { text-decoration: underline; }

/* 페이지 안 탭 (스크롤해도 위에 붙음) */
.tabs { position: sticky; top: var(--header-h); z-index: 30; background: var(--white); border-bottom: 1px solid rgba(0,0,0,.1); }
.tabs .wrap { display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { padding: 18px 0; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.tabs a:hover, .tabs a.on { color: var(--ink); border-color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 70px); }

/* 지점 카드 목록 (Hotels 페이지) */
.hotel-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hotel-card { display: block; border: 1px solid rgba(0,0,0,.1); background: var(--white); transition: transform .35s, box-shadow .35s; }
.hotel-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.hotel-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.hotel-card .media > div { width: 100%; height: 100%; transition: transform .8s ease; }
.hotel-card:hover .media > div { transform: scale(1.05); }
.hotel-card .body { padding: 26px 28px 30px; }
.hotel-card small { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--champagne); }
.hotel-card h3 { font-size: 22px; font-weight: 700; margin-top: 6px; }
.hotel-card p { color: var(--muted); margin-top: 6px; }
.hotel-card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; }
.hotel-card--next { border-style: dashed; }
.bg-jamsil { background: url("../assets/img/jamsil/exterior-render.jpg") center / cover no-repeat; }

/* 층별 안내 (지점 상세) */
.floor-table { border-top: 2px solid var(--ink); }
.floor-row { display: grid; grid-template-columns: 110px 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.floor-row b { font-size: 30px; font-weight: 700; line-height: 1; }
.floor-row h3 { font-size: 18px; font-weight: 700; }
.floor-row p { color: var(--muted); }

/* 큰 숫자 (About) */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num-item { border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; }
.num-item small { font-size: 14px; opacity: .7; }
.num-item b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.2; margin-top: 8px; }
.num-item b .todo { font-size: 14px; vertical-align: middle; }

/* 연혁 (About) */
.timeline { position: relative; margin-left: 8px; border-left: 1px solid rgba(0,0,0,.2); }
.tl-item { position: relative; padding: 0 0 46px 40px; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl-item b { font-size: 26px; font-weight: 700; }
.tl-item ul { margin-top: 10px; }
.tl-item li { color: var(--muted); padding: 3px 0 3px 14px; position: relative; }
.tl-item li::before { content: "·"; position: absolute; left: 0; }

/* 대표 인사말 (About) */
.message { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; align-items: start; }
.message .ph { aspect-ratio: 3 / 4; }
.message .sign { margin-top: 26px; font-weight: 600; }

@media (max-width: 960px) {
  .hotel-cards, .message { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .floor-row { grid-template-columns: 70px 1fr; }
  .floor-row p { grid-column: 2; }
}

/* 공사 전 · 후 비교 (손잡이를 끌어 비교) */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; background: #ddd; }
.ba > .ba-layer { position: absolute; inset: 0; }
.ba > .ba-layer .ph { width: 100%; height: 100%; }
.ba .ba-after { clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba .ba-after .ph { background: linear-gradient(135deg, #cfcfcf, #bdbdbd); }
.ba-label { position: absolute; top: 18px; z-index: 3; font-size: 12px; font-weight: 700; letter-spacing: .14em; padding: 6px 12px; background: rgba(0,0,0,.6); color: #fff; }
.ba-label.l { left: 18px; } .ba-label.r { right: 18px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); z-index: 2; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.ba input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.floor-row b .todo, .num-item b .todo { font-size: 13px; font-weight: 400; line-height: 1.4; display: inline-block; }

/* ================= v11: 예약 · 관리자 ================= */
.notice { background: var(--gray); border-left: 3px solid var(--champagne); padding: 16px 20px; font-size: 15px; color: var(--muted); }
.book-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.book-top select { padding: 12px 14px; border: 1px solid rgba(0,0,0,.2); font: inherit; font-weight: 600; background: #fff; }
.sel-summary { font-size: 17px; }
.cal-wrap { position: relative; border: 1px solid rgba(0,0,0,.1); padding: 30px 30px 24px; }
.cal-nav { position: absolute; top: 24px; left: 20px; right: 20px; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #fff; cursor: pointer; font-size: 16px; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
#cal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.cal-month h3 { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 0; text-align: center; }
.cal-w { font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.cal-w.sun { color: #c0392b; } .cal-w.sat { color: #2c5aa0; }
.cal-d { height: 46px; border: 0; background: none; font: inherit; font-size: 15px; cursor: pointer; position: relative; }
.cal-d:hover:not(:disabled):not(.start):not(.end) { background: var(--gray); }
.cal-d.past { color: #c8c8c8; cursor: default; }
.cal-d.today { font-weight: 700; text-decoration: underline; }
.cal-d.mid { background: #efe7da; }
.cal-d.start, .cal-d.end { background: var(--ink); color: #fff; font-weight: 700; }
.cal-d.start::after, .cal-d.end::after { position: absolute; left: 0; right: 0; bottom: 3px; font-size: 10px; font-weight: 500; }
.cal-d.start::after { content: "입실"; } .cal-d.end::after { content: "퇴실"; }
.book-msg { margin-top: 18px; font-size: 15px; }
.book-msg.is-error { color: var(--todo); }
.rooms { margin-top: 30px; border-top: 2px solid var(--ink); }
.rooms:empty { border: 0; }
.room-row { display: grid; grid-template-columns: 1.6fr .8fr .8fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.room-row h3 { font-size: 19px; font-weight: 700; }
.room-left b { font-size: 22px; }
.room-row.soldout { opacity: .5; }
.room-row .btn:disabled { opacity: .4; cursor: default; }
.book-form { margin-top: 40px; border: 1px solid rgba(0,0,0,.12); padding: 34px; }
.book-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.book-form .chosen { font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.agree { font-size: 14px; color: var(--muted); background: var(--gray); padding: 16px 18px; }
.agree label { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; margin-top: 10px; }
.agree input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.book-done { margin-top: 40px; text-align: center; padding: 60px 24px; background: var(--gray); }
.book-done b#done-id { display: block; font-size: 30px; margin: 12px 0; letter-spacing: .04em; }

/* 관리자 */
.admin-login { max-width: 420px; margin: 0 auto; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button, .admin-bar .tools button { padding: 9px 16px; border: 1px solid rgba(0,0,0,.2); background: #fff; font: inherit; font-size: 14px; cursor: pointer; border-radius: 999px; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters i { font-style: normal; margin-left: 6px; opacity: .7; }
.admin-bar .tools { display: flex; gap: 8px; }
.res-table { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 2px solid var(--ink); }
.res-table th, .res-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid rgba(0,0,0,.1); vertical-align: top; }
.res-table th { background: var(--gray); font-weight: 600; white-space: nowrap; }
.st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st--pending { background: #fff3d6; color: #8a6200; } .st--confirmed { background: #dff3e4; color: #1e6b35; } .st--cancelled { background: #eee; color: #888; }
.act button { margin: 0 4px 4px 0; padding: 6px 12px; border: 1px solid rgba(0,0,0,.2); background: #fff; cursor: pointer; font: inherit; font-size: 13px; }
.act button[data-st="confirmed"] { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 760px) {
  #cal { grid-template-columns: 1fr; }
  .cal-wrap { padding: 24px 14px 18px; }
  .room-row { grid-template-columns: 1fr auto; }
  .room-row .room-price { grid-column: 1; }
  .book-form { padding: 22px 18px; }
  .book-form .grid2 { grid-template-columns: 1fr; }
  .res-table thead { display: none; }
  .res-table tr { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .res-table td { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border: 0; padding: 5px 4px; }
  .res-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); }
}

/* ================= v12: 언어 전환 · 다국어 ================= */
.lang-sw { display: flex; align-items: center; gap: 2px; margin-left: 26px; font-size: 13px; font-weight: 600; }
.lang-sw a { padding: 4px 7px; opacity: .55; transition: opacity .3s; }
.lang-sw a:hover { opacity: 1; }
.lang-sw a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header .wrap { justify-content: flex-start; }
.header .wrap > .nav { order: 1; margin-left: auto; }
.header .wrap > .lang-sw { order: 2; }
.header .wrap > .nav-toggle { order: 3; }
.lang-tag { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 1px 7px; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; }
/* 일본어 · 중국어: 글꼴과 줄바꿈 */
html[lang="ja"] { --font-kr: "Noto Sans JP", "Noto Sans KR", sans-serif; }
html[lang="zh"] { --font-kr: "Noto Sans SC", "Noto Sans KR", sans-serif; }
html[lang="ja"] body, html[lang="zh"] body { word-break: normal; line-break: strict; }
html[lang="en"] body { word-break: normal; }
@media (max-width: 860px) {
  .header .wrap > .lang-sw { order: 1; margin-left: auto; margin-right: 4px; }
  .header .wrap > .nav-toggle { order: 2; }
  .header .wrap > .nav { margin-left: 0; }
  .lang-sw a { padding: 4px 5px; }
}
/* 달력 입실 · 퇴실 표시 (언어별) */
html[lang="en"] .cal-d.start::after, html[lang="ja"] .cal-d.start::after { content: "IN"; }
html[lang="en"] .cal-d.end::after, html[lang="ja"] .cal-d.end::after { content: "OUT"; }
html[lang="zh"] .cal-d.start::after { content: "入住"; }
html[lang="zh"] .cal-d.end::after { content: "退房"; }

/* ================= v13: 중간 화면 메뉴 깨짐 수정 =================
   메뉴 항목이 많아져 1180px 이하에서는 햄버거 메뉴로 전환 */
.nav a { white-space: nowrap; }
@media (max-width: 1360px) {
  .nav ul { gap: 26px; }
  .lang-sw { margin-left: 18px; }
}
@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: center; gap: 26px; padding: 50px 0 60px; }
  .nav a { font-size: 18px; }
  .nav .pill { padding: 10px 22px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .header { background: var(--white); color: var(--ink); }
  .header .wrap > .lang-sw { order: 1; margin-left: auto; margin-right: 4px; }
  .header .wrap > .nav-toggle { order: 2; }
  .header .wrap > .nav { margin-left: 0; }
}

/* ================= v14: 안내 · 정책 · 예약 조회 · 관리자 탭 ================= */
.book-msg.is-ok { color: #1e6b35; }
.admin-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.admin-tabs button { padding: 12px 22px; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); }
.admin-tabs button.on { background: var(--ink); color: #fff; }
.admin-tabs i { font-style: normal; margin-left: 6px; color: var(--todo); }
.admin-tabs button.on i { color: #ffd2c4; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(0,0,0,.1); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 4px; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; font-size: 22px; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--muted); }
.doc { max-width: 860px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 46px 0 12px; }
.doc p, .doc li { color: #333; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc table.info { margin-top: 10px; }
.lookup-box { max-width: 560px; }
.agree a { text-decoration: underline; }

/* ================= v15: 예약 화면 디자인 ================= */
#booking { --band: #f2ece3; --r: 14px; }
#booking .notice { border-radius: var(--r); }

/* 단계 표시 */
.steps { display: flex; gap: 0; list-style: none; margin: 40px 0 46px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 12px; position: relative; color: #9a9a9a; font-weight: 600; font-size: 15px; }
.steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: #dcdcdc; margin: 0 16px; }
.steps i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d0d0d0; display: grid; place-items: center; font-style: normal; font-size: 14px; background: #fff; transition: all .3s; }
.steps li.on { color: var(--ink); }
.steps li.on i { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(20,20,20,.08); }
.steps li.done { color: var(--champagne); }
.steps li.done i { background: var(--champagne); border-color: var(--champagne); color: #fff; font-size: 0; }
.steps li.done i::before { content: "✓"; font-size: 15px; }
.steps li.done::after { background: var(--champagne); }

/* 2단 배치: 왼쪽 단계 · 오른쪽 요약 카드 */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.book-side { position: sticky; top: calc(var(--header-h) + 24px); }
.sum-card { border-radius: var(--r); background: var(--ink); color: #fff; padding: 28px 28px 26px; box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.sum-card small { font-size: 12px; letter-spacing: .14em; color: var(--sand); font-weight: 600; }
.sum-title { font-size: 21px; font-weight: 700; margin: 6px 0 18px; }
.sum-card dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.sum-card dt { color: rgba(255,255,255,.55); font-size: 14px; }
.sum-card dd { text-align: right; font-weight: 600; font-size: 15px; }
.sum-note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; line-height: 1.7; }

.book-top select, #booking select { border-radius: 10px; }
.sel-summary { margin: 4px 0 16px; color: var(--muted); }
.sel-summary b { color: var(--ink); }

/* 달력 */
.cal-wrap { border: 0; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); padding: 30px 28px 22px; }
.cal-nav button { border: 0; background: var(--gray); transition: background .2s; }
.cal-nav button:hover:not(:disabled) { background: #e6e6e6; }
.cal-month h3 { font-size: 17px; letter-spacing: .02em; }
.cal-grid { gap: 2px 0; }
.cal-d { isolation: isolate; height: 48px; border-radius: 0; font-weight: 500; }
.cal-d:hover:not(:disabled):not(.start):not(.end) { background: none; }
.cal-d:hover:not(:disabled):not(.start):not(.end)::before { content: ""; position: absolute; inset: 3px calc(50% - 21px); border-radius: 50%; background: var(--gray); z-index: -1; }
.cal-d.mid { background: var(--band); }
.cal-d.start, .cal-d.end { background: none; color: #fff; }
.cal-d.start::before, .cal-d.end::before { content: ""; position: absolute; inset: 3px calc(50% - 21px); border-radius: 50%; background: var(--ink); z-index: -1; }
#cal.range .cal-d.start { background: linear-gradient(90deg, transparent 50%, var(--band) 50%); }
#cal.range .cal-d.end { background: linear-gradient(90deg, var(--band) 50%, transparent 50%); }
.cal-d.start::after, .cal-d.end::after { bottom: 5px; font-size: 9px; letter-spacing: .02em; opacity: .85; }
.cal-d.today { text-decoration: none; }
.cal-d.today:not(.start):not(.end) { color: var(--champagne); font-weight: 700; }
.cal-d.past { color: #d2d2d2; }

/* 객실 카드 */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 8px; }
.room-grid > p { grid-column: 1 / -1; }
.room-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1.5px solid #e6e6e6; border-radius: var(--r); background: #fff; font: inherit; color: inherit; cursor: pointer; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.room-card:hover:not(:disabled) { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.room-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.08), 0 18px 40px rgba(0,0,0,.09); }
.room-card:disabled { cursor: default; opacity: .5; }
.rc-media { position: relative; height: 120px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #4a3829, var(--cocoa) 60%, #251a13); color: rgba(255,255,255,.85); }
.rc-media svg { width: 54px; height: 36px; }
.rc-media em { position: absolute; left: 16px; bottom: 12px; font-style: normal; font-family: var(--font-logo); font-weight: 300; letter-spacing: .3em; font-size: 12px; text-transform: uppercase; opacity: .8; }
.rc-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.rc-name { font-size: 19px; font-weight: 700; }
.rc-desc { font-size: 14px; color: var(--muted); }
.rc-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 4px; }
.rc-left b { color: var(--ink); }
.rc-left.low { color: #b5482f; font-weight: 600; }
.rc-left.low b { color: #b5482f; }
.rc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid #efefef; }
.rc-price { font-size: 14px; font-weight: 600; }
.rc-cta { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--gray); transition: background .25s, color .25s; }
.room-card:hover:not(:disabled) .rc-cta, .room-card.is-selected .rc-cta { background: var(--ink); color: #fff; }

/* 예약자 정보 */
.book-form { margin-top: 70px; border: 0; border-radius: var(--r); background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.07); padding: 36px 34px; }
.book-form .sec-title + * { margin-top: 18px; }
.book-form .chosen { display: inline-block; font-size: 15px; font-weight: 600; background: var(--band); padding: 8px 14px; border-radius: 999px; margin-bottom: 8px; }
.book-form input:not([type="checkbox"]):not([type="radio"]), .book-form select, .book-form textarea { border-radius: 10px; border-color: #dedede; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.07); }
.lbl { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray); border-radius: 10px; padding: 4px; }
.seg label { position: relative; margin: 0; cursor: pointer; }
.seg input { position: absolute; top: 0; left: 0; width: 1px !important; height: 1px; padding: 0 !important; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); }
.book-form .agree { border-radius: 10px; }
.btn--big { width: 100%; padding: 17px; font-size: 16px; border-radius: 10px; justify-self: stretch !important; }

/* 완료 화면 */
.book-done { border-radius: var(--r); background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.07); padding: 56px 28px; margin-top: 10px; }
.done-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 28px; animation: pop .5s ease; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-title { font-size: 20px; font-weight: 700; }
.done-id-row { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 8px; background: var(--gray); border-radius: 12px; padding: 10px 12px 10px 18px; }
.done-id-row b#done-id { font-size: 24px; margin: 0; letter-spacing: .05em; }
.copy-btn { border: 0; background: #fff; border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

@media (max-width: 1000px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-side { position: static; order: -1; }
  .sum-card { padding: 20px 22px; }
  .sum-card dl { grid-template-columns: repeat(4, auto); gap: 4px 14px; }
  .sum-card dd { text-align: left; }
  .sum-note { display: none; }
}
@media (max-width: 600px) {
  .steps li span { display: none; }
  .steps li.on span { display: inline; }
  .steps li:not(:last-child)::after { margin: 0 8px; }
  .sum-card dl { grid-template-columns: auto 1fr; }
  .sum-card dd { text-align: right; }
  .book-form { padding: 24px 18px; }
  .cal-d { height: 44px; }
}

/* ================= v16: 결제 ================= */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pay-m { position: relative; margin: 0; cursor: pointer; }
.pay-m input { position: absolute; top: 0; left: 0; width: 1px !important; height: 1px; padding: 0 !important; opacity: 0; pointer-events: none; }
.pay-m span { display: block; text-align: center; padding: 14px 10px; border: 1.5px solid #e2e2e2; border-radius: 10px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.pay-m input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,.07); }
.pay-m input:focus-visible + span { outline: 2px solid var(--ink); }
.pay-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pay-tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #e6f2ea; color: #1e6b35; }
.pay-tag.wait { background: #fff3d6; color: #8a6200; }
.pay-tag.refund { background: #f3e3df; color: #9a3a26; margin-left: 4px; }
.st--awaiting_payment { background: #e8eefb; color: #2c4f9a; }

/* 연락처: 국가번호 + 번호 */
.phone-in { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.phone-in select { padding-left: 12px !important; padding-right: 6px !important; }

/* 관리자 요금 표 */
.rate-table input { width: 100%; max-width: 150px; padding: 9px 10px; border: 1px solid #dcdcdc; border-radius: 8px; font: inherit; }
.rate-table input[type="date"] { max-width: 150px; }
.rate-table td { vertical-align: middle; }
.rc-price b { font-size: 16px; }
.rc-price small { font-weight: 400; color: var(--muted); }

/* 지도 · 카카오톡 버튼 */
.map-embed { margin-top: 56px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; background: #222; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }
@media (max-width: 760px) { .map-embed { aspect-ratio: 4 / 3; } }
.kakao-btn { position: fixed; right: 20px; bottom: 22px; z-index: 41; width: 54px; height: 54px; border-radius: 50%; background: #fee500; display: grid; place-items: center; font-size: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* v17: Partnership 페이지 (운영 호텔 카드 · 2열 카드) */
.hotel-cards--3 { grid-template-columns: repeat(3, 1fr); }
.hotel-cards--3 .hotel-card .body { padding: 20px 22px 24px; }
.hotel-cards--3 .hotel-card h3 { font-size: 19px; }
.hotel-card--past { opacity: .6; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .hotel-cards.hotel-cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hotel-cards.hotel-cards--3, .cards--2 { grid-template-columns: 1fr; } }
.cards--partner { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards--partner .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; }
.hotel-card .media .art { position: relative; width: 100%; height: 100%; }
.hotel-card .media .art svg { display: block; width: 100%; height: 100%; }
.art-tag { position: absolute; top: 12px; left: 14px; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: rgba(58,42,31,.55); }
.hotel-card p.loc { color: var(--ink); font-size: 14px; }

/* v18: 사진 자리 일러스트 */
.ph--art { padding: 0; background: #ece2d2; overflow: hidden; }
.ph--art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ph--art .art-tag { z-index: 1; }
.ph--art .art-cap { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 11px; color: rgba(58,42,31,.7); background: rgba(255,255,255,.7); padding: 3px 8px; border-radius: 3px; }
.ba .ba-after .ph--art { background: #ece2d2; }

/* Partnership 지도 창 */
.hotel-card--map { cursor: pointer; }
.hotel-card--map .more { display: inline-block; margin: 0 22px 22px; font-weight: 600; font-size: 14px; color: var(--champagne); }
.map-modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; }
.map-box { position: relative; width: min(880px, 100%); background: var(--white); padding: 28px 28px 24px; }
.map-box h3 { font-size: 20px; font-weight: 700; padding-right: 40px; }
.map-box .map-embed { margin-top: 18px; aspect-ratio: 16 / 9; }
.map-box .btns { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.map-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 600px) { .map-box { padding: 22px 16px 18px; } .map-box .map-embed { aspect-ratio: 4 / 3; } }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--4 .card { padding: 36px 26px 40px; }
@media (max-width: 1100px) { .cards.cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards.cards--4 { grid-template-columns: 1fr; } }
.hotel-card .media .shot { width: 100%; height: 100%; }
.hotel-card .media .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Partnership: 사진 넘기기 · 지도 보기 버튼 */
.hotel-cards--3 .hotel-card:hover .media > div { transform: none; }
.hotel-card .media .shots { position: relative; width: 100%; height: 100%; }
.shots .track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots .track::-webkit-scrollbar { display: none; }
.shots .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.shots .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.shots .prev { left: 10px; } .shots .next { right: 10px; }
.shots .dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.shots .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.shots .dots button.on { background: #fff; }
.hotel-card .map-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--champagne); }
.hotel-card .map-link:hover { text-decoration: underline; }
.shots .track > .slide-img { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; }
.shots .track > .slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot { position: relative; }
.shots .art-tag, .shot .art-tag { color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.5); }
/* 사진 위 AI RENDERING 표시: 작고 은은하게 (오른쪽 아래) */
.shots .art-tag, .shot .art-tag { top: auto; left: auto; right: 10px; bottom: 8px; font-size: 8.5px; font-weight: 500; letter-spacing: .08em; color: rgba(255,255,255,.6); text-shadow: 0 0 2px rgba(0,0,0,.35); }
.shots .dots { bottom: 10px; }

/* v19: 실제 사진 · 외관 렌더링 배경 · 갤러리 */
.shot-img { position: relative; overflow: hidden; background: #ddd; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-card .media .shot-img { width: 100%; height: 100%; }
.band.shot-img img { height: 100%; transform: scale(1.06) translateY(calc((var(--p, .5) - .5) * -4%)); }
.showcase { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.showcase-bg { position: absolute; inset: 0; background: linear-gradient(rgba(20,14,10,.15), rgba(20,14,10,.7)), url("../assets/img/jamsil/exterior-render.jpg") center / cover no-repeat; background-attachment: fixed; }
.showcase .wrap { position: relative; padding-bottom: 80px; }
.showcase .kicker { font-size: 13px; letter-spacing: .3em; opacity: .85; }
.showcase h2 { font-family: var(--font-logo); font-weight: 300; font-size: clamp(38px, 6vw, 76px); letter-spacing: .12em; margin: 14px 0 16px; }
.showcase p { font-size: 17px; line-height: 1.7; opacity: .9; }
.showcase .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; }
.showcase .btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 1024px), (hover: none) { .showcase-bg { background-attachment: scroll; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 56px; }
.gallery figure { position: relative; margin: 0; }
.gallery .shot-img { width: 100%; height: 100%; }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* v20: 예약 닫힘 → 객실 안내 */
.book-closed { border: 1px solid rgba(0,0,0,.12); background: var(--linen); padding: 28px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.book-closed h3 { font-size: 18px; font-weight: 700; }
.book-closed p { color: var(--muted); margin-top: 6px; }
.room-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.room-row:nth-of-type(even) .room-media { order: 2; }
.room-media { aspect-ratio: 3 / 2; overflow: hidden; }
.room-media .shot-img, .room-media .shots { width: 100%; height: 100%; }
.room-body small { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--champagne); }
.room-body h3 { font-size: 30px; font-weight: 700; margin: 8px 0 14px; }
.room-body .room-bed { font-weight: 600; margin-bottom: 10px; }
.room-body p { color: var(--muted); line-height: 1.8; }
.amenity { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.amenity li { border: 1px solid rgba(0,0,0,.15); background: #fff; padding: 9px 16px; border-radius: 999px; font-size: 14px; }
@media (max-width: 860px) { .room-row { grid-template-columns: 1fr; gap: 20px; } .room-row:nth-of-type(even) .room-media { order: 0; } }
.shots { position: relative; }
.room-row:nth-of-type(even) { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 860px) { .room-row:nth-of-type(even) { grid-template-columns: 1fr; } }
.gallery .g-ph { width: 100%; height: 100%; }
.gallery .g-ph + figcaption { color: var(--muted); text-shadow: none; }
.cta.cta--room { color: #fff; background: linear-gradient(rgba(20,14,10,.55), rgba(20,14,10,.65)), url("../assets/img/jamsil/twin-1.jpg") center / cover no-repeat; background-position: center calc(20% + var(--p, .5) * 60%); }
.cta--room .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; }
.cta--room .btn:hover { background: #fff; color: var(--ink); }

/* 호텔 지도 (정적 SVG: 서울권 · 경기권) */
.net-map { margin-top: 36px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.m-grid figure { margin: 0; }
.m-grid figcaption { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--champagne); margin-bottom: 10px; }
.m-svg { width: 100%; height: auto; display: block; background: #eef3f5; border-radius: 14px; font-family: var(--font-kr); }
.m-other { fill: #f4f1ec; stroke: #ddd5ca; stroke-width: 1; }
.m-gg { fill: #fbf9f6; stroke: #d6ccbf; stroke-width: .8; }
.m-seoul { fill: #efe5d6; stroke: #cdbca3; stroke-width: 1; }
.m-seoul--whole { stroke: #b9a88f; stroke-width: 1.5; }
.m-region--gu { font-size: 12px; letter-spacing: .04em; fill: #b0a597; }
.m-river { fill: none; stroke: #bcd5e0; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.m-frame { fill: none; stroke: #b09260; stroke-width: 1.5; stroke-dasharray: 5 4; }
.m-region { font-size: 14px; letter-spacing: .12em; fill: #9d9387; text-anchor: middle; }
.m-pt circle { fill: #3a2a1f; stroke: #fff; stroke-width: 2; }
.m-pt text { font-size: 14px; fill: #3a2a1f; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.m-pt--j circle { fill: #b09260; stroke: #3a2a1f; stroke-width: 3; }
.m-pt--j text { font-size: 15px; font-weight: 700; }
.m-credit { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.map-legend { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.map-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-left: 10px; }
.map-legend .dot:first-child { margin-left: 0; }
.dot--j { background: #b09260; border: 2px solid #3a2a1f; }
.dot--n { background: #3a2a1f; border: 2px solid #fff; box-shadow: 0 0 0 1px #3a2a1f; }
@media (max-width: 760px) { .m-grid { grid-template-columns: 1fr; } }
