/* Soul Chill 官網 — 照約課系統的 CIS（soulchill-booking/src/index.css）
   主色：棉麻淺米（底）、碧空藍（工作室）、森林綠（文字）
   輔色：粉黃＝實體課、粉藍＝線上課、粉橙＝工作坊與服務、深黃＝孕婦；草植綠・粉綠只給跑步班（跑步課程、越野跑）
   字體：中文 Noto Sans TC；英文標題 Syncopate Bold 全大寫；英文點綴 Style Script
   視覺（Fish 10/9）：實景照片＋手繪線條、用色塊分區、不要明顯框線、不要太童趣；開場先講身心服務與「陪你找到生活的節奏」 */
:root {
  --bg: #f7f8f1;
  --paper: #fffef9;
  --ink: #003f37;
  --ink-2: #48655f;
  --ink-3: #8a9e98;
  --line: #e2e7dd;
  --teal: #7ce0dd;
  --teal-soft: #dcf6f3;
  --yellow: #ffec9c;
  --yellow-soft: #fff7d6;
  --deep-yellow: #fdd91d;
  --mint: #b4efe4;
  --peach: #ffd0a9;
  --peach-soft: #fff0e3;
  --grass: #b9ca74;        /* 跑步班專用 */
  --run-green: #baf4bd;    /* 跑步班專用 */
  --radius: 18px;
  --font-body: 'Noto Sans TC', system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en: 'Syncopate', 'Noto Sans TC', sans-serif;
  --font-script: 'Style Script', 'Noto Sans TC', cursive;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.4; letter-spacing: .06em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.mt { margin-top: 40px; }
.mt-s { margin-top: 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

.en-label {
  font-family: var(--font-en); font-weight: 700; text-transform: uppercase;
  font-size: 12px; letter-spacing: .3em; color: var(--ink-2); margin-bottom: 10px;
}
.script { font-family: var(--font-script); font-size: 28px; color: var(--ink-2); line-height: 1.3; }
.line-title { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 3.4vw, 32px); }
.line-title::before { content: ''; width: 4px; height: 1.05em; background: var(--teal); border-radius: 2px; flex: none; }
.sub-title { font-size: 18px; margin-bottom: 14px; }

/* 手繪線條（只用細線，色彩跟著 color） */
.ln { position: absolute; pointer-events: none; overflow: visible; z-index: 0; }

/* 按鈕 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .08em; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; transition: transform .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn.sm { padding: 8px 18px; font-size: 14px; }
.btn.ghost { background: rgba(0, 63, 55, .07); color: var(--ink); }
.btn.line { background: #06c755; color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; }
.row-btns.centered { justify-content: center; }

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 11px; font-size: 12.5px; font-weight: 700; white-space: nowrap; letter-spacing: .04em; }
.badge.physical { background: var(--yellow); }
.badge.online { background: var(--mint); }
.badge.hybrid { background: linear-gradient(90deg, var(--yellow) 50%, var(--mint) 50%); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }

.dots { list-style: none; margin: 10px 0 0; padding: 0; }
.dots li { position: relative; padding-left: 18px; margin: 6px 0; color: var(--ink-2); }
.dots li::before { content: ''; position: absolute; left: 3px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 3px 13px; font-size: 13.5px; color: var(--ink-2); }

/* 色塊背景 */
.tone-bg-mint { background: #e9f5f1; }
.tone-bg-yellow { background: #fff9e6; }
.tone-bg-peach { background: #fff3e9; }

/* 頁首：在開場照片上是透明＋白字，往下捲變米白 */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(247, 248, 241, .95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { position: relative; display: block; }
.brand img { height: 40px; width: auto; }
.brand .light { position: absolute; inset: 0; }
.site-header:not(.scrolled) .brand .dark { opacity: 0; }
.site-header.scrolled .brand .light { opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.site-header:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255, 255, 255, .92); }
.site-header:not(.scrolled) .nav-links .btn { background: #fff; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 開場：照片輪播＋葉影光影 */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; color: #fff; padding: 110px 0 80px; background: #2c4a40; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 28s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 7s; }
.hero-slides img:nth-child(3) { animation-delay: 14s; }
.hero-slides img:nth-child(4) { animation-delay: 21s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1.06); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.leaf-shadow { position: absolute; width: 900px; height: 900px; fill: #000; opacity: .22; filter: blur(16px); mix-blend-mode: multiply; pointer-events: none; transform-origin: 30% 30%; }
.ls-1 { right: -260px; top: -300px; animation: leafsway 11s ease-in-out infinite alternate; }
.ls-2 { left: -380px; bottom: -420px; opacity: .16; animation: leafsway 14s ease-in-out infinite alternate-reverse; }
@keyframes leafsway { from { transform: rotate(-4deg) translate(0, 0); } to { transform: rotate(4deg) translate(24px, 16px); } }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 38, 33, .72) 0%, rgba(0, 38, 33, .42) 45%, rgba(0, 38, 33, .08) 100%); }
.hero-fern { width: 230px; height: 330px; right: 6%; bottom: -24px; color: rgba(255, 255, 255, .55); transform: rotate(-8deg); z-index: 1; }
.hero-inner { z-index: 2; }
.hero .en-label { color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: .12em; line-height: 1.35; margin-bottom: 22px; }
.swashed { position: relative; display: inline-block; }
.swashed svg { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 20px; color: var(--teal); overflow: visible; }
.hero .lead { font-size: 17px; max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero .script { color: rgba(255, 255, 255, .85); }

/* 區塊 */
.section { position: relative; padding: 88px 0; overflow-x: clip; }
.sec-head { margin-bottom: 36px; position: relative; }
.sec-lead { color: var(--ink-2); margin-top: 12px; max-width: 660px; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
.sec-head.center h2 { font-size: clamp(26px, 3.6vw, 36px); }
.legend { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.rays { position: relative; display: block; width: 120px; height: 66px; margin: 0 auto 6px; color: var(--grass); color: #8fd6cf; }

/* 身心服務總覽 */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s ease; }
.offer:hover { transform: translateY(-4px); }
.offer img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform .6s ease; }
.offer:hover img { transform: scale(1.04); }
.offer-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 18px; flex: 1; }
.offer-body b { font-size: 18px; letter-spacing: .06em; }
.offer-body small { font-size: 14px; color: var(--ink-2); }
.tone-yellow { background: var(--yellow-soft); }
.tone-peach { background: var(--peach-soft); }
.tone-deep { background: #fef3b8; }
.tone-grass { background: #eef3d8; }
.tone-run { background: #e3f8e4; }
.tone-teal { background: var(--teal-soft); }

/* 生活覺察 */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-lead { font-size: 19px; line-height: 1.9; margin-top: 16px; max-width: 520px; }
.breath { position: relative; display: block; width: 200px; height: 50px; color: #7fcfc8; margin: 18px 0 8px; }
.practice { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.practice li { display: grid; gap: 2px; }
.practice b { font-size: 17px; }
.practice span { color: var(--ink-2); }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }
.about-monstera { width: 220px; height: 244px; right: -40px; top: 40px; color: rgba(0, 63, 55, .14); transform: rotate(18deg); }

/* 本週課表 */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.day { background: var(--paper); border-radius: var(--radius); padding: 16px; }
.day-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.day-head .dow { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; }
.day-head .date { color: var(--ink-3); font-size: 13px; }
.slot { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 8px 6px; border-radius: 10px; text-decoration: none; margin: 0 -6px; }
.slot:hover { background: var(--yellow-soft); }
.slot .time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; }
.slot .name { font-size: 14.5px; line-height: 1.5; }
.slot .who { color: var(--ink-2); font-size: 12.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.slot .badge { font-size: 11px; padding: 0 8px; }

/* 瑜珈課程與選課指引 */
.yoga-fern { width: 200px; height: 290px; right: 2%; top: 30px; color: rgba(0, 63, 55, .16); transform: rotate(14deg); }
.guide { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px; }
.guide-head h3 { font-size: 20px; }
.guide-head p { margin-top: 2px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.guide-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.guide-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .07); border: 0; border-radius: 16px; padding: 14px 8px 12px;
  font: inherit; font-weight: 700; color: #fff; letter-spacing: .1em; transition: background .2s, color .2s, transform .15s;
}
.guide-btn svg { width: 46px; height: 46px; overflow: visible; color: var(--yellow); }
.guide-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.guide-btn[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.guide-btn[aria-pressed="true"] svg { color: var(--ink); }
.guide-hint { margin-top: 14px; font-size: 15px; min-height: 1.8em; color: rgba(255, 255, 255, .85); }
.guide-hint b { color: var(--yellow); }

.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.class-card { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; transition: opacity .25s, transform .25s, background .25s; }
.class-card h3 { font-size: 18px; margin: 10px 0 6px; }
.class-card p { color: var(--ink-2); font-size: 15px; }
.cc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .08em; }
.cat svg { width: 26px; height: 26px; overflow: visible; color: #c79a1e; }
.class-card .when { margin-top: 10px; font-size: 13.5px; color: var(--ink); }
.class-card .when:empty { display: none; }
.class-card .when span { display: inline-block; background: var(--yellow-soft); border-radius: 999px; padding: 1px 10px; margin: 3px 4px 0 0; }
.class-grid.filtered .class-card { opacity: .35; }
.class-grid.filtered .class-card.match { opacity: 1; transform: translateY(-3px); background: #fff; }

.plans { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: stretch; padding: 28px; background: var(--paper); border-radius: var(--radius); }
.plans h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.plan-cta { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; max-width: 220px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(0, 63, 55, .08); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list b::before { content: 'NT$ '; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.price-list em { font-style: normal; font-size: 12px; background: var(--yellow); border-radius: 999px; padding: 1px 8px; margin-left: 4px; font-weight: 700; }
.price-list.compact li { padding: 7px 0; font-size: 15px; }

/* 個人服務：照片＋色塊，左右交錯 */
.service-list { display: grid; gap: 22px; }
.service { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius); overflow: hidden; }
.service:nth-child(even) img { order: 2; }
.service img { width: 100%; height: 360px; object-fit: cover; }
.service-body { padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.service-body h3 { font-size: 22px; }
.service-body p { color: var(--ink-2); }
.service-body .price-list { margin-top: auto; }

/* 跑步課程・越野跑（只有這兩區用草植綠／粉綠） */
.section.run { background: #eef3dc; }
.section.run-2 { background: #e8f6e6; }
.run .line-title::before { background: var(--grass); }
.run .dots li::before { background: var(--grass); }
.run-rays { width: 220px; height: 120px; right: 4%; top: 40px; color: rgba(185, 202, 116, .9); }
.run-head { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.run-logo { width: 220px; }
.run-script { color: #6f8030; font-size: 32px; margin-top: 6px; }
.run-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.run-card { background: rgba(255, 255, 255, .7); border-radius: var(--radius); padding: 24px 26px; }
.run-card h3 { font-size: 18px; }
.run-card p { color: var(--ink-2); margin-top: 10px; }
.run-btn { background: var(--grass); color: var(--ink); }
.trail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* 照片精選：可左右滑 */
.gallery-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 0 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: thin; }
.gallery-strip img { height: 250px; width: auto; flex: none; border-radius: 14px; scroll-snap-align: start; object-fit: cover; }

/* 工作坊 */
.workshop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ws-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s; }
.ws-card:hover { transform: translateY(-3px); }
.ws-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--peach); }
.ws-body { padding: 16px 20px 20px; }
.ws-date { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.ws-body h3 { font-size: 19px; margin: 6px 0; }
.ws-body p { color: var(--ink-2); font-size: 14.5px; }
.empty { background: var(--paper); border-radius: var(--radius); padding: 24px; color: var(--ink-2); }

/* 老師 */
.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.teacher { display: grid; grid-template-columns: 128px 1fr; gap: 20px; padding: 20px; align-items: start; background: #f1f4ea; border-radius: var(--radius); }
.teacher img { width: 128px; height: 156px; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.teacher h3 { font-size: 20px; }
.teacher h3 small { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-left: 6px; letter-spacing: .04em; }
.teacher .t-bio { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; font-weight: 500; }
.teacher p:last-child { font-size: 15px; color: var(--ink-2); }

/* 空間 */
.space-fern { width: 200px; height: 290px; left: -30px; top: 60px; color: rgba(0, 63, 55, .14); transform: rotate(-16deg) scaleX(-1); }
.space-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 12px; }
.space-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.m-a { grid-row: span 2; }
.m-b { grid-row: span 2; }
.floor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.floor { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.floor img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.floor-body { padding: 20px 24px 24px; }
.floor-tag { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; display: inline-block; background: var(--teal-soft); border-radius: 999px; padding: 1px 12px; }
.floor h3 { font-size: 19px; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.floor .price { font-size: 20px; }
.floor .price small { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; align-items: start; }

/* 企業合作 */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.biz { background: var(--teal-soft); border-radius: var(--radius); padding: 20px 22px; }
.biz h3 { font-size: 16px; }
.biz p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.partners li { background: #f1f4ea; }

/* 收合（第一次來、租借須知） */
details { background: var(--paper); border-radius: 14px; padding: 4px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ink-2); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); padding-bottom: 16px; }
details .dots { margin: 0 0 16px; }

/* 交通 */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.addr { font-size: 20px; font-weight: 700; margin-top: 18px; }
.social { list-style: none; padding: 0; margin: 20px 0 16px; }
.social li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.social a { text-decoration: none; }
.social a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* 頁尾 */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: #e9f6f3; padding: 56px 0 calc(44px + env(safe-area-inset-bottom)); }
.footer-fern { width: 220px; height: 320px; right: 4%; bottom: -60px; color: rgba(124, 224, 221, .35); transform: rotate(-10deg); }
.footer-grid { display: grid; gap: 12px; justify-items: center; text-align: center; }
.footer-grid img { height: 40px; width: auto; }
.site-footer .script { color: var(--teal); }
.site-footer .tiny { color: #9cc3bb; }

/* 平板 */
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px 20px 20px; box-shadow: 0 8px 20px rgba(0, 63, 55, .08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .site-header .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
  .site-header .nav-links .btn { margin-top: 14px; background: var(--ink); color: #fff; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-cta { grid-column: 1 / -1; max-width: none; flex-direction: row; align-items: center; justify-content: space-between; }
  .teacher-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 36px; }
}

/* 手機 */
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { min-height: 88vh; padding: 100px 0 64px; align-items: flex-end; }
  .hero-veil { background: linear-gradient(180deg, rgba(0, 38, 33, .25) 0%, rgba(0, 38, 33, .55) 45%, rgba(0, 38, 33, .8) 100%); }
  .hero-fern { width: 130px; height: 190px; right: -10px; top: 70px; bottom: auto; }
  .leaf-shadow { width: 600px; height: 600px; }
  .offer-grid { gap: 12px; }
  .offer-body { padding: 12px 14px 14px; }
  .offer-body b { font-size: 16px; }
  .offer-body small { font-size: 13px; }
  .about-grid, .run-grid, .trail-grid, .floor-grid, .rules, .visit-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-photo img { aspect-ratio: 4 / 3.6; border-radius: 160px 160px var(--radius) var(--radius); }
  .class-grid { grid-template-columns: 1fr; }
  .guide { padding: 22px 16px; }
  .guide-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .plans { grid-template-columns: 1fr; padding: 22px; }
  .plan-cta { flex-direction: column; align-items: stretch; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) img { order: 0; }
  .service img { height: auto; aspect-ratio: 4 / 3; }
  .service-body { padding: 22px 20px 24px; }
  .run-head { grid-template-columns: 1fr; gap: 12px; }
  .run-logo { width: 170px; }
  .gallery-strip img { height: 190px; }
  .teacher { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; }
  .teacher img { width: 96px; height: 120px; }
  .space-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; }
  .m-a { grid-column: 1 / -1; grid-row: auto; }
  .m-b { grid-row: span 2; }
  .biz-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .yoga-fern, .about-monstera, .space-fern { opacity: .6; width: 120px; height: 170px; }
  .run-rays { width: 130px; height: 70px; top: 20px; }
  .map iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
  .leaf-shadow { animation: none; }
  .btn, .offer, .offer img, .ws-card, .class-card, .guide-btn { transition: none; }
}
