/* 毓華（竹園）護老院｜設計系統與樣式（Mobile-first） */
:root {
  --forest: #1e4660;
  --forest-deep: #12304a;
  --forest-soft: #8fb3cc;
  --ivory: #faf7f0;
  --beige: #eef5f9;
  --sage: #dceaf3;
  --charcoal: #232b30;
  --muted: #55626b;
  --champagne: #8fb3cc;
  --brown: #3b6784;
  --line: #cfdde7;
  --warn-bg: #fff4cc;
  --warn-ink: #5a4300;
  --err: #a32121;
  --radius: 10px;
  --font-sans: 'Noto Sans TC', 'PingFang HK', 'Microsoft JhengHei', 'Heiti TC', system-ui, sans-serif;
  --font-serif: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.8; color: var(--charcoal); background: var(--ivory); overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--font-serif); color: var(--forest-deep); line-height: 1.35; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 6px; }
.skip:focus { top: 8px; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.eyebrow { font-size: .85rem; letter-spacing: .2em; color: var(--brown); font-weight: 700; margin: 0 0 .6em; }
.eyebrow--light { color: var(--brown); }

/* 待填標記 */
.ph { background: var(--warn-bg); color: var(--warn-ink); padding: 1px 6px; border-radius: 4px; border: 1px dashed #c9a73a; font-size: .95em; }
.draft-note { background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid #c9a73a; padding: 10px 14px; border-radius: 4px; font-size: .95rem; margin: 0 0 1.5em; }
.demo-tag { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 99px; line-height: 1.5; pointer-events: none; }
.demo-tag--hero { left: auto; right: 16px; bottom: 16px; }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font: 700 1rem/1.2 var(--font-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--sage); color: var(--forest-deep); border-color: var(--forest); }
.btn--primary:hover { background: var(--champagne); color: var(--forest-deep); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--sage); color: var(--forest-deep); }
.btn--light { background: #fff; color: var(--forest-deep); border-color: var(--forest); }
.btn--light:hover { background: var(--ivory); color: var(--forest-deep); }
.btn--outline-light { background: transparent; color: var(--forest-deep); border-color: var(--forest); }
.btn--outline-light:hover { background: #fff; color: var(--forest-deep); }
.btn--text { padding: 0; min-height: 44px; border-radius: 0; color: var(--forest); border-bottom: 2px solid var(--champagne); }
.btn--sm { min-height: 46px; padding: 8px 20px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* 導覽列 */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 2px 14px rgba(18, 48, 74, .07); }
.site-header .container { max-width: 1400px; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest-deep); margin-right: auto; }
.logo-mark { height: 52px; width: auto; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font: 700 1.2rem var(--font-serif); letter-spacing: .04em; }
.logo-sub { font-size: .8rem; letter-spacing: .22em; color: var(--brown); }
.header-cta { display: none; }
.nav-toggle { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--forest); background: transparent; color: var(--forest); border-radius: 12px; cursor: pointer; }
.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ivory); padding: 12px 20px 40px; overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .28s ease, visibility .28s; }
.nav.is-open { clip-path: inset(0); visibility: visible; }
.nav-list a { display: block; padding: 16px 4px; font-size: 1.15rem; font-weight: 500; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-list a[aria-current='page'] { color: var(--forest); font-weight: 700; border-bottom-color: var(--champagne); }
.nav-mobile-actions { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 1360px) {
  .nav-toggle { display: none; }
  .nav { position: static; clip-path: none; visibility: visible; padding: 0; overflow: visible; background: transparent; }
  .nav-list { display: flex; gap: 8px; }
  .nav-list a { padding: 10px 14px; font-size: 1rem; white-space: nowrap; border-bottom: 2px solid transparent; border-radius: 4px; }
  .nav-list a:hover { color: var(--forest); border-bottom-color: var(--line); }
  .nav-mobile-actions { display: none; }
  .header-cta { display: inline-flex; margin-left: 12px; white-space: nowrap; }
  .logo { margin-right: 32px; }
  .header-inner { justify-content: space-between; }
  .nav { margin-left: auto; }
}

/* 版塊 */
.section { padding: 72px 0; }
.section--tint { background: var(--beige); }
.section--sage { background: var(--sage); }
.sec-head { margin-bottom: 36px; max-width: 46rem; }
.split { display: grid; gap: 36px; align-items: center; }
.split-text h2 { margin-bottom: .6em; }
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sage); }
.photo img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .section { padding: 104px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev .split-media { order: -1; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: var(--forest-deep); overflow: hidden; background: var(--sage); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(220, 234, 243, 0) 0%, rgba(220, 234, 243, .84) 38%, rgba(220, 234, 243, .96) 100%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero h1 { color: var(--forest-deep); margin-bottom: .4em; }
.hero-name { font: 600 1.15rem var(--font-serif); letter-spacing: .08em; margin-bottom: .5em; color: var(--brown); }
.hero-sub { max-width: 34em; font-size: 1.1rem; color: var(--charcoal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* 服務入口 */
.entry-grid { display: grid; gap: 24px; }
.entry { padding: 36px 30px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.entry h3 { font-size: 1.6rem; }
.entry-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; }
.entry--long { background: var(--sage); color: var(--charcoal); border: 2px solid var(--sage); }
.entry--long h3 { color: var(--forest-deep); }
.entry--long a:not(.btn) { color: var(--forest); }
.entry--long .entry-icon { background: rgba(255, 255, 255, .7); color: var(--forest); }
.entry--short { background: var(--ivory); border: 2px solid var(--champagne); }
.entry--short .entry-icon { background: var(--beige); color: var(--brown); }
.entry-links { margin: 6px 0 22px; }
.entry-links li { padding: 5px 0; }
.entry .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 820px) { .entry-grid { grid-template-columns: 1fr 1fr; } }

/* 特色 */
.why-grid { display: grid; gap: 0; }
.why-grid li { padding: 28px 0; border-top: 1px solid var(--line); }
.why-icon { color: var(--forest); display: inline-flex; margin-bottom: 8px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); column-gap: 48px; } }

/* 鑲嵌相片 */
.mosaic { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.mosaic-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--sage); }
.mosaic-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.mosaic .demo-tag { top: 10px; bottom: auto; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; }
  .mosaic-item img { aspect-ratio: auto; }
  .mosaic-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .mosaic-2 { grid-column: 3 / 5; }
}

/* 照顧服務清單 */
.care-list { display: grid; gap: 0; }
.care-list li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.care-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); }
.care-list h2, .care-list h3 { font-size: 1.15rem; margin-bottom: .2em; }
.care-list p { margin: 0; color: var(--muted); }
@media (min-width: 820px) { .care-list:not(.care-list--single) { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* 步驟時間線 */
.steps { position: relative; counter-reset: s; }
.steps li { position: relative; display: flex; gap: 20px; padding-bottom: 30px; }
.steps li::before { content: ''; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.step-num { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: var(--forest-deep); border: 2px solid var(--forest); display: grid; place-items: center; font: 700 1.2rem var(--font-serif); }
.steps h3 { margin: 8px 0 .2em; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps--compact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
  .steps--compact li { flex-direction: column; padding: 0; gap: 12px; }
  .steps--compact li::before { left: 56px; right: -32px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps--compact li:nth-child(4n)::before { display: none; }
}

/* 收費表 */
.fee-grid { display: grid; gap: 40px; margin-top: 28px; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fee-table th, .fee-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--sage); color: var(--forest-deep); font-weight: 700; }
.fee-table tbody th { width: 38%; background: var(--ivory); font-weight: 700; color: var(--forest-deep); }
@media (max-width: 640px) {
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100% !important; }
  .fee-table tr { border-bottom: 1px solid var(--line); padding: 4px 0; }
  .fee-table th, .fee-table td { border: 0; padding: 6px 16px; }
  .fee-table tbody th { background: transparent; padding-bottom: 0; color: var(--brown); font-size: .9rem; }
}
@media (min-width: 1000px) { .fee-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* 資訊列表、提示 */
.info-list > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; color: var(--forest-deep); }
.info-list dd { margin: 0; }
@media (min-width: 700px) { .info-list > div { grid-template-columns: 11rem 1fr; gap: 24px; } }
.notice { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--forest); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.notice h3 { margin-bottom: .3em; }
.notice p:last-child { margin-bottom: 0; }
.notice--accent { border-left-color: var(--champagne); background: #f7fbfd; }
.notice--gov { border-left-color: var(--brown); }
.check-list li { display: flex; gap: 12px; padding: 10px 0; }
.check-list .icon { flex: none; color: var(--forest); margin-top: 4px; }
.values { display: grid; gap: 0; }
.value { padding: 24px 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .values { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.placeholder-box { padding: 48px 20px; text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.table-scroll { overflow-x: auto; }
.menu-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.menu-table th, .menu-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.page-hero { background: var(--sage); padding: 64px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .3em; font-size: clamp(1.9rem, 5vw, 3rem); }
.page-hero .lead { margin: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; font-size: 1.1rem; }
.addr { font-size: 1.25rem; font-weight: 500; margin-bottom: 1em; }
.addr--lg a { color: var(--forest-deep); }
.map-wrap { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sage); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* 圖庫 */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 8px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--forest); text-decoration: none; font-size: .95rem; font-weight: 500; }
.chip:hover { background: var(--sage); color: var(--forest-deep); }
.gallery-sec { padding: 44px 0 20px; }
.gal-h { font-size: 1.5rem; }
.gal-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.gal-item { flex: 0 0 85%; margin: 0; scroll-snap-align: start; }
.gal-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sage); }
.gal-btn img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: transform .5s; }
.gal-btn:hover img { transform: scale(1.04); }
.gal-item figcaption { display: flex; flex-direction: column; padding: 10px 2px; font-size: .95rem; }
.gal-item figcaption span { color: var(--muted); }
@media (min-width: 900px) {
  .gal-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 24px; }
  .gal-item { flex: none; }
}
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(8, 20, 30, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox::backdrop { background: rgba(8, 20, 30, .9); }
.lb-fig { margin: 0; text-align: center; grid-column: 2; }
.lb-img { max-width: 100%; max-height: 74dvh; margin: 0 auto; border-radius: 6px; object-fit: contain; }
.lb-cap { display: flex; flex-direction: column; padding-top: 14px; font-size: 1rem; }
.lb-cap span { color: #cfd8d3; font-size: .9rem; }
.lb-btn { background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; justify-self: center; line-height: 1; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { position: absolute; top: 14px; right: 14px; font-size: 1.2rem; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; margin: 0; color: #cfd8d3; font-size: .9rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; min-height: 60px; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .25s; color: var(--forest); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 4px 12px; color: var(--muted); }

/* CTA */
.cta-band { background: var(--sage); color: var(--charcoal); padding: 72px 0; }
.cta-band h2 { color: var(--forest-deep); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* 聯絡及表格 */
.contact-grid { display: grid; gap: 48px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { flex: none; color: var(--forest); margin-top: 4px; }
.contact-list strong { display: block; color: var(--forest-deep); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; }
.demo-banner { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #c9a73a; border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--forest-deep); padding: 0; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { font-size: .92rem; color: var(--muted); margin: 0 0 6px; }
.field input[type='text'], .field input[type='tel'], .field input[type='email'], .field input[type='date'], .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--charcoal); background: var(--ivory); border: 1.5px solid #8a9aa6; border-radius: 8px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: 3px solid rgba(30, 70, 96, .25); outline-offset: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background: #fff6f6; }
.field-error { color: var(--err); font-size: .95rem; font-weight: 500; margin: 6px 0 0; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio, .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; cursor: pointer; }
.radio { align-items: center; padding: 10px 18px; border: 1.5px solid #8a9aa6; border-radius: 999px; min-height: 48px; margin: 0 !important; }
.radio:has(input:checked) { border-color: var(--forest); background: var(--sage); }
.radio input, .check input { width: 22px; height: 22px; accent-color: var(--forest); flex: none; margin-top: 2px; }
.date-summary { color: var(--forest); font-weight: 500; margin: -8px 0 8px; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.form-status.is-error { background: #fff0f0; color: var(--err); border: 1px solid #e3b4b4; }
.form-result { text-align: center; padding: 28px 8px; }
.form-result:focus { outline: none; }
.result-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--forest); }

/* 頁尾 */
.site-footer { border-top: 1px solid rgba(30, 70, 96, .18); background: var(--sage); color: var(--charcoal); padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: var(--forest); }
.site-footer h2 { font: 700 .95rem var(--font-sans); letter-spacing: .15em; color: var(--brown); margin-bottom: 14px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand address { margin-top: 18px; line-height: 1.8; }
.site-footer li { padding: 4px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(30, 70, 96, .22); font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.notfound { min-height: 60vh; display: grid; align-items: center; }

/* 動畫（無 JS 時內容一律可見） */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .cta-band, .nav-toggle { display: none; } body { background: #fff; } }

/* 聯絡卡（取代查詢表格） */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; }
.contact-card-lead { font-size: 1.1rem; margin-bottom: 1.2em; }
.contact-card-actions { display: grid; gap: 12px; margin-bottom: 24px; }
.btn--lg { min-height: 60px; font-size: 1.15rem; }
.btn .icon { flex: none; }
.contact-card-info { margin-bottom: 8px; }
@media (min-width: 640px) { .contact-card-actions { grid-template-columns: 1fr 1fr; } .contact-card { padding: 32px 30px; } }

.care-list .route-list{margin:.5em 0 0;display:grid;gap:6px}
.care-list .route-list li{display:flex;gap:12px;padding:0;border:0;align-items:baseline;color:var(--muted)}
.route-no{flex:none;min-width:4.2em;font-weight:700;color:var(--forest)}

.video-band{padding-block:clamp(32px,5vw,56px)}
.video-card{display:grid;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 22px}
.video-card h2{margin:.1em 0 .3em}.video-card p{margin:0;color:var(--muted)}.video-card .eyebrow{color:var(--brown)}
@media(min-width:820px){.video-card{grid-template-columns:auto 1fr auto;gap:28px;padding:28px 36px}}

@media (min-width:1360px){.nav-list .nav-contact{display:none}}

.fee-grid--one{grid-template-columns:1fr!important;max-width:860px;margin-inline:auto}
.route-list--stack li{display:block!important}
.route-list--stack .route-no{display:block;margin-bottom:2px}
.care-list .route-list a{color:var(--forest);text-decoration:underline}

.intro .split{gap:clamp(40px,7vw,96px);align-items:center}.intro-center{max-width:34rem}.intro-center .eyebrow::before{content:"";display:inline-block;width:28px;height:2px;background:var(--champagne);vertical-align:middle;margin-right:10px}.intro-center h2{margin-bottom:.8em}.intro-center>p:not(.eyebrow){text-align:justify;text-justify:inter-character;line-height:1.9}.intro-center .btn{margin-top:.6em}@media(min-width:900px){.intro .split{grid-template-columns:1fr 1.1fr}}

/* 手機快速聯絡列 */
.mobile-bar{display:none}
@media (max-width:899px){
  .mobile-bar{display:grid;grid-template-columns:1.6fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(18,48,74,.08)}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:999px;font-weight:700;font-size:1.05rem;text-decoration:none}
  .mobile-bar-call{background:var(--forest);color:#fff}
  .mobile-bar-mail{background:#fff;color:var(--forest);border:2px solid var(--forest)}
  body{padding-bottom:76px}
}
@media print{.mobile-bar{display:none}}

/* 交通指南 */
.transit{display:grid;gap:16px}.transit-group{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}.transit-group h3{margin:0 0 .4em;font-size:1.15rem}.transit-group>p{margin:0 0 .4em;color:var(--muted)}.transit-routes li{display:flex;gap:12px;align-items:baseline;padding:8px 0;border-top:1px solid var(--line)}.transit-routes li:first-child{border-top:0}.transit-routes b{flex:none;min-width:3.4em;text-align:center;padding:1px 8px;border-radius:6px;background:var(--sage);color:var(--forest-deep)}.transit-acc h4{font-size:1rem;margin:1em 0 .3em;color:var(--forest-deep)}.transit-acc ol{list-style:decimal;padding-left:1.4em;margin:0;color:var(--muted)}.transit-acc li{padding:3px 0}.transit-mtr{display:flex;align-items:center;gap:18px}.transit-mtr h3{margin:0 0 .1em}.transit-mtr p{margin:0}.transit-tag{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--sage);color:var(--forest-deep);font-weight:700;font-size:1.05rem}@media(min-width:820px){.transit{grid-template-columns:1fr 1fr}.transit-acc,.transit-mtr{grid-column:1/-1}}@media(min-width:1040px){.transit{grid-template-columns:repeat(3,1fr)}}

/* 手機選單：面板高度須撐滿畫面，選項夠大 */
@media (max-width:1359px){
  .nav{height:calc(100dvh - var(--header-h));bottom:auto}
  .nav-list a{padding:18px 6px;min-height:56px;display:flex;align-items:center}
}
