/* ============================================================
   常勝銘版 — 白藍精密工業質感（保留原網站版型）
   白色基底 × 襯線標題 × 品牌藍漸層 × 深藍 Header/Footer
   Mobile-first RWD
   ============================================================ */
:root {
  /* 底色 */
  --cream: #f7fafc;
  --cream2: #edf5fb;
  --cream3: #e5f0f8;
  --white: #fff;
  /* 文字 */
  --ink: #102a43;
  --txt: #334e68;
  --txt2: #486581;
  --muted: #71869a;
  --muted2: #526d82;
  /* 藍（沿用舊變數名稱，避免影響既有元件引用） */
  --gold: #1976d2;
  --gold-d: #115499;
  --gold-dd: #0b3c6f;
  --gold-l: #d8ecff;
  --gold-text: #e0f0ff;
  /* 深藍 */
  --dark: #0b355f;
  --dark2: #0f477d;
  --dark3: #082b4c;
  /* 線 */
  --line-gold: rgba(17, 84, 153, 0.18);
  --line-gold-s: rgba(17, 84, 153, 0.42);
  --line-ink: rgba(16, 42, 67, 0.1);
  --line-dark: rgba(125, 187, 255, 0.25);
  /* 面 */
  --gold-face: linear-gradient(135deg, #3c96e8, #1976d2 50%, #115499);
  --gold-band: linear-gradient(120deg, #2d8be0, #1976d2 55%, #0b3c6f);
  --pinstripe: repeating-linear-gradient(
    115deg,
    rgba(17, 84, 153, 0.05) 0 2px,
    transparent 2px 26px
  );
  /* 字 */
  --serif: "Noto Serif TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --radius: 12px;
  --maxw: 1200px;
  --shadow-card: 0 4px 20px rgba(25, 76, 118, 0.07);
  --shadow-card-h: 0 14px 34px rgba(25, 76, 118, 0.16);
  --shadow-photo: 0 20px 50px rgba(15, 71, 125, 0.18);
  /* 舊變數相容（後台/舊元件仍引用） */
  --dark2-legacy: #181d24;
  --steel: #262e37;
  --line: #3a424c;
  --silver: #c8ccd2;
  --txt-light: #e8eaed;
  --bg: #f7fafc;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--txt);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--gold-d);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: var(--gold);
  text-decoration: none;
}
::selection {
  background: var(--gold);
  color: #fff;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
/* ---------- 進場動畫 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.18s;
}
.reveal-d3 {
  transition-delay: 0.28s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
  }
}
/* ============================================================
   Header：黑金雙層（資訊列 + 主選單）
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--sans);
}
.util-strip {
  background: var(--dark3);
  border-bottom: 1px solid rgba(201, 162, 75, 0.14);
}
.util-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: #8f8a7e;
}
.util-inner .u-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.util-inner .u-tag i {
  color: var(--gold);
  font-style: normal;
}
.util-tel {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.util-tel a {
  color: var(--gold);
  font-weight: 500;
}
.util-tel a:hover {
  color: var(--gold-l);
}
.util-tel .sep {
  color: #3a3a3d;
}
.main-bar {
  background: linear-gradient(180deg, #111112, #0b0b0c);
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  color: #1a1408;
  flex: none;
  background: var(--gold-face);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    0 3px 8px rgba(0, 0, 0, 0.5);
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -70%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  transform: skewX(-20deg);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen {
  0%,
  72% {
    left: -70%;
  }
  88%,
  100% {
    left: 150%;
  }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #f5dfa0, #d9b45c 55%, #b28a35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: #7d786c;
  margin-top: 3px;
}
.nav-toggle {
  display: block;
  background: none;
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: var(--gold-text);
  font-size: 21px;
  padding: 4px 13px;
  border-radius: 7px;
  cursor: pointer;
}
.site-nav {
  display: none;
  width: 100%;
}
.site-nav.open {
  display: block;
  padding-bottom: 12px;
}
.site-nav ul {
  list-style: none;
}
.site-nav > ul > li {
  border-top: 1px solid rgba(201, 162, 75, 0.14);
}
.site-nav a {
  display: block;
  color: #cfc9bb;
  padding: 12px 8px;
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 500;
  position: relative;
}
.site-nav a:hover {
  color: var(--gold-text);
}
.site-nav li.on > a {
  color: var(--gold-text);
  font-weight: 700;
}
.site-nav .sub {
  background: #0d0d0f;
  border-radius: 8px;
}
.site-nav .sub a {
  padding-left: 26px;
  font-weight: 400;
  color: #a39d8f;
  font-size: 14.5px;
}
.site-nav .sub a::before {
  content: "◈";
  color: var(--gold);
  font-size: 9px;
  margin-right: 8px;
  vertical-align: middle;
}
.nav-cta {
  margin: 10px 8px 0;
  padding: 11px 20px !important;
  border-radius: 6px;
  text-align: center;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  color: #1a1408 !important;
  background: var(--gold-face);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(201, 162, 75, 0.28);
}
.nav-cta:hover {
  filter: brightness(1.08);
}
/* ============================================================
   Hero / 頁首帶（整幅照片底圖 + 深色漸層疊層，文字置中，
   仿 page-hero 底圖排列：cover / center 42% / --hero-img 逐頁指定）
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 76px 0;
  text-align: center;
  background-color: var(--dark2);
  background-image: var(
    --hero-img,
    url("../images/background/brushed-metal-texture-background.webp")
  );
  background-size: cover;
  background-position: center 42%;
  border-bottom: 1px solid var(--line-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 10, 12, 0.88), rgba(10, 10, 12, 0.42) 62%),
    linear-gradient(120deg, rgba(11, 11, 12, 0.5), rgba(201, 162, 75, 0.14));
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-text);
  font-weight: 500;
  margin-bottom: 18px;
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-d);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.3;
  margin: 0 auto 20px;
  max-width: 900px;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent {
  background: linear-gradient(135deg, #f5dfa0, #d9b45c 55%, #c9a24b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead {
  color: #d9d4c8;
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.95;
}
.hero .badge-row {
  justify-content: center;
}
.hero .badge-row span {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 162, 75, 0.5);
  color: var(--gold-text);
}
.hero .cta-actions {
  justify-content: center;
}
.hero .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}
.hero .qr-card {
  margin: 28px auto 0;
  text-align: left;
}
/* 首頁 HERO：奶油底雙欄版型（精緻化設計） */
.hero-home {
  color: var(--txt);
  text-align: left;
  border-bottom: 1px solid var(--line-gold);
  background-image: none;
  background:
    radial-gradient(
      52% 78% at 84% 20%,
      rgba(201, 162, 75, 0.14),
      transparent 68%
    ),
    radial-gradient(
      40% 60% at 8% 88%,
      rgba(201, 162, 75, 0.08),
      transparent 70%
    ),
    var(--cream2);
}
.hero-home::before {
  background: var(--pinstripe);
}
.hero-home::after {
  content: "常";
  position: absolute;
  right: -30px;
  top: -70px;
  line-height: 1;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 360px;
  color: rgba(168, 132, 47, 0.06);
  pointer-events: none;
  user-select: none;
}
.hero-home .kicker {
  color: var(--gold-d);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(168, 132, 47, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 22px;
  box-shadow: 0 3px 10px rgba(60, 50, 30, 0.06);
}
.hero-home h1 {
  color: var(--ink);
  text-shadow: none;
  margin: 0 0 22px;
  max-width: none;
}
.hero-home h1 .accent {
  background: linear-gradient(135deg, #c9a24b, #a8842f 55%, #7c5f20);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-home p.lead {
  color: var(--txt2);
  margin: 0 0 30px;
  max-width: 640px;
  border-left: 3px solid rgba(201, 162, 75, 0.55);
  padding-left: 18px;
}
.hero-home .badge-row {
  justify-content: flex-start;
}
.hero-home .badge-row span {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(168, 132, 47, 0.3);
  color: var(--gold-d);
}
.hero-home .cta-actions {
  justify-content: flex-start;
}
.hero-home .btn-outline {
  background: var(--white);
  border-color: rgba(28, 24, 19, 0.25);
  color: var(--ink);
}
.hero-home .btn-outline:hover {
  border-color: var(--gold-d);
  color: var(--gold-d);
}
.hero-home .qr-card {
  margin: 26px 0 0;
}
/* 主視覺：金角框 + 副圖 + 浮動標牌 */
.hero-home .hv-frame {
  position: relative;
}
.hero-home .hero-visual::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 74px;
  height: 74px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 6px 0 0 0;
  opacity: 0.8;
}
.hero-home .hero-visual::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 74px;
  height: 74px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 0 6px 0;
  opacity: 0.8;
}
.hero-home .hv-sub {
  position: absolute;
  top: -30px;
  right: -14px;
  width: 37%;
  aspect-ratio: 1/1;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--cream2);
  box-shadow: 0 14px 32px rgba(60, 45, 15, 0.24);
  transform: rotate(3deg);
}
.hero-home .hv-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-home .hv-tag {
  animation: hv-float 4.5s ease-in-out infinite alternate;
}
@keyframes hv-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9px);
  }
}
/* 首頁完整橫幅：保留原圖比例，載入時淡入並輕微收束。 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.home-banner-section {
  padding: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 42%, rgba(2, 32, 76, 0.07)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 22px),
    linear-gradient(105deg, #1055a3 0%, #0d4f9d 52%, #0a4992 100%);
  border-bottom: 2px solid var(--gold);
}
.home-banner {
  position: relative;
  overflow: hidden;
  background: #eaf5ff;
}
.home-banner img {
  display: block;
  width: 100%;
  height: auto;
  animation: home-banner-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center center;
}
@keyframes home-banner-reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
    filter: saturate(0.82) brightness(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) brightness(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-banner img {
    animation: none;
  }
}
/* 首頁 HERO B 版：黑金劇院式，右側斜切滿版照片 */
.hero-home-b {
  text-align: left;
  color: #fff;
  border-bottom: 2px solid var(--gold);
  background:
    linear-gradient(160deg, rgba(16, 16, 18, 0.72), rgba(8, 8, 9, 0.86)),
    url("../images/metal/black-gold-background-with-darker-surface-has-soft-gradation-with-light-technology-diagonal-gray-white-lines-beautiful-templates-metal-texture-soft-lines-tech-gradient.webp")
      center/cover no-repeat #0a0a0b;
}
.hero-home-b::before {
  background: radial-gradient(
    58% 90% at 30% 20%,
    rgba(201, 162, 75, 0.1),
    transparent 62%
  );
}
.hero-home-b .hb-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49%;
  clip-path: polygon(16.5% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-home-b .hb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-home-b .hb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    78deg,
    #0d0d0f 3%,
    rgba(13, 13, 15, 0.5) 32%,
    rgba(13, 13, 15, 0.06) 62%
  );
}
.hero-home-b .hb-edge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 49%;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(16.5% 0, 16.9% 0, 0.4% 100%, 0 100%);
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}
.hero-home-b .hb-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding-right: 44px;
}
.hero-home-b .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-text);
}
.hero-home-b .kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}
.hero-home-b h1 {
  color: #fff;
  text-shadow: none;
  margin: 0 0 22px;
  max-width: none;
}
.hero-home-b h1 .accent {
  background: linear-gradient(135deg, #f5dfa0, #d9b45c 55%, #c9a24b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-home-b p.lead {
  color: #cfc9bb;
  margin: 0 0 30px;
  max-width: 560px;
  border-left: 3px solid rgba(201, 162, 75, 0.55);
  padding-left: 18px;
}
.hero-home-b .badge-row {
  justify-content: flex-start;
}
.hero-home-b .badge-row span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 162, 75, 0.4);
  color: var(--gold-text);
}
.hero-home-b .cta-actions {
  justify-content: flex-start;
}
.hero-home-b .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hero-home-b .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}
.hero-home-b .qr-card {
  margin: 28px 0 0;
}
@media (max-width: 899px) {
  .hero-home-b .hb-media {
    position: relative;
    width: 100%;
    height: 230px;
    clip-path: none;
  }
  .hero-home-b .hb-media::after {
    background: linear-gradient(to top, #0d0d0f 2%, rgba(13, 13, 15, 0.15) 55%);
  }
  .hero-home-b .hb-edge {
    display: none;
  }
  .hero-home-b {
    padding-top: 0;
  }
  .hero-home-b .hb-copy {
    padding-top: 34px;
  }
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-visual {
  position: relative;
}
.hero-visual .hv-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(168, 132, 47, 0.28);
  box-shadow: 0 24px 60px rgba(60, 45, 15, 0.18);
}
.hero-visual .hv-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hv-tag {
  position: absolute;
  bottom: -16px;
  left: -14px;
  background: var(--gold-face);
  color: #1a1408;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(60, 45, 15, 0.25);
}
.hv-tag b {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
}
.hv-tag span {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hero-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-imgs img {
  border-radius: 10px;
  border: 1px solid rgba(168, 132, 47, 0.28);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 26px rgba(60, 45, 15, 0.14);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.hero-imgs img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(60, 45, 15, 0.22);
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.badge-row span {
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--gold-d);
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(168, 132, 47, 0.28);
  letter-spacing: 0.03em;
}
/* ---------- Hero QR 卡 ---------- */
.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.qr-card:hover {
  border-color: var(--line-gold-s);
  box-shadow: var(--shadow-card-h);
}
.qr-card img {
  width: 92px;
  height: 92px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  flex: none;
  border: 1px solid var(--line-ink);
}
.qr-card .qr-txt strong {
  display: block;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 3px;
}
.qr-card .qr-txt span {
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}
/* ============================================================
   按鈕
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: 0.2s;
  position: relative;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold-face);
  color: #1a1408;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 8px 22px rgba(168, 132, 47, 0.28);
}
.btn-gold:hover {
  filter: brightness(1.06);
  color: #1a1408;
}
.btn-outline {
  border-color: rgba(28, 24, 19, 0.25);
  color: var(--ink);
  background: var(--white);
  font-weight: 500;
}
.btn-outline:hover {
  border-color: var(--gold-d);
  color: var(--gold-d);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* ============================================================
   Sections
   ============================================================ */
section {
  padding: 64px 0;
}
.section-alt {
  background: var(--cream3);
  border-top: 1px solid rgba(168, 132, 47, 0.16);
  border-bottom: 1px solid rgba(168, 132, 47, 0.16);
}
.section-dark {
  color: #d9d4c8;
  background: linear-gradient(180deg, #101011, #0a0a0b);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.section-dark h2.sec-title {
  color: var(--gold-text);
}
.section-dark p.sec-sub {
  color: #8f8a7e;
}
h2.sec-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}
h2.sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--gold-face);
  border-radius: 2px;
}
p.sec-sub {
  color: var(--muted2);
  margin-bottom: 34px;
  font-size: 15.5px;
}
.sec-center {
  text-align: center;
}
.sec-center h2.sec-title {
  padding-left: 0;
}
.sec-center h2.sec-title::before {
  display: none;
}
.sec-center .sec-divider {
  width: 64px;
  height: 2px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* ============================================================
   卡片 / 網格
   ============================================================ */
.grid-2 {
  display: grid;
  gap: 22px;
}
.grid-3 {
  display: grid;
  gap: 24px;
}
.grid-4 {
  display: grid;
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-h);
  border-color: var(--line-gold-s);
}
.card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted2);
  line-height: 1.8;
}
.card.dark {
  color: var(--txt);
  border-color: rgba(245, 223, 160, 0.4);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(246, 242, 234, 0.72) 100%
    ),
    url("../images/background/abstract-smooth-empty-grey-studio-well-use-as-background-business.webp")
      center/cover no-repeat;
}
.card.dark::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -80%;
  width: 38%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(201, 162, 75, 0.14),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.6s ease;
}
.card.dark:hover::after {
  left: 150%;
}
.card.dark h3 {
  color: var(--gold-d);
  position: relative;
}
.card.dark p {
  color: var(--txt2);
  position: relative;
}
.card.dark:hover {
  border-color: rgba(201, 162, 75, 0.65);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
/* 材質工法卡（含金色線稿 ICON） */
.mat-card {
  position: relative;
  overflow: hidden;
  padding-top: 26px;
}
.mat-card .mi {
  width: 56px;
  height: 56px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(168, 132, 47, 0.35);
  margin-bottom: 16px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.mat-card:hover .mi {
  background: rgba(201, 162, 75, 0.18);
  border-color: var(--gold-d);
}
.mat-card .mi svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold-d);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mat-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle at top right,
    rgba(201, 162, 75, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
/* 服務卡 */
.home-service-list {
  display: grid;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: 0.2s;
}
.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-card-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.service-card:hover {
  border-color: var(--line-gold-s);
  box-shadow: var(--shadow-card-h);
  transform: translateY(-3px);
}
.service-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.45s ease;
  background: #efe8db;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-card .sc-body {
  padding: 20px 24px 24px;
}
.service-card h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.service-card h3::before {
  content: "◈";
  color: var(--gold-d);
  font-size: 12px;
}
.service-card-link:hover h3 {
  color: var(--gold-d);
}
.service-card p {
  font-size: 14px;
  color: var(--muted2);
  margin-bottom: 12px;
  line-height: 1.75;
}
.service-card .sc-banner-copy {
  position: relative;
  display: grid;
  gap: 5px;
  margin-top: 2px;
  padding: 10px 13px;
  border-left: 2px solid rgba(25, 118, 210, 0.55);
  border-radius: 0 7px 7px 0;
  background: linear-gradient(90deg, rgba(25, 118, 210, 0.06), rgba(25, 118, 210, 0));
}
.service-card .sc-banner-copy strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.service-card .sc-banner-copy span {
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.7;
}
.service-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-d);
  border-bottom: 1px solid rgba(168, 132, 47, 0.4);
  padding-bottom: 2px;
}
.service-card-link:hover .more {
  color: var(--gold);
  border-color: var(--gold);
}
/* 信任數字列 */
.pillar-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line-ink);
  padding: 34px 0;
}
.pillars {
  display: grid;
  gap: 22px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pillar .p-no {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
  flex: none;
  background: linear-gradient(135deg, #c9a24b, #9a7729);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pillar .p-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.pillar .p-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
/* 首頁 about 帶 */
.home-about {
  display: grid;
  gap: 48px;
  align-items: center;
}
.home-about .ha-media {
  position: relative;
}
.home-about .ha-media .ha-frame {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(168, 132, 47, 0.26);
  box-shadow: var(--shadow-photo);
}
.home-about .ha-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-about .ha-tag {
  position: absolute;
  bottom: -20px;
  left: -16px;
  background: var(--gold-face);
  color: #1a1408;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(60, 45, 15, 0.25);
}
.home-about .ha-tag b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}
.home-about .ha-tag span {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.home-about h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 12px 0 20px;
}
.home-about p {
  font-size: 15.5px;
  line-height: 2;
  color: var(--txt2);
  margin-bottom: 16px;
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  margin-top: 12px;
}
.value-grid .v-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.value-grid .v-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 132, 47, 0.45);
  color: var(--gold-d);
  font-size: 22px;
  background: var(--white);
}
.value-grid .v-title {
  font-size: 17.5px;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--serif);
  margin-bottom: 2px;
}
.value-grid .v-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-case-link {
  display: block;
  min-width: 0;
  color: inherit;
}
.gallery-case-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 18px;
}
.gallery-case-link .gallery-item {
  height: 100%;
}
.gallery-item {
  background: var(--white);
  border: 3px solid var(--line-ink);
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-h);
  border-color: var(--line-gold-s);
}
.gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.45s ease;
  background: #efe8db;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item figcaption {
  font-size: 13px;
  color: var(--muted2);
  padding: 11px 14px;
  line-height: 1.55;
}
.img-shadow {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}
/* ============================================================
   流程步驟
   ============================================================ */
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-h);
  border-color: var(--line-gold-s);
}
.step h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--gold-d);
  font-weight: 600;
  margin-bottom: 8px;
}
.step h3::before {
  counter-increment: step;
  content: "STEP 0" counter(step);
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #b1a68f;
  margin-bottom: 10px;
  font-weight: 500;
}
.step p {
  font-size: 13.5px;
  color: var(--muted2);
  line-height: 1.75;
}
/* ============================================================
   表格
   ============================================================ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.spec-table th,
.spec-table td {
  border: 1px solid rgba(28, 24, 19, 0.1);
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  background: #14110c;
  color: var(--gold-text);
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.spec-table td:first-child {
  font-family: var(--serif);
  color: var(--gold-d);
  font-weight: 600;
  white-space: nowrap;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
}
/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--line-gold-s);
}
.faq-item summary {
  padding: 18px 48px 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16.5px;
  letter-spacing: 0.02em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "◈";
  color: var(--gold-d);
  font-size: 11px;
  margin-right: 10px;
  vertical-align: middle;
}
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-d);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "－";
}
.faq-item .faq-a {
  padding: 0 22px 20px 43px;
  color: var(--txt2);
  font-size: 14.5px;
  line-height: 1.9;
}
/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  background: var(--cream2);
  border-bottom: 1px solid var(--line-gold);
  font-size: 13px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 11px 0;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 7px;
  color: #b1a68f;
}
.breadcrumb a {
  color: var(--muted2);
}
.breadcrumb a:hover {
  color: var(--gold-d);
}
.breadcrumb li[aria-current] {
  color: var(--gold-d);
  font-weight: 500;
}
/* ============================================================
   CTA 金箔帶
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #1a1408;
  text-align: center;
  padding: 68px 0;
  border-top: 1px solid rgba(245, 223, 160, 0.55);
  border-bottom: 1px solid rgba(124, 95, 32, 0.6);
  background:
    linear-gradient(
      120deg,
      rgba(207, 168, 80, 0.55),
      rgba(163, 127, 44, 0.58) 55%,
      rgba(124, 95, 32, 0.66)
    ),
    url("../images/background/golden-metal-texture-with-shiny-spot-middle.webp")
      center/cover no-repeat;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 244, 214, 0.24) 50%,
    transparent 62%
  );
  background-size: 300% 100%;
  animation: cta-shine 10s ease-in-out infinite;
}
@keyframes cta-shine {
  0% {
    background-position: 160% 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  48% {
    opacity: 1;
  }
  62% {
    background-position: -160% 0;
    opacity: 0;
  }
  100% {
    background-position: -160% 0;
    opacity: 0;
  }
}
.cta-band > .container {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  color: #221806;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.45);
}
.cta-band p {
  color: #3a2c0c;
  margin-bottom: 30px;
  font-weight: 500;
}
.cta-band .cta-actions {
  justify-content: center;
}
.cta-band .btn-gold {
  background: #141008;
  color: #f5e6c0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.cta-band .btn-gold:hover {
  background: #221a0c;
  color: #f5e6c0;
  filter: none;
}
.cta-band .btn-outline {
  background: #f5e6c0;
  color: #1a1408;
  border-color: rgba(26, 20, 8, 0.3);
  font-weight: 700;
}
.cta-band .btn-outline:hover {
  background: #fff;
  color: #1a1408;
}
/* ============================================================
   相關服務
   ============================================================ */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-links a {
  border: 1px solid rgba(28, 24, 19, 0.16);
  color: var(--txt);
  padding: 9px 19px;
  border-radius: 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: var(--white);
  transition: 0.15s;
}
.related-links a:hover {
  border-color: var(--gold-d);
  color: var(--gold-d);
  text-decoration: none;
}
/* ============================================================
   內文
   ============================================================ */
.article h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  letter-spacing: 0.02em;
}
.article h3 {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}
.article p {
  margin-bottom: 15px;
  color: var(--txt2);
  line-height: 2;
}
.article ul,
.article ol {
  margin: 0 0 18px 24px;
  color: var(--txt2);
}
.article li {
  margin-bottom: 7px;
  line-height: 1.9;
}
/* ============================================================
   聯絡表單
   ============================================================ */
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 5px;
  border: 1px solid rgba(28, 24, 19, 0.18);
  border-radius: 7px;
  font: inherit;
  background: var(--white);
  color: var(--txt);
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.contact-info-list {
  list-style: none;
}
.contact-info-list li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(168, 132, 47, 0.3);
}
.contact-line-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #06a844;
  font-weight: 900;
}
.contact-line-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
/* ============================================================
   公司資訊：表格 + 形象照左右分欄
   ============================================================ */
.info-split {
  display: grid;
  gap: 36px;
  align-items: stretch;
}
.info-media {
  position: relative;
  padding-bottom: 18px;
}
.info-media .if-frame {
  height: 100%;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(168, 132, 47, 0.26);
  box-shadow: var(--shadow-photo);
}
.info-media .if-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.info-media:hover .if-frame img {
  transform: scale(1.03);
}
.info-media .if-tag {
  position: absolute;
  bottom: 0;
  right: 20px;
  background: var(--gold-face);
  color: #1a1408;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(60, 45, 15, 0.25);
}
.info-media .if-tag b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}
.info-media .if-tag span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (min-width: 900px) {
  .info-split {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}
/* ============================================================
   404
   ============================================================ */
.err-hero {
  text-align: center;
  padding: 100px 16px;
}
.err-hero .code {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  background: var(--gold-face);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* ============================================================
   右下浮動列（圓形黑金）
   ============================================================ */
.float-social {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
}
.float-social a,
.float-social button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.float-social a:hover,
.float-social button:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-decoration: none;
}
.float-social svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.float-social img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float-social .fs-top {
  background: var(--gold-face);
  border: none;
}
.float-social .fs-top svg {
  fill: #16191d;
}
.float-social .fs-tip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #16191d;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
/* ============================================================
   Footer：黑金四欄
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0a0a0b, #050506);
  color: #8f8a7e;
  font-size: 14px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding: 56px 20px 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .fb-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 23px;
  color: #1a1408;
  background: var(--gold-face);
}
.footer-brand .fb-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--gold-text);
}
.site-footer h3 {
  font-family: var(--serif);
  color: #d9d4c8;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.site-footer p {
  line-height: 1.9;
  max-width: 320px;
}
.footer-links,
.footer-contact {
  list-style: none;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-contact li b {
  color: var(--gold);
  font-weight: 500;
  margin-right: 8px;
}
.site-footer a {
  color: #8f8a7e;
}
.site-footer a:hover {
  color: var(--gold-text);
}
.footer-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.footer-qr img {
  width: 88px;
  height: 88px;
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}
.footer-qr span {
  font-size: 12.5px;
  color: #8f8a7e;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(201, 162, 75, 0.12);
  padding: 17px 0;
  font-size: 12.5px;
  color: #6a655b;
  letter-spacing: 0.03em;
}
.footer-bottom .fb-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom .fb-flex p {
  white-space: nowrap;
  margin: 0;
}
.footer-credit a {
  color: #8f8a7e;
  margin: 0 3px;
}
.footer-credit a:hover {
  color: var(--gold-text);
}
.footer-bottom .fb-qr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom .fb-qr img {
  width: 56px;
  height: 56px;
  background: #fff;
  padding: 3px;
  border-radius: 5px;
}
/* ============================================================
   Desktop
   ============================================================ */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: block;
    width: auto;
  }
  .site-nav > ul {
    display: flex;
    gap: 2px;
    align-items: center;
  }
  .site-nav > ul > li {
    border: none;
    position: relative;
  }
  .site-nav a {
    padding: 24px 15px;
    font-size: 15px;
  }
  .site-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 16px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
  }
  .site-nav > ul > li > a:hover::after,
  .site-nav > ul > li.on > a::after {
    transform: scaleX(1);
  }
  .site-nav .sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    display: none;
    background: #111113;
    border: 1px solid rgba(201, 162, 75, 0.28);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  }
  .site-nav li.has-sub:hover .sub,
  .site-nav li.has-sub:focus-within .sub {
    display: block;
  }
  .site-nav .sub a {
    padding: 10px 15px;
    border-radius: 5px;
  }
  .site-nav .sub a:hover {
    background: rgba(201, 162, 75, 0.12);
  }
  .nav-cta {
    margin: 0 0 0 14px;
    padding: 10px 20px !important;
  }
  .hero {
    padding: 96px 0;
  }
  .hero-home {
    padding: 0;
  }
  .hero-home .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    min-height: 520px;
    padding: 64px 0;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-service-list .service-card {
    display: grid;
    grid-template-columns: minmax(280px, 34%) 1fr;
    grid-template-rows: minmax(0, 1fr);
    height: 290px;
  }
  .home-service-list .service-card img {
    min-width: 0;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .home-service-list .service-card .sc-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 0;
    padding: 24px 30px;
  }
  .home-service-list .service-card h3 {
    margin-bottom: 5px;
    line-height: 1.45;
  }
  .home-service-list .service-card p {
    margin-bottom: 7px;
  }
  .home-service-list .service-card .more {
    align-self: flex-end;
    margin-top: auto;
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps.steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-about {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }
  .float-social {
    right: 20px;
    bottom: 26px;
  }
  .float-social a:hover .fs-tip {
    opacity: 1;
  }
}
@media (max-width: 520px) {
  .util-inner .u-tag {
    display: none;
  }
  .util-inner {
    justify-content: center;
  }
}

/* ============================================================
   白藍主題覆寫：只調整色彩、背景、陰影與按鈕質感
   ============================================================ */
.util-strip {
  background: var(--gold-d);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.util-inner {
  color: #d7e9f8;
}
.util-inner .u-tag i,
.util-tel a {
  color: #fff;
}
.util-tel a:hover {
  color: var(--gold-l);
}
.util-tel .sep {
  color: rgba(255, 255, 255, 0.35);
}
.main-bar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(17, 84, 153, 0.18);
  box-shadow: 0 8px 28px rgba(15, 71, 125, 0.12);
}
.brand-mark,
.footer-brand .fb-mark {
  color: #fff;
  background: #fff;
  border: 1px solid rgba(17, 84, 153, 0.16);
  box-shadow: 0 4px 14px rgba(15, 71, 125, 0.14);
}
.brand-text strong {
  background: linear-gradient(135deg, #0b3c6f, #1976d2 58%, #3c96e8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-text small {
  color: #607d96;
}
.nav-toggle {
  border-color: rgba(17, 84, 153, 0.42);
  color: var(--gold-d);
}
.site-nav > ul > li {
  border-top-color: rgba(17, 84, 153, 0.12);
}
.site-nav a {
  color: #294d6b;
}
.site-nav a:hover,
.site-nav li.on > a {
  color: var(--gold-d);
}
.site-nav .sub {
  background: #fff;
  border-color: rgba(17, 84, 153, 0.18);
  box-shadow: 0 18px 44px rgba(15, 71, 125, 0.18);
}
.site-nav .sub a {
  color: #526d82;
}
.site-nav .sub a:hover {
  background: rgba(25, 118, 210, 0.09);
  color: var(--gold-d);
}
.nav-cta {
  color: #fff !important;
  background: var(--gold-face);
  box-shadow: 0 7px 18px rgba(17, 84, 153, 0.24);
}

.hero {
  background-color: var(--dark2);
  border-bottom-color: rgba(125, 187, 255, 0.35);
}
.hero::before {
  background:
    linear-gradient(to top, rgba(7, 43, 76, 0.9), rgba(15, 71, 125, 0.48) 62%),
    linear-gradient(120deg, rgba(8, 43, 76, 0.58), rgba(25, 118, 210, 0.2));
}
.hero h1 .accent,
.hero-home-b h1 .accent {
  background: linear-gradient(135deg, #fff, #a9d6ff 55%, #5ba7ec);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead,
.hero-home-b p.lead {
  color: #d7e9f8;
}
.hero .badge-row span,
.hero-home-b .badge-row span {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(169, 214, 255, 0.45);
  color: #e0f0ff;
}
.hero-home-b {
  border-bottom-color: var(--gold);
  background:
    linear-gradient(160deg, rgba(8, 43, 76, 0.94), rgba(15, 71, 125, 0.82)),
    url("../images/background/dynamic-abstract-blue-waves.webp") center/cover no-repeat #0b355f;
}
.hero-home-b::before {
  background: radial-gradient(
    58% 90% at 30% 20%,
    rgba(91, 167, 236, 0.18),
    transparent 62%
  );
}
.hero-home-b .hb-media::after {
  background: linear-gradient(
    78deg,
    #0b355f 3%,
    rgba(11, 53, 95, 0.56) 32%,
    rgba(11, 53, 95, 0.08) 62%
  );
}
.hero-home-b .hb-edge {
  background: #d8ecff;
  box-shadow: 0 0 14px rgba(216, 236, 255, 0.55);
}
.hero-home-b .kicker {
  color: #d8ecff;
}
.hero-home-b .kicker::before {
  background: #7dbbff;
}
.hero-home-b p.lead {
  border-left-color: rgba(125, 187, 255, 0.7);
}
.hero-home-b .btn-outline,
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}
.hero-home-b .btn-outline:hover,
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #a9d6ff;
  color: #fff;
}
.badge-row span {
  color: var(--gold-d);
  background: rgba(25, 118, 210, 0.08);
  border-color: rgba(17, 84, 153, 0.24);
}

.btn-gold {
  color: #fff;
  background: var(--gold-face);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 8px 22px rgba(17, 84, 153, 0.26);
}
.btn-gold:hover {
  color: #fff;
}
.btn-outline {
  border-color: rgba(17, 84, 153, 0.3);
  color: var(--gold-d);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-d);
  box-shadow: 0 6px 16px rgba(17, 84, 153, 0.12);
}

.section-alt {
  border-color: rgba(17, 84, 153, 0.13);
}
.section-dark {
  color: #e0f0ff;
  background: linear-gradient(145deg, #115499, #082b4c);
  border-color: rgba(125, 187, 255, 0.28);
}
.section-dark h2.sec-title {
  color: #fff;
}
.section-dark p.sec-sub {
  color: #c4def3;
}
.section-dark .badge-row {
  gap: 12px;
  margin-bottom: 0;
}
.section-dark .badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 17px;
  color: #0b416f;
  background: linear-gradient(180deg, #ffffff, #e8f4ff);
  border: 1px solid rgba(169, 214, 255, 0.9);
  border-radius: 8px;
  box-shadow:
    0 8px 18px rgba(2, 27, 54, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.section-dark .badge-row span::before {
  content: "◆";
  color: #1976d2;
  font-size: 8px;
}
.section-dark .badge-row span:hover {
  transform: translateY(-2px);
  border-color: #7dbbff;
  box-shadow:
    0 11px 24px rgba(2, 27, 54, 0.24),
    inset 0 1px 0 #fff;
}
.card.dark {
  color: var(--txt);
  border-color: rgba(17, 84, 153, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 251, 0.94)),
    url("../images/background/abstract-smooth-empty-grey-studio-well-use-as-background-business.webp") center/cover no-repeat;
}
.card.dark::after {
  background: linear-gradient(105deg, transparent, rgba(25, 118, 210, 0.14), transparent);
}
.card.dark:hover {
  border-color: rgba(25, 118, 210, 0.58);
  box-shadow: 0 14px 34px rgba(8, 43, 76, 0.22);
}
.mat-card .mi {
  background: rgba(25, 118, 210, 0.08);
  border-color: rgba(17, 84, 153, 0.3);
}
.mat-card:hover .mi {
  background: rgba(25, 118, 210, 0.15);
}
.mat-card::before {
  background: radial-gradient(circle at top right, rgba(25, 118, 210, 0.12), transparent 70%);
}
.service-card img,
.gallery-item img {
  background: var(--cream2);
}
.service-card .more {
  border-bottom-color: rgba(17, 84, 153, 0.38);
}
.pillar .p-no {
  background: linear-gradient(135deg, #3c96e8, #115499);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.home-about .ha-media .ha-frame,
.info-media .if-frame {
  border-color: rgba(17, 84, 153, 0.22);
}
.home-about .ha-tag,
.info-media .if-tag,
.hv-tag {
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 71, 125, 0.24);
}
.value-grid .v-icon {
  border-color: rgba(17, 84, 153, 0.35);
  background: #f8fbfe;
}
.spec-table th {
  background: var(--gold-d);
  color: #fff;
}
.spec-table th,
.spec-table td {
  border-color: rgba(17, 84, 153, 0.14);
}

.cta-band {
  color: #fff;
  border-color: rgba(169, 214, 255, 0.5);
  background:
    linear-gradient(120deg, rgba(11, 60, 111, 0.9), rgba(25, 118, 210, 0.74)),
    url("../images/background/dynamic-abstract-blue-waves.webp") center/cover no-repeat;
}
.cta-band::after {
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
}
.cta-band h2,
.cta-band p {
  color: #fff;
  text-shadow: none;
}
.cta-band .btn-gold {
  background: #fff;
  color: var(--gold-d);
  box-shadow: 0 8px 20px rgba(8, 43, 76, 0.25);
}
.cta-band .btn-gold:hover {
  background: #edf5fb;
  color: var(--gold-d);
}
.cta-band .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}
.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline-color: rgba(25, 118, 210, 0.28);
}
.contact-info-list li {
  border-bottom-color: rgba(17, 84, 153, 0.24);
}

.float-social .fs-top {
  background: var(--gold-face);
}
.float-social .fs-top svg {
  fill: #fff;
}
.float-social .fs-tip {
  background: var(--dark3);
}
.site-footer {
  background: linear-gradient(145deg, #0b355f, #061f37);
  color: #b8cee0;
  border-top-color: rgba(125, 187, 255, 0.28);
}
.footer-brand .fb-name,
.site-footer h3 {
  color: #fff;
}
.footer-contact li b {
  color: #a9d6ff;
}
.site-footer a,
.footer-qr span,
.footer-credit a {
  color: #b8cee0;
}
.site-footer a:hover,
.footer-credit a:hover {
  color: #fff;
}
.footer-bottom {
  border-top-color: rgba(125, 187, 255, 0.16);
  color: #91abc0;
}

@media (max-width: 899px) {
  .hero-home-b .hb-media::after {
    background: linear-gradient(to top, #0b355f 2%, rgba(11, 53, 95, 0.14) 58%);
  }
}
