@font-face {
  font-family: "Source Han Sans HK Web";
  src: url("assets/fonts/SourceHanSansHK-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

/* ==========================================================================
   Desktop Design Standard — 1920px 設計畫布
   --------------------------------------------------------------------------
   概念：成個網站當成一張 1920px 闊嘅設計畫布，再按 viewport 等比 scale。
   1920 → 100% ／ 2560 → 約133% ／ 3840 → 約200% ／ 7680 → 約400%

   --design-scale ：由 script.js 按 viewport 計出嘅畫布縮放比例
   --user-scale   ：字體大小控制器嘅用戶倍率（0.8 ~ 1.5）
   --canvas-width ：畫布實際邏輯闊度（= 視窗闊度 ÷ 縮放比例）
   --vw / --vh    ：畫布內嘅 1% 單位，取代原生 vw / vh
                    （原生 vw 唔會被 zoom 除返，會出現雙重放大）
   ========================================================================== */
:root {
  --design-width: 1920;
  --design-scale: 1;
  --user-scale: 1;
  --canvas-scale: 1;
  --canvas-width: 1920px;
  --canvas-height: 1080px;
  --vw: calc(var(--canvas-width) / 100);
  --vh: calc(var(--canvas-height) / 100);
}

:root {
  --olive: #736e46;
  --ivory: #fcf8eb;
  --sand: #c9ac8c;
  --beige: #e8e0ce;
  --white: #ffffff;
  --olive-soft: rgba(115, 110, 70, 0.14);
  --olive-line: rgba(115, 110, 70, 0.34);
  --shadow: 0 14px 34px rgba(93, 89, 55, 0.28);
  --shadow-soft: 0 10px 26px rgba(93, 89, 55, 0.2);
  --radius: 30px;
  --max: 1600px;
  --max-wide: 2000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

/* 將成張 1920 畫布按比例放大／縮細。
   zoom 會連字體、圖片、button、spacing、icon、border、shadow 一齊等比縮放，
   而且 position: fixed / sticky 嘅定位仍然正確（transform: scale 做唔到）。 */
html.is-canvas-scaled {
  zoom: var(--canvas-scale);
}

/* 未有 JS（或 JS 未跑）之前的安全值：跟返原生 viewport 單位 */
html:not(.is-canvas-scaled) {
  --canvas-width: 100vw;
  --canvas-height: 100vh;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--olive);
  background: var(--ivory);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 96px), var(--max));
  margin-inline: auto;
}

/* ==========================================================================
   斷行控制
   --------------------------------------------------------------------------
   排版而家鎖死喺 1920 設計畫布上，所以每段字喺任何解像度嘅行數都一模一樣。
   下面再處理「孤字」：即係得返一兩隻字跌咗落最後一行嘅情況。
   ・balance：短標題／短句 → 平均分配每行字數
   ・pretty ：長段落 → 只係避免尾行孤字，唔會改動前面嘅行
   ========================================================================== */
.section-heading h2,
.offer-card h3,
.reason-card h3,
.reason-card p,
.promise-card h3,
.promise-card p,
.service-card__summary h3,
.visual-proof-grid h3,
.diagnosis-panel__copy h2,
.diagnosis-panel__copy li,
.diagnosis-panel__cta h3,
.process-list h3,
.process-list p,
.testimonial-grid h3,
.faq-grid summary,
.location-grid h3,
.offer-card__body > p:not(.offer-card__label) {
  text-wrap: balance;
}

.faq-grid details p,
.service-card__details li,
.form-note,
.testimonial-note {
  text-wrap: pretty;
}

/* 短標籤／編號唔應該斷開 */
.offer-card__label,
.problem-card__back strong,
.social-links em,
.process-list span,
.reason-card strong,
.promise-card > span {
  text-wrap: nowrap;
}

/* Footer 英文標語：桌面一行，細螢幕容許自動斷行 */
.site-footer span {
  text-wrap: balance;
}

.container--wide {
  width: min(calc(100% - 112px), var(--max-wide));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ivory);
  background: var(--olive);
  box-shadow: 0 4px 16px rgba(56, 53, 32, 0.18);
}

.site-header__inner {
  width: min(calc(100% - 88px), 2380px);
  min-height: 104px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 250px 1fr 204px;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  width: max-content;
}

.brand img {
  width: auto;
  height: 80px;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, calc(2.4 * var(--vw)), 58px);
}

.site-nav a {
  color: var(--ivory);
  font-size: clamp(16px, calc(1.18 * var(--vw)), 30px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.header-cta,
.btn {
  min-width: 204px;
  min-height: 60px;
  padding: 10px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: clamp(17px, calc(1 * var(--vw)), 25px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}

.header-cta {
  color: var(--olive);
  background: var(--ivory);
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero banner — 左淺右深漸變帶
   --------------------------------------------------------------------------
   設計稿：左邊淺米色漸變到右邊較深嘅暖色，五支植物試管永遠企喺右邊，
   標題文字唔可以壓到試管。

   試管原圖 assets/hero-botanical-oils.webp 係 2560x1391（比例 1.84），
   底色喺水平方向係一致嘅 #ecd8af，只有垂直方向由 #f6ecd4 漸變落 #e3c793。
   所以我哋可以：
   ① 圖片靠右擺（background-position: right center），唔再用 cover 放大，
      咁試管就一定停喺右邊 59%–92%，唔會俾 cover 推到中間壓住文字；
   ② 圖片左邊剩低嘅位，用一個同原圖一模一樣嘅垂直漸變填返，完全睇唔到接縫；
   ③ 再喺最面加一層水平米色紗（.hero::before），左邊實色、去到 57% 位置
      完全透明 —— 啱啱喺試管（59.2%）之前收晒，所以試管永遠清晰。

   background-size: auto 128% 係度身計出嚟：
   圖片高度 = 560 x 128% = 717px，闊 1320px，只裁走上下各約 11%，
   玫瑰、迷迭香嘅頂部同試管圓底全部保得住（再大就會切到花頭）。

   ★ 第二層點解又係同一張圖？
   量過原圖最左邊三分一係完全純色（最大色差只有 5/255，肉眼零分別）。
   所以第二層用返同一張圖、闊度拉到 300%、貼左，睇到嘅就只會係嗰忽純色。
   關鍵係第二層嘅高度％同垂直錨點同第一層一模一樣，即係兩層嘅每一行
   都取自原圖同一行 —— 顏色數學上必然相同，接口永遠唔會有色帶。
   （手寫 linear-gradient 就做唔到咁準，換 background-size 就會穿崩。）
   瀏覽器亦只會下載一次呢張圖，唔會有額外請求。
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(420px, calc(38 * var(--vw)), 560px);
  overflow: hidden;
  background-color: var(--beige);
  background-image:
    url("assets/hero-botanical-oils.webp"),
    url("assets/hero-botanical-oils.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: right center, left center;
  background-size: auto 128%, 300% 128%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* 全幅象牙／白紗：左邊厚、試管區仍有明顯淡化（唔散到 0） */
  background: linear-gradient(
    90deg,
    rgba(252, 248, 235, 0.97) 0%,
    rgba(252, 248, 235, 0.92) 26%,
    rgba(255, 255, 255, 0.78) 40%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 255, 255, 0.4) 68%,
    rgba(255, 255, 255, 0.32) 100%
  );
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: clamp(420px, calc(38 * var(--vw)), 560px);
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) 1.35fr;
  align-items: stretch;
}

.hero__copy {
  z-index: 1;
  align-self: center;
  padding-block: 40px;
  font-family: "Source Han Sans HK Web", "Source Han Sans HK", "Noto Sans HK", "Noto Sans TC", sans-serif;
}

.hero__eyebrow {
  margin: 0;
  color: var(--sand);
  font-size: clamp(20px, calc(1.18 * var(--vw)), 30px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 40px 0 0;
  font-size: clamp(44px, calc(2.2 * var(--vw)), 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.28em;
}

.hero__tagline {
  margin: 40px 0 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(34px, calc(2.35 * var(--vw)), 60px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}

.hero h1,
.hero__tagline {
  /* white outline - medium weight */
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 1);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px #fff,
    1px 0 0 #fff,
    -1px 0 0 #fff,
    0 1px 0 #fff,
    0 -1px 0 #fff;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 40px;
}

.btn {
  border: 3px solid var(--olive);
}

.btn--primary {
  color: var(--ivory);
  background: var(--olive);
}

.btn--outline,
.btn--card {
  color: var(--olive);
  background: transparent;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero__art-placeholder {
  position: relative;
  min-width: 0;
}

.section {
  padding-block: clamp(110px, calc(7.5 * var(--vw)), 190px);
  background: var(--ivory);
}

.section-heading {
  margin: 0 auto clamp(72px, calc(5 * var(--vw)), 130px);
  text-align: center;
  font-family: "Source Han Sans HK Web", "Source Han Sans HK", "Noto Sans HK", "Noto Sans TC", sans-serif;
}

.section-heading p {
  margin: 0;
  color: var(--sand);
  font-size: clamp(24px, calc(1.35 * var(--vw)), 34px);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  margin: 35px 0 0;
  font-size: clamp(48px, calc(2.35 * var(--vw)), 60pt);
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1.25;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, calc(2 * var(--vw)), 54px);
}

.offer-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--white);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.offer-card__image {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--beige);
  cursor: zoom-in;
  aspect-ratio: 0.86;
}

.offer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.offer-card__image:hover img,
.offer-card__image:focus-visible img {
  transform: scale(1.025);
}

.offer-card__image span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
}

.offer-card__zoom-icon {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-card__body {
  flex: 1;
  padding: clamp(28px, calc(1.35 * var(--vw)), 36px) clamp(20px, calc(1.1 * var(--vw)), 28px) clamp(34px, calc(1.55 * var(--vw)), 42px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.offer-card__label {
  min-width: 240px;
  margin: 0;
  padding: 6px 24px;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--sand);
  font-size: clamp(18px, calc(1.15 * var(--vw)), 30pt);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.offer-card h3 {
  margin: 20px 0 0;
  font-size: clamp(27px, calc(1.55 * var(--vw)), 40px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.04em;
}

.offer-card__body > p:not(.offer-card__label) {
  margin: 18px 0 26px;
  color: var(--sand);
  font-size: clamp(18px, calc(0.98 * var(--vw)), 25px);
  font-weight: 700;
  line-height: 1.65;
}

.offer-card__tags {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15em 0.35em;
  max-width: 100%;
}

.offer-card__tags > span {
  white-space: nowrap;
}

.offer-card .btn {
  margin-top: auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, calc(1.35 * var(--vw)), 34px);
}

.problem-card {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  /* 底色落喺 button 本身：即使 face 合成層短暫失效，都唔會變全白空白卡 */
  background: var(--olive);
  aspect-ratio: 1;
  cursor: pointer;
  /* 3D 翻牌：perspective 喺 outer；唔用 overflow:hidden，避免剪裁／破壞 preserve-3d */
  perspective: 1100px;
  -webkit-perspective: 1100px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.problem-card__inner {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background: transparent;
  /* 陰影跟住內層一齊翻，唔會剩低透明 inner + shadow 嘅假白卡 */
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.problem-card:hover .problem-card__inner,
.problem-card:focus-visible .problem-card__inner,
.problem-card.is-flipped .problem-card__inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.problem-card__face {
  position: absolute;
  inset: 0;
  padding: clamp(14px, calc(1.2 * var(--vw)), 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  /* 3D 背面隱藏；唔加 will-change，減少 Chrome zoom／DPR 合成 bug */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.problem-card__front {
  color: var(--ivory);
  background: var(--olive);
}

.problem-card__back {
  border: 10px solid var(--sand);
  color: var(--sand);
  background: var(--ivory);
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, calc(3.8 * var(--vw)), 76px);
  height: clamp(52px, calc(3.8 * var(--vw)), 76px);
  line-height: 0;
  flex-shrink: 0;
}

.problem-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.problem-card strong {
  margin-top: 18px;
  font-size: clamp(24px, calc(1.8 * var(--vw)), 60pt);
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.problem-card__back strong {
  margin: 0 0 12px;
  font-size: clamp(26px, calc(1.55 * var(--vw)), 36px);
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.problem-card__back span,
.problem-card__desc {
  font-size: clamp(20px, calc(1.28 * var(--vw)), 30px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.problem-card__desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32em;
}

.problem-card__line {
  display: block;
  white-space: nowrap;
}

.reason-grid,
.promise-grid {
  display: grid;
  gap: clamp(22px, calc(1.6 * var(--vw)), 40px);
}

.reason-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reason-card,
.promise-card {
  min-height: 365px;
  padding: clamp(28px, calc(2.1 * var(--vw)), 52px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reason-card {
  background: var(--ivory);
}

.reason-card strong,
.promise-card > span {
  color: var(--sand);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.reason-card h3,
.promise-card h3 {
  margin: 26px 0 16px;
  font-size: clamp(38px, calc(2.02 * var(--vw)), 51px);
  letter-spacing: 0.1em;
  line-height: 1.25;
}

.reason-card p,
.promise-card p {
  margin: 0;
  font-size: clamp(26px, calc(1.32 * var(--vw)), 33px);
  font-weight: 600;
}

.reason-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-wrap: pretty;
}

.promise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise-card {
  min-height: 395px;
  color: var(--ivory);
  background: var(--olive);
}

.promise-card > span {
  color: var(--sand);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(26px, calc(2 * var(--vw)), 54px);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.service-card__summary {
  position: relative;
  padding: clamp(30px, calc(2 * var(--vw)), 48px) clamp(28px, calc(2 * var(--vw)), 50px) 44px;
  text-align: center;
}

.service-card__summary p {
  margin: 0;
  color: var(--sand);
  font-size: clamp(23px, calc(1.3 * var(--vw)), 33px);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card__summary h3 {
  margin: 20px 0 0;
  font-size: clamp(32px, calc(1.78 * var(--vw)), 46px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.service-card__summary button {
  position: absolute;
  right: 26px;
  bottom: 18px;
  padding: 0;
  border: 0;
  color: var(--olive);
  background: transparent;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.service-card__details {
  padding: 0 clamp(32px, calc(2.25 * var(--vw)), 58px) clamp(38px, calc(2.4 * var(--vw)), 62px);
}

.service-card__details ul {
  margin: 0;
  padding-left: 1.35em;
  font-size: clamp(21px, calc(1.15 * var(--vw)), 29px);
  font-weight: 700;
  line-height: 1.9;
}

.visual-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, calc(2 * var(--vw)), 54px);
}

.visual-proof-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.visual-proof-grid img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
}

.visual-proof-grid article > div {
  padding: 28px 30px 34px;
  text-align: center;
}

.visual-proof-grid p {
  margin: 0;
  color: var(--sand);
  font-size: clamp(23px, calc(1.3 * var(--vw)), 33px);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.visual-proof-grid h3 {
  margin: 16px 0 0;
  font-size: clamp(26px, calc(1.45 * var(--vw)), 38px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.diagnosis-panel {
  min-height: 450px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) 1.45fr minmax(320px, 0.7fr);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.diagnosis-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagnosis-panel__copy {
  padding: clamp(46px, calc(4 * var(--vw)), 92px);
}

.diagnosis-panel__copy h2 {
  margin: 0 0 36px;
  color: var(--sand);
  font-size: clamp(36px, calc(2.15 * var(--vw)), 56px);
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.diagnosis-panel__copy ul {
  margin: 0;
  padding-left: 1.25em;
  font-size: clamp(20px, calc(1.15 * var(--vw)), 30px);
  font-weight: 700;
  line-height: 2;
}

.diagnosis-panel__cta {
  padding: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  background: var(--olive);
  text-align: center;
}

.diagnosis-panel__cta > p {
  margin: 0 0 28px;
  font-size: clamp(30px, calc(1.7 * var(--vw)), 44px);
  font-weight: 800;
}

.diagnosis-panel__phone {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  border: 6px solid var(--ivory);
  border-radius: 50%;
}

.diagnosis-panel__cta .whatsapp-icon--diagnosis {
  width: 82px;
  height: 82px;
}

.diagnosis-panel__cta h3 {
  margin: 26px 0 30px;
  font-size: clamp(26px, calc(1.5 * var(--vw)), 38px);
  line-height: 1.55;
}

.btn--light {
  border-color: var(--ivory);
  color: var(--ivory);
  background: transparent;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, calc(1.6 * var(--vw)), 40px);
  list-style: none;
}

.process-list li {
  min-height: 365px;
  padding: clamp(28px, calc(2 * var(--vw)), 50px);
  border-radius: var(--radius);
  background: var(--beige);
  box-shadow: var(--shadow);
}

.process-list span {
  color: var(--sand);
  font-size: 39px;
  font-weight: 900;
}

.process-list h3 {
  margin: 44px 0 18px;
  font-size: clamp(32px, calc(1.7 * var(--vw)), 44px);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.process-list p {
  margin: 0;
  font-size: clamp(26px, calc(1.35 * var(--vw)), 33px);
  font-weight: 600;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, calc(2 * var(--vw)), 52px);
}

.testimonial-grid article {
  min-height: 0;
  height: 100%;
  padding: clamp(34px, calc(2.6 * var(--vw)), 64px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.testimonial-grid article > p {
  margin: 0;
  flex: 0 0 auto;
  color: var(--sand);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
}

.testimonial-grid h3 {
  margin: 26px 0 0;
  flex: 0 0 auto;
  height: calc(1.5em * 2);
  font-size: clamp(28px, calc(1.58 * var(--vw)), 39px);
  line-height: 1.5;
  overflow: hidden;
}

.testimonial-grid article > span {
  display: block;
  margin-top: 14px;
  flex: 0 0 auto;
  min-height: calc(1.55em * 2);
  font-size: clamp(20px, calc(1.05 * var(--vw)), 26px);
  font-weight: 600;
  line-height: 1.55;
}

.testimonial-note {
  margin: 70px 0 0;
  color: var(--sand);
  font-size: clamp(18px, calc(1.03 * var(--vw)), 25px);
  font-weight: 700;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 58px;
}

.faq-grid details {
  align-self: start;
  overflow: hidden;
  border-radius: 999px;
  background: var(--beige);
  transition: border-radius 180ms ease;
}

.faq-grid details[open] {
  border-radius: 30px;
}

.faq-grid summary {
  min-height: 97px;
  padding: 21px 70px 21px 34px;
  display: flex;
  align-items: center;
  font-size: clamp(29px, calc(1.5 * var(--vw)), 38px);
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  margin-left: auto;
  content: "＋";
  font-size: 39px;
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid details p {
  margin: 0;
  padding: 0 34px 34px;
  font-size: 27px;
}

.lead-form {
  position: relative;
  padding: clamp(56px, calc(4.2 * var(--vw)), 104px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(54px, calc(5 * var(--vw)), 126px);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.lead-form__fields,
.lead-form__inquiry {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.lead-form__inquiry > img {
  width: min(100%, 420px);
  margin: 0 auto 4px;
}

.logo--olive {
  filter: brightness(0) saturate(100%) invert(42%) sepia(13%) saturate(1042%) hue-rotate(18deg) brightness(94%) contrast(91%);
}

.form-field {
  display: grid;
  gap: 14px;
}

.form-field label {
  font-size: clamp(21px, calc(1.2 * var(--vw)), 30px);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 4px solid var(--beige);
  border-radius: 18px;
  color: var(--olive);
  background: transparent;
  outline: none;
}

.form-field input {
  min-height: 82px;
  padding: 14px 20px;
}

.form-field textarea {
  min-height: 230px;
  padding: 18px 20px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--olive);
}

.lead-form__inquiry .btn {
  align-self: flex-end;
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sand);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.form-status {
  min-height: 1.5em;
  color: var(--olive);
}

.form-status.is-error {
  color: #8b3028;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, calc(1.8 * var(--vw)), 46px);
}

.location-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ivory);
  background: var(--olive);
  box-shadow: var(--shadow);
}

.location-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.location-grid article > div {
  padding: 30px 30px 36px;
}

.location-grid h3 {
  margin: 0 0 16px;
  font-size: clamp(23px, calc(1.25 * var(--vw)), 32px);
}

.location-grid a {
  font-size: clamp(16px, calc(0.82 * var(--vw)), 20px);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.social-links {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.social-links a {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 999px;
  background: var(--ivory);
  box-shadow: var(--shadow);
  font-size: clamp(24px, calc(1.4 * var(--vw)), 36px);
  font-weight: 800;
  text-decoration: none;
}

.social-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon__dot,
.social-icon--facebook path {
  fill: currentColor;
  stroke: none;
}

.social-links em {
  font-style: italic;
}

.site-footer {
  min-height: 580px;
  padding: 120px 40px 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  text-align: center;
}

.site-footer img {
  width: min(620px, calc(62 * var(--vw)));
}

.site-footer p {
  margin: 50px 0 0;
  font-size: clamp(25px, calc(1.7 * var(--vw)), 44px);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.site-footer span {
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, calc(1.35 * var(--vw)), 34px);
  font-style: italic;
  font-weight: 700;
}

.image-lightbox {
  width: min(calc(92 * var(--vw)), 920px);
  max-height: calc(92 * var(--vh));
  padding: 18px;
  border: 0;
  border-radius: 24px;
  color: var(--olive);
  background: var(--ivory);
}

.image-lightbox::backdrop {
  background: rgba(49, 47, 31, 0.78);
  backdrop-filter: blur(8px);
}

.image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__stage {
  max-height: calc(calc(92 * var(--vh)) - 100px);
  overflow: auto;
  border-radius: 16px;
}

.image-lightbox__stage img {
  width: 100%;
  height: auto;
}

.image-lightbox__caption {
  margin: 14px 0 0;
  font-weight: 700;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 30px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-float__bubble {
  margin: 0;
  padding: 12px 18px;
  border: 2px solid var(--beige);
  border-radius: 16px;
  color: var(--olive);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.whatsapp-float.is-bubble-visible .whatsapp-float__bubble {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float__button {
  width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.whatsapp-float__button > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
}

.whatsapp-icon__bubble {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-icon__phone {
  fill: currentColor;
}

/* ==========================================================================
   字體大小控制器（浮動側邊工具）
   ========================================================================== */
.text-scaler {
  position: fixed;
  z-index: 95;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.text-scaler__handle {
  width: 62px;
  height: 62px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  box-shadow: var(--shadow-soft);
  line-height: 1;
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.text-scaler__handle-icon {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.text-scaler__handle:hover,
.text-scaler__handle:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 28px rgba(93, 89, 55, 0.3);
}

.text-scaler.is-adjusted .text-scaler__handle {
  border-color: var(--sand);
}

.text-scaler__handle-small {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.text-scaler__handle-large {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.text-scaler__panel {
  width: 226px;
  padding: 22px 24px 20px;
  border: 3px solid var(--beige);
  border-radius: 24px;
  color: var(--olive);
  background: var(--ivory);
  box-shadow: var(--shadow);
  text-align: center;
}

.text-scaler__title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.text-scaler__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.text-scaler__btn {
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 3px solid var(--olive);
  border-radius: 50%;
  color: var(--ivory);
  background: var(--olive);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, opacity 200ms ease;
}

.text-scaler__btn:hover:not(:disabled),
.text-scaler__btn:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  background: #655f3c;
}

.text-scaler__btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.text-scaler__value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.text-scaler__reset {
  margin-top: 16px;
  width: 100%;
  min-height: 44px;
  padding: 6px 14px;
  border: 2px solid var(--olive);
  border-radius: 999px;
  color: var(--olive);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 200ms ease, opacity 200ms ease;
}

.text-scaler__reset:hover:not(:disabled),
.text-scaler__reset:focus-visible:not(:disabled) {
  background: rgba(115, 110, 70, 0.08);
}

.text-scaler__reset:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready[data-reveal="fade"] {
  transform: none;
}

.reveal-ready[data-reveal="fade"].is-visible {
  transform: none;
}

.reveal-ready[data-reveal="scale"] {
  transform: translateY(24px) scale(0.96);
}

.reveal-ready[data-reveal="scale"].is-visible {
  transform: translateY(0) scale(1);
}

.reveal-ready[data-reveal="left"] {
  transform: translateX(-40px);
}

.reveal-ready[data-reveal="left"].is-visible {
  transform: translateX(0);
}

.reveal-ready[data-reveal="right"] {
  transform: translateX(40px);
}

.reveal-ready[data-reveal="right"].is-visible {
  transform: translateX(0);
}

.offer-card,
.reason-card,
.promise-card,
.service-card,
.testimonial-grid article,
.location-grid article {
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    box-shadow 320ms ease;
}

.offer-card.is-visible,
.reason-card.is-visible,
.promise-card.is-visible,
.service-card.is-visible,
.testimonial-grid article.is-visible,
.location-grid article.is-visible {
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

.offer-card:hover,
.reason-card:hover,
.promise-card:hover,
.service-card:hover,
.testimonial-grid article:hover,
.location-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(93, 89, 55, 0.22);
}

.btn,
.header-cta {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.site-nav a {
  position: relative;
  transition: opacity 200ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 240ms ease, left 240ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  left: 0;
  width: 100%;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: none;
}

.process-list li {
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.process-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(93, 89, 55, 0.2);
}

.faq-grid details {
  transition: transform 240ms ease, box-shadow 240ms ease, border-radius 180ms ease;
}

.faq-grid details[open] {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(93, 89, 55, 0.16);
}

/* ---- Extended hover interactions ---- */
.visual-proof-grid article,
.diagnosis-panel,
.lead-form,
.social-links a {
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    box-shadow 320ms ease;
}

.visual-proof-grid article.is-visible,
.diagnosis-panel.is-visible,
.lead-form.is-visible,
.social-links a.is-visible {
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
}

.visual-proof-grid article:hover,
.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(93, 89, 55, 0.22);
}

.diagnosis-panel:hover,
.lead-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(93, 89, 55, 0.24);
}

/* Image zoom on cards */
.service-card > img,
.visual-proof-grid img,
.location-grid img,
.diagnosis-panel__image {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover > img,
.visual-proof-grid article:hover img,
.location-grid article:hover img,
.diagnosis-panel:hover .diagnosis-panel__image {
  transform: scale(1.04);
}

/* Problem cards: 外層微抬升；翻牌動畫必須留喺 __inner（唔好 transition:none） */
.problem-card {
  /* 陰影跟 __inner 一齊翻，外層唔再疊多一層 shadow，避免雙重陰影 */
  transition: transform 280ms ease;
}

.problem-card:hover,
.problem-card:focus-visible {
  transform: translateY(-4px) translateZ(0);
}

.problem-card:hover .problem-card__inner,
.problem-card:focus-visible .problem-card__inner,
.problem-card.is-flipped .problem-card__inner {
  box-shadow: 0 18px 38px rgba(93, 89, 55, 0.28);
}

/* problem-card 本身唔跟通用 reveal 嘅 will-change／opacity 合成層，
   避免 Chrome + css zoom 下 face 消失只剩陰影。
   （reveal 已改喺 .problem-grid） */
.problem-card.reveal-ready {
  opacity: 1;
  transform: translateZ(0);
  will-change: auto;
  transition: transform 280ms ease;
}

.problem-card.reveal-ready.is-visible {
  opacity: 1;
  transform: translateZ(0);
}

.problem-card.reveal-ready.is-visible:hover,
.problem-card.reveal-ready.is-visible:focus-visible {
  transform: translateY(-4px) translateZ(0);
}

/* Offer card body polish */
.offer-card__label {
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.offer-card:hover .offer-card__label {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(93, 89, 55, 0.18);
}

.offer-card__image span {
  transition: transform 240ms ease, background-color 240ms ease;
}

.offer-card__image:hover span,
.offer-card__image:focus-visible span {
  transform: scale(1.08);
}

/* FAQ summary hover */
.faq-grid summary {
  transition: background-color 220ms ease, color 220ms ease;
}

.faq-grid details:hover summary {
  background: rgba(115, 110, 70, 0.06);
}

.faq-grid summary::after {
  transition: transform 220ms ease;
  display: inline-block;
}

.faq-grid details:hover summary::after {
  transform: scale(1.15);
}

/* Form fields interactive focus glow */
.form-field input,
.form-field textarea {
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(115, 110, 70, 0.55);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(115, 110, 70, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

/* Buttons richer hover */
.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(93, 89, 55, 0.22);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #655f3c;
}

.btn--outline:hover,
.btn--outline:focus-visible,
.btn--card:hover,
.btn--card:focus-visible {
  background: rgba(115, 110, 70, 0.08);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: rgba(252, 248, 235, 0.14);
}

/* Diagnosis CTA phone pulse-ish on hover */
.diagnosis-panel__phone {
  transition: transform 280ms ease, border-color 280ms ease;
}

.diagnosis-panel__cta:hover .diagnosis-panel__phone {
  transform: scale(1.06);
}

/* Social icons */
.social-icon {
  transition: transform 260ms ease;
}

.social-links a:hover .social-icon,
.social-links a:focus-visible .social-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* Brand + floating WhatsApp */
.brand img {
  transition: transform 260ms ease, opacity 260ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: scale(1.04);
}

.whatsapp-float__button {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.whatsapp-float__button:hover,
.whatsapp-float__button:focus-visible {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 28px rgba(93, 89, 55, 0.3);
}

.whatsapp-float__bubble {
  transition: opacity 200ms ease, transform 200ms ease;
}

.location-grid a {
  transition: opacity 200ms ease, letter-spacing 200ms ease;
}

.location-grid a:hover,
.location-grid a:focus-visible {
  opacity: 0.85;
  letter-spacing: 0.02em;
}

/* Reason / promise number accent */
.reason-card strong,
.promise-card > span,
.process-list span {
  transition: transform 240ms ease, color 240ms ease;
  display: inline-block;
}

.reason-card:hover strong,
.promise-card:hover > span,
.process-list li:hover span {
  transform: translateY(-2px) scale(1.05);
}

/* Lightbox close */
.image-lightbox__close {
  transition: transform 200ms ease, background-color 200ms ease;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  transform: scale(1.08);
}

/* (max-width: 1500px) — canvas breakpoint: compact */
html[data-canvas-bp~="compact"] .site-header__inner {
  grid-template-columns: 190px 1fr 170px;
  gap: 22px;
}

html[data-canvas-bp~="compact"] .brand img {
  height: 64px;
}

html[data-canvas-bp~="compact"] .site-nav {
  gap: 24px;
}

html[data-canvas-bp~="compact"] .site-nav a {
  font-size: 16px;
  letter-spacing: 0.1em;
}

html[data-canvas-bp~="compact"] .header-cta {
  min-width: 170px;
}

html[data-canvas-bp~="compact"] .hero__grid {
  grid-template-columns: minmax(500px, 1fr) 0.85fr;
}


/* (min-width: 1700px) — canvas breakpoint: wide */
html[data-canvas-bp~="wide"] .offer-card h3 {
  white-space: nowrap;
}


/* (max-width: 1100px) — canvas breakpoint: tablet */
html[data-canvas-bp~="tablet"] .container,
html[data-canvas-bp~="tablet"] .container--wide {
  width: min(calc(100% - 56px), 960px);
}

html[data-canvas-bp~="tablet"] .site-header__inner {
  width: calc(100% - 48px);
  min-height: 92px;
  grid-template-columns: 1fr auto;
}

html[data-canvas-bp~="tablet"] .brand img {
  height: 70px;
}

html[data-canvas-bp~="tablet"] .nav-toggle {
  width: 60px;
  height: 60px;
  padding: 13px;
  display: grid;
  gap: 7px;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  color: var(--ivory);
  background: transparent;
}

html[data-canvas-bp~="tablet"] .nav-toggle span {
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

html[data-canvas-bp~="tablet"] .site-nav {
  position: absolute;
  top: 100%;
  right: 24px;
  left: 24px;
  padding: 26px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-radius: 0 0 26px 26px;
  background: var(--olive);
  box-shadow: var(--shadow);
}

html[data-canvas-bp~="tablet"] .site-nav.is-open {
  display: flex;
}

html[data-canvas-bp~="tablet"] .site-nav a {
  padding: 13px 10px;
  text-align: center;
}

html[data-canvas-bp~="tablet"] .header-cta {
  display: none;
}

html[data-canvas-bp~="tablet"] .hero__grid {
  min-height: clamp(420px, calc(46 * var(--vw)), 560px);
  grid-template-columns: 1fr 0.35fr;
}

/* 平板：畫布窄咗，但圖片高度一定要維持 100%（唔可以細過 hero），
   否則上下會露出冇圖蓋住嘅底色，變成兩條橫色帶。
   auto 100% → 圖闊 = 高 x 1.8404，貼右之後試管由大約 49% 開始。 */
html[data-canvas-bp~="tablet"] .hero {
  min-height: clamp(420px, calc(46 * var(--vw)), 560px);
  background-position: right center, left center;
  /* 兩層高度％必須一致，兩層先會喺同一行取色 */
  background-size: auto 100%, 300% 100%;
}

/* 收窄文字欄，令標語一定喺試管左邊斷行 */
html[data-canvas-bp~="tablet"] .hero__copy {
  max-width: 460px;
}

/* 掣之間收窄少少，令兩粒掣加起上嚟唔會伸到試管 */
html[data-canvas-bp~="tablet"] .hero__actions {
  gap: 20px;
}

/* 米色紗要喺試管（約 49%）之前散清，唔好遮到第一支試管 */
html[data-canvas-bp~="tablet"] .hero::before {
  background: linear-gradient(
    90deg,
    rgba(252, 248, 235, 0.96) 0%,
    rgba(252, 248, 235, 0.88) 24%,
    rgba(255, 255, 255, 0.65) 33%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0) 48%
  );
}

html[data-canvas-bp~="tablet"] .hero__tagline {
  white-space: normal;
}

html[data-canvas-bp~="tablet"] .offer-grid,
html[data-canvas-bp~="tablet"] .service-grid,
html[data-canvas-bp~="tablet"] .visual-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-canvas-bp~="tablet"] .offer-card:last-child,
html[data-canvas-bp~="tablet"] .service-card:last-child,
html[data-canvas-bp~="tablet"] .visual-proof-grid article:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 14px);
  justify-self: center;
}

html[data-canvas-bp~="tablet"] .problem-grid,
html[data-canvas-bp~="tablet"] .reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-canvas-bp~="tablet"] .promise-grid,
html[data-canvas-bp~="tablet"] .location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-canvas-bp~="tablet"] .process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-canvas-bp~="tablet"] .diagnosis-panel {
  grid-template-columns: 0.8fr 1.2fr;
}

html[data-canvas-bp~="tablet"] .diagnosis-panel__cta {
  grid-column: 1 / -1;
}


/* (max-width: 720px) — canvas breakpoint: mobile */
html[data-canvas-bp~="mobile"] {
  scroll-padding-top: 84px;
}

html[data-canvas-bp~="mobile"] .container,
html[data-canvas-bp~="mobile"] .container--wide {
  width: min(calc(100% - 36px), 640px);
}

html[data-canvas-bp~="mobile"] .site-header__inner {
  width: calc(100% - 30px);
  min-height: 82px;
}

html[data-canvas-bp~="mobile"] .brand img {
  height: 58px;
}

html[data-canvas-bp~="mobile"] .nav-toggle {
  width: 52px;
  height: 52px;
}

html[data-canvas-bp~="mobile"] .hero,
html[data-canvas-bp~="mobile"] .hero__grid {
  min-height: auto;
}

/* 手機：文字喺上、試管喺下，變成上下分層。
   圖片靠下並以闊度為準；130% 闊度令圖高 = 畫布闊 x 70.6%，
   啱啱喺兩粒掣下面開始，唔會壓住文字。

   呢個 breakpoint 嘅接口係「橫向」嘅（圖片頂邊），唔同桌面版嘅「直向」接口，
   所以底層唔可以照抄桌面做法（兩層嘅行對唔上，會出現一條深色橫帶）。
   做法：底層高度剪到 calc(100% - 圖高)，下邊界啱啱貼住圖片頂邊，
   再將漸變尾色設為原圖第一行嘅實測顏色 #faf2de（量度過 px[294,0]），
   接口就完全睇唔到。尾段刻意留 1px 同色，避免 sub-pixel 捨入時穿一條線。 */
html[data-canvas-bp~="mobile"] .hero {
  min-height: 640px;
  background-image:
    url("assets/hero-botanical-oils.webp"),
    linear-gradient(180deg, #fdfaf2 0%, #faf2de 92%, #faf2de 100%);
  background-position: center bottom, left top;
  /* +1px 令底層同圖片頂邊有少許重疊，杜絕捨入誤差露出底色 */
  background-size: 130% auto, 100% calc(100% - 70.6 * var(--vw) + 1px);
}

/* 手機版同樣要有全幅象牙／白紗：文字區厚、試管區仍保持明顯淡化（唔散到 0），
   同桌面邏輯一致，令圖片整體淡色啲、唔會太搶眼。 */
html[data-canvas-bp~="mobile"] .hero::before {
  background: linear-gradient(
    180deg,
    rgba(252, 248, 235, 0.97) 0%,
    rgba(252, 248, 235, 0.92) 26%,
    rgba(255, 255, 255, 0.78) 40%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 255, 255, 0.42) 68%,
    rgba(255, 255, 255, 0.34) 100%
  );
}

html[data-canvas-bp~="mobile"] .hero__grid {
  grid-template-columns: 1fr;
}

html[data-canvas-bp~="mobile"] .hero__copy {
  align-self: start;
  padding-block: 70px 40px;
}

html[data-canvas-bp~="mobile"] .hero h1 {
  font-size: clamp(40px, calc(12 * var(--vw)), 56px);
  letter-spacing: 0.12em;
}

html[data-canvas-bp~="mobile"] .hero__tagline {
  font-size: clamp(26px, calc(7 * var(--vw)), 34px);
}

html[data-canvas-bp~="mobile"] .hero h1,
html[data-canvas-bp~="mobile"] .hero__tagline {
  -webkit-text-stroke-width: 0.75px;
}

html[data-canvas-bp~="mobile"] .hero__actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

html[data-canvas-bp~="mobile"] .hero__actions .btn {
  width: 204px;
}

/* 手機版靠呢個空 div 撐開試管嘅位，文字先唔會同圖片打交。
   圖片係 background-size: 130% auto，即係
   高 = 130% x 畫布闊 ÷ 1.8404（原圖比例） = 畫布闊 x 70.6%
   = calc(70.6 * var(--vw))，所以呢度同圖片高度永遠一致。 */
html[data-canvas-bp~="mobile"] .hero__art-placeholder {
  min-height: calc(70.6 * var(--vw));
}

html[data-canvas-bp~="mobile"] .section {
  padding-block: 84px;
}

html[data-canvas-bp~="mobile"] .section-heading {
  margin-bottom: 58px;
}

html[data-canvas-bp~="mobile"] .section-heading h2 {
  font-size: clamp(34px, calc(9.4 * var(--vw)), 46px);
  letter-spacing: 0.12em;
}

/* 手機版啡色小 title（最新推出及優惠、常見頭皮問題…）加大至 30px */
html[data-canvas-bp~="mobile"] .section-heading p {
  font-size: 30px;
}

html[data-canvas-bp~="mobile"] .offer-grid,
html[data-canvas-bp~="mobile"] .service-grid,
html[data-canvas-bp~="mobile"] .visual-proof-grid,
html[data-canvas-bp~="mobile"] .reason-grid,
html[data-canvas-bp~="mobile"] .promise-grid,
html[data-canvas-bp~="mobile"] .testimonial-grid,
html[data-canvas-bp~="mobile"] .faq-grid,
html[data-canvas-bp~="mobile"] .location-grid,
html[data-canvas-bp~="mobile"] .social-links {
  grid-template-columns: 1fr;
}

html[data-canvas-bp~="mobile"] .offer-card:last-child,
html[data-canvas-bp~="mobile"] .service-card:last-child,
html[data-canvas-bp~="mobile"] .visual-proof-grid article:last-child {
  grid-column: auto;
  width: auto;
}

html[data-canvas-bp~="mobile"] .problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

html[data-canvas-bp~="mobile"] .problem-card__back {
  border-width: 6px;
}

html[data-canvas-bp~="mobile"] .problem-card strong {
  font-size: clamp(21px, calc(6 * var(--vw)), 28px);
}

html[data-canvas-bp~="mobile"] .problem-card__back strong {
  margin-bottom: 8px;
  font-size: clamp(22px, calc(5.6 * var(--vw)), 28px);
}

html[data-canvas-bp~="mobile"] .problem-card__back span,
html[data-canvas-bp~="mobile"] .problem-card__desc {
  font-size: clamp(17px, calc(4.4 * var(--vw)), 20px);
  line-height: 1.4;
}

html[data-canvas-bp~="mobile"] .problem-icon {
  width: 44px;
  height: 44px;
}

html[data-canvas-bp~="mobile"] .reason-card,
html[data-canvas-bp~="mobile"] .promise-card,
html[data-canvas-bp~="mobile"] .process-list li {
  min-height: auto;
}

html[data-canvas-bp~="mobile"] .diagnosis-panel {
  grid-template-columns: 1fr;
}

html[data-canvas-bp~="mobile"] .diagnosis-panel__image {
  height: 280px;
}

html[data-canvas-bp~="mobile"] .diagnosis-panel__copy {
  padding: 42px 28px;
}

html[data-canvas-bp~="mobile"] .diagnosis-panel__copy ul {
  font-size: 18px;
}

html[data-canvas-bp~="mobile"] .diagnosis-panel__cta {
  grid-column: auto;
}

html[data-canvas-bp~="mobile"] .process-list {
  grid-template-columns: 1fr;
}

html[data-canvas-bp~="mobile"] .process-list h3 {
  margin-top: 26px;
}

html[data-canvas-bp~="mobile"] .faq-grid {
  gap: 20px;
}

html[data-canvas-bp~="mobile"] .faq-grid details,
html[data-canvas-bp~="mobile"] .faq-grid details[open] {
  border-radius: 24px;
}

html[data-canvas-bp~="mobile"] .faq-grid summary {
  min-height: 74px;
  padding: 16px 22px;
}

html[data-canvas-bp~="mobile"] .lead-form {
  padding: 36px 22px;
  grid-template-columns: 1fr;
  gap: 44px;
}

html[data-canvas-bp~="mobile"] .lead-form__inquiry > img {
  width: 250px;
}

html[data-canvas-bp~="mobile"] .form-note,
html[data-canvas-bp~="mobile"] .form-status {
  grid-column: auto;
}

html[data-canvas-bp~="mobile"] .form-field input {
  min-height: 68px;
}

html[data-canvas-bp~="mobile"] .social-links {
  gap: 24px;
}

html[data-canvas-bp~="mobile"] .site-footer {
  min-height: 460px;
  padding-block: 90px;
  padding-inline: 18px;
}

/* 手機版 footer 標語盡量單行，避免「彩」或英文中段獨行 */
html[data-canvas-bp~="mobile"] .site-footer p {
  margin-top: 36px;
  font-size: clamp(15px, calc(4.1 * var(--vw)), 20px);
  letter-spacing: 0.08em;
  line-height: 1.35;
  white-space: nowrap;
}

html[data-canvas-bp~="mobile"] .site-footer span {
  margin-top: 10px;
  font-size: clamp(13px, calc(3.5 * var(--vw)), 17px);
  white-space: nowrap;
  text-wrap: nowrap;
}

html[data-canvas-bp~="mobile"] .whatsapp-float {
  right: 14px;
  bottom: 14px;
}

/* 手機版字體工具：細一檔、面板向上展開，避免出界遮住 section title / WhatsApp */
html[data-canvas-bp~="mobile"] .text-scaler {
  right: 12px;
  top: auto;
  bottom: 86px;
  transform: none;
  flex-direction: column-reverse;
  gap: 8px;
  max-width: min(176px, calc(100% - 24px));
}

html[data-canvas-bp~="mobile"] .text-scaler__handle {
  width: 44px;
  height: 44px;
  border-width: 2px;
}

html[data-canvas-bp~="mobile"] .text-scaler__handle-small {
  font-size: 12px;
}

html[data-canvas-bp~="mobile"] .text-scaler__handle-large {
  font-size: 18px;
}

html[data-canvas-bp~="mobile"] .text-scaler__panel {
  width: 168px;
  max-width: 100%;
  padding: 14px 14px 12px;
  border-width: 2px;
  border-radius: 18px;
  box-sizing: border-box;
}

html[data-canvas-bp~="mobile"] .text-scaler__title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

html[data-canvas-bp~="mobile"] .text-scaler__controls {
  gap: 8px;
}

html[data-canvas-bp~="mobile"] .text-scaler__btn {
  width: 36px;
  height: 36px;
  border-width: 2px;
  font-size: 18px;
}

html[data-canvas-bp~="mobile"] .text-scaler__value {
  font-size: 15px;
}

html[data-canvas-bp~="mobile"] .text-scaler__reset {
  margin-top: 10px;
  min-height: 34px;
  padding: 4px 10px;
  border-width: 1.5px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

html[data-canvas-bp~="mobile"] .whatsapp-float__bubble {
  display: none;
}

html[data-canvas-bp~="mobile"] .whatsapp-float__button {
  width: 58px;
  height: 58px;
  min-height: 58px;
}


/* ==========================================================================
   大字模式（字體控制器 ≥125% / ≥145%）
   --------------------------------------------------------------------------
   用戶倍率會用 CSS zoom 放大成張畫布，邏輯闊度會同步收窄，
   但字級仍然鎖喺 1920 設計值，令多欄卡片出現：
   ・四字標題孤字斷行（3+1）
   ・說明被 line-clamp 裁切
   ・nowrap 標題溢出卡片
   呢度按 data-user-scale 分級微調字距、字級、行數同欄距。
   ========================================================================== */
html[data-user-scale="large"] .problem-card__face,
html[data-user-scale="xlarge"] .problem-card__face {
  padding: clamp(12px, calc(0.95 * var(--vw)), 22px);
}

html[data-user-scale="large"] .problem-icon,
html[data-user-scale="xlarge"] .problem-icon {
  width: clamp(44px, calc(3.1 * var(--vw)), 64px);
  height: clamp(44px, calc(3.1 * var(--vw)), 64px);
}

html[data-user-scale="large"] .problem-card strong {
  margin-top: 12px;
  font-size: clamp(22px, calc(1.45 * var(--vw)), 34px);
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 100%;
  /* 四字標題：優先保持一行；不夠位時由 balance 拆成 2+2 */
  text-wrap: balance;
}

html[data-user-scale="xlarge"] .problem-card strong {
  margin-top: 10px;
  font-size: clamp(20px, calc(1.28 * var(--vw)), 30px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  max-width: 100%;
  text-wrap: balance;
}

html[data-user-scale="large"] .problem-card__back strong,
html[data-user-scale="xlarge"] .problem-card__back strong {
  max-width: none;
  font-size: clamp(22px, calc(1.3 * var(--vw)), 30px);
  letter-spacing: 0.08em;
}

html[data-user-scale="large"] .problem-card__back span,
html[data-user-scale="large"] .problem-card__desc,
html[data-user-scale="xlarge"] .problem-card__back span,
html[data-user-scale="xlarge"] .problem-card__desc {
  font-size: clamp(16px, calc(1.05 * var(--vw)), 24px);
  line-height: 1.4;
}

html[data-user-scale="large"] .reason-card,
html[data-user-scale="large"] .promise-card,
html[data-user-scale="large"] .process-list li,
html[data-user-scale="xlarge"] .reason-card,
html[data-user-scale="xlarge"] .promise-card,
html[data-user-scale="xlarge"] .process-list li {
  min-height: 0;
  padding: clamp(22px, calc(1.55 * var(--vw)), 36px);
}

html[data-user-scale="large"] .reason-card strong,
html[data-user-scale="large"] .promise-card > span,
html[data-user-scale="xlarge"] .reason-card strong,
html[data-user-scale="xlarge"] .promise-card > span {
  font-size: 28px;
  letter-spacing: 0.12em;
}

html[data-user-scale="large"] .reason-card h3,
html[data-user-scale="large"] .promise-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(28px, calc(1.55 * var(--vw)), 38px);
  letter-spacing: 0.06em;
  line-height: 1.28;
  max-width: 100%;
  text-wrap: balance;
}

html[data-user-scale="xlarge"] .reason-card h3,
html[data-user-scale="xlarge"] .promise-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(24px, calc(1.35 * var(--vw)), 34px);
  letter-spacing: 0.05em;
  line-height: 1.28;
  max-width: 100%;
  text-wrap: balance;
}

/* 選擇我們：四字標題喺大字模式穩定 2+2，避免 3+1 孤字 */
html[data-user-scale="large"] .reason-card h3,
html[data-user-scale="xlarge"] .reason-card h3 {
  max-width: 2.5em;
}

html[data-user-scale="large"] .reason-card p,
html[data-user-scale="large"] .promise-card p {
  font-size: clamp(20px, calc(1.12 * var(--vw)), 26px);
  line-height: 1.5;
}

html[data-user-scale="xlarge"] .reason-card p,
html[data-user-scale="xlarge"] .promise-card p {
  font-size: clamp(18px, calc(1.02 * var(--vw)), 24px);
  line-height: 1.45;
}

html[data-user-scale="large"] .reason-card p,
html[data-user-scale="xlarge"] .reason-card p {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

html[data-user-scale="large"] .process-list span,
html[data-user-scale="xlarge"] .process-list span {
  font-size: 32px;
}

html[data-user-scale="large"] .process-list h3 {
  margin: 28px 0 14px;
  font-size: clamp(24px, calc(1.35 * var(--vw)), 34px);
  letter-spacing: 0.02em;
  white-space: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

html[data-user-scale="xlarge"] .process-list h3 {
  margin: 22px 0 12px;
  font-size: clamp(22px, calc(1.2 * var(--vw)), 30px);
  letter-spacing: 0.01em;
  white-space: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

html[data-user-scale="large"] .process-list p,
html[data-user-scale="xlarge"] .process-list p {
  font-size: clamp(18px, calc(1.05 * var(--vw)), 26px);
  line-height: 1.45;
}

/* 極大字：五欄太窄，改三欄避免標題同內文再被擠爆 */
html[data-user-scale="xlarge"] .reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-user-scale="xlarge"] .process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html[data-user-scale="xlarge"] .promise-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 大字時側邊工具唔好遮住最右卡片內容 */
html[data-user-scale="large"] .text-scaler,
html[data-user-scale="xlarge"] .text-scaler {
  right: 18px;
}

html[data-user-scale="large"] .whatsapp-float,
html[data-user-scale="xlarge"] .whatsapp-float {
  right: 18px;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .problem-card:hover .problem-card__inner,
  .problem-card:focus-visible .problem-card__inner,
  .problem-card.is-flipped .problem-card__inner {
    transform: none;
    -webkit-transform: none;
  }

  .problem-card:hover .problem-card__front,
  .problem-card:focus-visible .problem-card__front,
  .problem-card.is-flipped .problem-card__front {
    visibility: hidden;
  }

  .problem-card__back {
    transform: none;
    -webkit-transform: none;
    visibility: hidden;
  }

  .problem-card:hover .problem-card__back,
  .problem-card:focus-visible .problem-card__back,
  .problem-card.is-flipped .problem-card__back {
    visibility: visible;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }

  .offer-card:hover,
  .reason-card:hover,
  .promise-card:hover,
  .service-card:hover,
  .testimonial-grid article:hover,
  .location-grid article:hover,
  .process-list li:hover,
  .faq-grid details[open],
  .visual-proof-grid article:hover,
  .diagnosis-panel:hover,
  .lead-form:hover,
  .social-links a:hover,
  .problem-card:hover,
  .problem-card:focus-visible,
  .whatsapp-float__button:hover,
  .brand:hover img {
    transform: none;
  }

  .service-card:hover > img,
  .visual-proof-grid article:hover img,
  .location-grid article:hover img,
  .diagnosis-panel:hover .diagnosis-panel__image,
  .offer-card__image:hover img,
  .social-links a:hover .social-icon {
    transform: none;
  }
}
