/* CSS Reset & 基礎設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.fig-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.fig-frame__layer {
  position: absolute;
}

.fig-frame__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 光影流動效果（第一屏）：呼應設計稿的橫向條紋語彙 —— 光只沿條紋帶流動，
   條紋寬度與設計稿的條紋底圖一致（桌機 2.3cqi／手機 7.2cqi 一個週期），
   以 mask 把暖色光斑裁成橫紋，再用 overlay 疊在橘色底與條紋圖層之上。
   <div class="fig-frame__glow" aria-hidden="true"></div> 放在背景圖層之後、其他圖片之前 */
.fig-frame__glow {
  --glow-pitch: 2.3cqi;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: overlay;
  -webkit-mask-image: repeating-linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--glow-pitch) * 0.43),
    transparent calc(var(--glow-pitch) * 0.43),
    transparent var(--glow-pitch)
  );
  mask-image: repeating-linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--glow-pitch) * 0.43),
    transparent calc(var(--glow-pitch) * 0.43),
    transparent var(--glow-pitch)
  );
}

/* 漂移的暖色光斑：金橘 → 朱紅，與條紋底圖的紅橘漸層同色系 */
.fig-frame__glow::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(
      circle at 26% 34%,
      rgba(255, 214, 140, 0.95),
      transparent 30%
    ),
    radial-gradient(
      circle at 72% 64%,
      rgba(255, 120, 40, 0.9),
      transparent 24%
    ),
    radial-gradient(circle at 58% 14%, rgba(255, 64, 32, 0.7), transparent 20%);
  animation: fig-frame-glow-drift 9s ease-in-out infinite;
}

/* 一道斜向掃光，沿著條紋由左向右掠過 */
.fig-frame__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 236, 200, 0.75) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: fig-frame-glow-sweep 7s ease-in-out infinite;
}

.mobile-view .fig-frame__glow {
  --glow-pitch: 7.2cqi;
}

@keyframes fig-frame-glow-drift {
  0% {
    transform: translate(-8%, -6%) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(8%, -5%) scale(1.35) rotate(30deg);
  }
  66% {
    transform: translate(4%, 8%) scale(0.95) rotate(18deg);
  }
  100% {
    transform: translate(-8%, -6%) scale(1) rotate(0deg);
  }
}

@keyframes fig-frame-glow-sweep {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -30% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fig-frame__glow::before,
  .fig-frame__glow::after {
    animation: none;
  }
}


/* RWD設定 */
.desktop-view {
  display: block;
  --container-width: 1920;
}

.mobile-view {
  display: none;
  --container-width: 640;
}

/* 手機設計稿沒有 footer 時，由 .mobile-view 預留選單高度；有 footer 時改由 footer 預留 */
.mobile-view:not(:has(.site-footer)) {
  padding-bottom: var(--mobile-menu-height);
}

@media (max-width: 640px) {
  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }
}

:root {
  --web-breakpoint: 640;
  /* 響應式斷點基準值（桌機/手機切換），需與 @media (max-width) 及 window.__webBreakpoint 同步修改 */
  /* Menu */
  --desktop-menu-height: 72px;
  --mobile-menu-height: 70px;
  /* 依設計稿實際高度覆寫此值 */
  --theme-bg-color: #E95503;
  /* Fallback theme color，純手機版模式時依設計稿主色調覆寫此值 */
}

/* 選單樣式 */
.desktop-menu,
.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 2.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

.desktop-menu {
  padding-right: 0;
  height: var(--desktop-menu-height);
  background: var(--theme-bg-color);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
  font-size: clamp(
    14px,
    calc(16 / var(--container-width, 1920) * 100cqi),
    20px
  );
}
.mobile-menu {
  height: var(--mobile-menu-height);
  background: var(--theme-bg-color);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
  font-size: clamp(
    10px,
    calc(16 / var(--container-width, 1920) * 100cqi),
    18px
  );
  /* 毛玻璃：主要於使用背景圖片時開啟 */
  /* backdrop-filter: saturate(180%) blur(20px); */
}

.desktop-menu--logo {
  width: clamp(120px, calc(150 / var(--container-width, 1920) * 100cqi), 160px);
}
.mobile-menu--logo {
  width: clamp(100px, 35%, 180px);
  display: flex;
  align-items: center;
}

.desktop-menu--container,
.mobile-menu--container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px, 1.5%, 28px);
  width: 100%;
}

.desktop-menu--container {
  width: 60%;
}

.desktop-menu--logo {
  display: flex;
  align-items: center;
}

.desktop-menu--logo img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-menu--item,
.mobile-menu--item {
  color: #fff;
}

.desktop-menu--item:first-child::before,
.mobile-menu--item:first-child::before {
  display: none;
}

.desktop-menu--item,
.mobile-menu--item {
  transition: opacity 0.2s;
}

.desktop-menu--item:hover,
.mobile-menu--item:hover {
  opacity: 0.8;
}

.mobile-menu--item {
  position: relative;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  flex-grow: 1;
  /* width: clamp(12px, 8vw, 48px); */
}

.desktop-menu--item::before,
.mobile-menu--item::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  left: clamp(-6px, -0.75%, -28px);
}

.desktop-menu--item {
  position: relative;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding-block: 12px;
}

.desktop-menu--item svg {
  width: clamp(14px, 2vw, 20px);
  height: clamp(14px, 2vw, 20px);
}

.mobile-menu--item svg {
  width: clamp(12px, 4vw, 20px);
  height: clamp(12px, 4vw, 20px);
}

.desktop-menu--item span,
.mobile-menu--item span {
  color: #fff;
  text-align: center;
}

/* 只有手機版時額外樣式 */
body.mobile-only-layout {
  background-color: var(--theme-bg-color);
}

body.mobile-only-layout .mobile-view {
  display: block;
  max-width: 640px;
  /* 與 breakpoint 相同 */
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Swiper Overrides */
.swiper-container-wrapper {
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Swiper Pagination */
.swiper-pagination {
  position: absolute;
  z-index: 10;
  display: flex;
  --swiper-pagination-bottom: 0;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border-radius: 50%;
  border: 1px solid #fff;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background-color: #ffffff;
}

.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: start;
}
.justify-end {
  justify-content: end;
}

.object-cover {
  object-fit: cover;
}
.object-contain {
  object-fit: contain;
}

/* Custom Swiper Arrows */
.custom-arrows-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.custom-prev,
.custom-next {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-prev::after,
.custom-next::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.custom-prev::after {
  border-right: 12px solid #926127;
  margin-right: 4px;
}

.custom-next::after {
  border-left: 12px solid #926127;
  margin-left: 4px;
}

/* Form Styles */
.form-layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation-form {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: calc(16 / var(--container-width, 1920) * 100cqi);
  /* 背景填色 */
  /* background-color: #fff; */
  /* 內距 */
  /* padding: calc(48 / var(--container-width, 1920) * 100cqi) 0
    calc(28 / var(--container-width, 1920) * 100cqi); */
}

.desktop-view .reservation-form {
  --form-font-size: clamp(
    12px,
    calc(16 / var(--container-width, 1920) * 100cqi),
    20px
  );
}
.mobile-view .reservation-form {
  --form-font-size: clamp(
    10px,
    calc(16 / var(--container-width, 1920) * 100cqi),
    18px
  );
}

.reservation-form * {
  font-size: var(--form-font-size);
}

/* 單選 */
.radio-group {
  display: flex;
  gap: calc(20 / var(--container-width, 1920) * 100cqi);
  margin-bottom: calc(20 / var(--container-width, 1920) * 100cqi);
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--container-width, 1920) * 100cqi);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: calc(16 / var(--container-width, 1920) * 100cqi);
  height: calc(16 / var(--container-width, 1920) * 100cqi);
  margin: 0;
}

/* 文字輸入 */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: calc(12 / var(--container-width, 1920) * 100cqi)
    calc(16 / var(--container-width, 1920) * 100cqi);
  font-family: "NotoSansHans", sans-serif;
  outline: none;
  /* 字色 */
  color: #333;
  /* 底色 */
  background-color: rgba(255, 255, 255, 0.75);
  /* 邊框 */
  border-radius: calc(4 / var(--container-width, 1920) * 100cqi);
  border: 1px solid #ddd;
}

.form-input[type="tel"],
.form-input[type="email"] {
  /* 對齊中文 */
  text-indent: 4px;
}

.form-textarea {
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #555;
}

.reservation-form .form-control {
  flex: 1;
  /* margin-left: 20px; */
  display: flex;
}

.form-container-wrapper {
  width: 30vw;
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.reservation-form .form-label {
  display: flex;
  align-items: center;
  width: clamp(60px, 20%, 100px);
  flex-shrink: 0;
  color: #192532;
  /* label大小與input不同的時候 */
  /* font-size: clamp(14px, 4vw, 16px); */
}

.reservation-form .form-label .label-text {
  flex: 1;
  text-align: justify;
  text-align-last: justify;
}
.reservation-form .req {
  color: #ff0000;
  margin-left: 5px;
}
.reservation-form .req--placeholder {
  color: transparent;
}
.reservation-form .form-terms {
  color: #ffffff;
  text-align: center;
  margin-block: 10px;
}
.form-group {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 234, 0.7);
  border-radius: 8px;
  padding: 8px 15px;
}
.v-form-group {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 24px;
}
.v-form-group .form-textarea {
  padding-left: 0;
}

@media screen and (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }
}

.select-wrapper {
  position: relative;
}
.select-wrapper select {
  height: 100%;
}

.select-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 16px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.select-icon svg {
  width: 100%;
  height: 100%;
}

.checkbox-label {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10%;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.radio-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px !important;
  color: #555;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: calc(8 / var(--container-width, 1920) * 100cqi);
  cursor: pointer;
}
.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: calc(24 / var(--container-width, 1920) * 100cqi);
  height: calc(24 / var(--container-width, 1920) * 100cqi);
  background-color: #ffffff;
  border-radius: calc(6 / var(--container-width, 1920) * 100cqi);
  border: none;
  cursor: pointer;
  position: relative;
}
.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(12 / var(--container-width, 1920) * 100cqi);
  height: calc(12 / var(--container-width, 1920) * 100cqi);
  background-color: #4c7a6d;
  border-radius: calc(3 / var(--container-width, 1920) * 100cqi);
}

.zipcode3 {
  display: flex;
  gap: 1rem;
}
.zipcode3 .form-label {
  display: none !important;
}
.zipcode3 .select-wrapper {
  flex: 1;
}

/* 提交按鈕 */
.submit-btn-wrapper {
  position: relative;
  display: inline-block;
  margin-top: calc(10 / var(--container-width, 1920) * 100cqi);
  width: fit-content;
}
.submit-btn {
  display: block;
  cursor: pointer;
  /* 字跟其他欄位大小不同的時候 */
  /* font-size: clamp(
    12px,
    calc(20 / var(--container-width, 1920) * 100cqi),
    20px
  ); */
  /* 寬度、距 */
  margin: 0 auto;
  letter-spacing: calc(2 / var(--container-width, 1920) * 100cqi);
  /* padding: calc(14 / var(--container-width, 1920) * 100cqi)
    calc(32 / var(--container-width, 1920) * 100cqi); */
  /* 顏色 */
  background-color: #1a222b;
  color: white;
  /* 邊框 */
  border: none;
  /* border-radius: calc(12 / var(--container-width, 1920) * 100cqi); */
}

/* 額外裝飾icon svg */
/* .submit-btn svg {
  stroke: #760000;
  width: calc(32 / var(--container-width, 1920) * 100cqi);
  transition: stroke 0.3s ease-in-out;
} */

 /* 設計稿指標icon樣式 */
.submit-btn-wrapper .pointer-icon {
  position: absolute;
  right: calc(-20 / var(--container-width, 1920) * 100cqi);
  bottom: calc(-20 / var(--container-width, 1920) * 100cqi);
  width: calc(40 / var(--container-width, 1920) * 100cqi);
  pointer-events: none;
}

/* hiyes 分支：jquery-confirm 提示框（booking js 的驗證與送出訊息） */
/* body 未指定字體時提示框按鈕會落回 Arial；專案若有指定表單字體，改成與表單一致 */
.jconfirm,
.jconfirm .jconfirm-box .jconfirm-buttons button {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* Swipe Hint Overlay */
.swipe-hint-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
  z-index: 10;
}
.swipe-hint-overlay.hidden {
  opacity: 0 !important;
}
.swipe-hint-circle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  color: white;
}
.swipe-icon-container {
  animation: swipeHandAnim 2.5s infinite ease-in-out;
}
.swipe-icon-container svg {
  width: 45px;
  height: 45px;
}
.swipe-hint-text {
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: bold;
}

@keyframes swipeHandAnim {
  0%,
  100% {
    transform: translateX(8px);
  }

  50% {
    transform: translateX(-8px);
  }
}

/* Privacy Modal Styles */
.privacy-modal-trigger {
  text-decoration: underline;
  cursor: pointer;
  color: #1a222b;
}

.privacy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.privacy-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.privacy-modal-container {
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.privacy-modal-overlay.is-open .privacy-modal-container {
  transform: translateY(0);
}

.privacy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.privacy-modal-title {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.privacy-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}

.privacy-modal-close:hover {
  color: #333;
}

.privacy-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Custom Click Animation */
@keyframes click-diagonal {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-5px, -5px);
  }
}

.anim-click-diagonal {
  animation: click-diagonal 1.5s infinite ease-in-out;
}

/* Lightbox 點擊放大 */
[data-name="點擊放大"],
[data-name*="點擊放大"] {
  cursor: zoom-in;
}

[data-name="點擊放大"] a.pswp-item,
[data-name*="點擊放大"] a.pswp-item {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  text-decoration: none;
}


/* ==========================================================
   專案客製：手機版 Swiper 分頁點、預約表單區塊、頁尾
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Swiper 分頁點：位置取自設計稿「輪播分頁」圖層（inline style），尺寸以 320 稿等比縮放 */
.swiper-pagination.swiper-pagination--dots {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  white-space: nowrap;
  bottom: auto;
}
.swiper-pagination--dots .swiper-pagination-bullet {
  flex: none;
  width: max(6px, calc(4 / 320 * 100cqi));
  height: max(6px, calc(4 / 320 * 100cqi));
  margin: 0 max(3px, calc(2 / 320 * 100cqi)) !important;
  border: 1px solid #fff;
  background-color: transparent;
}
.swiper-pagination--dots .swiper-pagination-bullet-active {
  background-color: #fff;
}

/* ---------- 預約表單區塊 ---------- */
.form-section {
  --u: calc(100cqi / 1920);
  --form-accent: #E95503;
  --form-text: #323333;
  --form-placeholder: #806f6a;
  --form-border: #dbd1cc;
  background-color: #faf6f6;
  padding: calc(var(--u) * 32) 0 calc(var(--u) * 58);
}
.mobile-view .form-section {
  --u: calc(100cqi / 320);
  padding: calc(var(--u) * 16) 0;
}

.form-section__panel {
  width: calc(var(--u) * 1553);
  margin: 0 auto;
  padding: calc(var(--u) * 78) calc(var(--u) * 88) calc(var(--u) * 76);
  background-color: #f4f4f4;
  color: var(--form-text);
}
.mobile-view .form-section__panel {
  width: calc(var(--u) * 289);
  padding: calc(var(--u) * 28) max(12px, calc(var(--u) * 4)) calc(var(--u) * 24);
}

.form-title {
  margin: 0 0 calc(var(--u) * 83);
  text-align: center;
  font-size: max(16px, calc(var(--u) * 48));
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--form-text);
}
.mobile-view .form-title {
  margin-bottom: calc(var(--u) * 16);
  font-size: max(16px, calc(var(--u) * 14));
}

.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form,
.contact-form * {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* 桌機：兩欄（左：姓名／電話／驗證碼；右：信箱／縣市／鄉鎮市區）；手機：單欄依 DOM 順序 */
.contact-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "name email"
    "phone county"
    "code district";
  column-gap: calc(var(--u) * 13);
  row-gap: calc(var(--u) * 12);
  align-items: start;
}
.mobile-view .contact-form__fields {
  grid-template-columns: 1fr;
  grid-template-areas: none;
  row-gap: max(6px, calc(var(--u) * 4.5));
}
.mobile-view .contact-form__fields > * {
  grid-area: auto;
}
.contact-form__field--name {
  grid-area: name;
}
.contact-form__field--phone {
  grid-area: phone;
}
.contact-form__field--code {
  grid-area: code;
}
.contact-form__field--email {
  grid-area: email;
}
.contact-form__zipcode {
  display: contents;
}
.contact-form__field--county {
  grid-area: county;
}
.contact-form__field--district {
  grid-area: district;
}
.mobile-view .contact-form__field--county,
.mobile-view .contact-form__field--district {
  grid-area: auto;
}

.contact-form .form-input,
.contact-form select {
  display: block;
  width: 100%;
  height: max(30px, calc(var(--u) * 58));
  padding: 0 calc(var(--u) * 20);
  border: 1px solid var(--form-border);
  border-radius: 0;
  background-color: #fcfcfc;
  color: var(--form-text);
  font-size: max(12px, calc(var(--u) * 20));
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.mobile-view .contact-form .form-input,
.mobile-view .contact-form select {
  height: max(38px, calc(var(--u) * 21));
  padding: 0 max(10px, calc(var(--u) * 6));
  font-size: max(14px, calc(var(--u) * 8));
}
.contact-form .form-input::placeholder {
  color: var(--form-placeholder);
  opacity: 1;
}
.contact-form .form-input:focus,
.contact-form select:focus {
  border-color: var(--form-accent);
}
.contact-form .select-wrapper select {
  height: max(30px, calc(var(--u) * 58));
}
.mobile-view .contact-form .select-wrapper select {
  height: max(38px, calc(var(--u) * 21));
}
.contact-form .contact-form__field--code .form-input {
  -moz-appearance: textfield;
}

.contact-form__verify-btn,
.contact-form .submit-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background-color: var(--form-accent);
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: filter 0.2s;
}
.contact-form__verify-btn:hover,
.contact-form .submit-btn:hover {
  filter: brightness(0.92);
}
.contact-form__verify-btn:disabled,
.contact-form .submit-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4) brightness(1.05);
}
.contact-form__verify-btn {
  height: max(34px, calc(var(--u) * 63));
  margin-top: calc(var(--u) * 12);
  font-size: max(14px, calc(var(--u) * 20));
}
.mobile-view .contact-form__verify-btn {
  height: max(38px, calc(var(--u) * 24));
  margin-top: max(6px, calc(var(--u) * 4.5));
  font-size: max(14px, calc(var(--u) * 8));
}

.contact-form__terms {
  margin-top: calc(var(--u) * 41);
  padding-left: calc(var(--u) * 6);
  font-size: max(12px, calc(var(--u) * 20));
  line-height: 1.52;
}
.mobile-view .contact-form__terms {
  margin-top: max(16px, calc(var(--u) * 14));
  padding-left: 2px;
  font-size: max(12px, calc(var(--u) * 7.5));
  line-height: 1.55;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 42);
  margin-top: calc(var(--u) * 28);
  padding-left: calc(var(--u) * 6);
}
.mobile-view .contact-form__actions {
  gap: max(18px, calc(var(--u) * 16));
  margin-top: max(12px, calc(var(--u) * 10));
  padding-left: 2px;
}
.contact-form .checkbox-label {
  justify-content: flex-start;
  height: auto;
  gap: calc(var(--u) * 14);
  font-size: max(12px, calc(var(--u) * 20));
}
.mobile-view .contact-form .checkbox-label {
  gap: 8px;
  font-size: max(12px, calc(var(--u) * 7.5));
}
.contact-form .checkbox-label input[type="checkbox"] {
  flex: none;
  width: max(16px, calc(var(--u) * 24));
  height: max(16px, calc(var(--u) * 24));
  accent-color: var(--form-accent);
}
.contact-form .submit-btn {
  height: max(40px, calc(var(--u) * 65));
  margin: 0;
  font-size: max(16px, calc(var(--u) * 20));
}
.mobile-view .contact-form .submit-btn {
  height: max(42px, calc(var(--u) * 23.5));
  font-size: max(15px, calc(var(--u) * 8));
}

/* 桌機設計稿沒有 footer 時，由 .desktop-view 預留選單高度；有 footer 時改由 footer 預留 */
.desktop-view:not(:has(.site-footer)) {
  padding-bottom: var(--desktop-menu-height);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2em;
  padding-inline: calc(100vw / 1920 * 40);
  padding-bottom: var(--desktop-menu-height);
  background-color: #E95503;
  color: #fff;
  font-size: max(12px, calc(100vw / 1920 * 20));
  letter-spacing: 0.04em;
}

.site-footer p {
  padding-block: 1.25rem;
}

.site-footer p:first-child {
  grid-column: 2;
}

.site-footer .agent {
  justify-self: end;
}

/* 手機：兩段文字左右分散，依手機寬度縮放並預留手機選單高度 */
.mobile-view .site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-inline: 16px;
  padding-bottom: var(--mobile-menu-height);
  font-size: max(12px, calc(100vw / 640 * 20));
}

.mobile-view .site-footer p {
  white-space: nowrap;
}

.hero-agent {
  position: absolute;
  right: calc(100cqi / 1920 * 40);
  bottom: calc(100cqi / 1920 * 30);
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: max(12px, calc(100cqi / 1920 * 20));
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.mobile-view .hero-agent {
  right: calc(100cqi / 320 * 10);
  bottom: calc(100cqi / 320 * 8);
  font-size: max(10px, calc(100cqi / 320 * 9));
}

.photo-caption {
  position: absolute;
  right: calc(100cqi / 320 * 6);
  bottom: calc(100cqi / 320 * 5);
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: max(10px, calc(100cqi / 320 * 6));
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.contact-form .form-input[type="tel"],
.contact-form .form-input[type="email"] {
  text-indent: 0;
}
.mobile-view .contact-form .checkbox-label input[type="checkbox"] {
  width: max(16px, calc(var(--u) * 8));
  height: max(16px, calc(var(--u) * 8));
}
