/* 植牙頁專用：開場把九宮格換成星空軌道（細金線環繞標題＋緩慢繞行的光點），不需要照片。
   深淺交界用共用 treat.css／treat.js 的星空霧化交界，這裡不另外做。 */

/* ── 開場：星空軌道 ── */
.tx-mv.orbit-mv{min-height:max(100svh,620px)}
.orbit-art{position:absolute;left:50%;top:calc(50% + 30px);width:clamp(560px,100vw,1600px);aspect-ratio:1440/900;height:auto;transform:translate(-50%,-50%);overflow:visible;pointer-events:none}
.orbit-art .o-line{fill:none;stroke:#c8b37f;stroke-width:1;vector-effect:non-scaling-stroke;opacity:.55;stroke-dasharray:1;stroke-dashoffset:1;animation:orbit-draw 3s var(--ease) .5s forwards}
.orbit-art .o-faint{fill:none;stroke:#a9c4dc;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:1 7;opacity:0;animation:orbit-fade 2.6s ease 1.4s forwards}
.orbit-art .o-dot{opacity:0;animation:orbit-fade 1.6s ease 2.8s forwards}
.orbit-art .o-dot .halo{fill:#e9d9a8;opacity:.16}
.orbit-art .o-dot .core{fill:#f2e4bb}
.orbit-art .o-dot-b .core{fill:#cfe0ec}
.orbit-art .o-dot-b .halo{fill:#a9c4dc;opacity:.12}
.orbit-mv .mv-title:before{background:radial-gradient(ellipse 40% 34% at 50% 53%,#060e22b8,#060e2200)}
@keyframes orbit-draw{to{stroke-dashoffset:0}}
@keyframes orbit-fade{to{opacity:1}}
html.static .orbit-art *,html.reduced .orbit-art *{animation:none!important}
html.static .orbit-art .o-line,html.reduced .orbit-art .o-line{stroke-dashoffset:0}
html.static .orbit-art .o-faint,html.static .orbit-art .o-dot,html.reduced .orbit-art .o-faint,html.reduced .orbit-art .o-dot{opacity:1}

@media(max-width:850px){
 .orbit-art{top:calc(50% + 25px)}
 .orbit-art .o-dot .core{r:6px}
 .orbit-art .o-dot .halo{r:18px}
}
@media(prefers-reduced-motion:reduce){
 .orbit-art *{animation:none!important}
 .orbit-art .o-line{stroke-dashoffset:0}
 .orbit-art .o-faint,.orbit-art .o-dot{opacity:1}
}

/* ── 治療項目：並排圖卡（參考 hanwhaocean.com 首頁事業區：滑到哪張，那張撐開、浮出說明） ──
   預設＝放在白紙區裡；網址加 ?tx=full＝滿版一個螢幕高（給 qiu 比較兩種）。照片到之前用藍色漸層佔位。 */
.tx-acc{--acc-h:clamp(620px,76vh,800px);--read:var(--body-face,WuSans),WuSans,'Microsoft JhengHei',sans-serif;display:flex;width:min(1200px,84%);height:var(--acc-h);margin:0 auto;background:#0b1830;overflow:hidden}
.acc-full .tx-acc{--acc-h:max(100vh,680px);width:100%}
.acc-item{position:relative;flex:1 1 0;min-width:0;overflow:hidden;color:#f1f5f7;cursor:pointer;outline:none;transition:flex-grow .9s var(--ease)}
.acc-item+.acc-item:before{content:'';position:absolute;left:0;top:0;bottom:0;width:1px;z-index:3;background:#ffffff40}
.acc-js .acc-item.is-active{flex-grow:2.3}
.acc-item:focus-visible{box-shadow:inset 0 0 0 2px var(--gold)}
.acc-media{position:absolute;inset:0;background:linear-gradient(172deg,#9dbdd2 0%,#5b88aa 40%,#22466c 76%,#132c4c 100%);transition:transform 1.4s var(--ease),filter .6s ease}
.acc-item:nth-child(2) .acc-media{background:linear-gradient(190deg,#b6cfdd 0%,#6a94b3 38%,#2b5078 74%,#152f50 100%)}
.acc-media:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 85% 38% at 28% 16%,#ffffff47,#fff0 70%)}
.acc-media:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#060e22e0 0%,#060e22a6 32%,#060e2200 70%)}
.acc-js .acc-item.is-active .acc-media{transform:scale(1.035)}
.acc-js .acc-item:not(.is-active):hover .acc-media{filter:brightness(1.08)}
.acc-ph{position:absolute;left:44px;top:120px;right:80px;font-size:12px;line-height:1.6;letter-spacing:.12em;color:#ffffffb8;transition:opacity .4s ease}
.acc-js .acc-item.is-active .acc-ph{opacity:0}
.acc-no{position:absolute;left:44px;top:40px;z-index:2;font:56px/1 Poiret,sans-serif;letter-spacing:.02em;color:#ffffffeb}
.acc-vert{position:absolute;right:34px;top:46px;z-index:2;writing-mode:vertical-rl;white-space:nowrap;font:12px/1 Poiret,sans-serif;letter-spacing:.34em;color:#ffffffcc}
.acc-body{position:absolute;left:44px;right:44px;bottom:44px;z-index:2;max-width:36em}
.acc-tag{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:13px;letter-spacing:.16em;color:#d9e5ec}
.acc-tag:before{content:'';flex:none;width:22px;height:1px;background:var(--gold)}
.acc-title{margin:0;font:400 30px/1.4 WuSerif,serif;letter-spacing:.08em;color:#fff;transition:font-size .8s var(--ease)}
.acc-js .acc-item.is-active .acc-title{font-size:38px}
.acc-detail{display:grid;grid-template-rows:1fr;transition:grid-template-rows .8s var(--ease)}
.acc-js .acc-item:not(.is-active) .acc-detail{grid-template-rows:0fr}
.acc-inner{min-height:0;overflow:hidden;transition:opacity .55s ease .3s}
.acc-js .acc-item:not(.is-active) .acc-inner{opacity:0;transition-delay:0s;transition-duration:.25s}
.acc-inner>:first-child{margin-top:20px}
.acc-inner p{margin:0 0 10px;font-family:var(--read);font-weight:300;font-size:15.5px;line-height:1.95;color:#dfe8ee;text-wrap:pretty}
.acc-inner .acc-lead{font:400 19px/1.8 WuSerif,serif;letter-spacing:.06em;color:#fff;margin-bottom:8px}
.acc-inner .acc-point{color:#fff;font-weight:400}
.acc-inner .acc-limit{font-size:14px;color:#c3d3dd}
.acc-inner h4{margin:16px 0 0;font-size:14px;font-weight:500;letter-spacing:.12em;color:#fff}
.acc-asks{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid #ffffff33}
.acc-asks li{position:relative;padding:8px 0 8px 1.2em;border-bottom:1px solid #ffffff26;font-family:var(--read);font-weight:300;font-size:14.5px;line-height:1.8;color:#dfe8ee}
.acc-asks li:before{content:'';position:absolute;left:0;top:calc(8px + .9em);width:.55em;height:1px;background:var(--gold)}
.acc-cta{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:4px;border-bottom:1px solid #ffffff80;font-size:15px;letter-spacing:.08em;color:#fff}
.acc-cta span{color:#e3d2a3;transition:transform .3s var(--ease)}
.acc-cta:hover span{transform:translateX(4px)}
@media(min-width:851px){.acc-full .acc-no{top:140px}.acc-full .acc-vert{top:146px}.acc-full .acc-ph{top:220px}}
html.static .acc-item,html.static .acc-media,html.static .acc-title,html.static .acc-detail,html.static .acc-inner,html.reduced .acc-item,html.reduced .acc-media,html.reduced .acc-title,html.reduced .acc-detail,html.reduced .acc-inner{transition:none}

/* 手機：上下排列，說明全部攤開（沒有滑鼠移上去的動作） */
@media(max-width:850px){
 .tx-acc{flex-direction:column;height:auto}
 .acc-full .tx-acc{height:auto}
 .acc-item{flex:none;cursor:default}
 .acc-item+.acc-item:before{left:0;right:0;bottom:auto;width:auto;height:1px}
 .acc-js .acc-item:not(.is-active) .acc-detail{grid-template-rows:1fr}
 .acc-js .acc-item:not(.is-active) .acc-inner{opacity:1}
 .acc-js .acc-item.is-active .acc-media{transform:none}
 .acc-js .acc-item.is-active .acc-ph{opacity:1}
 .acc-media:after{background:linear-gradient(0deg,#060e22eb 0%,#060e22c2 52%,#060e2233 100%)}
 .acc-no{left:24px;top:26px;font-size:44px}
 .acc-vert{right:16px;top:28px;font-size:11px;letter-spacing:.28em}
 .acc-ph{left:24px;top:84px;right:56px;font-size:11px}
 .acc-body{position:relative;left:auto;right:auto;bottom:auto;max-width:none;padding:190px 24px 34px}
 .acc-title,.acc-js .acc-item.is-active .acc-title{font-size:25px}
 .acc-inner p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 .acc-item,.acc-media,.acc-title,.acc-detail,.acc-inner{transition:none}
}

/* ── 頁尾：「回到頂部」那一列改成看診諮詢（qiu 2026-10-27，先在植牙頁做樣本，確認後交總管套全站） ──
   文字全部沿用首頁預約區（台北・新北・桃園門診／查看門診地點與交通／看診時段…／透過 LINE 預約諮詢）。 */
.footer-main.footer-visit{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:30px clamp(40px,6vw,96px);padding:52px 0 56px}
.fv-brand{display:flex;flex-direction:column;gap:18px}
.fv-brand>span{font-size:15px;line-height:2;color:#c9d6df}
.fv-brand>span span{font:22px Poiret,sans-serif}
.fv-clinic{padding-left:clamp(28px,4vw,64px);border-left:1px solid #829dab44}
.fv-label{display:flex;align-items:baseline;gap:14px;margin:0 0 12px;font-size:13px;letter-spacing:.2em;color:#c8b37f}
.fv-label span{font:10.5px Poiret,sans-serif;letter-spacing:.24em;color:#9db4c2}
.fv-place{margin:0;font:400 clamp(20px,1.8vw,24px)/1.6 WuSerif,serif;letter-spacing:.08em;color:#eef3f5}
.fv-map{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:4px;border-bottom:1px solid #9db4c266;font-size:15px;color:#dce6ec;transition:border-color .3s,color .3s}
.fv-map span{color:#c8b37f;transition:transform .3s var(--ease)}
.fv-map:hover{color:#fff;border-color:#c8b37f}
.fv-map:hover span{transform:translate(2px,-2px)}
.fv-clinic small{display:block;margin-top:10px;font-size:14px;line-height:1.8;color:#9db4c2}
.footer-visit .fv-line{justify-self:end}
@media(max-width:850px){
 .footer-main.footer-visit{grid-template-columns:1fr;gap:30px;padding:40px 0 44px}
 .fv-clinic{padding:26px 0 0;border-left:0;border-top:1px solid #829dab44}
 .footer-visit .fv-line{justify-self:start}
}

/* ── 治療項目圖卡的示意圖（qiu 2026-11-01 改為科技 X 光風、金色焦點；產生程式 drwu-sessions/插畫草稿/make_xray.py，檔案在 implants/illust/） ──
   收起時置中放大；展開時縮小移到右上角，跟說明文字錯開。 */
.acc-ill{position:absolute;left:50%;top:42%;z-index:1;width:min(74%,320px);height:auto;transform:translate(-50%,-50%);transition:left .9s var(--ease),top .9s var(--ease),width .9s var(--ease)}
.acc-js .acc-item.is-active .acc-ill{left:calc(100% - 7% - 120px);top:30%;width:240px}
.acc-full .acc-ill{top:46%;width:min(70%,380px)}
.acc-js.acc-full .acc-item.is-active .acc-ill{left:calc(100% - 7% - 170px);top:38%;width:340px}
html.static .acc-ill,html.reduced .acc-ill{transition:none}
@media(max-width:850px){
 .acc-ill,.acc-js .acc-item.is-active .acc-ill,.acc-full .acc-ill,.acc-js.acc-full .acc-item.is-active .acc-ill{left:50%;top:150px;width:220px}
 .acc-body{padding-top:290px}
}
@media(prefers-reduced-motion:reduce){.acc-ill{transition:none}}
