/* 媧石皇家 demo 2 — 門市據點 (visit.html) */

/* ---------- 1. Hero ---------- */
.vs-hero { padding-top: calc(var(--hd-h) + clamp(40px, 6vw, 96px)); }
.vs-hero__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 112px); align-items: end; }
.vs-hero__title { display: grid; gap: 24px; justify-items: start; }
.vs-hero__side { display: grid; gap: 36px; }
.vs-index { border-bottom: 1px solid var(--line); }
.vs-index a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 64px; padding-block: 16px; border-top: 1px solid var(--line); transition: color .4s var(--ease), padding .4s var(--ease); }
.vs-index a::after { content: ""; grid-column: 3; grid-row: 1 / span 2; width: 9px; height: 9px; margin-right: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .45s var(--ease); }
.vs-index a:hover { color: var(--burgundy); padding-left: 8px; }
.vs-index a:hover::after { transform: translateY(4px) rotate(45deg); }
.vs-index .num { grid-row: 1 / span 2; font-size: .9375rem; color: var(--brass); }
.vs-index__name { font: 400 clamp(1.2rem, 1.6vw, 1.5rem)/1.4 var(--f-zh-serif); letter-spacing: .08em; }
.vs-index__sub { grid-column: 2; font-size: var(--fs-label); letter-spacing: .1em; color: var(--muted); }
.vs-hero__img { margin-top: clamp(48px, 6vw, 88px); aspect-ratio: 21 / 9; border-radius: var(--r-lg); }

/* ---------- 2. Stores ---------- */
.vs-store { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center; scroll-margin-top: calc(var(--hd-h) + 24px); }
.vs-store + .vs-store { margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--line); }
.vs-store--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.vs-store--flip .vs-gal { order: 2; }

.vs-gal { min-width: 0; }
.vs-gal__track { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; border-radius: var(--r-lg); }
.vs-gal__track::-webkit-scrollbar { display: none; }
.vs-gal__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.vs-gal__track.is-drag img { pointer-events: none; }
.vs-gal__slide { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--r-lg); }
.vs-gal__slide img { user-select: none; -webkit-user-drag: none; }
.vs-gal__ui { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.vs-gal__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, background .3s, color .3s, opacity .3s; }
.vs-gal__btn span { width: 8px; height: 8px; margin-left: 3px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.vs-gal__btn--next span { margin: 0 3px 0 0; transform: rotate(-135deg); }
.vs-gal__btn:hover { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.vs-gal__btn:disabled { opacity: .35; pointer-events: none; }
.vs-gal__count { min-width: 76px; text-align: center; font-size: 1rem; color: var(--muted); }
.vs-gal__count [data-cur] { color: var(--ink); }
.vs-gal__hint { margin-left: auto; font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); }

.vs-info { display: grid; gap: 20px; justify-items: start; }
.vs-info__no { font-size: 1rem; color: var(--brass); letter-spacing: .1em; }
.vs-info__lede { font: 400 var(--fs-lead)/1.9 var(--f-zh-serif); color: var(--muted); letter-spacing: .06em; }
.vs-dl { width: 100%; margin-top: 8px; border-bottom: 1px solid var(--line); }
.vs-dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.vs-dl dt { padding-top: 2px; font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); }
.vs-dl dd { font-size: var(--fs-small); line-height: 1.8; }
.vs-dl small { display: block; font-size: var(--fs-label); color: var(--muted); }
.vs-tel { color: var(--burgundy); border-bottom: 1px solid currentColor; font-family: var(--f-num); letter-spacing: .04em; font-size: 1.0625rem; }
.vs-info__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- 3. Experience ---------- */
.vs-exp__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.vs-exp__img { aspect-ratio: 4 / 5; border-radius: 240px 240px var(--r-lg) var(--r-lg); }
.vs-exp__body { display: grid; gap: 20px; justify-items: start; }
.vs-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: clamp(24px, 3vw, 40px); }
.vs-quad li { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.vs-quad li:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
.vs-quad li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.vs-quad__no { font: 400 1.75rem/1 var(--f-zh-serif); color: var(--burgundy); }
.vs-quad .h3 { font-family: var(--f-zh-serif); }
.vs-quad p { font-size: var(--fs-small); color: var(--muted); }

/* ---------- 4. Booking flow + notes ---------- */
.vs-book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 7vw, 128px); align-items: center; }
.vs-book__steps { display: grid; gap: 24px; justify-items: start; }
.vs-steps { width: 100%; margin-block: 16px 12px; border-bottom: 1px solid var(--line); }
.vs-steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.vs-steps__no { font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1; color: var(--burgundy); }
.vs-steps .h3 { font-family: var(--f-zh-serif); margin-bottom: 4px; }
.vs-steps p { font-size: var(--fs-small); color: var(--muted); }

.vs-chat { max-width: 520px; width: 100%; justify-self: end; padding: 0 0 28px; border-radius: 28px; background: var(--sand); box-shadow: 0 30px 60px -30px rgba(38, 32, 28, .28); overflow: hidden; }
.vs-chat__bar { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.vs-chat__avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--burgundy); color: #fff; font: 500 1.05rem/1 var(--f-zh-serif); }
.vs-chat__name { display: grid; font-size: var(--fs-small); line-height: 1.4; }
.vs-chat__name small { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.vs-chat__bar .sample { margin-left: auto; }
.vs-chat__log { display: grid; gap: 12px; padding: 24px 22px 0; }
.vs-msg { display: flex; }
.vs-msg p { max-width: 82%; padding: 12px 16px; border-radius: 4px 18px 18px 18px; background: #fff; font-size: var(--fs-small); line-height: 1.75; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.vs-msg--me { justify-content: flex-end; }
.vs-msg--me p { border-radius: 18px 4px 18px 18px; background: #06C755; color: #fff; }
.vs-msg--note { justify-content: center; }
.vs-msg--note p { padding: 6px 14px; border-radius: 99px; background: rgba(38, 32, 28, .08); font-size: .8125rem; color: var(--muted); box-shadow: none; }

.vs-notes { max-width: 1040px; margin: clamp(64px, 8vw, 112px) auto 0; padding: clamp(28px, 4vw, 52px); border: 1px dashed var(--brass); border-radius: var(--r-lg); background: var(--sand); }
.vs-notes__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.vs-notes__seal { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: var(--burgundy); color: #fff; font: 500 1.25rem/1 var(--f-zh-serif); }
.vs-notes__head .h3 { font-family: var(--f-zh-serif); }
.vs-notes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.vs-notes__list li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.vs-notes__list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 6px; height: 6px; background: var(--burgundy); transform: rotate(45deg); }

/* ---------- 5. CTA ---------- */
.vs-cta__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 112px); align-items: end; }
.vs-cta__side { display: grid; gap: 28px; justify-items: start; }
.vs-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vs-cta__tel { font-size: var(--fs-small); letter-spacing: .1em; color: var(--on-dark-muted); }
.vs-cta__tel a { display: inline-block; padding-block: 10px; color: var(--on-dark); border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 1.0625rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .vs-hero__top { grid-template-columns: minmax(0, 1fr); }
  .vs-hero__img { aspect-ratio: 16 / 9; }
  .vs-store, .vs-store--flip { grid-template-columns: minmax(0, 1fr); }
  .vs-store--flip .vs-gal { order: 0; }
  .vs-exp__grid { grid-template-columns: minmax(0, 1fr); }
  .vs-exp__media { max-width: 520px; }
  .vs-cta__in { grid-template-columns: minmax(0, 1fr); }
  .vs-book__grid { grid-template-columns: minmax(0, 1fr); }
  .vs-chat { justify-self: start; }
}
@media (max-width: 767px) {
  .vs-hero__img { aspect-ratio: 4 / 3; }
  .vs-gal__track { margin-right: calc(var(--gutter) * -1); border-radius: var(--r-lg) 0 0 var(--r-lg); scroll-padding-inline: 0; }
  .vs-gal__track::after { content: ""; flex: 0 0 calc(var(--gutter) - 14px); }
  .vs-gal__slide { flex-basis: 84%; aspect-ratio: 4 / 5; }
  .vs-gal__hint { display: none; }
  .vs-gal__ui { justify-content: flex-start; }
  .vs-dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .vs-dl dt { letter-spacing: .12em; }

  .vs-quad { grid-template-columns: minmax(0, 1fr); }
  .vs-quad li, .vs-quad li:nth-child(odd) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .vs-quad li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .vs-quad__no { grid-row: 1 / span 2; padding-top: 4px; }

  .vs-steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .vs-chat__bar { flex-wrap: wrap; padding: 16px; }
  .vs-chat__log { padding: 20px 16px 0; }
  .vs-msg p { max-width: 88%; }
  .vs-notes__list { grid-template-columns: minmax(0, 1fr); }
}
