/* =========================================================
   窗網專家 — 前台樣式
   品牌橙 #db9943(取自使用者提供嘅橙色),深色字配橙底,確保對比度
   動畫:transform / opacity only,強 ease-out,hover 只喺滑鼠裝置生效
   ========================================================= */
:root {
  --orange: #db9943;
  --orange-hover: #e3a552;
  --orange-deep: #8a5a14;      /* 淺底上嘅橙色文字(對比 5.4:1) */
  --orange-soft: #f6e6cc;
  --orange-tint: #fbf1e0;
  --ink: #211a12;
  --ink-2: #4a3f33;
  --muted: #74675a;
  --cream: #fbf6ee;
  --sand: #f3ead9;
  --line: #e6d9c4;
  --white: #fff;
  --wa: #25d366;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(33, 26, 18, .06), 0 8px 24px -8px rgba(33, 26, 18, .18);
  --font: "Noto Sans TC", "Noto Sans CJK TC", "PingFang HK", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif TC", "PMingLiU", "Songti TC", serif;
  --header-h: 68px;
}
/* 簡體版用返簡體字形嘅字體,唔好用繁體字體嚟砌簡體字(筆畫/字形會怪怪哋) */
html[lang="zh-Hans"] {
  --font: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 800; line-height: 1.25; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.pre { white-space: pre-line; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--ink); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn .arr { transition: transform 200ms var(--ease-out); }
.btn:disabled { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--orange-hover); }
  .btn-dark:hover { background: #3a3025; }
  .btn:hover .arr { transform: translateX(3px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-deep); }
.link-arrow .arr { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .arr { transform: translateX(4px); } }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--orange-deep); text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 46ch; }
.kicker { font-size: 13px; font-weight: 700; color: var(--orange-deep); letter-spacing: .04em; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.hl { background: linear-gradient(transparent 62%, var(--orange) 62% 92%, transparent 92%); padding-inline: .05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 246, 238, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease;
  view-transition-name: site-header;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(33, 26, 18, .35); }
.bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand-logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--orange-soft); font-weight: 700; }
.nav-cta { display: none !important; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--sand); color: var(--ink); } }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; align-items: center; background: var(--sand); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .lang-switch a:not([aria-current="true"]):hover { color: var(--ink); } }
.icon-btn { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sand); transition: transform 160ms var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 240ms var(--ease-out); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .icon-btn, .menu-btn { display: inline-flex; }
  .bar-cta { display: none; }
  .bar-actions { margin-left: auto; }
  .nav {
    position: fixed; top: calc(var(--header-h) - 6px); right: 12px; left: 12px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
    transform-origin: top right; opacity: 0; transform: scale(0.96) translateY(-6px);
    visibility: hidden; pointer-events: none;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .nav-cta { display: inline-flex !important; align-items: center; justify-content: space-between; margin-top: 6px; background: var(--orange); color: var(--ink) !important; font-weight: 700 !important; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-logo { width: min(460px, 88%); height: auto; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.16; margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; line-height: 1.35; }
.stats b { font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--ink); }
.stats span { font-size: 14px; color: var(--muted); }

/* 窗 + 網:載入時網線逐條拉緊(直線先、橫線後),貓仔喺網後面安心望日出 */
.hero-art { position: relative; width: min(100%, 440px); justify-self: center; aspect-ratio: 4 / 5; }
.hero-art.hero-photo { width: 100%; aspect-ratio: 4 / 3; }
.hero-photo > img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 48px -24px rgba(33, 26, 18, .4); }
.hero-photo .art-back { z-index: 0; border-radius: 32px; }
.hero-turntable {
  position: relative; z-index: 2; width: 100%; height: 100%; max-width: none;
  border-radius: 28px; background: var(--cream); box-shadow: 0 24px 48px -24px rgba(33, 26, 18, .4);
}
/* 真正嘅四角閃星(✨形),沿住相片圓角邊框行一圈,行嘅同時會忽然「閃」大一下先算 sparkle */
.run-glow { position: absolute; z-index: 1; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); pointer-events: none; overflow: visible; }
.spark {
  offset-path: path("M 30,4 L 370,4 A 26,26 0 0 1 396,30 L 396,270 A 26,26 0 0 1 370,296 L 30,296 A 26,26 0 0 1 4,270 L 4,30 A 26,26 0 0 1 30,4 Z");
  offset-rotate: 0deg; transform-box: fill-box; transform-origin: center;
  animation: spark-travel 5.5s linear infinite, spark-twinkle 1.1s ease-in-out infinite;
}
.spark-mini { animation-delay: -2.75s, -.55s; }
@keyframes spark-travel { to { offset-distance: 100%; } }
@keyframes spark-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(1.4) rotate(12deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .spark { animation: none; opacity: .85; } }
.photo-label { position: absolute; bottom: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(33, 26, 18, .8); color: #fff; font-size: 11px; }
.cat-photo-note { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 8px; border-radius: 999px; background: rgba(33, 26, 18, .8); color: #fff; font-size: 10px; }
.art-back { position: absolute; inset: 7% -6% -5% 9%; background: var(--orange); border-radius: 220px 220px 24px 24px; }
.win {
  position: absolute; inset: 0 8% 4% 0; border: 10px solid var(--ink); border-radius: 220px 220px 14px 14px;
  overflow: hidden; background: #ffe9c2; box-shadow: 0 30px 50px -30px rgba(33, 26, 18, .5);
}
.win-sky { position: absolute; inset: 0; background: linear-gradient(#fff0d0 0%, #f8d08a 55%, #e7a856 100%); }
.win-sky .sun { position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff8e4; left: 58%; top: 28%; box-shadow: 0 0 60px 30px rgba(255, 244, 214, .7); }
.win-sky .hills { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: #d99742; clip-path: polygon(0 55%, 14% 20%, 28% 46%, 46% 6%, 62% 40%, 78% 18%, 100% 50%, 100% 100%, 0 100%); opacity: .55; }
.cat-sil { position: absolute; left: 20%; bottom: 3%; width: 26%; }
.cat-sil svg { width: 100%; height: auto; }
.net { position: absolute; inset: 0; }
.net i { position: absolute; background: rgba(33, 26, 18, .62); }
.net .nv { top: 0; bottom: 0; width: 1.5px; left: calc((var(--n) + 0.5) * 100% / 9); transform-origin: top; animation: net-v 640ms var(--ease-out) both; animation-delay: calc(220ms + var(--n) * 50ms); }
.net .nh { left: 0; right: 0; height: 1.5px; top: calc((var(--n) + 0.5) * 100% / 13); transform-origin: left; animation: net-h 640ms var(--ease-out) both; animation-delay: calc(560ms + var(--n) * 40ms); }
@keyframes net-v { from { transform: scaleY(0); } }
@keyframes net-h { from { transform: scaleX(0); } }
.win-sill { position: absolute; left: -4%; right: 4%; bottom: 2%; height: 14px; background: var(--ink); border-radius: 4px; }

/* 首屏文字逐行升起 */
.rise { animation: rise 640ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 區塊 ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 32px 0 88px; }
.sec-sand { background: var(--sand); }
.sec-ink { background: var(--ink); color: var(--cream); }
.sec-ink .eyebrow, .sec-ink .kicker { color: var(--orange); }
.sec-ink .link-arrow { color: var(--orange); }
.sec-ink .card { background: #2b2218; border-color: #3b3025; }
.sec-ink .card-sum { color: #c8bba9; }
.sec-orange { background: var(--orange); }
.sec-orange .eyebrow { color: var(--ink); opacity: .75; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.sec-head .eyebrow { margin-bottom: 10px; }
.page-head { padding: 64px 0 24px; }
.about-logo { width: min(360px, 70%); height: auto; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.empty { padding: 48px 0; color: var(--muted); }
.empty a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 卡片 / 網格 ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.card:active { transform: scale(0.985); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sand); }
.ph svg { width: 48px; height: 48px; opacity: .5; }
.chip { position: absolute; left: 12px; top: 12px; background: var(--orange); color: var(--ink); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 { font-size: 19px; }
.card-sum { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.price { margin-top: 6px; font-weight: 700; color: var(--orange-deep); font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card:hover .card-media img { transform: scale(1.045); }
}

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile { display: block; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); transition: transform 200ms var(--ease-out); }
.cat-tile:active { transform: scale(0.97); }
.cat-media, .cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-media img { transition: transform 600ms var(--ease-out); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(33, 26, 18, .82), rgba(33, 26, 18, 0) 58%); }
.cat-info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; }
.cat-info h3 { font-size: 18px; }
.cat-info span { font-size: 13px; color: var(--orange); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .cat-tile:hover .cat-media img { transform: scale(1.06); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.chips a:active { transform: scale(0.96); }
.chips a small { color: var(--muted); font-size: 12px; }
.chips a[aria-current="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips a[aria-current="true"] small { color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .chips a:not([aria-current]):hover { border-color: var(--orange); background: var(--orange-tint); } }

/* ---------- 產品展示轉盤:金屬底座不停轉,五張產品相隔幾秒輪流展示(好似擺喺飾物櫃度) ---------- */
.turntable { position: relative; height: 380px; max-width: 420px; margin: 0 auto; }
.turntable-disc {
  position: absolute; z-index: 0; bottom: 3%; left: 50%; transform: translateX(-50%);
  width: 116%; aspect-ratio: 2.1 / 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #4a4e54 0%, #2c2f34 55%, #1a1c1f 100%);
  box-shadow: 0 22px 40px -14px rgba(33, 26, 18, .45), inset 0 3px 10px rgba(255, 255, 255, .18), inset 0 -6px 14px rgba(0, 0, 0, .5);
}
.turntable-disc span {
  position: absolute; inset: -25%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, .55) 28deg, transparent 68deg, transparent 180deg, rgba(219, 153, 67, .4) 218deg, transparent 258deg, transparent 360deg);
  animation: turntable-spin 4s linear infinite;
}
@keyframes turntable-spin { to { transform: rotate(360deg); } }
/* 5件產品全部一齊喺度,一齊沿住轉盤嘅橢圓路徑(比例同個盤一致)慢慢行一圈,大細固定唔忽大忽細 */
.turntable-item {
  position: absolute; inset: 0; height: 58%; width: auto; margin: auto;
  offset-path: ellipse(42% 22% at 50% 66%); offset-rotate: 0deg; offset-anchor: 50% 100%;
  filter: drop-shadow(0 14px 14px rgba(33, 26, 18, .35));
  animation: orbit-move 18s linear infinite, orbit-layer 18s linear infinite;
  animation-delay: calc(var(--n, 0) * -3.6s);
}
@keyframes orbit-move { to { offset-distance: 100%; } }
@keyframes orbit-layer {
  0%, 50%, 100% { z-index: 2; }
  25% { z-index: 4; }
  75% { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .turntable-disc span { animation: none; }
  .turntable-item { animation: none; offset-distance: calc(var(--n, 0) * 20%); }
}
@media (max-width: 600px) { .turntable { height: 300px; } }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 8px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font-family: var(--font-serif); font-weight: 800; font-size: 56px; line-height: 1; color: var(--orange); margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; background: none; border: 0; text-align: left; font-family: var(--font-serif); font-weight: 800; font-size: 18px; line-height: 1.45; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-soft); transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--orange); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-body { padding: 0 4px 24px; color: var(--ink-2); max-width: 64ch; }
.faq-body p + p { margin-top: .8em; }
.js .faq-a { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 240ms var(--ease-out), opacity 200ms var(--ease-out); }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 24px 28px; background: var(--orange-tint); border: 1px solid var(--orange-soft); border-radius: var(--r); }
.faq-cta p { font-family: var(--font-serif); font-weight: 800; font-size: 20px; }
.btn svg { flex: none; }

/* ---------- CTA + 表單 ---------- */
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-copy p { max-width: 38ch; }
.cta-list { margin-top: 28px; display: grid; gap: 10px; }
.cta-list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; padding: 6px 0; border-bottom: 2px solid rgba(33, 26, 18, .25); transition: border-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .cta-list a:hover { border-color: var(--ink); } }
.quote-form { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 30px; display: grid; gap: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-head h3 { font-size: 22px; margin-bottom: 4px; }
.form-head p { color: var(--muted); font-size: 14.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.quote-form textarea { resize: vertical; min-height: 88px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(219, 153, 67, .28); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-status { min-height: 0; font-weight: 700; }
.form-status.ok, .form-status.err { padding: 12px 14px; border-radius: var(--r-sm); animation: rise 320ms var(--ease-out) both; }
.form-status.ok { background: #e7f4e4; color: #1f5d2a; }
.form-status.err { background: #fbe6e2; color: #8a2d20; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 詳情頁 ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumb a { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .crumb a:hover { color: var(--orange-deep); text-decoration: underline; } }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.detail-info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.detail-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.price-lg { font-size: 20px; margin: 0; }
.price-lg small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.swatches ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.gallery { display: grid; gap: 12px; }
.g-main { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.g-thumbs button { width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--sand); opacity: .72; transition: opacity 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.g-thumbs button:active { transform: scale(0.95); }
.g-thumbs button[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-lower { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.detail-lower h2 { font-size: 24px; margin-bottom: 18px; }
.prose p + p { margin-top: 1em; }
.prose { color: var(--ink-2); }
.prose-lg { font-size: 17.5px; line-height: 1.95; }
.specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-sm); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.specs th { width: 34%; background: var(--orange-tint); font-weight: 700; color: var(--ink-2); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.meta { display: grid; gap: 0; border-top: 1px solid var(--line); }
.meta > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.meta dt { color: var(--muted); font-size: 14px; }
.meta dd { margin: 0; font-weight: 500; }
.used ul { display: flex; flex-wrap: wrap; gap: 10px; }
.used a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; background: var(--orange-soft); border-radius: 999px; font-weight: 700; font-size: 14px; }

/* ---------- 關於 / 聯絡 ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.about-card h2 { font-size: 22px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; height: 100%; }
.values .dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); margin-bottom: 18px; }
.values h3 { font-size: 20px; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-bottom: 28px; }
.contact-cards a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.contact-cards a:active { transform: scale(0.985); }
.contact-cards .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); flex: none; }
.contact-cards small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
.contact-cards b { font-size: 18px; }
.contact-cards .arr { margin-left: auto; color: var(--orange-deep); }
@media (hover: hover) and (pointer: fine) { .contact-cards a:hover { border-color: var(--orange); } }
.map { margin-top: 24px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-info .link-arrow { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9ccb9; padding: 64px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.foot-brand-logo img { width: 40px; height: 40px; }
.site-footer h2 { font-family: var(--font); font-size: 13px; letter-spacing: .14em; color: var(--orange); margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.foot-social { display: flex; gap: 16px; margin-top: 14px; }
.foot-social a { color: var(--orange); font-weight: 700; }
.muted-l { margin-top: 10px; color: #a99b87; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--orange); } }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #3b3025; font-size: 13px; color: #a99b87; }

/* ---------- WhatsApp 浮動按鈕 ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 17px;
  background: var(--wa); color: #fff; border-radius: 999px; font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 70, .55), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform 160ms var(--ease-out);
  animation: pop 420ms var(--ease-out) 1.1s backwards;
  view-transition-name: wa-float;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-text { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 260ms var(--ease-out), opacity 200ms ease; }
.wa-float:active { transform: scale(0.95); }
@keyframes pop { from { opacity: 0; transform: scale(0.9) translateY(8px); } }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-text { max-width: 140px; opacity: 1; }
  .wa-float:hover { padding-right: 20px; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; color: #fff;
  opacity: 0; transform: scale(0.96); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete; }
.lightbox[open] { opacity: 1; transform: none; display: grid; place-items: center; }
@starting-style { .lightbox[open] { opacity: 0; transform: scale(0.96); } }
.lightbox::backdrop { background: rgba(20, 15, 10, .9); opacity: 0; transition: opacity 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete; }
.lightbox[open]::backdrop { opacity: 1; }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }
.lightbox img { max-width: min(94vw, 1200px); max-height: 86vh; border-radius: 12px; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-close:active, .lb-nav:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .28); } }

/* ---------- 捲動顯示(只喺有 JS 時隱藏,避免無 JS 睇唔到內容) ---------- */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- 頁面切換(支援嘅瀏覽器) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }

/* ---------- RWD ---------- */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 24px 0 64px; }
  .hero-grid, .detail-grid, .detail-lower, .about-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { width: min(72%, 300px); justify-self: center; }
  .hero-grid { gap: 40px; }
  .detail-info, .about-card { position: static; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .sec-tight { padding: 24px 0 64px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .grid4, .grid3 { grid-template-columns: 1fr; gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .quote-form { padding: 22px 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .faq-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 100%; }
  .wa-float { height: 54px; padding: 0 15px; right: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .meta > div { grid-template-columns: 80px 1fr; }
}

/* ---------- 減少動態:保留淡入淡出,移除位移同大幅變形 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net i { animation: none; }
  .rise { animation: fade 300ms ease both; animation-delay: 0s; }
  .js .rv { transform: none; }
  .js .rv.in { transition: opacity 300ms ease; transition-delay: 0s; }
  .wa-float { animation: fade 300ms ease 0.5s backwards; }
  .nav { transform: none !important; }
  .card:hover, .btn:active, .card:active { transform: none; }
  .card:hover .card-media img { transform: none; }
  .lightbox, .lightbox[open] { transform: none; }
  .menu-btn span, .plus { transition: none; }
  @view-transition { navigation: none; }
}
@keyframes fade { from { opacity: 0; } }
