/* 천안 휴먼빌 퍼스트시티 분양 상담 — 사이트 CSS
   색·글꼴: src/hm-tokens.css(--hm-*) · 글자 크기·간격: src/assets/css/hm-tokens.css(--fs-* · --space-*)
   모바일 먼저 쓰고 1024px 이상에서 참고 사이트 배치(2열·화면 높이 구역)로 넓힌다. */

:root {
  --c-navy: var(--hm-color-primary);      /* #00364B */
  --c-deep: #001b26;
  --c-gold: var(--hm-color-accent);       /* #B9967B */
  --c-gold-light: #e6cba6;
  --c-ink: var(--hm-color-text);
  --c-gray: #5f5f5f;
  --c-line: var(--hm-color-border);
  --c-beige: #f1efea;
  --c-ivory: var(--hm-color-surface);
  --c-panel: #f5f5f5;
  --ease-rv: cubic-bezier(.2,.7,.1,1);
  --ease-fd: cubic-bezier(.2,.6,.2,1);
  --wrap: min(100% - 2 * var(--gutter), var(--hm-maxw));
  /* 글자 크기 토큰 보강 — 보조 글자 최소 13px, 전화번호 크기 변수화 */
  --fs-micro: 0.8125rem;
  --fs-cta-tel: clamp(1rem, 0.6rem + 0.9vw, 1.5rem);
  --fs-phone-sm: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  /* z-index 계층 */
  --z-header: 1000;
  --z-modal: 2000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--hm-font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  background: var(--hm-color-bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* 제목 단계 — 사이트 전체에서 한 크기(규칙 B1). 큰 영문 장식 글은 제목 태그가 아니라 p */
h1 { font-size: var(--fs-hero); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
#hm-main { padding-top: var(--header-h); }

/* 등장 효과 — 시작 상태는 CSS 가 정한다(자바스크립트가 늦어도 튀지 않게) */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.25,.1,.25,1) var(--d, .12s), transform 1.1s var(--ease-rv) var(--d, .12s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .fd { opacity: 0; translate: 0 24px; transition: opacity 1.2s ease var(--d, .4s), translate 1.2s var(--ease-fd) var(--d, .4s); }
.js .fd.is-in { opacity: 1; translate: 0 0; }

/* 공통 글 조각 */
.label { font-size: var(--fs-label); font-style: italic; font-weight: 500; line-height: 1.5; color: var(--c-navy); letter-spacing: 0; }
.label--gold { color: var(--c-gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-6); border-radius: 2px; font-size: var(--fs-body); font-weight: 700; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.btn--gold { background: var(--c-gold); color: var(--c-navy); }
.btn--gold:hover { background: var(--c-gold-light); }
.btn--line { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn--line:hover { background: #fff; color: var(--c-navy); }
.btn--navy { background: var(--c-navy); color: #fff; }
.btn--navy:hover { background: var(--c-deep); }
.btn--outline { border: 1px solid var(--c-navy); color: var(--c-navy); background: #fff; }
.btn--outline:hover { background: var(--c-navy); color: #fff; }

/* ───────── 머리글 ───────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); background: #fff; border-bottom: 1px solid #ececec; }
.sh-bar { position: relative; height: 100%; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); }
.sh-logo { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; margin-right: auto; }
.sh-logo__mark { width: auto; height: 44px; }
.sh-logo__name { font-size: var(--fs-small); font-weight: 700; color: var(--c-navy); letter-spacing: -0.03em; white-space: nowrap; }
.sh-tel { display: none; }
.sh-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; }
.sh-burger span { display: block; height: 2px; background: var(--c-navy); border-radius: 1px; transition: transform .3s ease, opacity .3s ease; }
.sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sh-actions { display: flex; align-items: center; gap: var(--space-2); }
/* 휴대폰 메뉴 — 머리글 아래 전체 화면 */
.sh-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: var(--space-4) var(--gutter) calc(var(--space-8) + var(--safe-bottom)); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.nav-open .sh-nav { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.nav-open { overflow: hidden; }
.sh-menu > li { border-bottom: 1px solid var(--c-line); padding: var(--space-3) 0; }
.sh-link { display: flex; align-items: center; min-height: 44px; font-size: var(--fs-h4); font-weight: 700; color: var(--c-navy); }
.sh-sub { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.sh-sub a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-body); color: #333; }
.sh-nav__tel { margin-top: var(--space-6); }
.sh-nav__tel a { display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--c-navy); color: #fff; font-weight: 700; border-radius: 2px; }

@media (min-width: 1024px) {
  .sh-bar { padding: 0 var(--space-4); gap: var(--space-4); }
  .sh-logo { margin-right: 0; flex: 0 0 auto; }
  .sh-logo__mark { height: 56px; }
  .sh-logo__name { font-size: var(--fs-body); }
  .sh-burger { display: none; }
  .sh-nav { position: static; inset: auto; visibility: visible; opacity: 1; overflow: visible; padding: 0; background: none; flex: 1 1 auto; height: 100%; transition: none; }
  .sh-nav__tel { display: none; }
  .sh-menu { display: flex; justify-content: center; height: 100%; }
  .sh-menu > li { position: relative; border: 0; padding: 0; width: clamp(104px, 10.4vw, 150px); display: flex; flex-direction: column; }
  .sh-link { justify-content: center; height: var(--header-h); font-size: var(--fs-body); font-weight: 500; color: var(--c-ink); transition: color .2s ease; }
  .sh-link:hover, .sh-item.is-current > .sh-link { color: var(--c-navy); font-weight: 700; }
  .sh-sub { position: absolute; top: var(--header-h); left: 0; right: 0; display: block; padding: var(--space-3) 0 var(--space-5); border-left: 1px solid #e4e4e4; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .sh-sub a { display: flex; min-height: 44px; padding: 0 var(--space-3); font-size: var(--fs-small); color: #333; transition: color .2s ease; }
  .sh-sub a:hover { color: var(--c-navy); font-weight: 700; }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 260px; background: var(--c-panel); border-bottom: 1px solid #e4e4e4; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; z-index: -1; }
  .site-header:has(.sh-nav:hover, .sh-nav:focus-within)::after,
  .sh-nav:hover .sh-sub, .sh-nav:focus-within .sh-sub { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  .sh-tel { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border-radius: 999px; background: var(--c-navy); color: #fff; font-size: var(--fs-cta-tel); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; transition: background-color .25s ease; }
  .sh-tel:hover { background: var(--c-deep); }
  .sh-tel__ico { width: 1em; height: 1em; fill: currentColor; }
}

/* ───────── 첫 화면 인트로(한 번만) ───────── */
.intro { display: none; }
.js .page-home .intro { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; align-content: center; gap: var(--space-5); background: #fff; animation: introOut .6s ease 2.6s forwards; }
.intro-seen .page-home .intro { display: none !important; }
.intro__cards { display: flex; align-items: center; gap: var(--space-4); }
.intro__card { width: clamp(72px, 9vw, 120px); height: clamp(110px, 13vw, 170px); object-fit: cover; opacity: 0; transform: translateY(16px); animation: introCard .7s var(--ease-rv) forwards; }
.intro__card:nth-child(1) { animation-delay: .15s; }
.intro__card:nth-child(2) { animation-delay: .45s; height: clamp(130px, 15vw, 200px); }
.intro__card:nth-child(3) { animation-delay: .75s; }
.intro__txt { font-size: var(--fs-body); color: #444; opacity: 0; animation: introCard .7s ease 1.2s forwards; }
.intro__skip { position: absolute; right: var(--space-6); bottom: var(--space-6); width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--c-navy); color: #fff; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em; }
@keyframes introCard { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro.is-done { display: none !important; }

/* ───────── 히어로(#2) ───────── */
.hero { position: relative; display: grid; place-items: start center; min-height: calc(100svh - var(--header-h)); overflow: hidden; background: var(--c-navy); color: #fff; isolation: isolate; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,20,30,.55) 0%, rgba(0,20,30,.18) 42%, rgba(0,20,30,.2) 70%, rgba(0,20,30,.6) 100%); }
.hero__inner { width: var(--wrap); padding: clamp(40px, 9svh, 110px) 0 var(--space-9); text-align: center; display: grid; justify-items: center; gap: var(--space-5); }
/* 참고 사이트 h1 실측: 32px · 줄높이 1.5 · 한 색 — 2줄 강조·거대 크기 없음 */
.hero__title { max-width: 100%; font-size: var(--fs-hero-title); font-weight: 700; line-height: 1.5; letter-spacing: -1px; color: #fff; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.hero__points li { padding: var(--space-1) var(--space-4); border: 1px solid rgba(255,255,255,.65); background: rgba(0,27,38,.35); font-size: var(--fs-body); font-weight: 600; border-radius: 2px; }
.hero__fact { font-size: var(--fs-small); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero__tel { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: var(--space-1) var(--space-5); border-top: 1px solid rgba(230,203,166,.55); border-bottom: 1px solid rgba(230,203,166,.55); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); transition: color .25s ease; }
.hero__tel-label { font-size: var(--fs-body); font-weight: 600; color: rgba(255,255,255,.92); }
.hero__tel-num { font-size: var(--fs-h2-lg); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--c-gold-light); }
.hero__tel:hover .hero__tel-num { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.hero__cap { position: absolute; left: var(--space-4); bottom: var(--space-3); font-size: var(--fs-micro); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* ───────── 프리미엄(#3) ───────── */
.prem { display: grid; background: var(--c-navy); color: #fff; }
.prem__text { padding: var(--space-8) var(--gutter); display: grid; gap: var(--space-6); align-content: center; }
.prem__panes { display: grid; }
.prem__pane { grid-area: 1 / 1; display: grid; gap: var(--space-3); }
.prem__pane[hidden] { display: none; }
.prem__no { display: block; font-size: var(--fs-num); font-weight: 800; line-height: .8; letter-spacing: -0.04em; color: rgba(185,150,123,.16); margin-bottom: var(--space-2); }
.prem__en { font-size: var(--fs-h2-lg); font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: #fff; }
.prem__ko { color: var(--c-gold-light); margin-top: var(--space-2); }
.prem__desc { max-width: 34em; font-size: var(--fs-lead); font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.88); }
.prem__pane.is-on > * { animation: premIn .8s var(--ease-rv) both; }
.prem__pane.is-on > *:nth-child(2) { animation-delay: .06s; }
.prem__pane.is-on > *:nth-child(3) { animation-delay: .12s; }
.prem__pane.is-on > *:nth-child(4) { animation-delay: .18s; }
@keyframes premIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.prem__tabs { position: relative; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); padding-top: var(--space-5); max-width: 420px; }
.prem__bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.25); }
.prem__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--c-gold); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--ease-rv); }
.prem__tab { min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none; font-size: var(--fs-h4); font-weight: 500; color: rgba(255,255,255,.62); transition: color .25s ease; }
.prem__tab:hover, .prem__tab.is-on { color: #fff; }
.prem__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-deep); }
.prem__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.prem__fig.is-on { opacity: 1; }
.prem__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.prem__fig[data-for="prem-2"] img, .prem__fig[data-for="prem-3"] img, .prem__fig[data-for="prem-4"] img { object-fit: contain; background: #f2f2f0; }
.prem__fig[data-for="prem-3"] img, .prem__fig[data-for="prem-4"] img { background: #fff; }
.prem__fig figcaption { position: absolute; right: var(--space-4); bottom: var(--space-3); font-size: var(--fs-micro); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.prem__fig[data-for="prem-2"] figcaption, .prem__fig[data-for="prem-3"] figcaption, .prem__fig[data-for="prem-4"] figcaption { color: #333; text-shadow: none; }

/* ───────── 조경(#4) ───────── */
.land { position: relative; overflow: hidden; background: var(--c-deep); color: #fff; min-height: 640px; display: flex; align-items: flex-end; isolation: isolate; }
.land__slides { position: absolute; inset: 0; z-index: -2; }
.land__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.land__slide.is-on { opacity: 1; }
.land__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.land__slide.is-on img { transform: scale(1); }
.land__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,27,38,.78) 0%, rgba(0,27,38,.45) 55%, rgba(0,27,38,.2) 100%); }
.land__inner { width: var(--wrap); margin: 0 auto; padding: var(--space-9) 0 var(--space-9); display: grid; gap: var(--space-4); }
.land__eyebrow { font-size: var(--fs-small); font-weight: 500; letter-spacing: .44em; color: #fff; }
.land__title { font-size: var(--fs-display); font-weight: 500; line-height: 1; letter-spacing: .1em; overflow-wrap: normal; word-break: normal; }
.land__copy { display: grid; margin-top: var(--space-6); }
.land__item { grid-area: 1 / 1; display: grid; gap: var(--space-2); }
.land__item[hidden] { display: none; }
.land__item.is-on { animation: premIn .8s var(--ease-rv) both; }
.land__item p { font-size: var(--fs-lead); color: rgba(255,255,255,.92); }
.land__nums { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.land__num { position: relative; min-width: 44px; min-height: 46px; padding: 0 var(--space-1); border: 0; background: none; font-size: var(--fs-h4); font-weight: 500; letter-spacing: .08em; color: rgba(255,255,255,.62); transition: color .25s ease; }
.land__num::after { content: ""; position: absolute; left: var(--space-1); right: var(--space-1); bottom: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-rv); }
.land__num.is-on, .land__num:hover { color: #fff; }
.land__num.is-on::after { transform: scaleX(1); }
.land__cap { position: absolute; left: var(--space-4); right: var(--space-4); text-align: right; bottom: var(--space-3); font-size: var(--fs-small); color: rgba(255,255,255,.85); }

/* ───────── 단지설계(#5) ───────── */
.cplx { display: grid; background: #fff; }
.cplx__left { position: relative; min-height: 420px; overflow: hidden; border-top-right-radius: 80px; background: var(--c-navy); }
.cplx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cplx__left::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 50%; background: linear-gradient(180deg, rgba(0,27,38,.6), rgba(0,27,38,0)); }
.cplx__badge { z-index: 1; position: absolute; left: var(--gutter); top: var(--space-7); right: var(--space-5); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cplx__en { font-size: var(--fs-h2-lg); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.cplx__title { margin-top: var(--space-3); }
.cplx__cap { z-index: 1; position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-3); font-size: var(--fs-micro); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); line-height: 1.5; }
.cplx__right { padding: var(--space-8) var(--gutter); display: grid; gap: var(--space-7); align-content: center; }
.cplx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.cplx__tile { position: relative; display: block; overflow: hidden; aspect-ratio: 381 / 185; background: #eee; }
.cplx__tile:nth-child(2) { border-top-right-radius: 40px; }
.cplx__tile:nth-child(3) { border-bottom-left-radius: 40px; }
.cplx__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-rv); }
.cplx__tile:hover img { transform: scale(1.05); }
.cplx__tile span { position: absolute; right: 0; bottom: 0; padding: var(--space-1) var(--space-2); background: rgba(0,27,38,.72); color: #fff; font-size: var(--fs-micro); }
.cplx__facts { display: grid; gap: var(--space-6); text-align: center; }
.cplx__fact h3 { color: var(--c-navy); font-weight: 700; }
.cplx__fact p { margin-top: var(--space-3); font-size: var(--fs-body); line-height: 1.78; color: #222; }

/* ───────── 커뮤니티(#6) ───────── */
.comm { position: relative; display: grid; overflow: hidden; background: #fff; }
.comm__ring { position: absolute; right: -10vw; top: -8vw; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; border: 56px solid #f0f0ee; border-right-color: transparent; border-bottom-color: #f6f6f4; pointer-events: none; animation: hvCommSpin 45s linear infinite; }
@keyframes hvCommSpin { to { transform: rotate(360deg); } }
.comm__text { position: relative; padding: var(--space-8) var(--gutter) var(--space-5); display: grid; gap: var(--space-4); align-content: center; }
.comm__lead { font-size: var(--fs-small); font-weight: 500; color: #222; }
.comm__title { color: var(--c-navy); }
.comm__desc { font-size: var(--fs-body); color: #222; max-width: 30em; }
.comm__floors { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.comm__floor { min-width: 146px; min-height: 46px; padding: 0 var(--space-5); border: 0; border-radius: 999px; background: #6b6b6b; color: #fff; font-size: var(--fs-small); font-weight: 500; transition: background-color .3s ease; }
.comm__floor.is-on { background: #234b5e; }
.comm__floor:hover { background: var(--c-navy); }
.comm__list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); margin-top: var(--space-2); }
.comm__list li { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-small); }
.comm__list b { font-weight: 600; color: var(--c-navy); }
.comm__list span { color: var(--c-gray); white-space: nowrap; }
.comm__list[hidden] { display: none; }
.comm__media { position: relative; aspect-ratio: 4 / 3; margin: 0 var(--space-4) var(--space-8); }
.comm__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.comm__fig.is-on { opacity: 1; }
.comm__fig img { width: 100%; height: 100%; object-fit: contain; }

/* ───────── 평면(#7) ───────── */
.unit { display: grid; gap: var(--space-6); padding: var(--space-8) var(--gutter); background: var(--c-beige); }
.unit__text { display: grid; gap: var(--space-3); align-content: center; }
.unit__title { color: #3c3c38; font-weight: 500; }
.unit__big { font-size: var(--fs-unit); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--c-navy); }
.unit__big span { font-size: .33em; font-weight: 500; vertical-align: top; letter-spacing: 0; margin-left: .1em; }
.unit__dl { border-top: 1px solid #cfcdc4; margin-top: var(--space-4); }
.unit__dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid #cfcdc4; }
.unit__dl dt { font-size: var(--fs-small); color: #5f5e58; }
.unit__dl dd { font-size: var(--fs-h4); color: var(--c-navy); }
.unit__types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.unit__type { min-height: 46px; border: 1px solid var(--c-navy); background: #fff; color: var(--c-navy); font-size: var(--fs-small); font-weight: 700; transition: background-color .25s ease, color .25s ease; }
.unit__type.is-on { background: var(--c-navy); color: var(--c-gold-light); }
.unit__type:hover { background: var(--c-navy); color: #fff; }
.unit__card { background: #fff; padding: var(--space-5); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.unit__plans { display: grid; background: #000; }
.unit__plan { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 1239 / 794; object-fit: contain; background: #fff; opacity: 0; transition: opacity .5s ease; }
.unit__plan.is-on { opacity: 1; }
.unit__card figcaption { margin-top: var(--space-3); font-size: var(--fs-caption); color: #5f5e58; }
.unit__card figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.unit__note { font-size: var(--fs-caption); color: #5f5e58; line-height: 1.6; }

/* ───────── 실내(#8) ───────── */
.intr { display: grid; gap: var(--space-6); padding: var(--space-8) var(--gutter); background: var(--c-ivory); }
.intr__text { display: grid; gap: var(--space-3); align-content: center; }
.intr__title { color: #3c3c38; font-weight: 500; }
.intr__desc { font-size: var(--fs-body); line-height: 1.8; color: #4f4e49; }
.intr__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-3); max-width: 340px; }
.intr__type { display: flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--c-navy); color: var(--c-navy); background: #fff; font-size: var(--fs-small); font-weight: 700; transition: background-color .25s ease, color .25s ease; }
.intr__type:hover { background: var(--c-navy); color: #fff; }
.intr__note { font-size: var(--fs-micro); color: #66655d; line-height: 1.6; }
.intr__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.intr__fig { position: relative; overflow: hidden; aspect-ratio: 287 / 166; }
.intr__fig--main { grid-column: 1 / -1; aspect-ratio: 573 / 344; }
.intr__fig img { width: 100%; height: 100%; object-fit: cover; }
.intr__fig figcaption { position: absolute; left: var(--space-3); bottom: var(--space-2); font-size: var(--fs-small); font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }

/* ───────── 방문예약(#9) ───────── */
.visit { position: relative; overflow: hidden; background: var(--c-deep); color: #fff; isolation: isolate; }
.visit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visit__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,27,38,.86), rgba(0,27,38,.72)); }
.visit__inner { width: var(--wrap); margin: 0 auto; padding: var(--space-8) 0; display: grid; gap: var(--space-7); }
.visit__text { display: grid; gap: var(--space-3); align-content: start; }
.visit__title { color: #fff; font-weight: 500; }
.visit__offer { font-size: var(--fs-body); color: rgba(255,255,255,.88); }
.visit__who { margin-top: var(--space-4); font-size: var(--fs-small); letter-spacing: .14em; color: rgba(255,255,255,.78); }
.visit__phone { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; font-size: var(--fs-phone); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--c-gold); transition: color .25s ease; }
.visit__phone:hover { color: var(--c-gold-light); }
.visit__facts { margin-top: var(--space-4); border-top: 1px solid rgba(255,255,255,.16); }
.visit__facts li { display: flex; gap: var(--space-5); padding: var(--space-3) 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: var(--fs-small); color: rgba(255,255,255,.88); }
.visit__facts span { flex: 0 0 auto; width: 3em; color: var(--c-gold); }
.visit__form { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); border: 1px solid rgba(255,255,255,.22); background: rgba(0,27,38,.55); }
.visit__ftitle { font-weight: 500; }
.visit__fnote { font-size: var(--fs-small); color: rgba(255,255,255,.75); margin-top: calc(-1 * var(--space-2)); }
.vf { display: grid; gap: var(--space-1); font-size: var(--fs-caption); color: rgba(255,255,255,.8); }
.vf input, .vf select { width: 100%; min-height: 48px; padding: 0 var(--space-1); border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: var(--fs-body); color-scheme: dark; }
.vf select option { color: #111; }
.vf input::placeholder { color: rgba(255,255,255,.55); }
.vf input:focus, .vf select:focus { outline: none; border-bottom-color: var(--c-gold); }
.vf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.hm-contact__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vf-consent { font-size: var(--fs-caption); color: rgba(255,255,255,.78); }
.vf-consent summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vf-consent div { padding: var(--space-3); background: rgba(255,255,255,.06); line-height: 1.7; }
.vf-agree { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-small); color: rgba(255,255,255,.9); line-height: 1.6; cursor: pointer; }
.vf-agree input, .hm-module-page .hm-contact__consent input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; margin: -11px -8px -11px -12px; padding: 0; border: 0; border-radius: 0; cursor: pointer; background: center / 22px 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%23fff' stroke='%23b9967b' stroke-width='2'/%3E%3C/svg%3E"); }
.vf-agree input:checked, .hm-module-page .hm-contact__consent input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='2' fill='%2300364b' stroke='%23b9967b' stroke-width='2'/%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vf-agree input:focus-visible, .hm-module-page .hm-contact__consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -8px; }
.vf-agree a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-gold-light); text-decoration: underline; }
.visit__submit { min-height: 58px; border: 0; background: var(--c-gold); color: var(--c-navy); font-size: var(--fs-h4); font-weight: 700; transition: background-color .25s ease; }
.visit__submit:hover { background: var(--c-gold-light); }
.visit__submit:disabled { opacity: .7; cursor: wait; }
.visit [data-hm-ok] { font-size: var(--fs-small); color: #bfe6c9; }
.visit [data-hm-msg] { font-size: var(--fs-small); color: #ffc2b8; }

/* ───────── 바닥글(#10) ───────── */
.site-footer { background: var(--c-navy); color: #fff; padding: var(--space-8) 0 calc(var(--space-10) + var(--safe-bottom)); }
.sf-inner { width: var(--wrap); margin: 0 auto; display: grid; gap: var(--space-6); }
.sf-main { display: grid; gap: var(--space-5); }
.sf-brand { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.sf-brand__logo { width: 112px; height: auto; }
.hm-module-page .hm-contact__consent a { display: inline-flex; align-items: center; min-height: 44px; }
.sf-brand__name { font-size: var(--fs-small); font-weight: 600; }
.sf-notes li { position: relative; padding-left: var(--space-3); font-size: var(--fs-micro); line-height: 1.6; color: rgba(255,255,255,.72); }
.sf-notes li::before { content: "-"; position: absolute; left: 0; }
.sf-info { display: grid; gap: var(--space-1); }
.sf-info > div { display: flex; gap: var(--space-4); font-size: var(--fs-micro); line-height: 1.6; }
.sf-info dt { flex: 0 0 5.5em; font-weight: 700; }
.sf-info dd { color: rgba(255,255,255,.82); }
.sf-info a { text-decoration: underline; text-underline-offset: 2px; }
.sf-legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.sf-legal a, .sf-legal .hm-admin-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-size: var(--fs-micro); color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 2px; }
.sf-copy { font-size: var(--fs-micro); color: rgba(255,255,255,.62); }
.sf-side { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.sf-top { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--c-navy); transition: transform .3s ease; }
.sf-top:hover { transform: translateY(-3px); }
.sf-top svg { width: 26px; height: 26px; }
.sf-phone { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: var(--fs-phone-sm); font-weight: 800; letter-spacing: -0.02em; }
.sf-phone svg { width: .8em; height: .8em; }

/* ───────── 떠 있는 버튼 ───────── */
.reg-orb { display: none; }
.m-quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: var(--safe-bottom); background: var(--c-navy); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.m-quick__btn { display: flex; align-items: center; justify-content: center; min-height: 54px; color: #fff; font-size: var(--fs-body); font-weight: 700; }
.m-quick__btn--tel { background: var(--c-gold); color: var(--c-navy); }
@media (min-width: 1024px) {
  .m-quick { display: none; }
  .reg-orb { position: fixed; right: 26px; bottom: 26px; z-index: 900; display: grid; place-items: center; width: 160px; height: 160px; }
  .reg-orb__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgb(0,0,0); background-color: #fff; animation: hvCommSpin 18s linear infinite; }
  .reg-orb__txt { position: relative; z-index: 1; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #fff; color: #000; font-size: var(--fs-body); font-weight: 700; line-height: 1.3; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .3s ease, background-color .3s ease; }
  .reg-orb:hover .reg-orb__txt { transform: scale(1.05); background: var(--c-deep); }
  .site-footer { padding-bottom: var(--space-8); }
}

/* ───────── 마우스 반응 · 커서 렌즈 ─────────
   일반 화살표 커서는 그대로 보인다(운영자 지시). 그 위에 원본과 같은 16px 렌즈가 부드럽게 따라온다(data-hm-cursor).
   마우스 위치(-1~1)에 따라 첫 화면 글·사진이 조금씩 따라 움직이고(lerp), 버튼은 마우스 쪽으로 끌리고, 카드는 기운다. */
.pointer-lens { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .pointer-lens { display: block; position: fixed; left: 0; top: 0; z-index: 3000; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; backdrop-filter: invert(1); -webkit-backdrop-filter: invert(1); pointer-events: none; opacity: 0; transition: opacity .2s ease, width .25s ease, height .25s ease, margin .25s ease; will-change: transform; }
  .js .pointer-lens.is-on { opacity: 1; }
  .js .pointer-lens.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
}
.mx-layer { will-change: transform; }
.prem__media .mx-layer { position: absolute; inset: -18px; }
.prem__media .mx-layer .prem__fig { inset: 0; }
.land__slides.mx-layer { inset: -24px; }
.cplx__left .cplx__img.mx-layer { inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); }
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.1,1); will-change: transform; }
.magnet { transition: transform .35s cubic-bezier(.2,.7,.1,1); will-change: transform; }

/* ───────── 크게 보기 ───────── */
.zoom { position: fixed; inset: 0; z-index: 2500; display: flex; flex-direction: column; background: rgba(0,10,15,.94); }
.zoom[hidden] { display: none; }
.zoom__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4); padding-top: calc(var(--space-2) + var(--safe-top)); color: #fff; }
.zoom__cap { font-size: var(--fs-small); }
.zoom__close { min-width: 64px; min-height: 44px; border: 1px solid rgba(255,255,255,.6); background: none; color: #fff; font-size: var(--fs-small); }
.zoom__body { flex: 1 1 auto; overflow: auto; display: grid; place-items: center; padding: var(--space-3); }
.zoom__img { max-width: none; width: min(2320px, 220vw); height: auto; }
@media (min-width: 1024px) { .zoom__img { width: min(2320px, 100%); } }

/* ───────── 1024px 이상 — 참고 사이트 배치 ───────── */
@media (min-width: 1024px) {
  .hero { min-height: max(640px, calc(100svh - var(--header-h))); }
  .prem { grid-template-columns: 1fr 1fr; min-height: max(720px, calc(100svh - var(--header-h))); }
  .prem__text { padding: var(--space-9) var(--gutter); }
  .prem__media { aspect-ratio: auto; }
  .land { min-height: max(720px, calc(100svh - var(--header-h))); align-items: center; }
  .cplx { grid-template-columns: 40% 60%; min-height: max(720px, calc(100svh - var(--header-h))); padding-top: var(--space-7); }
  .cplx__left { min-height: 0; }
  .cplx__right { padding: var(--space-7) var(--gutter) var(--space-7) var(--space-6); }
  .cplx__facts { grid-template-columns: 1fr 1fr; }
  .comm { grid-template-columns: 50% 50%; min-height: max(720px, calc(100svh - var(--header-h))); align-items: center; }
  .comm__text { padding: var(--space-9) var(--space-6) var(--space-9) var(--gutter); }
  .comm__media { margin: 0 var(--gutter) 0 0; }
  .unit { grid-template-columns: minmax(0, 33%) minmax(0, 1fr); column-gap: var(--space-8); min-height: max(720px, calc(100svh - var(--header-h))); align-content: center; padding: var(--space-9) var(--gutter) var(--space-7); }
  .unit__note { grid-column: 1 / -1; }
  .intr { grid-template-columns: minmax(0, 27%) minmax(0, 1fr); column-gap: 57px; min-height: max(720px, calc(100svh - var(--header-h))); align-content: center; padding: var(--space-10) var(--gutter) 50px; }
  .intr__grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .intr__fig--main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .intr__fig { aspect-ratio: auto; min-height: 166px; }
  .visit__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); column-gap: var(--space-8); padding: 130px 0 70px; min-height: max(720px, calc(100svh - var(--header-h))); align-content: center; }
  .visit__form { padding: var(--space-7) var(--space-6); }
  .sf-inner { grid-template-columns: 1fr auto; column-gap: 60px; }
  .sf-side { flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: var(--space-6); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cplx__facts { grid-template-columns: 1fr 1fr; }
  .comm__list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ───────── 하위 쪽 공통 ───────── */
.sub-hero { position: relative; display: grid; place-items: center; min-height: var(--sub-hero-h); padding: var(--space-8) var(--gutter) var(--space-7); background-color: var(--c-navy); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); color: #fff; text-align: center; }
.sub-hero h1 { display: grid; gap: var(--space-2); }
.sub-hero__en { font-size: var(--fs-sub-en); font-weight: 400; letter-spacing: .5em; margin-right: -.5em; line-height: 1.2; }
.sub-hero__ko { font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; }
.page-privacy .sub-hero { background-color: #fff; }
.page-privacy .sub-hero h1 { color: #00364b; }
.crumb { border-bottom: 1px solid #e5e5e5; }
.crumb__in { width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-5); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); min-height: 56px; font-size: var(--fs-small); color: #666; }
.crumb li + li::before { content: "›"; margin-right: var(--space-2); color: #999; }
.crumb li:last-child { color: var(--c-navy); font-weight: 700; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb__tabs { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.crumb__tabs a { position: relative; display: inline-flex; align-items: center; min-height: 56px; font-size: var(--fs-small); color: #666; transition: color .2s ease; }
.crumb__tabs a[aria-current="page"] { color: var(--c-navy); font-weight: 700; }
.crumb__tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--c-navy); }
.crumb__tabs a:hover { color: var(--c-navy); }
.sub-body { width: min(100% - 2 * var(--gutter), 1000px); margin: 0 auto; padding: var(--space-7) 0 var(--space-10); display: grid; gap: var(--space-5); }
.sub-body--wide { width: min(100% - 2 * var(--gutter), 1100px); }
.sub-fig img { width: 100%; height: auto; }
.sub-fig figcaption, .sub-note { font-size: var(--fs-caption); color: #66655d; line-height: 1.6; }
.sub-fig figcaption { margin-top: var(--space-2); text-align: center; }
.sub-fig a, .sub-fig img, .sub-fig figcaption { background-color: #fff; }
.sub-zoom { position: relative; display: block; }
.sub-zoom__btn { position: absolute; left: var(--space-4); bottom: var(--space-4); display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; background: #0e3b2e; color: #fff; font-size: var(--fs-small); font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.sub-h2 { color: var(--c-navy); text-align: center; margin-top: var(--space-5); }
.sub-p { font-size: var(--fs-body); line-height: 1.9; color: #333; text-align: center; }
.sub-qa { display: grid; gap: var(--space-5); margin-top: var(--space-3); }
.sub-qa > div { padding: var(--space-5); background: var(--c-ivory); }
.sub-qa h3 { color: var(--c-navy); }
.sub-qa p, .sub-qa li { font-size: var(--fs-body); line-height: 1.8; color: #333; }
.sub-qa ul { margin-top: var(--space-2); display: grid; gap: var(--space-1); }
.sub-qa li { position: relative; padding-left: var(--space-4); }
.sub-qa li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; background: var(--c-gold); }
.table-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid #ccc; font-size: var(--fs-small); }
.info-table th, .info-table td { padding: var(--space-4) var(--space-4); border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; line-height: 1.6; }
.info-table th { width: 28%; background: #f6f6f6; font-weight: 700; text-align: center; }
.info-table--grid th, .info-table--grid td { text-align: center; white-space: nowrap; }
.info-table--grid thead th { background: var(--c-navy); color: #fff; width: auto; }
.info-table--grid tbody th { width: auto; }
.quote-box { padding: var(--space-5); border-radius: 8px; background: #f3f3f3; text-align: center; }
.quote-box p { font-size: var(--fs-h4); font-weight: 600; line-height: 1.6; }
.quote-box a { color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; }
.type-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); max-width: 640px; margin: 0 auto; }
.type-tab { min-height: 48px; border: 0; background: none; font-size: var(--fs-body); color: #333; transition: background-color .25s ease, color .25s ease; }
.type-tab.is-on { background: rgba(0,0,0,.04); color: var(--c-navy); font-weight: 700; }
.type-tab:hover { color: var(--c-navy); }
.type-pane[hidden] { display: none; }
.type-pane { display: grid; gap: var(--space-5); }
.type-head { text-align: center; font-size: var(--fs-h4); color: #555; }
.type-head b { color: var(--c-navy); }
.type-areas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); padding: var(--space-4) 0; border-bottom: 1px solid #ddd; font-size: var(--fs-small); }
.type-areas span b { font-weight: 700; color: var(--c-navy); }
.gal { display: grid; gap: var(--space-3); }
.gal__view { position: relative; background: #fff; }
.gal__view img { width: 100%; height: auto; }
.gal__nav { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.gal__btn { min-width: 48px; min-height: 48px; border: 1px solid var(--c-navy); background: #fff; color: var(--c-navy); font-size: var(--fs-h4); transition: background-color .25s ease, color .25s ease; }
.gal__btn:hover { background: var(--c-navy); color: #fff; }
.gal__count { font-size: var(--fs-small); color: #555; min-width: 4em; text-align: center; }
.gal__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.gal__thumb { padding: 0; border: 2px solid transparent; background: none; opacity: .7; transition: opacity .2s ease, border-color .2s ease; }
.gal__thumb.is-on { border-color: var(--c-navy); opacity: 1; }
.gal__thumb img { width: 100%; height: auto; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.prose { width: min(100% - 2 * var(--gutter), 860px); margin: 0 auto; padding: var(--space-7) 0 var(--space-10); }
.prose h2 { margin: var(--space-7) 0 var(--space-3); color: var(--c-navy); }
.prose p, .prose li { font-size: var(--fs-body); line-height: 1.85; color: #333; }
.prose ul { margin: var(--space-2) 0; display: grid; gap: var(--space-1); }
.prose li { padding-left: var(--space-4); position: relative; }
.prose li::before { content: "·"; position: absolute; left: var(--space-1); }
@media (min-width: 768px) {
  .sub-body { padding-top: var(--space-8); }
  .gal__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sub-qa { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .gal__thumbs { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* 문의 페이지(앱 문의 모듈) — 하위 쪽과 같은 모양으로 */
.hm-module-page { padding: 0 0 var(--space-10); }
.hm-module-page > h1 { display: block; min-height: var(--sub-hero-h); margin: 0 0 var(--space-7); padding: var(--space-8) var(--gutter) var(--space-7); background-color: var(--c-navy); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); color: #fff; text-align: center; }
.hm-module-page > h1::first-line { font-size: var(--fs-sub-en); font-weight: 600; line-height: 1.6; }
.hm-module-page > [data-hm-slot] { width: min(100% - 2 * var(--gutter), 760px); margin: 0 auto; }
.hm-module-page .hm-contact { display: grid; gap: var(--space-4); }
.hm-module-page .hm-contact > label { display: grid; gap: var(--space-1); font-size: var(--fs-small); font-weight: 600; color: #222; }
.hm-module-page .hm-contact input, .hm-module-page .hm-contact textarea { width: 100%; padding: var(--space-3); font: inherit; font-size: var(--fs-body); border: 1px solid #cfcfcf; border-radius: 2px; background: #fff; }
.hm-module-page .hm-contact textarea { min-height: 160px; resize: vertical; }
.hm-module-page .hm-contact__consent { padding: var(--space-4); background: var(--c-ivory); font-size: var(--fs-caption); line-height: 1.7; color: #444; }
.hm-module-page .hm-contact__consent label { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-3); font-size: var(--fs-small); color: #222; }

.hm-module-page .hm-contact__consent a { color: var(--c-navy); text-decoration: underline; }
.hm-module-page .hm-contact button[type="submit"] { min-height: 56px; border: 0; border-radius: 2px; background: var(--c-navy); color: #fff; font-size: var(--fs-h4); font-weight: 700; transition: background-color .25s ease; }
.hm-module-page .hm-contact button[type="submit"]:hover { background: var(--c-deep); }
.hm-module-page [data-hm-ok] { color: #1f7a3a; }
.hm-module-page [data-hm-msg] { color: var(--hm-color-danger); }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .fd { opacity: 1; transform: none; translate: 0 0; }
  .comm__ring, .reg-orb__ring { animation: none; }
  .mx-layer, .tilt, .magnet { transform: none !important; }
  .intro { display: none !important; }
}

/* hm-mobile-autofix:start — 앱이 휴대폰 화면의 기계적인 문제(작은 누름 영역·작은 글자 등)를 바로 고친 규칙이에요(PC 화면은 안 바뀌어요). 다시 고치면 이 구역만 갈아 끼워요. 지우지 마세요 */
@media (max-width: 1023px) {
  html body ol > li:nth-of-type(1) > a { min-height: 44px; min-width: 44px; box-sizing: border-box; }
}
/* hm-mobile-autofix:end */
