/* ══════════════════════════════════════════════════════════
   台中雅典娜醫美診所 — main.css
   色系與版型延續 ATHENA 版型，擴充為 5 大分類、Hero 輪播、
   LINE 導流與完整 RWD。
   ══════════════════════════════════════════════════════════ */

:root {
  --ink: #30302c;
  --paper: #f7f5f0;
  --cream: #eee8df;
  --sand: #eae5dc;
  --taupe: #a78e76;
  --deep: #393830;
  --accent: #9d846d;
  --accent-dark: #6b5949;
  --muted: #6f6960;
  --line: rgba(49, 48, 43, .16);
  --line-light: rgba(255, 255, 255, .28);
  --serif: "Noto Serif TC", "Songti TC", Georgia, serif;
  --sans: "Noto Sans TC", -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(49, 48, 43, .45);
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 14px 22px; background: var(--deep); color: #fff;
  font: 500 14px var(--sans);
}
.skip-link:focus { left: 12px; top: 12px; }

.muted { color: var(--muted); font-size: 13px; }

/* ── 共用排版 ────────────────────────────────── */

.section { padding: clamp(64px, 9vw, 118px) max(6vw, 24px); }
.section.compact { padding-block: clamp(56px, 7vw, 92px); }

.eyebrow {
  margin: 0 0 20px;
  font: 500 10px/1.5 var(--sans);
  letter-spacing: .28em;
  color: #8a715b;
  text-transform: uppercase;
}
.eyebrow.light { color: #efe6da; }

h1, h2, h3 { font-weight: 400; letter-spacing: .03em; }
h1 { margin: 0; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.2; }
h2 { margin: 0; font-size: clamp(30px, 3.9vw, 56px); line-height: 1.3; }
h3 { margin: 0; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.5; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.section-heading {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: clamp(36px, 4.5vw, 58px); flex-wrap: wrap;
}
.section-heading > p { max-width: 380px; margin: 0; font-size: 14px; line-height: 2; color: var(--muted); }
.section-more { margin-top: 40px; text-align: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding-bottom: 7px; border-bottom: 1px solid var(--accent);
  font: 500 12px var(--sans); letter-spacing: .12em; color: var(--accent-dark);
  transition: gap .25s, color .25s;
}
.text-link:hover { gap: 22px; color: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 168px; padding: 16px 26px; border-radius: 99px;
  font: 500 13px var(--sans); letter-spacing: .1em;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); }
.button.lg { width: 100%; padding: 19px 26px; }
.button.fill { color: #4c4034; background: #f4eee6; }
.button.fill:hover { background: #fff; }
.button.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.button.ghost:hover { background: rgba(255, 255, 255, .12); }
.button.ghost-dark { color: var(--accent-dark); border: 1px solid #c3b3a1; }
.button.ghost-dark:hover { background: var(--cream); }
.button.outline-light { width: max-content; color: #fff; border: 1px solid var(--line-light); }
.button.outline-light:hover { background: rgba(255, 255, 255, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 11px 20px; border: 1px solid #cabfb2; border-radius: 99px;
  font: 400 13px var(--sans); color: var(--accent-dark); transition: .22s;
}
.chip:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin-bottom: 24px; font: 400 12px var(--sans); color: var(--muted);
}
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { opacity: .45; }

.page-notice {
  margin: 0; padding: 30px max(6vw, 24px);
  background: var(--cream); border-top: 1px solid var(--line);
  font: 400 12px/2 var(--sans); color: #6a635a;
}

.legal-note { margin: 34px 0 0; font: 400 12px/1.95 var(--sans); color: #8a8379; }

/* ── Header ──────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  height: var(--header-h); padding: 0 max(4vw, 20px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #e6e0d8;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-size: 26px; color: var(--taupe); }
.brand b { display: block; font: 500 21px/1.1 Georgia, serif; letter-spacing: .17em; }
.brand small { display: block; margin-top: 3px; font: 400 8px var(--sans); letter-spacing: .24em; color: #82786d; }

.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 40px); }
.site-header nav > a, .has-sub > a {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 0; font: 400 15px var(--sans); letter-spacing: .06em; color: #49463f;
  transition: color .22s;
}
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px;
  height: 1px; background: var(--accent); transition: right .25s;
}
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { right: 0; }
.has-sub > a i { font-size: 11px; font-style: normal; opacity: .75; transition: transform .25s; }
.has-sub > a i::before { content: "▾"; }
.has-sub:hover > a i, .has-sub:focus-within > a i { transform: rotate(180deg); }

.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; padding: 10px; background: #fff;
  border: 1px solid #e6e0d8; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: .22s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 16px;
  font: 400 14px var(--sans); color: #4b473f;
}
.submenu a::after { display: none; }
.submenu a span { flex: 0 0 22px; font: 500 9px var(--sans); letter-spacing: .18em; color: var(--taupe); }
.submenu a:hover { background: var(--cream); color: var(--accent-dark); }
.submenu-all { border-bottom: 1px solid #ece5db; margin-bottom: 4px; font-weight: 500; }

.nav-cta {
  justify-self: end; padding: 14px 24px; border: 1px solid #b9a690; border-radius: 99px;
  font: 500 14px var(--sans); letter-spacing: .06em; color: var(--accent-dark);
  white-space: nowrap; transition: .25s;
}
.nav-cta:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: .25s; }

/* ── Hero 輪播 ───────────────────────────────── */

.hero {
  position: relative; min-height: 620px; height: calc(100svh - var(--header-h));
  max-height: 900px; overflow: hidden; color: #fff;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, center);
}
/* 直式螢幕改用 --pos-m（hero.json 的 position_mobile），未設定則沿用桌機值 */
@media (orientation: portrait) {
  .hero-slide img { object-position: var(--pos-m, var(--pos, center)); }
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(46, 39, 31, .68) 0%, rgba(58, 49, 40, .34) 46%, rgba(0, 0, 0, .06) 100%);
}
.hero-slide[data-tone="dark"] { color: var(--ink); }
.hero-slide[data-tone="dark"] .hero-shade {
  background: linear-gradient(92deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, .04) 100%);
}
.hero-slide[data-tone="dark"] .eyebrow.light { color: var(--accent-dark); }

.hero-content {
  position: absolute; top: 50%; left: max(7vw, 24px);
  transform: translateY(-46%); max-width: 620px; padding-right: 20px;
}
.hero-content h1 { margin: 0 0 26px; text-shadow: 0 2px 30px rgba(40, 32, 22, .28); }
.hero-copy { font-size: clamp(15px, 1.2vw, 17px); line-height: 2.1; letter-spacing: .1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-foot {
  position: absolute; left: max(4vw, 20px); right: max(4vw, 20px); bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 16px; border-top: 1px solid var(--line-light);
  font: 500 9px var(--sans); letter-spacing: .24em;
}
/* 讓出右下角浮動 LINE 按鈕的空間，避免文字被蓋住 */
.hero-foot > :last-child { padding-right: 78px; }
.hero-dots { display: flex; gap: 9px; }
.hero-dots button {
  width: 30px; height: 3px; padding: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .35); transition: background .25s;
}
.hero-dots button.is-active { background: #fff; }
.hero[data-single] .hero-dots { display: none; }

/* ── 首頁區塊 ────────────────────────────────── */

.intro {
  display: grid; grid-template-columns: 1.05fr .9fr .32fr;
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.intro h2 { font-size: clamp(32px, 4.4vw, 62px); }
.intro-copy { padding-top: 30px; font-size: 16px; line-height: 2.15; color: #635d55; }
.intro-copy .text-link { margin-top: 22px; }
.intro-seal {
  width: 138px; height: 138px; justify-self: end;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid #b5a89a; border-radius: 50%; color: #897765; transform: rotate(8deg);
}
.intro-seal span { font: 400 8px var(--sans); letter-spacing: .22em; }
.intro-seal b { font-size: 26px; font-weight: 400; }

.treatments { background: var(--sand); }
.treatment-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.treatment-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.treatment-card {
  position: relative; min-height: 460px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; transition: background .3s, transform .3s;
}
.treatment-card:hover { background: #f6f2eb; transform: translateY(-6px); }
.card-top { display: flex; justify-content: space-between; font: 500 9px var(--sans); letter-spacing: .2em; color: #7b7066; }
.line-art { position: absolute; top: 68px; left: 50%; width: 150px; height: 172px; transform: translateX(-50%); opacity: .5; }
.line-art i { position: absolute; inset: 10px 24px; display: block; border: 1px solid var(--taupe); border-radius: 48% 52% 45% 55%; transform: rotate(18deg); }
.line-art i:nth-child(2) { inset: 30px 6px; transform: rotate(63deg); }
.line-art i:nth-child(3) { inset: 22px 38px; transform: rotate(117deg); }
.treatment-card .card-body { position: relative; }
.treatment-card h3 { margin: 0 0 10px; font-size: 25px; }
.treatment-card p { min-height: 68px; margin: 0; font-size: 13px; line-height: 1.9; color: var(--muted); }
.treatment-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.treatment-card li { padding: 6px 10px; border: 1px solid #c8bdb1; border-radius: 99px; font: 400 10px var(--sans); }
.card-link {
  position: absolute; right: 18px; top: 44%; width: 40px; height: 40px;
  display: grid; place-items: center; border: 1px solid #aa9d8f; border-radius: 50%;
  transition: .25s;
}
.card-link:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.space-section {
  min-height: 660px; display: grid; grid-template-columns: 56% 44%;
  background: #4a4941; color: #fff;
}
.space-image img { width: 100%; height: 100%; object-fit: cover; }
.space-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 76px) max(6vw, 28px); }
.space-copy h2 { font-size: clamp(30px, 4.1vw, 58px); }
.space-copy > p:not(.eyebrow) { max-width: 460px; margin: 26px 0; color: #d5d0c8; line-height: 2.05; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 38px; padding: 24px 0;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.stats div { display: flex; flex-direction: column; gap: 7px; }
.stats b { font: 400 27px Georgia, serif; }
.stats span { font: 400 11px var(--sans); color: #c7c2ba; }

.doctors { background: var(--paper); }
.heading-side { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.heading-side > p { max-width: 380px; margin: 0; font-size: 14px; line-height: 2; color: var(--muted); text-align: right; }

/* 首頁醫師輪播：原生 scroll-snap + 箭頭按鈕，手機可直接滑 */
.carousel-nav { display: flex; gap: 10px; }
.cnav-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid #c3b6a7; border-radius: 50%; font-size: 15px; color: var(--accent-dark);
  transition: .22s;
}
.cnav-btn:hover:not(:disabled) { color: #fff; background: var(--accent); border-color: var(--accent); }
.cnav-btn:disabled { opacity: .3; cursor: default; }

.doctor-carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px;
}
.doctor-carousel::-webkit-scrollbar { display: none; }
.doctor-carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.doctor-carousel .doctor-card { scroll-snap-align: start; }

.doctor-card { padding: 16px; background: #efebe4; transition: transform .3s; }
.doctor-card:hover { transform: translateY(-5px); }
.doctor-portrait {
  display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden;
  background: #fff;
}
/* contain：完整呈現整張照片，不裁切（各醫師原圖比例不一） */
.doctor-portrait img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.doctor-card:hover .doctor-portrait img { transform: scale(1.03); }
.doctor-meta { padding: 22px 6px 12px; }
.doctor-meta small { font: 500 9px var(--sans); letter-spacing: .17em; color: #8d7968; }
.doctor-meta h3 { margin: 7px 0; font-size: 24px; }
.doctor-meta p { margin: 0; font: 400 12px var(--sans); color: #7a746c; }
.doctor-card .text-link { margin: 0 6px 6px; }

.process { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step { padding: 30px 22px; background: rgba(255, 255, 255, .58); border: 1px solid var(--line); }
.step b { font: 400 12px var(--sans); letter-spacing: .2em; color: var(--taupe); }
.step span { display: block; margin: 14px 0 12px; font-size: 20px; color: var(--taupe); }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; font: 400 13px/1.85 var(--sans); color: var(--muted); }

.news-list { display: flex; flex-direction: column; }
.news-item {
  position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--line); transition: background .25s;
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:hover { background: rgba(255, 255, 255, .5); }
.news-visual { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(140deg, #ded3c4, #f2ece3); }
.news-visual.nv-2 { background: linear-gradient(140deg, #d9cfc6, #ebe2d6); }
.news-visual.nv-3 { background: linear-gradient(140deg, #cfc6bb, #e7ded1); }
.news-visual span { font: 500 22px Georgia, serif; color: rgba(255, 255, 255, .85); }
.post-meta { display: flex; gap: 16px; margin: 0 0 8px; font: 400 11px var(--sans); letter-spacing: .1em; color: #8a8279; }
.news-item h3 { margin: 0; font-size: clamp(18px, 1.7vw, 24px); }
.news-item .card-link { top: 50%; transform: translateY(-50%); right: 6px; }

/* ── CTA 區塊 ────────────────────────────────── */

.cta-block {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding: clamp(56px, 7vw, 96px) max(6vw, 24px);
  background: var(--deep); color: #f3ece2;
}
.cta-block h2 { font-size: clamp(28px, 3.5vw, 50px); }
.cta-block p { margin-top: 20px; color: #cdc5b9; line-height: 2.05; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions .button { width: 100%; }
.cta-note { margin: 6px 0 0; font: 400 12px var(--sans); color: #a79e92; text-align: center; }

/* ── 內頁 hero ──────────────────────────────── */

.inner-hero {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px); align-items: end;
  padding: clamp(48px, 6.5vw, 96px) max(6vw, 24px);
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.inner-hero > p { max-width: 460px; margin: 0 0 6px; font-size: 15px; line-height: 2.05; color: #645e56; }
.inner-orbit {
  position: absolute; right: max(5vw, 20px); top: 22%;
  width: 118px; height: 118px; display: grid; place-items: center;
  border: 1px solid #c0b3a4; border-radius: 50%; color: #a8957f; font-size: 26px;
  opacity: .55; pointer-events: none;
}

/* ── 分類 / 療程頁 ──────────────────────────── */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cat-card { padding: 32px 28px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card h2 { margin: 18px 0 12px; font-size: 28px; }
.cat-card > p { font: 400 13px/1.95 var(--sans); color: var(--muted); }
.cat-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.cat-list a { display: block; padding: 7px 13px; border: 1px solid #cec4b8; border-radius: 99px; font: 400 12px var(--sans); transition: .22s; }
.cat-list a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.cat-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.cat-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 84px) max(6vw, 24px); }
.cat-hero-copy .lead { max-width: 480px; margin-top: 22px; font-size: 15px; line-height: 2.1; color: #645e56; }
.cat-hero-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 40px; color: #fff; text-align: center;
  background: linear-gradient(150deg, #6f6353, #a08d74);
}
.cat-hero-visual.cat-surgery { background: linear-gradient(150deg, #4f5a54, #86928a); }
.cat-hero-visual.cat-injection { background: linear-gradient(150deg, #7a6656, #b39a80); }
.cat-hero-visual.cat-laser { background: linear-gradient(150deg, #5b5566, #9a8ea5); }
.cat-hero-visual.cat-lifting { background: linear-gradient(150deg, #6d5b52, #ab9182); }
.cat-hero-visual.cat-regenerative { background: linear-gradient(150deg, #4d5a5f, #8ba0a5); }
.cat-hero-visual span { font: 500 9px var(--sans); letter-spacing: .28em; opacity: .8; }
.cat-hero-visual b { font: 400 clamp(38px, 4.6vw, 66px)/1 Georgia, serif; letter-spacing: .06em; }
.cat-hero-visual small { font: 400 9px var(--sans); letter-spacing: .2em; opacity: .7; }

.overview, .split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.overview-copy, .split-copy { font-size: 15px; line-height: 2.1; color: #635d55; }
.points, .value-grid, .process-grid { display: grid; gap: 20px; margin-top: 38px; }
.points { grid-template-columns: repeat(3, 1fr); }
.value-grid, .process-grid { grid-template-columns: repeat(4, 1fr); }
.points article, .value-grid article, .process-grid article { padding: 26px 22px; background: #fff; border: 1px solid var(--line); }
.points b, .value-grid b, .process-grid b { font: 400 11px var(--sans); letter-spacing: .2em; color: var(--taupe); }
.points h3, .value-grid h3, .process-grid h3 { margin: 12px 0 8px; font-size: 19px; }
.points p, .value-grid p, .process-grid p { margin: 0; font: 400 13px/1.85 var(--sans); color: var(--muted); }

.menu-section { background: var(--sand); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 38px; }
.menu-grid.sm { margin-top: 22px; }
.menu-grid article { padding: 28px 24px; background: #fff; border: 1px solid var(--line); }
.menu-grid small { font: 500 9px var(--sans); letter-spacing: .2em; color: var(--taupe); }
.menu-grid h3 { margin: 12px 0 10px; font-size: 22px; }
.menu-grid p { margin: 0 0 16px; font: 400 13px/1.9 var(--sans); color: var(--muted); }

.fit-section { background: var(--deep); color: #f0e9df; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.fit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); }
.fit-list > div { display: flex; align-items: baseline; gap: 16px; padding: 26px 22px; background: var(--deep); }
.fit-list.inline { background: var(--line); margin-top: 22px; }
.fit-list.inline > div { background: var(--paper); }
.fit-list b { font: 400 11px var(--sans); letter-spacing: .18em; color: var(--taupe); }
.fit-list p { margin: 0; font-size: 15px; line-height: 1.8; }

/* ── 療程內文 ───────────────────────────────── */

.tx-page { padding: clamp(44px, 6vw, 84px) max(6vw, 24px) 0; }
.tx-head { max-width: 900px; margin: 0 auto clamp(32px, 4vw, 52px); }
.tx-head h1 { margin: 12px 0 20px; }
.tx-deck { max-width: 700px; font-size: clamp(15px, 1.3vw, 18px); line-height: 2.05; color: #5d5750; }

.answer-box {
  max-width: 900px; margin: 0 auto clamp(36px, 4.5vw, 60px); padding: 30px 32px;
  background: var(--cream); border-left: 3px solid var(--accent);
}
.answer-label { margin: 0 0 12px; font: 500 10px var(--sans); letter-spacing: .22em; color: var(--accent-dark); }
.answer-box p:last-child { margin: 0; font-size: 15px; line-height: 2.05; }

.notice-banner {
  max-width: 900px; margin: 0 auto 32px; padding: 22px 26px;
  background: #fdf5e8; border: 1px solid #e0c9a0;
}
.notice-banner strong { display: block; margin-bottom: 8px; font: 500 12px var(--sans); letter-spacing: .12em; color: #92702f; }
.notice-banner p { margin: 0; font: 400 14px/1.95 var(--sans); color: #6d5730; }

.tx-body { max-width: 900px; margin: 0 auto; }
.tx-body.narrow { max-width: 780px; }
.tx-block { margin-bottom: clamp(36px, 4.5vw, 58px); }
.tx-block h2 { margin-bottom: 20px; font-size: clamp(24px, 2.5vw, 34px); }
.tx-block p { font-size: 15px; line-height: 2.1; color: #56514a; }

.risk-block { padding: 30px 32px; background: #faf2f0; border-left: 3px solid #b98a7e; }
.risk-block h2 { color: #8e5d4f; }
.contra-block { padding: 30px 32px; background: var(--sand); border-left: 3px solid var(--taupe); }

.care-list { margin: 0; padding-left: 22px; }
.care-list li { margin-bottom: 12px; font-size: 15px; line-height: 1.95; color: #56514a; }

.faq-list details {
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer; list-style: none; font-size: 17px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 300 24px var(--sans); color: var(--taupe); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 16px 0 0; font-size: 15px; line-height: 2.05; color: #56514a; }

.tx-siblings { padding: 40px 0 clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); max-width: 900px; margin: 0 auto; }
.tx-siblings > div { display: flex; flex-wrap: wrap; gap: 10px; }
.tx-siblings a {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px;
  border: 1px solid #cec4b8; border-radius: 99px; font: 400 14px var(--sans); transition: .22s;
}
.tx-siblings a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.doctor-chips { background: var(--cream); }

/* ── 醫師頁 ─────────────────────────────────── */

.team-directory { padding: clamp(40px, 5vw, 70px) max(6vw, 24px); }
.team-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.team-toolbar p { margin: 0; font: 400 14px var(--sans); }
.team-toolbar p span { font: 500 9px var(--sans); letter-spacing: .22em; color: var(--taupe); margin-right: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 10px 18px; border: 1px solid #cec4b8; border-radius: 99px;
  font: 400 13px var(--sans); color: var(--accent-dark); transition: .22s;
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #efebe4; padding: 14px; transition: transform .3s, opacity .3s; }
.team-card:hover { transform: translateY(-5px); }
.team-card[hidden] { display: none; }
.team-portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4;
  overflow: hidden; background: #fff;
}
.team-portrait img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.team-card:hover .team-portrait img { transform: scale(1.03); }
.team-portrait b { position: absolute; left: 12px; bottom: 10px; text-shadow: 0 1px 6px rgba(0,0,0,.45); font: 400 11px var(--sans); letter-spacing: .16em; color: rgba(255, 255, 255, .9); }
.team-card-copy { padding: 18px 6px 8px; }
.team-card-copy small { font: 500 9px var(--sans); letter-spacing: .17em; color: #8d7968; }
.team-card-copy h2 { margin: 8px 0; font-size: 22px; }
.team-card-copy h2 span { font-size: 14px; color: var(--muted); }
.team-card-copy > p { margin: 0 0 14px; font: 400 12px/1.8 var(--sans); color: #7a746c; }

.team-intro, .team-values { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.team-intro > div:last-child { font-size: 15px; line-height: 2.1; color: #635d55; }
.team-values { background: var(--cream); align-items: center; }

.doctor-hero {
  display: grid; grid-template-columns: 42% 58%;
  height: clamp(520px, 62vw, 660px); overflow: hidden; background: var(--cream);
}
.doctor-main-portrait {
  height: 100%; overflow: hidden; display: grid; place-items: center;
  background: #fff;
}
/* contain：完整呈現整張醫師照，不裁切頭以下的部分 */
.doctor-main-portrait img { width: 100%; height: 100%; object-fit: contain; }
.doctor-main-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 76px) max(5vw, 24px); }
.doctor-main-copy h1 { margin: 10px 0 24px; }
.doctor-main-copy h1 small { font-size: .45em; color: var(--muted); margin-left: 10px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag { padding: 8px 16px; background: #fff; border: 1px solid #d5cabd; border-radius: 99px; font: 400 12px var(--sans); transition: .22s; }
.tag:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.doctor-main-copy .button { width: max-content; }

.doctor-profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 66px); align-items: start; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.spec-list li { padding: 14px 18px; background: var(--cream); font-size: 15px; line-height: 1.8; }
.spec-groups { display: grid; gap: 18px; }
.spec-group { padding: 20px 22px; background: var(--cream); }
.spec-group h3 { margin: 0 0 8px; font-size: 17px; color: var(--accent-dark); }
.spec-group p { margin: 0; font-size: 14px; line-height: 2; color: #5d5750; }

.credentials { background: var(--sand); }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 38px; }
.credential-grid h3 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 18px; }
.credential-grid ul { margin: 0; padding-left: 18px; }
.credential-grid li { margin-bottom: 9px; font: 400 13.5px/1.85 var(--sans); color: #56514a; }

.rel-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.rel-doc { display: block; text-align: center; }
.rel-doc img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; background: var(--cream); }
.rel-doc span { display: block; margin-top: 12px; font: 400 14px var(--sans); }
.rel-doc:hover span { color: var(--accent); }

/* ── 聯絡頁 ─────────────────────────────────── */

.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail-list { display: grid; gap: 26px; margin-top: 36px; }
.detail-list > div { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.detail-list small { display: block; margin-bottom: 8px; font: 500 9px var(--sans); letter-spacing: .22em; color: var(--taupe); }
.detail-list p { margin: 0 0 10px; font-size: 17px; }
.detail-list p a { border-bottom: 1px solid transparent; transition: .2s; }
.detail-list p a:hover { border-color: var(--accent); color: var(--accent); }
.detail-list p a + a { margin-left: 16px; }

.line-card { padding: clamp(32px, 4vw, 48px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.line-card h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 34px); }
.line-card > p { font-size: 15px; line-height: 2.05; color: #5d5750; }
.line-id {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 26px 0; padding: 18px 22px; background: var(--cream);
}
.line-id span { font: 500 9px var(--sans); letter-spacing: .22em; color: var(--taupe); }
.line-id b { font: 400 22px Georgia, serif; letter-spacing: .06em; }
.line-card .button + .button { margin-top: 10px; }
.form-note { margin-top: 22px; font: 400 12px/1.9 var(--sans); color: #8a8379; }

.map-section { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 440px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: grayscale(.35); }
.map-section aside { padding: clamp(36px, 4.5vw, 64px) max(5vw, 24px); background: var(--deep); color: #eee7dc; }
.map-section aside h2 { margin-bottom: 28px; font-size: clamp(24px, 2.4vw, 32px); }
.map-section dl { margin: 0; }
.map-section dt { margin-top: 22px; font: 500 11px var(--sans); letter-spacing: .16em; color: var(--taupe); }
.map-section dd { margin: 8px 0 0; font-size: 14px; line-height: 1.95; color: #cbc3b7; }

/* ── 保養品 ─────────────────────────────────── */

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.product-card { padding: 26px 24px; background: #fff; border: 1px solid var(--line); }
.product-card h3 { margin: 0 0 8px; font-size: 20px; }
.product-card .price { margin: 0 0 14px; font: 500 14px var(--sans); color: var(--accent-dark); }
.product-card p { font: 400 13.5px/1.9 var(--sans); color: var(--muted); }
.product-card .use { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card .use b { display: block; margin-bottom: 5px; font: 500 10px var(--sans); letter-spacing: .18em; color: var(--taupe); }

/* ── 部落格 ─────────────────────────────────── */

.journal-shell { padding: clamp(40px, 5vw, 70px) max(6vw, 24px); }
.journal-filter { margin-bottom: 40px; }

.featured-post { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4vw, 52px); align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.feature-visual { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(145deg, #cfc3b3, #efe8dd); }
.feature-visual span { position: absolute; top: 20px; left: 20px; font: 500 9px var(--sans); letter-spacing: .22em; color: rgba(255, 255, 255, .9); }
.feature-visual b { font: 400 70px Georgia, serif; color: rgba(255, 255, 255, .8); }
.featured-post h2 { margin: 12px 0 18px; font-size: clamp(26px, 2.9vw, 40px); }
.featured-post h2 a:hover { color: var(--accent); }
.featured-post > div > p:not(.post-meta) { font-size: 15px; line-height: 2.05; color: #5d5750; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.post-card[hidden] { display: none; }
.post-cover { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 18px; background: linear-gradient(145deg, #d6cabb, #efe8dd); }
.post-cover.c1 { background: linear-gradient(145deg, #cfc0bb, #ece2dc); }
.post-cover.c2 { background: linear-gradient(145deg, #c3ccc2, #e3eae0); }
.post-cover.c3 { background: linear-gradient(145deg, #d8cfc0, #f0e9dc); }
.post-cover.c4 { background: linear-gradient(145deg, #c8c4cf, #e6e3ec); }
.post-cover span { font: 400 34px Georgia, serif; color: rgba(255, 255, 255, .85); }
.post-card h3 { margin: 8px 0 12px; font-size: 21px; line-height: 1.55; }
.post-card h3 a:hover { color: var(--accent); }
.post-card > p:not(.post-meta) { margin-bottom: 14px; font: 400 13.5px/1.9 var(--sans); color: var(--muted); }

.article-page { padding: clamp(40px, 5vw, 76px) max(6vw, 24px) 0; }
.article-head { max-width: 860px; margin: 0 auto clamp(32px, 4vw, 52px); }
.article-head h1 { margin: 12px 0 20px; font-size: clamp(30px, 3.8vw, 52px); }
.article-deck { font-size: clamp(15px, 1.3vw, 18px); line-height: 2.05; color: #5d5750; }
.article-info { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 12px var(--sans); letter-spacing: .08em; color: #8a8279; }

.article-layout { display: grid; grid-template-columns: 210px 1fr; gap: clamp(28px, 5vw, 68px); max-width: 1040px; margin: 0 auto; }
.article-layout aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.article-layout aside p { margin: 0 0 14px; font: 500 10px var(--sans); letter-spacing: .2em; color: var(--taupe); }
.article-layout aside a { display: block; padding: 9px 0 9px 14px; border-left: 1px solid var(--line); font: 400 13px/1.6 var(--sans); color: var(--muted); transition: .2s; }
.article-layout aside a:hover { border-color: var(--accent); color: var(--ink); }

.article-body { max-width: 720px; }
.article-body h2 { margin: 46px 0 18px; font-size: clamp(23px, 2.3vw, 31px); }
.article-body h3 { margin: 32px 0 12px; font-size: 20px; }
.article-body p { font-size: 16px; line-height: 2.1; color: #4f4a44; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 10px; font-size: 16px; line-height: 2; color: #4f4a44; }
.article-body blockquote { margin: 32px 0; padding: 24px 28px; background: var(--cream); border-left: 3px solid var(--accent); font-size: 17px; line-height: 1.95; }
.article-body a { border-bottom: 1px solid var(--accent); transition: .2s; }
.article-body a:hover { color: var(--accent); }
.refs { padding-left: 20px; }
.refs li { font: 400 13px/1.9 var(--sans); color: var(--muted); word-break: break-word; }
.article-notice { margin: 48px 0 0; padding: 24px 26px; background: var(--sand); }
.article-notice p { margin: 0; font: 400 12.5px/1.95 var(--sans); color: #6a635a; }

.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.related-grid a { display: flex; flex-direction: column; gap: 16px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); font-size: 19px; line-height: 1.6; transition: .25s; }
.related-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-grid a span { font: 400 12px var(--sans); letter-spacing: .1em; color: var(--taupe); }

/* ── Footer ─────────────────────────────────── */

.site-footer { background: var(--deep); color: #cfc7bb; }
.footer-top {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(48px, 6vw, 76px) max(6vw, 24px) 44px;
}
.footer-brand span { font-size: 24px; color: var(--taupe); }
.footer-brand b { display: block; margin: 10px 0 6px; font: 500 22px Georgia, serif; letter-spacing: .17em; color: #f0e9df; }
.footer-brand small { font: 400 12px var(--sans); color: #a49b8f; }
.footer-info p { margin: 0 0 12px; font: 400 13.5px/1.85 var(--sans); }
.footer-info a:hover { color: #fff; }
.footer-info .muted { color: #8e8579; font-size: 12px; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a, .footer-social a { font: 400 13.5px var(--sans); transition: color .2s; }
.footer-nav a:hover, .footer-social a:hover { color: #fff; }
.footer-legal { padding: 26px max(6vw, 24px) 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-legal p { margin: 0 0 10px; font: 400 11.5px/1.9 var(--sans); color: #8e8579; }
.copyright { letter-spacing: .06em; }

.floating-line {
  position: fixed; right: 20px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 68px; height: 68px; border-radius: 50%;
  background: #06c755; color: #fff; box-shadow: 0 12px 30px -10px rgba(6, 199, 85, .7);
  transition: transform .25s;
}
.floating-line:hover { transform: translateY(-3px) scale(1.04); }
.fl-mark { font: 700 13px var(--sans); letter-spacing: .04em; }
.fl-text { font: 400 9px var(--sans); }

/* ── RWD ────────────────────────────────────── */

@media (max-width: 1180px) {
  .treatment-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid, .process-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .credential-grid { grid-template-columns: 1fr 1fr; }
  .rel-docs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 84px; }

  /* backdrop-filter 會讓 header 成為 fixed 子元素的定位容器，
     導致展開的選單被限制在 header 的高度內而看不見。
     行動版改用不透明底色，讓 nav 的 position:fixed 對齊視窗。 */
  .site-header {
    grid-template-columns: auto 1fr;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #fff;
  }
  .nav-toggle { display: flex; justify-self: end; order: 3; position: relative; z-index: 2; }
  .site-header nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 120;
    flex-direction: column; justify-content: flex-start; gap: 0;
    padding: 24px max(6vw, 24px) 60px; background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .3s;
  }
  .site-header nav.is-open { transform: translateX(0); }
  .site-header nav > a, .has-sub > a {
    width: 100%; padding: 18px 0; font-size: 18px;
    border-bottom: 1px solid var(--line); justify-content: space-between;
  }
  .site-header nav a::after { display: none; }
  .has-sub { width: 100%; }

  /* 展開指示：手機用明顯的 + / ×，取代桌機的小倒三角 */
  .has-sub > a i {
    width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto;
    border: 1px solid #cabfb2; border-radius: 50%;
    font-size: 17px; line-height: 1; opacity: 1; color: var(--accent-dark);
  }
  .has-sub > a i::before { content: "+"; }
  .has-sub.is-open > a i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
  .has-sub:hover > a i, .has-sub:focus-within > a i { transform: none; }
  .has-sub.is-open:hover > a i, .has-sub.is-open:focus-within > a i { transform: rotate(45deg); }

  /* 必須連 :hover / :focus-within 一起覆蓋 —— 那兩條選擇器權重較高，
     手機點擊會觸發 focus-within，否則桌機的 translate(-50%) 會把選單推出畫面外 */
  .has-sub .submenu,
  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    position: static; left: auto; transform: none;
    opacity: 1; visibility: visible;
    min-width: 0; padding: 4px 0 14px; border: 0; box-shadow: none; background: transparent;
    display: none;
  }
  .has-sub.is-open .submenu,
  .has-sub.is-open:hover .submenu,
  .has-sub.is-open:focus-within .submenu { display: block; }
  .submenu a {
    padding: 15px 18px; background: var(--cream); margin-bottom: 5px;
    font-size: 16px; border-radius: 2px;
  }
  .submenu a span { font-size: 10px; }
  .nav-cta { display: none; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: 560px; }
  .hero-content { max-width: 100%; padding-right: max(6vw, 24px); }

  .intro { grid-template-columns: 1fr; }
  .intro-seal { display: none; }
  .intro-copy { padding-top: 0; }

  .treatment-grid, .treatment-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .treatment-card { min-height: 400px; }

  .space-section, .cat-hero, .doctor-hero, .map-section,
  .contact-page, .overview, .split, .fit-section, .team-intro,
  .team-values, .doctor-profile, .cta-block, .featured-post, .inner-hero {
    grid-template-columns: 1fr;
  }
  .space-image { aspect-ratio: 16 / 10; }
  /* 醫師頁：手機不套 16:10（會只剩頭），改為自動高度完整呈現整張照片 */
  .doctor-hero { height: auto; }
  .doctor-main-portrait { height: auto; padding: 0; }
  .doctor-main-portrait img { height: auto; max-height: 68vh; }
  .cat-hero-visual { min-height: 280px; }
  .map-embed iframe { min-height: 320px; }
  .inner-orbit { display: none; }
  .inner-hero > p { margin-top: 18px; }

  .doctor-carousel { grid-auto-columns: calc((100% - 22px) / 2); }
  .heading-side { align-items: flex-start; }
  .heading-side > p { text-align: left; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout aside { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .article-layout aside p { width: 100%; }
  .article-layout aside a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 120px 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .section { padding-inline: 20px; }
  .treatment-grid, .treatment-grid.cols-5, .team-grid,
  .post-grid, .value-grid, .process-grid, .steps, .points,
  .fit-list, .fit-list.inline, .credential-grid, .related-grid, .footer-top {
    grid-template-columns: 1fr;
  }
  /* 手機一次一張，露出下一張的邊緣提示可以滑 */
  .doctor-carousel { grid-auto-columns: 82%; gap: 14px; }
  .cnav-btn { width: 42px; height: 42px; }
  .rel-docs { grid-template-columns: repeat(2, 1fr); }
  .hero-foot { font-size: 8px; letter-spacing: .18em; }
  .hero-dots button { width: 22px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .card-link { position: static; transform: none; margin-top: 14px; }
  .news-visual { max-width: 160px; }
  .answer-box, .risk-block, .contra-block, .notice-banner { padding: 22px 20px; }
  .tx-page, .article-page { padding-inline: 20px; }
  .floating-line { width: 58px; height: 58px; right: 14px; bottom: 16px; }
  .cta-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .floating-line, .cta-block, .site-footer nav, .hero-actions { display: none; }
  body { background: #fff; }
}
