:root{
  --ink:#1f2a33; --muted:#5d6b75; --line:#e3e7ea; --bg:#ffffff; --soft:#f5f2ec;
  --brand:#1f5c63; --brand-2:#2f7d86; --accent:#b8925a; --radius:14px;
  --serif:"Noto Serif TC",serif; --sans:"Noto Sans TC",-apple-system,"PingFang TC","Microsoft JhengHei",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.8;font-size:16px}
img{max-width:100%;height:auto}
a{color:var(--brand)}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.eyebrow{font-family:var(--serif);letter-spacing:.2em;text-transform:uppercase;color:var(--accent);font-size:13px;margin:0 0 8px}
.btn{display:inline-block;background:var(--brand);color:#fff;text-decoration:none;padding:12px 26px;border-radius:999px;font-weight:500;border:1.5px solid var(--brand);transition:.2s}
.btn:hover{background:var(--brand-2);border-color:var(--brand-2)}
.btn-outline{background:transparent;color:var(--brand)}
.btn-outline:hover{background:var(--brand);color:#fff}
.btn-light{background:#fff;color:var(--brand);border-color:#fff}
.btn-light:hover{background:var(--soft);border-color:var(--soft);color:var(--brand)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-in{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand img{height:44px;width:auto;display:block}
.site-nav>ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}
.site-nav a{display:block;padding:8px 12px;color:var(--ink);text-decoration:none;font-size:15px;border-radius:8px}
.site-nav a:hover{color:var(--brand);background:var(--soft)}
.has-sub{position:relative}
.sub{display:none;position:absolute;top:100%;left:0;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;list-style:none;margin:0;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.has-sub:hover .sub,.has-sub:focus-within .sub{display:block}
.nav-cta a{background:var(--brand);color:#fff!important;border-radius:999px;padding:8px 18px;margin-left:6px}
.nav-cta a:hover{background:var(--brand-2)}
.nav-toggle{display:none;background:none;border:0;padding:10px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;transition:.2s}
@media (max-width:980px){
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);max-height:calc(100vh - 72px);overflow:auto}
  .site-nav.open{display:block}
  .site-nav>ul{flex-direction:column;align-items:stretch;padding:10px 20px 20px}
  .sub{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 16px}
  .nav-cta a{text-align:center;margin:8px 0 0}
}

/* hero */
.hero{background:linear-gradient(135deg,var(--soft),#fff 70%)}
.hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:24px}
.hero h1{font-family:var(--serif);font-size:44px;line-height:1.3;margin:0 0 18px}
.hero h1 span{display:block;font-family:var(--sans);font-size:17px;font-weight:500;color:var(--muted);margin-top:10px}
.hero blockquote{margin:0 0 28px;padding-left:18px;border-left:3px solid var(--accent);color:var(--muted);font-size:17px}
.hero .ph{display:inline-block}
@media (max-width:520px){.hero blockquote{font-size:min(17px,4vw)}}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-img img{display:block;margin:0 auto;max-height:540px;width:auto}
@media (max-width:820px){.hero-in{grid-template-columns:1fr;padding-top:36px}.hero h1{font-size:34px}.hero-img img{max-height:380px}}

/* sections */
.sec-title{font-family:var(--serif);font-size:28px;margin:0 0 20px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.more{text-decoration:none;font-weight:500;white-space:nowrap}
.band{background:var(--soft);padding:56px 0}
.creds,.process,.clinic,.list,.related{padding-top:56px;padding-bottom:56px}
.creds ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.creds li{border:1px solid var(--line);border-radius:999px;padding:8px 18px;background:#fff}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.steps li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.steps .n{font-family:var(--serif);font-size:30px;color:var(--accent)}
.steps h3{font-size:17px;margin:6px 0}
.steps p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
@media (max-width:980px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}
.env{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.env img{border-radius:10px;aspect-ratio:3/2;object-fit:cover;width:100%}
@media (max-width:720px){.env{grid-template-columns:1fr 1fr}}
.addr{margin-top:18px}

/* cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width:900px){.cards{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.cards{grid-template-columns:1fr}}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(31,42,51,.08)}
.card-img{aspect-ratio:3/2;overflow:hidden;background:var(--soft)}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:16px 18px 20px}
.card h3{font-size:17px;line-height:1.55;margin:4px 0 8px}
.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.card time{font-size:13px;color:var(--accent)}
.card.svc .en{font-family:var(--serif);color:var(--accent);font-size:13px;letter-spacing:.05em;margin:0}

/* page */
.page-head{background:var(--soft);padding:22px 0 28px}
.crumbs{font-size:13px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand)}
.crumbs span{margin:0 6px}
.crumbs [aria-current]{margin:0;color:var(--ink)}
.page-h1{font-family:var(--serif);font-size:32px;line-height:1.4;margin:14px 0 6px}
.lead{color:var(--muted);margin:0}
.post,.page{padding-top:36px;padding-bottom:40px}
.post{max-width:820px}
.meta{color:var(--muted);font-size:14px}

/* article content */
.prose{font-size:17px}
.prose h1{font-family:var(--serif);font-size:30px;line-height:1.45;margin:28px 0 18px}
.prose h2{font-family:var(--serif);font-size:24px;line-height:1.5;margin:40px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.prose h3{font-size:20px;margin:30px 0 10px}
.prose h4{font-size:18px;margin:24px 0 8px}
.prose h5{font-size:18px;font-weight:700;line-height:1.6;margin:24px 0 8px}
.prose h6{font-size:17px;font-weight:700;line-height:1.6;margin:20px 0 6px;color:var(--brand)}
.prose p{margin:0 0 1.1em}
.prose img{border-radius:10px;display:block;margin:10px auto 20px}
.prose ul,.prose ol{padding-left:1.4em}
.prose li{margin:.3em 0}
.prose blockquote{margin:20px 0;padding:14px 20px;background:var(--soft);border-left:4px solid var(--accent);border-radius:0 10px 10px 0}
.prose table{border-collapse:collapse;width:100%;margin:0;font-size:15px}
.prose .table-wrap{overflow-x:auto;margin:20px 0;-webkit-overflow-scrolling:touch}
.prose th,.prose td{border:1px solid var(--line);padding:10px 12px;vertical-align:top;text-align:left}
.prose td{background:#fff}
.prose th,.prose table:not(:has(thead)) tr:first-child td{background:var(--soft)}
.prose iframe{max-width:100%;border:0}
.prose .t-center{text-align:center}.prose .t-right{text-align:right}
.g-row{display:flex;flex-wrap:wrap;gap:0 24px}
.g-col{flex:1 1 100%;min-width:0}
@media (min-width:768px){.g-col-1{flex:1 1 calc(8.33% - 24px)}.g-col-2{flex:2 1 calc(16.67% - 24px)}.g-col-3{flex:3 1 calc(25.00% - 24px)}.g-col-4{flex:4 1 calc(33.33% - 24px)}.g-col-5{flex:5 1 calc(41.67% - 24px)}.g-col-6{flex:6 1 calc(50.00% - 24px)}.g-col-7{flex:7 1 calc(58.33% - 24px)}.g-col-8{flex:8 1 calc(66.67% - 24px)}.g-col-9{flex:9 1 calc(75.00% - 24px)}.g-col-10{flex:10 1 calc(83.33% - 24px)}.g-col-11{flex:11 1 calc(91.67% - 24px)}}

/* appointment / misc */
.appt{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:40px;padding-bottom:56px}
.appt-card{border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.appt-card h2{font-family:var(--serif);font-size:21px;margin:0 0 8px}
@media (max-width:820px){.appt{grid-template-columns:1fr}}
.sitemap-list{padding-top:30px;padding-bottom:50px}
.sitemap-list h2{font-family:var(--serif);font-size:22px;margin:28px 0 8px}
.sitemap-list ul{columns:2;column-gap:32px;padding-left:1.2em}
@media (max-width:700px){.sitemap-list ul{columns:1}}
.notfound{padding:80px 20px;text-align:center}

/* cta + footer */
.cta-band{background:var(--brand);color:#fff;padding:44px 0}
.cta-in{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.cta-band h2{font-family:var(--serif);font-size:26px;margin:0 0 6px}
.cta-band p{margin:0;opacity:.9}
.cta-band .eyebrow{color:#e9d3ae}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.site-footer{background:#172227;color:#c7d0d4;padding:40px 0 20px;font-size:15px}
.site-footer a{color:#e8edef;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-in{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.f-name{font-family:var(--serif);font-size:20px;color:#fff;margin:0 0 8px}
.f-name span{font-size:14px;color:var(--accent);margin-left:6px}
.f-links{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,auto);gap:6px 28px}
.copy{border-top:1px solid rgba(255,255,255,.1);margin-top:28px;padding-top:16px;font-size:13px;color:#8d9aa0}

/* 文章內的預約區塊（沿用舊站內容的 class） */
.prose .cta-content{margin:36px 0 10px;padding:24px 26px;background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);text-align:center}
.prose .cta-title{font-family:var(--serif);margin:0 0 8px}
.prose .cta-info{color:var(--muted)}
.prose .cta-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.prose .cta-button{display:inline-block;padding:10px 22px;border-radius:999px;text-decoration:none;font-weight:500;border:1.5px solid var(--brand)}
.prose .btn-online{background:var(--brand);color:#fff}
.prose .btn-phone{color:var(--brand)}
.prose li > input[type="checkbox"]{width:18px;height:18px;margin:0 8px 0 0;vertical-align:-3px;accent-color:var(--brand)}
.prose ul:has(> li > input[type="checkbox"]){list-style:none;padding-left:.2em}
.prose iframe[src*="youtube.com"]{width:100%;height:auto;aspect-ratio:16/9}

/* 服務院所 */
.spot-card{display:grid;grid-template-columns:5fr 6fr;gap:36px;align-items:center;margin:28px 0 12px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.spot-img img{width:100%;height:100%;max-height:360px;object-fit:cover;border-radius:10px;margin:0}
.spot-info h2{border:0;padding:0;margin:0 0 14px}
.prose .spot-list{list-style:none;padding:0;margin:0 0 22px}
.prose .spot-list li{display:flex;gap:14px;padding:10px 0;border-bottom:1px dashed var(--line);margin:0}
.spot-list span{color:var(--muted);min-width:3em}
.spot-actions{display:flex;gap:12px;flex-wrap:wrap}
.spot-actions .btn{text-decoration:none}
.spot-actions .btn-outline{color:var(--brand)}
.spot-actions .btn:not(.btn-outline){color:#fff}
.spot-section h2{margin-top:44px}
.schedule th,.schedule td{text-align:center;padding:14px 8px;min-width:56px}
.schedule td{color:var(--brand);font-weight:500}
.spot-map{display:block;width:100%;height:380px;border-radius:var(--radius);margin:8px 0 10px}
.prose .hint{color:var(--muted);font-size:14px;text-align:center;margin:-8px 0 0}
.m-only{display:none}
@media (max-width:720px){.spot-card{grid-template-columns:1fr;gap:18px;padding:16px}.m-only{display:block}.spot-map{height:300px}}

/* 流程圖 */
.prose .flow{list-style:none;counter-reset:none;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding:0;margin:24px 0 32px}
.prose .flow li{position:relative;margin:0;padding:18px 16px 20px;background:#fff;border:1.5px solid var(--brand-2);border-radius:var(--radius);text-align:center;display:flex;flex-direction:column;gap:6px;box-shadow:0 4px 14px rgba(31,92,99,.06)}
.prose .flow li:not(:last-child)::after{content:"";position:absolute;right:-22px;top:50%;width:16px;height:16px;border-top:3px solid var(--accent);border-right:3px solid var(--accent);transform:translateY(-50%) rotate(45deg)}
.prose .flow .flow-n{align-self:center;font-size:13px;font-weight:700;letter-spacing:.08em;color:#fff;background:var(--brand);border-radius:999px;padding:2px 12px}
.prose .flow strong{font-family:var(--serif);font-size:19px;color:var(--brand)}
.prose .flow .flow-d{font-size:14.5px;line-height:1.6;color:var(--muted)}
@media (max-width:760px){
  .prose .flow{grid-template-columns:1fr;gap:26px}
  .prose .flow li{flex-direction:row;flex-wrap:wrap;align-items:center;text-align:left;gap:4px 12px;padding:14px 16px}
  .prose .flow .flow-d{flex-basis:100%}
  .prose .flow li:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-20px;transform:translateX(-50%) rotate(135deg);width:12px;height:12px}
}

/* FAQ 問答（details / summary） */
.prose details{border:1px solid var(--line);border-radius:12px;padding:0 18px;margin:12px 0;background:#fff;transition:box-shadow .2s}
.prose details[open]{box-shadow:0 6px 18px rgba(31,42,51,.06)}
.prose summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px}
.prose summary::-webkit-details-marker{display:none}
.prose summary::after{content:"+";flex:none;width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--brand);display:grid;place-items:center;font-size:20px;line-height:1}
.prose details[open] summary::after{content:"−"}
.prose summary > h2,.prose summary > h3,.prose summary > h4,.prose summary > strong{margin:14px 0;font-size:18px;border:0;padding:0;line-height:1.55}
.prose details > p,.prose details > div,.prose details > ul{margin:0 0 16px}
