/* ==========================================================================
   吳卿金雕 — contact.css（僅「聯絡與預約」頁載入，搭配 home.css 的共用質感）
   1. 頁首
   2. 預約表單
   3. 側欄聯絡卡
   4. 常見問題
   5. 地圖
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 頁首
   -------------------------------------------------------------------------- */
.contact-hero { min-height: min(78svh, 740px); }
.contact-hero .page-hero__bg img { object-position: 55% 45%; animation: none; transform: none; }
.contact-hero .page-hero__title { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.4rem); letter-spacing: 0.16em; }
.contact-hero .feature-hero__sub { letter-spacing: 0.2em; }
@media (min-width: 981px) {
  .contact-hero .page-hero__bg { left: 40%; }
  .contact-hero .page-hero__bg img {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
    mask-image: linear-gradient(90deg, transparent, #000 35%);
    filter: brightness(0.85) contrast(1.05);
  }
  .contact-hero .page-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(6, 6, 7, 0.7) 0%, rgba(6, 6, 7, 0) 30%, rgba(6, 6, 7, 0) 70%, var(--ink-900) 100%),
      linear-gradient(90deg, rgba(6, 6, 7, 0.6) 0%, rgba(6, 6, 7, 0) 50%);
  }
}
@media (max-width: 980px) {
  .contact-hero .page-hero__bg img { opacity: 0.5; }
}
@media (max-width: 640px) {
  .contact-hero .page-hero__actions { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
}

/* --------------------------------------------------------------------------
   2. 預約表單
   -------------------------------------------------------------------------- */
.contact-section { padding-top: clamp(3rem, 6vw, 5rem); }
.contact-section .contact-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
@media (max-width: 960px) { .contact-section .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.contact-section .contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3.6vw, 3.2rem);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(214, 180, 108, 0.1), transparent 70%),
    #111114;
  border-color: rgba(214, 180, 108, 0.24);
  border-radius: 2px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.contact-section .contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gold-grad);
}
.contact-section .section-head__title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem) !important; }

.contact-section .field__label { color: var(--gold-200); letter-spacing: 0.16em; }
.contact-section .input,
.contact-section .select,
.contact-section .textarea {
  padding-block: 0.95rem;
  background-color: rgba(0, 0, 0, 0.32);
  border-color: rgba(214, 180, 108, 0.16);
  border-radius: 2px;
}
.contact-section .input:focus,
.contact-section .select:focus,
.contact-section .textarea:focus {
  border-color: var(--gold-400);
  background-color: rgba(214, 180, 108, 0.05);
  box-shadow: 0 0 0 3px rgba(214, 180, 108, 0.14);
}
.contact-section .select { background-color: rgba(0, 0, 0, 0.32); }
.contact-section .textarea { min-height: 160px; }
.contact-section input[type="date"] { color-scheme: dark; }

/* 勾選區改為兩張小卡 */
.contact-section .field--full:has(.check) {
  padding: 1rem 1.15rem;
  background: rgba(214, 180, 108, 0.04);
  border: 1px solid rgba(214, 180, 108, 0.12);
  border-radius: 2px;
}
.contact-section .check a { color: var(--gold-300); border-bottom: 1px solid rgba(214, 180, 108, 0.4); }

.contact-section .btn--gold[type="submit"] {
  width: 100%;
  padding-block: 1.15em;
  font-size: 1rem;
  letter-spacing: 0.24em;
}

/* --------------------------------------------------------------------------
   3. 側欄聯絡卡
   -------------------------------------------------------------------------- */
.contact-section .contact-aside__sticky { gap: 0.9rem; }
.contact-section .info-card {
  align-items: center;
  padding: 1.3rem 1.4rem;
  background: #111114;
  border-color: rgba(214, 180, 108, 0.16);
  border-radius: 2px;
}
.contact-section .info-card:hover { border-color: rgba(214, 180, 108, 0.45); }
.contact-section .info-card__icon {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 30% 25%, rgba(242, 229, 196, 0.16), transparent 65%);
  border-color: rgba(214, 180, 108, 0.35);
  color: var(--gold-300);
}
.contact-section .info-card__icon svg { width: 19px; height: 19px; }
.contact-section .info-card__label { color: var(--gold-600); }
.contact-section .info-card__value { font-size: 1.05rem; letter-spacing: 0.04em; }
.contact-section .info-card__value a { color: var(--gold-200); }
.contact-section .info-card__sub a { color: var(--gold-400); }

.contact-section .line-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(214, 180, 108, 0.16), transparent 70%),
    #121215;
  border-color: rgba(214, 180, 108, 0.35);
  border-radius: 2px;
}
.contact-section .line-card__title { font-size: 1.15rem; color: var(--gold-200); }
.contact-section .line-card .btn { letter-spacing: 0.14em; }
@media (max-width: 960px) {
  .contact-section .contact-aside__sticky { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. 常見問題
   -------------------------------------------------------------------------- */
.faq { border-top-color: rgba(214, 180, 108, 0.3); counter-reset: faq; }
.faq__item { counter-increment: faq; border-bottom-color: rgba(214, 180, 108, 0.14); transition: background-color 0.45s var(--ease); }
.faq__item:hover { background: rgba(214, 180, 108, 0.03); }
.faq__trigger { justify-content: flex-start; padding-inline: 0.75rem; font-size: 1.08rem; letter-spacing: 0.1em; }
.faq__trigger::before {
  content: "Q" counter(faq);
  flex: none;
  width: 2.6rem;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-500);
}
.faq__icon {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(214, 180, 108, 0.3);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq__icon::before,
.faq__icon::after { width: 12px; }
.faq__trigger[aria-expanded="true"] { color: var(--gold-200); }
.faq__trigger[aria-expanded="true"] .faq__icon { background: rgba(214, 180, 108, 0.12); border-color: var(--gold-400); }
.faq__answer { padding-left: 3.35rem; padding-right: 0.75rem; color: var(--fg-muted); }
@media (max-width: 640px) {
  .faq__trigger { font-size: 1rem; padding-inline: 0.25rem; }
  .faq__answer { padding-left: 2.85rem; }
}

/* --------------------------------------------------------------------------
   5. 地圖
   -------------------------------------------------------------------------- */
.map-frame {
  border-color: rgba(214, 180, 108, 0.24);
  border-radius: 2px;
  aspect-ratio: 21 / 9;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
@media (max-width: 760px) { .map-frame { aspect-ratio: 4 / 3; } }
.map-frame__overlay {
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 1rem 1.3rem;
  border-color: rgba(214, 180, 108, 0.35);
  border-left: 2px solid var(--gold-400);
  border-radius: 2px;
}
.map-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
