/* SILVER_COURSE_GUIDE_STYLE_20261103_V1
   課程建議頁換成首頁的銀寶風格：深綠標題列＋鑽石 LOGO、米色紙底、Noto Serif TC 標題、森林綠膠囊按鈕、
   米白紙卡。只改外觀；選課題目、推薦邏輯、預約與 LINE 連結、元素 id 都不變。
   質感細節依 UI UX Pro Max 檢查表：對比 4.5:1、可見焦點、觸控 44px 以上、150–300ms 過場、減少動態。 */
:root{
  --paper:#D3C8B8;--surface:#ECE5DA;--white:#F3EEE4;
  --ink:#2F3A33;--text:#3E342C;--muted:#5E5247;--soft:#7A6D60;
  --forest:#3F5546;--forest-deep:#2C3D31;--green:#3F5546;--sage:#6E8B74;
  --line:rgba(53,43,36,.16);--line-strong:rgba(53,43,36,.28);
  --cocoa:#2C3D31;
  --serif:"Noto Serif TC","Songti TC","PMingLiU",serif;
  --sans:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
}
body{background:var(--paper);color:var(--text);font-family:var(--sans);text-rendering:optimizeLegibility}
em{color:var(--forest)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--forest);outline-offset:4px;border-radius:4px}
.skip-link{background:var(--forest-deep);color:var(--white);border-radius:999px}

/* ── 標題列：與首頁相同的深綠列 ── */
.site-header.st-header{position:sticky;top:0;z-index:20;max-width:none;margin:0;min-height:81px;padding:8px 32px 9px 5%;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;flex-wrap:nowrap;
  background:#3F5546;border-bottom:0;box-shadow:0 1px 0 rgba(175,151,128,.4);color:#F3EEE4}
.st-brand{display:flex;align-items:center;gap:10px;color:#F3EEE4;min-width:0;width:263px;height:64px}
.st-diamond{display:block;width:44px;height:44px;object-fit:contain;filter:invert(1) brightness(1.8);flex:0 0 44px}
.st-wordmark{display:block;font-family:var(--serif);font-size:22px;font-weight:600;letter-spacing:.04em;line-height:1.45;white-space:nowrap}
.st-wordmark small{display:block;font-family:Arial,var(--sans);font-size:9px;font-weight:500;letter-spacing:.15em;line-height:1.7;text-align:center;margin-top:2px}
.site-header .st-nav{display:flex;justify-content:center;gap:8px clamp(24px,2.55vw,46px);font-size:17px;font-weight:700;letter-spacing:.01em}
.site-header .st-nav a{position:relative;color:#F3EEE4;padding:0;line-height:25.2px;white-space:nowrap;opacity:.92;transition:opacity .2s var(--ease)}
.site-header .st-nav a:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:2px;background:#F3EEE4;border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.site-header .st-nav a:hover{opacity:1}.st-nav a:hover:after,.site-header .st-nav a[aria-current=page]:after{transform:scaleX(1)}
.site-header .st-nav a[aria-current=page]{opacity:1}
.st-actions{display:flex;gap:14px;align-items:center}
.st-entry,.st-book{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 20px;border:1px solid transparent;border-radius:12px;font-size:14px;line-height:1.5;letter-spacing:.025em;white-space:nowrap;position:relative;transform:translateY(0);
  transition:transform .08s ease,box-shadow .08s ease,background-color .18s,border-color .18s;-webkit-tap-highlight-color:transparent}
/* 與首頁「簽到系統／預約體驗」相同：鼠尾草綠與米白兩顆，下方厚度陰影，按下沉 4px */
.st-entry{background:#5a7663;color:#f7f3e8;border-color:#869d8b;font-weight:500;box-shadow:0 4px 0 #2c3d31,0 8px 14px -8px rgba(0,0,0,.45)}
.st-book{background:#f3eee4;color:#2f4a3a;border-color:#f3eee4;font-weight:650;box-shadow:0 4px 0 #b9ad98,0 8px 14px -8px rgba(0,0,0,.45)}
.st-entry:hover{background:#67856f;border-color:#a3b7a6}
.st-book:hover{background:#fffbf2;border-color:#fffbf2}
.st-entry:active,.st-entry.st-down,.st-book:active,.st-book.st-down{transform:translateY(4px);box-shadow:0 0 0 transparent,0 2px 4px -2px rgba(0,0,0,.3)}
.st-actions>a:focus-visible{outline:3px solid #f3eee4;outline-offset:3px}

/* ── 內容區 ── */
main{max-width:1260px}
.eyebrow{color:var(--muted);letter-spacing:.12em}
.short-rule{width:28px;background:var(--forest);opacity:.7}
.welcome h1,.guide-aside h2,.question-panel h2,.result h1,.experience-card h2{font-family:var(--serif);font-weight:500;color:var(--ink)}
.welcome h1{letter-spacing:.04em;line-height:1.48;text-wrap:balance}
.intro{color:var(--muted);letter-spacing:.02em}

/* 主要按鈕：首頁同款森林綠膠囊 */
.button{border-radius:999px;font-size:15px;letter-spacing:.06em;transition:background .2s var(--ease),box-shadow .25s var(--ease),transform .2s var(--ease),border-color .2s var(--ease)}
.button-primary{background:var(--forest-deep);color:var(--white);box-shadow:0 10px 24px -14px rgba(44,61,49,.9)}
.button-primary:hover{background:var(--forest);box-shadow:0 14px 28px -14px rgba(44,61,49,.95);transform:translateY(-1px)}
.button-primary:active{transform:translateY(0)}
.st-arrow{display:inline-block;transition:transform .25s var(--ease)}
.button-primary:hover .st-arrow{transform:translateX(4px)}
.entry-actions .button{min-width:320px}
.button-secondary{border:1px solid var(--line-strong);color:var(--ink);background:transparent}
.button-secondary:hover{background:var(--white);border-color:var(--forest)}
.direct-booking strong{color:var(--forest);border-bottom-color:rgba(63,85,70,.45)}
.direct-booking:hover strong{border-color:var(--forest)}
/* v4：「直接預約」放大、置中在主要按鈕下方 */
.entry-actions{display:inline-flex;flex-direction:column;align-items:stretch;max-width:100%}
.direct-booking{display:block;align-self:center;margin-top:20px;text-align:center;font-size:1.06rem;line-height:1.6}
.direct-booking strong{margin-left:0;font-weight:500;letter-spacing:.08em;padding-bottom:4px;border-bottom-width:1px}

/* 三個特色改成細框標籤（同首頁「關於銀寶」） */
.welcome-values{gap:10px;margin-top:34px}
.welcome-values span{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--line-strong);border-radius:999px;color:var(--text);font-size:.85rem;letter-spacing:.04em}
.welcome-values span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--sage)}
.welcome-values span+span:before{width:5px;height:5px;margin:0;background:var(--sage)}

.studio-photo{border-radius:160px 160px 24px 24px;box-shadow:0 30px 60px -36px rgba(44,61,49,.55)}
.studio-photo>img{filter:saturate(.9) contrast(1.02)}
.studio-photo:after{background:linear-gradient(0deg,rgba(29,40,32,.78),transparent)}
.photo-label{top:auto;bottom:auto;right:24px;top:84px;background:rgba(44,61,49,.55);border-color:rgba(243,238,228,.3)}

/* ── 三題選課 ── */
.guide-aside h2{letter-spacing:.04em}
.aside-footer{border-top-color:var(--line)}
.aside-number{font-family:var(--serif);font-weight:500;color:var(--forest);opacity:.75}
.question-panel{background:var(--surface);border:0;border-radius:24px;padding:40px 44px 28px;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 24px 48px -32px rgba(44,61,49,.45)}
.question-topline{color:var(--muted)}
.text-button{color:var(--muted);min-height:44px;text-decoration-color:rgba(63,85,70,.35);transition:color .2s var(--ease)}
.text-button:hover{color:var(--forest)}
.step-track{gap:6px}
.step-track span{height:3px;background:rgba(63,85,70,.16);transition:background .3s var(--ease)}
.step-track span.complete{background:var(--forest)}
.step-track span.current{background:var(--sage)}
.question-panel h2{letter-spacing:.04em}
.question-hint{color:var(--muted)}

/* 選項：首頁同款 01–05 序號細線清單 */
.choices{gap:0;counter-reset:choice;border-top:1px solid var(--line)}
.choice{counter-increment:choice;position:relative;min-height:72px;gap:18px;padding:14px 18px 14px 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;
  transition:background .2s var(--ease),padding .25s var(--ease)}
.choice:before{content:counter(choice,decimal-leading-zero);font-family:var(--serif);font-size:.95rem;color:var(--soft);flex:0 0 26px;letter-spacing:.04em;transition:color .2s var(--ease)}
.choice-copy{flex:1;min-width:0}
.choice-title{color:var(--ink);font-weight:500;letter-spacing:.03em}
.choice-subtitle{color:var(--muted)}
.choice-marker{order:2;width:26px;height:26px;flex-basis:26px;border:1px solid var(--line-strong);background:transparent;transition:background .2s var(--ease),border-color .2s var(--ease)}
.choice-marker:after{width:10px;height:6px;border-radius:0;background:transparent!important;border-left:2px solid transparent;border-bottom:2px solid transparent;transform:translateY(-1px) rotate(-45deg);transition:border-color .2s var(--ease)}
.choice:hover{background:rgba(243,238,228,.7);border-color:var(--line)}
.choice:hover:before{color:var(--forest)}
.choice:hover .choice-marker{border-color:var(--forest)}
.choice.selected{background:var(--white);border-color:var(--line)}
.choice.selected:before{color:var(--forest)}
.choice.selected .choice-marker{background:var(--forest);border-color:var(--forest)}
.choice.selected .choice-marker:after{border-color:var(--white)}
.choice:focus-visible{outline-offset:-2px;border-radius:8px}
.guide-note{color:var(--soft)}

/* ── 推薦結果 ── */
.result-tag{background:transparent;border:1px solid rgba(63,85,70,.4);color:var(--forest);letter-spacing:.06em;padding:5px 14px}
.result-prefix{color:var(--muted)}
.result h1{letter-spacing:.04em}
.result-direction{color:var(--forest);font-weight:500;letter-spacing:.04em}
.result-reason{color:var(--muted)}
.answer-summary{gap:8px}
.answer-chip{background:transparent;border:1px solid var(--line-strong);border-radius:999px;padding:5px 13px;color:var(--text)}
.fits-section{border-top-color:var(--line)}
.fits-section h2{font-family:var(--serif);font-weight:600;color:var(--ink);letter-spacing:.04em}
.fits-list{color:var(--text)}
.fits-list li:before{content:"";flex:0 0 16px;width:16px;height:16px;align-self:flex-start;margin-top:.3em;border-radius:50%;
  background:var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.1 4.8-4.8' fill='none' stroke='%23F3EEE4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.preference-note{background:var(--surface);border-left:2px solid var(--sage);color:var(--text);border-radius:0 12px 12px 0}

.experience-card{background:var(--surface);border:0;border-radius:24px;padding:36px 36px 30px;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 24px 48px -32px rgba(44,61,49,.45)}
.card-kicker{color:var(--forest);letter-spacing:.12em;font-size:.82rem}
.experience-card h2{letter-spacing:.04em}
.experience-facts{border-top-color:var(--line)}
.experience-facts dt{color:var(--muted)}
.experience-facts dd{color:var(--ink)}
#course-price{font-family:var(--serif);font-size:1.5rem;font-weight:500;color:var(--forest);line-height:1.2}
#course-price .price-unit{font-family:var(--sans)}
.experience-details{border-color:var(--line)}
.experience-details summary{color:var(--forest);transition:color .2s var(--ease)}
.expand-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(63,85,70,.4);border-radius:50%;font-size:1rem;transition:transform .25s var(--ease),background .2s var(--ease)}
.experience-details summary:hover .expand-icon{background:var(--white)}
.experience-steps li:before{font-family:var(--serif);color:var(--forest)}
.experience-steps h3{color:var(--ink)}
.result-actions{gap:12px}
.line-label{color:var(--forest)}
.booking-choice,.booking-note,.result-footnote{color:var(--muted)}

/* ── 頁尾：同首頁 ── */
.site-footer.st-footer{max-width:none;margin:48px 0 0;padding:30px 72px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--ink);font-size:.9rem}
.st-footer-brand{text-decoration:none!important}
.st-footer-brand strong{display:block;font-size:20px;font-weight:600;letter-spacing:.06em;color:var(--ink)}
.st-footer-brand small{display:block;font-size:10px;letter-spacing:.17em;color:var(--muted);margin-top:2px}
.st-footer-info{display:flex;align-items:center;gap:28px;color:var(--muted);text-align:right}
.st-footer-info a{color:var(--forest);text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(63,85,70,.35)}
.st-footer-info a:hover{text-decoration-color:var(--forest)}

/* ── 平板 ── */
@media(max-width:1100px){
  .site-header .st-nav{font-size:14px;font-weight:400;letter-spacing:0}
}
@media(max-width:1180px){
  .site-header.st-header{padding-left:32px;gap:18px}
  .site-header .st-nav{gap:22px}
}
@media(max-width:1000px){
  .site-header.st-header{grid-template-columns:auto 1fr;padding:12px 24px 0;row-gap:4px}
  .st-actions{justify-self:end;grid-row:1;grid-column:2}
  .st-brand{grid-row:1;grid-column:1}
  .site-header .st-nav{grid-row:2}
  .site-header .st-nav{grid-column:1/-1;justify-content:flex-start;gap:22px;overflow-x:auto;scrollbar-width:none;padding:8px 0 12px;margin:0 -24px;padding-inline:24px}
  .site-header .st-nav::-webkit-scrollbar{display:none}
  .site-header .st-nav a:after{bottom:-3px}
  .question-panel{padding:32px 30px 24px}
  .experience-card{padding:30px 28px 26px}
}
/* ── 手機：同首頁，第一列 LOGO＋兩顆按鈕、第二列選單 ── */
@media(max-width:760px){
  .site-header.st-header{grid-template-columns:minmax(0,1fr) auto;min-height:0;padding:16px 18px 17px;gap:8px;row-gap:10px}
  .st-brand{width:auto;height:52px;gap:7px;overflow:hidden}
  .st-diamond{width:30px;height:30px;flex-basis:30px}
  .st-wordmark{font-size:14.66px;letter-spacing:.02em;line-height:1.45}
  .st-wordmark small{font-size:6px;letter-spacing:.105em;line-height:1.7}
  .st-actions{gap:8px}
  .st-entry,.st-book{min-height:46px;width:99px;padding:10px 4px}
  .site-header .st-nav{font-size:14px;gap:0 4px;justify-content:space-evenly;overflow-x:visible;margin:0;padding:0}
  .site-header .st-nav a{padding:8px 0}
  .site-header .st-nav a:after{bottom:2px}
  .welcome{padding-top:30px}
  .welcome h1{letter-spacing:.03em}
  .entry-actions .button{min-width:0}
  .entry-actions{display:flex;width:100%}
  .welcome-values{justify-content:center;gap:8px}
  .welcome-values span{padding:6px 12px;font-size:.8rem}
  .studio-photo{border-radius:90px 90px 20px 20px;height:260px}
  .photo-label{top:46px;right:16px}
  .question-panel{padding:26px 20px 22px;border-radius:20px}
  .choice{min-height:68px;gap:12px;padding:12px 8px 12px 4px}
  .choice:before{flex-basis:22px;font-size:.85rem}
  .experience-card{padding:28px 22px 24px;border-radius:20px}
  .site-footer.st-footer{margin:32px 0 0;padding:26px 24px 30px;flex-direction:column;align-items:flex-start;gap:14px;text-align:left}
  .st-footer-info{flex-direction:column;align-items:flex-start;gap:8px;text-align:left;font-size:.85rem}
}
@media(max-width:400px){
  .st-wordmark{font-size:clamp(11px,3.76vw,14.66px)}
  .site-header .st-nav{font-size:13px}
}
}
#question-panel{scroll-margin-top:140px}
@media(min-width:1001px){#question-panel{scroll-margin-top:104px}}
.st-actions>a{-webkit-touch-callout:none}
@media(prefers-reduced-motion:reduce){.st-actions>a{transition:none}.button-primary:hover,.button-primary:hover .st-arrow{transform:none}}

/* ── 換頁：首頁↔課程建議 標題列不動、內容淡入（支援的瀏覽器才有；其他照常換頁）── */
@view-transition{navigation:auto}
.site-header.st-header{view-transition-name:silver-header}
::view-transition-group(silver-header){animation-duration:.25s}
::view-transition-old(silver-header),::view-transition-new(silver-header){animation-duration:.18s}
::view-transition-old(root){animation:st-vt-out .2s ease-in both}
::view-transition-new(root){animation:st-vt-in .42s cubic-bezier(.2,.7,.2,1) .06s both}
@keyframes st-vt-out{to{opacity:0}}
@keyframes st-vt-in{from{opacity:0;transform:translateY(14px)}}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
