/* 媧石皇家 demo 4 — 門市據點 (visit.html). Auravell /contact lineage. Prefix v4- */

/* ---------- 1. Hero ---------- */
.v4-hero { position: relative; overflow: hidden; padding-top: calc(var(--hd-h) + clamp(64px, 8vw, 120px)); }
.v4-hero .wrap { position: relative; }
.v4-hero__deco { position: absolute; right: calc(var(--gutter) * -1 - 40px); top: -40px; width: clamp(180px, 22vw, 320px); height: auto; color: var(--stone); pointer-events: none; }
.v4-hero__t { position: relative; margin-top: 16px; font-family: var(--f-zh-serif); font-size: clamp(3.25rem, 9vw, 8.5rem); line-height: 1.1; letter-spacing: .1em; }
.v4-hero__cols { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 80px; margin-top: clamp(40px, 5vw, 72px); }
.v4-hero__info { display: grid; gap: 14px; font-size: var(--fs-small); line-height: 1.9; }
.v4-hero__info a, .v4-hero__links a { transition: color .3s; }
.v4-hero__info a:hover, .v4-hero__links a:hover { color: var(--burgundy); }
.v4-hero__h { font: 400 1.25rem/1.5 var(--f-zh-serif); letter-spacing: .08em; }
.v4-hero__social { display: grid; gap: 14px; align-content: start; font-size: var(--fs-small); }
.v4-hero__links { display: flex; flex-wrap: wrap; gap: 10px; font: 400 1.125rem/1.5 var(--f-num); }
.v4-hero__links span { color: var(--muted); }
.v4-hero__fig { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.v4-hero__img { aspect-ratio: 1392 / 560; border-radius: var(--r-lg); }
.v4-hero__img img { object-position: 50% 45%; }
.v4-cap { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-label); letter-spacing: .1em; color: var(--muted); }
.v4-cap i { width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy); flex: none; }
.v4-hero__fig .v4-cap { position: absolute; left: 16px; top: 16px; margin: 0; padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(23,24,26,.08); }

/* ---------- 2. Stores ---------- */
.v4-stores .wrap { display: grid; gap: clamp(80px, 10vw, 150px); }
.v4-store { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.v4-store--rev .v4-store__media { order: 2; }
.v4-store__media { position: relative; }
.v4-store__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.v4-store__img--mat { aspect-ratio: 4 / 3; padding: clamp(20px, 3vw, 40px); background: var(--sand); }
.v4-store__img--mat img { border-radius: var(--r); }
.v4-store__inset { position: absolute; right: clamp(-24px, -2vw, -12px); bottom: clamp(-48px, -4vw, -24px); width: clamp(140px, 17vw, 240px); aspect-ratio: 1; border: 6px solid var(--paper); border-radius: var(--r); box-shadow: 0 18px 40px rgba(23,24,26,.14); }
.v4-cap--abs { position: absolute; left: 16px; top: 16px; margin: 0; padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--ink); }
.v4-store__body { display: grid; gap: 16px; justify-items: start; }
.v4-store__no { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; color: var(--stone); }
.v4-store .h2 { font-family: var(--f-zh-serif); letter-spacing: .1em; }
.v4-store__en { margin-top: -8px; font: italic 400 1.125rem/1.4 var(--f-accent); color: var(--muted); letter-spacing: .04em; }
.v4-dl { width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.v4-dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.v4-dl dt { font-size: var(--fs-label); letter-spacing: .2em; color: var(--burgundy); padding-top: 3px; }
.v4-dl dd { font-size: var(--fs-small); line-height: 1.8; }
.v4-dl a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.v4-dl a:hover { color: var(--burgundy); border-color: var(--burgundy); }
.v4-open { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 1px 10px; border-radius: 99px; font-size: .75rem; letter-spacing: .08em; background: var(--burgundy-tint); color: var(--burgundy); vertical-align: 1px; }
.v4-open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v4-open.is-open { background: #E4F2E7; color: #1F6B35; }
.v4-store__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- 3. Visit timetable ---------- */
.v4-visit__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.v4-visit__copy { display: grid; gap: 22px; justify-items: start; }
.v4-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.v4-pills li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: var(--fs-label); letter-spacing: .1em; }
.v4-tt { width: 100%; }
.v4-tt__head, .v4-tt__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; }
.v4-tt__head { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: var(--fs-label); letter-spacing: .2em; color: var(--burgundy); }
.v4-tt__row { padding-block: 20px; border-bottom: 1px solid var(--line); }
.v4-tt__row > .num { font-size: 1.125rem; color: var(--burgundy); }
.v4-tt__row h3 { font: 400 1.125rem/1.5 var(--f-zh-serif); letter-spacing: .1em; margin-bottom: 4px; }
.v4-tt__row p { color: var(--muted); font-size: var(--fs-small); line-height: 1.9; }
.v4-visit__fig { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.v4-visit__img { aspect-ratio: 1; border: 10px solid var(--paper); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(23,24,26,.1); }
.v4-visit__card { position: absolute; left: -32px; bottom: -28px; display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: #fff; border-radius: var(--r); box-shadow: 0 18px 40px rgba(23,24,26,.12); }
.v4-visit__card .num { font-size: clamp(2.2rem, 3vw, 2.75rem); line-height: 1; color: var(--burgundy); }
.v4-visit__card p { font-size: var(--fs-small); line-height: 1.6; letter-spacing: .08em; }

/* ---------- 4. Channels ---------- */
.v4-book__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.v4-ch { display: grid; align-content: start; gap: 24px; padding: clamp(24px, 2.6vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease); }
.v4-ch:hover { border-color: var(--burgundy); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,24,26,.08); }
.v4-ch--line { grid-template-columns: 150px minmax(0, 1fr); align-items: start; }
.v4-ch__qr { padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.v4-ch__qr img { width: 100%; height: auto; }
.v4-ch__ic { width: 44px; height: 44px; fill: none; stroke: var(--burgundy); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.v4-ch__body { display: grid; gap: 14px; justify-items: start; }
.v4-ch__t { font: 400 1.75rem/1.2 var(--f-num); letter-spacing: .02em; }
.v4-ch p { color: var(--muted); font-size: var(--fs-small); line-height: 1.9; }

/* ---------- 5. Form ---------- */
.v4-form__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.v4-form__head { display: grid; gap: 20px; justify-items: start; }
.v4-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.v4-f { display: grid; gap: 4px; }
.v4-f--full { grid-column: 1 / -1; }
.v4-f label { font-size: var(--fs-label); letter-spacing: .12em; color: var(--muted); }
.v4-f input, .v4-f select, .v4-f textarea { width: 100%; min-height: 48px; padding: 8px 0; border: 0; border-bottom: 1px solid #BDB6AA; border-radius: 0; background: transparent; font: 400 1rem/1.6 var(--f-sans); color: var(--ink); letter-spacing: .04em; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.v4-f select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; cursor: pointer; }
.v4-f textarea { resize: vertical; min-height: 120px; }
.v4-f textarea::placeholder { color: #8E8A84; }
.v4-f input:focus, .v4-f select:focus, .v4-f textarea:focus { outline: none; border-color: var(--burgundy); }
.v4-f.is-bad input, .v4-f.is-bad select { border-color: #B3261E; }
.v4-form__err { grid-column: 1 / -1; font-size: var(--fs-small); color: #B3261E; }
.v4-form__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.v4-form__ok { padding: 24px 28px; border: 1px solid var(--burgundy); border-radius: var(--r); background: var(--burgundy-tint); font-size: var(--fs-small); line-height: 1.9; }
.v4-form__ok-t { font: 400 1.25rem/1.5 var(--f-zh-serif); color: var(--burgundy); margin-bottom: 6px; letter-spacing: .06em; }

/* ---------- 6. Notes ---------- */
.v4-notes__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.v4-notes__head { display: grid; gap: 20px; }
.v4-notes__list { display: grid; gap: 12px; }
.v4-q { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .3s; }
.v4-q[open] { border-color: var(--burgundy); }
.v4-q summary { display: flex; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; font: 400 1.0625rem/1.6 var(--f-zh-serif); letter-spacing: .06em; }
.v4-q summary::-webkit-details-marker { display: none; }
.v4-q summary .num { flex: none; color: var(--burgundy); font-size: .9375rem; }
.v4-q summary span:not(.num) { flex: 1; }
.v4-q summary i { position: relative; flex: none; width: 14px; height: 14px; }
.v4-q summary i::before, .v4-q summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.v4-q summary i::after { transform: rotate(90deg); }
.v4-q[open] summary i::after { transform: rotate(0); }
.v4-q__a { padding: 0 24px 22px calc(24px + 2.2em); color: var(--muted); font-size: var(--fs-small); line-height: 1.95; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .v4-book__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-ch--line { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .v4-hero__cols, .v4-store, .v4-visit__in, .v4-form__in, .v4-notes__in { grid-template-columns: minmax(0, 1fr); }
  .v4-store--rev .v4-store__media { order: 0; }
  .v4-store__inset { right: 12px; }
  .v4-visit__fig { margin-bottom: 28px; }
  .v4-visit__card { left: 12px; }
}
@media (max-width: 640px) {
  .v4-hero__t { letter-spacing: .06em; }
  .v4-hero__deco { right: -60px; top: -20px; width: 160px; }
  .v4-hero__img { aspect-ratio: 4 / 3; }
  .v4-store__inset { width: 120px; bottom: -32px; border-width: 4px; }
  .v4-store__body { margin-top: 16px; }
  .v4-dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .v4-tt__head, .v4-tt__row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .v4-visit__card { left: 8px; bottom: -24px; padding: 14px 18px; }
  .v4-book__grid { grid-template-columns: minmax(0, 1fr); }
  .v4-ch--line { grid-template-columns: minmax(0, 1fr); }
  .v4-ch__qr { width: 160px; }
  .v4-form { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .v4-form__btns { justify-content: stretch; }
  .v4-form__btns .btn { flex: 1 1 140px; }
  .v4-q summary { padding: 16px 18px; gap: 12px; }
  .v4-q__a { padding: 0 18px 18px; }
}
