/* shaykq.com — site.css
 * 抽取自 design/10-V1-blue.html（设计稿定稿）
 * 修改前请通读 memory/design-locked-10-v1-blue.md 的硬性原则。
 */

:root{--bg:#ffffff;--bg-alt:#eef4f9;--ink:#1a1a1a;--ink-soft:#6a6a6a;--line:#e3e8ee;--accent:#1f4e7a;--accent-deep:#163a5e;--ok:#2d5a2d;--ok-bg:#e8f0e8;--ok-line:#cfe3cf;--err:#8a2d2d;--err-bg:#f6e8e8;--err-line:#e3cfcf}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Source Han Serif SC","Noto Serif SC","Songti SC",serif;color:var(--ink);background:var(--bg);line-height:1.7;-webkit-font-smoothing:antialiased;font-weight:400}
.sans{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
a{color:inherit;text-decoration:none}
.container{max-width:1280px;margin:0 auto;padding:0 40px}
.notice{background:var(--accent-deep);color:#eaf2fb;border-bottom:1px solid rgba(255,255,255,.12);overflow:hidden;max-height:0;transition:max-height .5s cubic-bezier(.22,1,.36,1)}
.notice.is-open{max-height:120px}
.notice .container{display:flex;justify-content:center;align-items:center;gap:18px;font-family:-apple-system,sans-serif;font-size:13px;color:#eaf2fb;padding:14px 40px;transform:translateY(-100%);transition:transform .5s cubic-bezier(.22,1,.36,1)}
.notice.is-open .container{transform:translateY(0)}
.notice .dot{width:6px;height:6px;background:#9ec5ef;border-radius:50%;flex-shrink:0}
.notice strong{color:#fff;font-weight:500}
.notice a.more{color:#bcd6f0;border-bottom:1px solid rgba(255,255,255,.5);padding-bottom:1px;flex-shrink:0}
.notice-close{margin-left:auto;background:rgba(255,255,255,.14);border:0;color:#fff;width:26px;height:26px;border-radius:50%;font-size:16px;line-height:1;cursor:pointer;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;transition:background .2s}
.notice-close:hover{background:rgba(255,255,255,.28)}
.notice-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
header{padding:32px 0;border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:48px}
.logo{display:flex;align-items:center;gap:14px}
.logo-mark{width:40px;height:40px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:600;border-radius:50%}
.logo-copy small,.header-contact{display:none}
.logo-text{font-size:17px;letter-spacing:6px;font-weight:600}
.menu{display:flex;gap:36px;flex:1;justify-content:center;font-family:-apple-system,sans-serif}
.menu a{font-size:14px;color:var(--ink-soft);transition:color 200ms ease}
.menu a.active,.menu a:hover{color:var(--accent)}
.cta-link{font-family:-apple-system,sans-serif;font-size:13px;color:var(--accent);padding:0 22px;border:1px solid var(--accent);border-radius:50px;min-height:44px;display:inline-flex;align-items:center;letter-spacing:2px;transition:all 200ms ease}
.cta-link:hover{background:var(--accent);color:#fff}
.cta-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.header-actions{display:flex;align-items:center;gap:18px}
.hero{padding:40px 0 96px}
.hero .container{display:grid;grid-template-columns:1.25fr 1fr;gap:80px;align-items:center}
.hero .label{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:6px;color:var(--ink-soft);margin-bottom:28px;text-transform:uppercase}
.hero h1{font-size:clamp(48px,7vw,104px);line-height:1.04;font-weight:700;letter-spacing:2px;margin-bottom:28px;max-width:14ch}
.hero h1 .stop{color:var(--accent)}
.hero .lead{font-size:clamp(18px,1.8vw,24px);line-height:1.55;color:var(--ink);max-width:520px;margin-bottom:32px;font-weight:400}
.btn-primary{font-family:-apple-system,sans-serif;padding:0 40px;background:var(--accent);color:#fff;font-size:14px;letter-spacing:4px;border-radius:50px;min-height:56px;display:inline-flex;align-items:center;gap:12px;transition:all 200ms ease}
.btn-primary:hover{background:var(--accent-deep);transform:translateY(-1px)}
.btn-primary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.btn-primary svg{transition:transform 200ms ease}
.btn-primary:hover svg{transform:translateX(4px)}
.hero-art{display:flex;justify-content:center;align-items:center}
.hero-art svg{width:100%;max-width:460px;height:auto}
.hero-art img{width:100%;max-width:460px;height:auto;border-radius:8px}
section{padding:160px 0}
.eyebrow{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:6px;color:var(--accent);text-transform:uppercase;margin-bottom:32px;display:block}
.section-title{font-size:clamp(40px,5.5vw,72px);line-height:1.1;font-weight:700;letter-spacing:2px;margin-bottom:40px;max-width:18ch}
.section-sub{font-size:18px;line-height:1.7;color:var(--ink-soft);max-width:560px}
.care-note{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.care-note .container{max-width:780px}
.care-note h2{font-size:clamp(36px,5vw,60px);line-height:1.15;font-weight:700;letter-spacing:2px;margin-bottom:56px;max-width:18ch}
.care-note p{font-size:18px;line-height:1.9;margin-bottom:28px}
.care-note .sig{display:flex;align-items:center;gap:18px;margin-top:64px;padding-top:32px;border-top:1px solid var(--line)}
.care-note .stamp{width:44px;height:44px;background:var(--accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;flex-shrink:0}
.care-note .name strong{display:block;font-size:14px;letter-spacing:3px;font-weight:600}
.care-note .name span{font-family:-apple-system,sans-serif;font-size:12px;color:var(--ink-soft);letter-spacing:2px}
.services-section .container{display:block}
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.service{padding:48px 36px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background 250ms ease}
.service:hover{background:var(--bg-alt)}
.service .num{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:4px;color:var(--accent);margin-bottom:16px}
.service h3,.service h2{font-size:22px;letter-spacing:4px;font-weight:600;margin-bottom:14px}
.service p{font-size:14px;line-height:1.85;color:var(--ink-soft);font-family:-apple-system,sans-serif}
.doctors-section{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.doctors-head{margin:0 0 56px;max-width:680px}
.director-card{display:grid;grid-template-columns:0.75fr 1fr;gap:64px;align-items:center}
.director-portrait-img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;background:var(--line)}
.director-info .name{font-size:clamp(32px,4vw,44px);letter-spacing:6px;font-weight:700;margin-bottom:8px}
.director-info .role{font-family:-apple-system,sans-serif;font-size:13px;letter-spacing:3px;color:var(--accent);margin-bottom:24px}
.director-info .bio{font-size:17px;line-height:1.9;margin-bottom:20px;max-width:54ch}
.director-quote{font-size:20px;line-height:1.7;color:var(--accent-deep);font-weight:600;padding-left:20px;border-left:3px solid var(--accent);margin:0 0 28px;max-width:40ch}
.director-meta{font-family:-apple-system,sans-serif;font-size:13px;color:var(--ink-soft);line-height:1.95}
.director-meta dt{color:var(--ink);font-weight:500;display:inline-block;width:5em;letter-spacing:1px}
.director-meta dd{display:inline;margin:0}
.philosophy{margin-top:96px}
.philosophy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.philosophy-grid .item{padding:24px 22px;background:var(--bg);border:1px solid var(--line);border-radius:6px}
.philosophy .item .num{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:3px;color:var(--accent);margin-bottom:10px}
.philosophy .item h4{font-size:18px;letter-spacing:3px;font-weight:600;margin-bottom:8px}
.philosophy .item p{font-family:-apple-system,sans-serif;font-size:13px;line-height:1.75;color:var(--ink-soft)}
@media(max-width:760px){.director-card{grid-template-columns:1fr;gap:32px}.philosophy-grid{grid-template-columns:1fr}}
.articles-head{display:grid;grid-template-columns:1fr 1.6fr;gap:80px;align-items:end;margin-bottom:96px}
.articles-head .head-link{font-family:-apple-system,sans-serif;font-size:13px;color:var(--accent);letter-spacing:2px;border-bottom:1px solid var(--accent);padding-bottom:4px;justify-self:end;align-self:end;transition:opacity 200ms ease}
.articles-head .head-link:hover{opacity:.7}
.articles{display:flex;flex-direction:column;gap:0}
.article{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;padding:40px 0;border-top:1px solid var(--line)}
.article:last-child{border-bottom:1px solid var(--line)}
.article .article-main{min-width:0}
.article .cat{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:4px;color:var(--accent);text-transform:uppercase;margin-bottom:14px}
.article h3,.article h2{font-size:22px;line-height:1.5;letter-spacing:1px;font-weight:600;margin-bottom:14px}
.article p{font-size:14px;line-height:1.85;color:var(--ink-soft);font-family:-apple-system,sans-serif;margin-bottom:0}
.article .read{font-family:-apple-system,sans-serif;font-size:12px;color:var(--accent);letter-spacing:3px;display:inline-flex;gap:8px;align-items:center;white-space:nowrap}
.article .read svg{transition:transform 200ms ease}
.article:hover .read svg{transform:translateX(4px)}
.faq-section{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.faq-section .container{display:grid;grid-template-columns:1fr 1.6fr;gap:80px;align-items:start}
.qa-list{border-top:1px solid var(--line)}
.qa{padding:36px 0;border-bottom:1px solid var(--line)}
.qa .q{font-size:20px;line-height:1.55;font-weight:600;letter-spacing:1px;cursor:pointer;list-style:none;display:flex;gap:12px;align-items:baseline}
.qa .q::-webkit-details-marker{display:none}
.qa .q::before{content:"+";color:var(--accent);font-family:-apple-system,sans-serif;font-size:18px;font-weight:400;flex-shrink:0;width:1em}
.qa[open] .q::before{content:"−"}
.qa .a{font-family:-apple-system,sans-serif;font-size:14px;line-height:1.85;color:var(--ink-soft);padding-left:28px;margin-top:12px}
.qa-more,.qa .qa-more{display:inline-block;margin-top:12px;font-family:-apple-system,sans-serif;font-size:13px;color:var(--accent);letter-spacing:2px;border-bottom:1px solid var(--accent);padding-bottom:3px;transition:opacity 200ms ease}
.qa-more:hover,.qa .qa-more:hover{opacity:.7}
.news-head{display:grid;grid-template-columns:1fr 1.6fr;gap:80px;align-items:end;margin-bottom:80px}
.news-list{border-top:1px solid var(--line)}
.news-item{display:grid;grid-template-columns:140px 1fr 56px;gap:40px;align-items:center;padding:32px 0;border-bottom:1px solid var(--line);transition:padding-left 250ms ease;cursor:pointer}
.news-item:hover{padding-left:12px;background:linear-gradient(to right,var(--bg-alt),transparent 30%)}
.news-item .date{font-family:-apple-system,sans-serif;font-size:12px;letter-spacing:3px;color:var(--accent)}
.news-item .title{font-size:18px;line-height:1.55;font-weight:500;letter-spacing:1px}
.news-item .arr{color:var(--ink-soft);font-family:-apple-system,sans-serif;font-size:18px;justify-self:end;transition:transform 200ms ease,color 200ms ease}
.news-item:hover .arr{color:var(--accent);transform:translateX(6px)}
footer{background:var(--ink);color:#fff;padding:100px 0 32px;font-family:-apple-system,sans-serif}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:56px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:32px}
.footer-brand-mark{width:36px;height:36px;background:#fff;color:var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;margin-bottom:18px;font-family:"Source Han Serif SC",serif}
.footer-brand-name{font-family:"Source Han Serif SC",serif;font-size:17px;letter-spacing:6px;font-weight:600;color:#fff;display:block;margin-bottom:18px}
.footer-grid h5{font-size:11px;letter-spacing:4px;margin-bottom:24px;color:rgba(255,255,255,.5);text-transform:uppercase;font-weight:500}
.footer-grid ul{list-style:none}
.footer-grid ul li{margin-bottom:12px;font-size:14px;color:rgba(255,255,255,.85)}
.footer-grid p{font-size:13px;line-height:1.85;color:rgba(255,255,255,.65)}
.footer-bottom{display:flex;justify-content:space-between;font-size:12px;color:rgba(255,255,255,.4);letter-spacing:1px}
.footer-wechat{position:relative;display:flex;align-items:center;gap:14px;margin-top:22px;cursor:pointer;width:max-content}
.footer-wechat-qr{width:64px;height:auto;background:#fff;border-radius:8px;padding:4px}
.footer-wechat-tip{margin:0;font-size:12px;line-height:1.75;color:rgba(255,255,255,.6)}
.footer-wechat-pop{position:absolute;left:0;bottom:calc(100% + 12px);background:#fff;border-radius:12px;padding:10px;box-shadow:0 12px 32px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity 200ms ease,transform 200ms ease,visibility 200ms ease;pointer-events:none}
.footer-wechat-pop img{display:block;width:200px;height:auto}
@media (hover:hover){.footer-wechat:hover .footer-wechat-pop{opacity:1;visibility:visible;transform:translateY(0)}}
.booking-section{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.booking-section .container{max-width:880px}
.booking-head{margin-bottom:64px;max-width:640px}
.booking-form{display:flex;flex-direction:column;gap:32px}
.booking-row{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.booking-field{display:flex;flex-direction:column;gap:10px;font-family:-apple-system,"PingFang SC",sans-serif}
.booking-label{font-size:11px;letter-spacing:3px;color:var(--accent);text-transform:uppercase}
.booking-field input,.booking-field select,.booking-field textarea{font-family:inherit;font-size:16px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:14px 16px;min-height:56px;transition:border-color 200ms ease}
.booking-field textarea{min-height:auto;resize:vertical}
.booking-field input::placeholder,.booking-field textarea::placeholder{color:var(--ink-soft)}
.booking-field input:focus-visible,.booking-field select:focus-visible,.booking-field textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-color:var(--accent)}
.booking-form .btn-primary{align-self:flex-start;cursor:pointer;border:none}
.booking-fineprint{font-family:-apple-system,sans-serif;font-size:12px;color:var(--ink-soft);line-height:1.7}
.booking-flash{font-family:-apple-system,"PingFang SC",sans-serif;font-size:14px;padding:14px 18px;border-radius:4px;margin:0}
.booking-flash.ok{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok-line)}
.booking-flash.err{background:var(--err-bg);color:var(--err);border:1px solid var(--err-line)}
.article-detail{padding:120px 0 140px}
.article-detail .container{max-width:760px}
.back-link{display:inline-block;font-family:-apple-system,"PingFang SC",sans-serif;font-size:13px;color:var(--accent);letter-spacing:1px;margin-bottom:48px}
.back-link:hover{opacity:.7}
.article-cat{font-family:-apple-system,sans-serif;font-size:11px;letter-spacing:4px;color:var(--accent);text-transform:uppercase;margin-bottom:24px}
.article-detail-title{font-size:clamp(32px,4.5vw,52px);line-height:1.2;font-weight:700;letter-spacing:1px;margin-bottom:24px}
.article-meta{font-family:-apple-system,sans-serif;font-size:13px;color:var(--ink-soft);letter-spacing:2px;margin-bottom:32px}
.article-lead{font-size:20px;line-height:1.7;color:var(--ink);margin-bottom:56px;padding-bottom:32px;border-bottom:1px solid var(--line)}
.article-body{font-size:17px;line-height:1.9;color:var(--ink)}
.article-body h2{font-size:26px;font-weight:600;letter-spacing:1px;margin:48px 0 20px}
.article-body h3{font-size:20px;font-weight:600;margin:40px 0 16px}
.article-body p{margin-bottom:24px}
.article-body ul,.article-body ol{margin:0 0 24px 1.5em}
.article-body li{margin-bottom:10px}
.article-body img{max-width:100%;height:auto;border-radius:6px;margin:24px 0}
.article-body blockquote{border-left:3px solid var(--accent);padding:8px 0 8px 24px;color:var(--ink-soft);font-style:normal;margin:24px 0}
.article-empty{color:var(--ink-soft);font-family:-apple-system,"PingFang SC",sans-serif;font-size:15px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* === 多页站 / SEO-GEO 新增样式 === */
.section-title{letter-spacing:3px}
.hero h1{letter-spacing:3px}
.hero .lead{letter-spacing:.5px}
.hero-keywords{font-family:-apple-system,"PingFang SC",sans-serif;font-size:13px;letter-spacing:3px;color:var(--ink-soft);margin-bottom:32px}
.hero-service-list,.btn-secondary{display:none}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.service{display:block;text-decoration:none;color:inherit}
.service .service-lead{font-size:13px;line-height:1.7;color:var(--ink);margin-bottom:8px;font-family:-apple-system,"PingFang SC",sans-serif}
.service h3,.service h2{letter-spacing:3px}
.service:hover{background:var(--bg-alt)}
.services-list-page .container{display:block;max-width:1280px}
.services-list-page .page-head{margin-bottom:48px}
.services-intro{font-size:18px;line-height:1.8;color:var(--ink-soft);max-width:760px;margin-bottom:64px}
.services-intro p{margin:0}
.services-list-page .services{grid-template-columns:repeat(3,1fr)}
.services-more,.director-more,.faq-more{display:inline-block;font-family:-apple-system,sans-serif;font-size:13px;color:var(--accent);letter-spacing:2px;border-bottom:1px solid var(--accent);padding-bottom:4px;margin-top:40px;transition:opacity 200ms ease}
.services-more:hover,.director-more:hover,.faq-more:hover{opacity:.7}
.director-more{display:block;width:fit-content;margin-left:auto}
.services-more{display:table;margin-left:auto}
.philosophy-title{font-size:14px;letter-spacing:4px;color:var(--accent);text-transform:uppercase;margin:0 0 32px;font-family:-apple-system,sans-serif}
.philosophy .philosophy-h{font-size:22px;letter-spacing:3px;font-weight:600;margin-bottom:16px}
.director-portrait .name{letter-spacing:4px}
.article h3 a,.article h2 a{color:inherit}
.article h3 a:hover,.article h2 a:hover{color:var(--accent)}
.notice time{font-family:inherit}
.footer-grid ul li a{color:rgba(255,255,255,.85);transition:color 200ms ease}
.footer-grid ul li a:hover{color:#fff}
.footer-grid p a{color:#9ec3e6}
.breadcrumbs{font-family:-apple-system,"PingFang SC",sans-serif;font-size:13px;color:var(--ink-soft);padding:40px 0 0;letter-spacing:1px}
.breadcrumbs a{color:var(--accent)}
.breadcrumbs span{margin:0 8px;color:var(--ink-soft)}
.page-head{padding:120px 0 60px}
.page-head .eyebrow{margin-bottom:24px}
/* —— 子页面顶部横幅（includes/page-banner.php，仅非首页渲染） —— */
.page-banner{padding:0}
.page-banner-link{display:block}
.page-banner img{display:block;width:100%;height:auto;border-radius:0}
/* 横幅紧贴菜单与正文：上下不留空白，紧随的 section 与 page-head 上 padding 收掉。
   图片不做裁切：宽度不足时整图等比缩小（height:auto），内容始终完整可见。 */
.page-banner+section{padding-top:0}
.page-banner+section .page-head{padding-top:0}
.detail-body{padding:0 0 120px}
.detail-body .container{max-width:760px}
.detail-body h1{font-size:clamp(32px,4.5vw,52px);line-height:1.2;font-weight:700;letter-spacing:1px;margin-bottom:24px}
.detail-meta{font-family:-apple-system,sans-serif;font-size:13px;color:var(--ink-soft);letter-spacing:2px;margin-bottom:32px}
.detail-body .article-body{font-size:17px;line-height:1.9;color:var(--ink)}
.detail-body .article-body p{margin-bottom:24px}
/* —— 详情页配图（服务/文章 detail 共用；无图不渲染） —— */
.detail-figure{margin:0 0 48px}
.detail-figure img{display:block;width:100%;height:auto;border-radius:12px}
@media (max-width:900px){.services{grid-template-columns:repeat(2,1fr)}.articles-head,.faq-section .container,.news-head{grid-template-columns:1fr;gap:32px}.articles-head .head-link{justify-self:start}.article{grid-template-columns:1fr;gap:20px;align-items:start}}
@media (max-width:768px){.menu,.cta-link{display:none}.hero{padding:80px 0}.hero .container{grid-template-columns:1fr;gap:48px}.hero-art{order:2}.hero-art svg{max-width:320px}section{padding:80px 0}.services{grid-template-columns:1fr}.service{border-right:none}.service:last-child{border-bottom:none}.director-card,.philosophy,.footer-grid,.articles{grid-template-columns:1fr;gap:48px}.philosophy{gap:0}.philosophy .item{border-right:none}.article h3{min-height:0}.qa .a{padding-left:0}.news-item{grid-template-columns:1fr;gap:6px;padding:24px 0}.news-item .arr{display:none}.footer-bottom{flex-direction:column;gap:8px}.booking-row{grid-template-columns:1fr;gap:24px}}

/* === 动效层（motion.js 渐进增强）===
 * 严格遵守 design-locked 原则：prefers-reduced-motion: reduce 时全部静止
 * （已由上方全局 *{transition/animation:none!important} 兜底）。
 * 隐藏初始态仅在 .motion（head 内联脚本注入）+ no-preference 双重条件下生效，
 * 无 JS / 爬虫 / reduce 用户均直见内容。
 */
@media (prefers-reduced-motion: no-preference){
  /* —— 滚动揭示：初始隐藏态 —— */
  .motion .hero .label,.motion .hero h1,.motion .hero .lead,.motion .hero-keywords,.motion .hero .btn-primary,.motion .hero-art,
  .motion .eyebrow,.motion .section-title,.motion .section-sub,
  .motion .service,.motion .qa,.motion .article,.motion .news-item,.motion .philosophy .item,
  .motion .director-card,.motion .director-bio .field,
  .motion .care-note h2,.motion .care-note p,.motion .care-note .sig,
  .motion .booking-head,.motion .booking-form
  {opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
  /* —— 滚动揭示：进入视口 —— */
  .motion .hero .label.is-visible,.motion .hero h1.is-visible,.motion .hero .lead.is-visible,.motion .hero-keywords.is-visible,.motion .hero .btn-primary.is-visible,.motion .hero-art.is-visible,
  .motion .eyebrow.is-visible,.motion .section-title.is-visible,.motion .section-sub.is-visible,
  .motion .service.is-visible,.motion .qa.is-visible,.motion .article.is-visible,.motion .news-item.is-visible,.motion .philosophy .item.is-visible,
  .motion .director-card.is-visible,.motion .director-bio .field.is-visible,
  .motion .care-note h2.is-visible,.motion .care-note p.is-visible,.motion .care-note .sig.is-visible,
  .motion .booking-head.is-visible,.motion .booking-form.is-visible
  {opacity:1;transform:none}

  /* —— 安全网：motion.js 未能初始化时，3.5s 后由 head 脚本注入 .motion-failed 强制还原 —— */
  .motion-failed .hero .label,.motion-failed .hero h1,.motion-failed .hero .lead,.motion-failed .hero-keywords,.motion-failed .hero .btn-primary,.motion-failed .hero-art,
  .motion-failed .eyebrow,.motion-failed .section-title,.motion-failed .section-sub,
  .motion-failed .service,.motion-failed .qa,.motion-failed .article,.motion-failed .news-item,.motion-failed .philosophy .item,
  .motion-failed .director-card,.motion-failed .director-bio .field,
  .motion-failed .care-note h2,.motion-failed .care-note p,.motion-failed .care-note .sig,
  .motion-failed .booking-head,.motion-failed .booking-form
  {opacity:1!important;transform:none!important}

  /* —— C. 持续动态：hero 背景柔光漂移 —— */
  .hero{position:relative;overflow:hidden}
  .hero::before{content:"";position:absolute;inset:-25% -10%;background:radial-gradient(circle at 28% 38%,rgba(31,78,122,.07),transparent 55%),radial-gradient(circle at 78% 70%,rgba(31,78,122,.05),transparent 50%);pointer-events:none;z-index:0;animation:heroDrift 22s ease-in-out infinite}
  .hero .container{position:relative;z-index:1}
  @keyframes heroDrift{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(2.5%,2%,0)}}

  /* —— C. 持续动态：hero 牙形 SVG 描边绘制 + 缓慢漂浮 —— */
  .hero-art svg path{stroke-dasharray:1400;stroke-dashoffset:1400;animation:toothDraw 1.8s cubic-bezier(.65,0,.35,1) .15s forwards}
  @keyframes toothDraw{to{stroke-dashoffset:0}}
  .hero-art{animation:heroFloat 7s ease-in-out infinite}
  @keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

  /* —— C. 持续动态：公告条圆点呼吸 —— */
  .notice .dot{animation:dotPulse 2.4s ease-in-out infinite}
  @keyframes dotPulse{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}

  /* —— B. 微交互：导航下划线滑入 —— */
  .menu a{position:relative}
  .menu a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
  .menu a:hover::after,.menu a.active::after{transform:scaleX(1)}

  /* —— B. 微交互：服务卡片悬停上浮 + 编号推进 —— */
  .service{transition:background .25s ease,transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease}
  .service:hover{transform:translateY(-4px);box-shadow:0 12px 32px -18px rgba(31,78,122,.4)}
  .service .num{transition:transform .3s ease}
  .service:hover .num{transform:translateX(4px)}

  /* —— B. 微交互：理念卡上浮 —— */
  .philosophy .item{transition:background .25s ease,transform .3s cubic-bezier(.22,1,.36,1)}
  .philosophy .item:hover{transform:translateY(-4px)}

  /* —— B. 微交互：问答条悬停左侧 accent 条 —— */
  .qa{position:relative;transition:background .25s ease}
  .qa::before{content:"";position:absolute;left:-16px;top:36px;bottom:36px;width:2px;background:var(--accent);transform:scaleY(0);transform-origin:center;transition:transform .3s ease}
  .qa:hover{background:rgba(31,78,122,.04)}
  .qa:hover::before{transform:scaleY(1)}

  /* —— B. 微交互：主按钮按下反馈 —— */
  .btn-primary:active{transform:translateY(1px)}

  /* —— B. 微交互：文章行 hover 底色 —— */
  .article{transition:background .25s ease}
  .article:hover{background:rgba(31,78,122,.025)}
}

/* 蜜罐字段：屏外定位。前台 CSP style-src 'self' 拦截内联 style，故用 class。 */
.honeypot{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}

/* —— 工具类：替代被前台 CSP style-src 'self' 拦截的内联 style —— */
.ta-center{text-align:center}
.mt-48{margin-top:48px}
.mb-32{margin-bottom:32px}
/* 页脚备案行：替代被前台 CSP style-src 'self' 拦截的内联 style */
.footer-beian{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-beian-icp{color:inherit;text-decoration:none}
.footer-beian-icp:hover{text-decoration:underline}
.footer-beian-ps{display:inline-flex;align-items:center;gap:5px}
.footer-beian-ps img{display:block}
.qa-empty{color:var(--ink-soft);font-size:14px}
.detail-body .field{padding:28px 0;border-bottom:1px solid var(--line)}

/* ============================================================
   模板1 丰盈化 · V6「轻奢深蓝」板块交替（2026-07 定稿）
   设计系统：白/浅灰阅读区与深海蓝主张区交替节奏（首页
   hero浅 → 关怀深蓝 → 服务浅 → 文章深蓝 → 问答浅 → 新闻深蓝
   → 预约浅）；正文无衬线（屏幕可读性），标题衬线（编辑气质）；
   藏青 #14324c 为结构色，贯穿编号徽章/按钮/深蓝区/页脚。
   纯增量覆盖，不删改上方既有规则（同优先级后者胜出）；
   无内联样式（CSP）；reduced-motion 由上方全局兜底保持静止。
   注：/articles/ 与 /news/ 列表页复用同一 section 类名，
   随之呈深蓝编辑风，属设计语言的一致延伸。
   ============================================================ */
:root{
  --bg:#ffffff;--bg-alt:#f3f7fa;--ink:#12222e;--ink-soft:#56636d;
  --line:#e3e9ef;--accent:#14324c;--accent-deep:#0e2740;
  --navy-1:#17395a;--navy-2:#0e2740;
  --shadow-card:0 10px 28px -16px rgba(18,34,46,.16);
  --shadow-card-hover:0 20px 44px -20px rgba(18,34,46,.26);
}

/* —— 字体系统：正文无衬线，标题衬线；中文大字距收紧 —— */
body{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px}
.hero h1,.section-title,.care-note h2,.service h3,.service h2,
.article h3,.article h2,.qa .q,.news-item .title,
.detail-body h1,.article-detail-title,.director-info .name,.philosophy .item h4{
  font-family:"Source Han Serif SC","Noto Serif SC","Songti SC",serif;
}
.hero h1{letter-spacing:.02em;line-height:1.16}
.section-title{letter-spacing:.03em}
.btn-primary,.cta-link{letter-spacing:1px}

/* —— 板块背景节奏：浅区 —— */
.hero{position:relative;background:linear-gradient(180deg,#f5f9fc 0%,#ffffff 65%)}
.faq-section,.doctors-section{background:var(--bg-alt)}
.page-head{background:linear-gradient(180deg,#f3f7fa,#ffffff)}
.booking-section{background:var(--bg-alt);border-top:1px solid var(--line)}

/* —— 板块背景节奏：深海蓝区（首页 关怀/文章/新闻 交替） ——
   :not(:has(.page-head)) 守卫：/articles/ 与 /news/ 列表页复用同名 section 类但内含 .page-head，
   守卫使列表页保持浅色，深蓝仅作用于首页板块 */
.care-note,.articles-section:not(:has(.page-head)),.news-section:not(:has(.page-head)){
  background:linear-gradient(155deg,var(--navy-1) 0%,var(--navy-2) 100%);
  border:none;
  --line:rgba(255,255,255,.16); /* 深蓝区内发丝线自动转亮 */
}
.care-note .eyebrow,.articles-section:not(:has(.page-head)) .eyebrow,.news-section:not(:has(.page-head)) .eyebrow{color:#a8c8e2}
.care-note h2,.articles-section:not(:has(.page-head)) .section-title,.news-section:not(:has(.page-head)) .section-title{color:#f4f8fb}
.care-note p,.articles-section:not(:has(.page-head)) .section-sub,.news-section:not(:has(.page-head)) .section-sub{color:rgba(238,245,251,.82)}
.care-note .stamp{background:#ffffff;color:var(--accent)}
.care-note .name strong{color:#ffffff}
.care-note .name span{color:rgba(255,255,255,.6)}

/* 深蓝区：文章列表 */
.articles-section:not(:has(.page-head)) .article .cat{background:rgba(255,255,255,.1);color:#a8c8e2;border:none}
.articles-section:not(:has(.page-head)) .article h3,.articles-section:not(:has(.page-head)) .article h2{color:#f4f8fb}
.articles-section:not(:has(.page-head)) .article h3 a,.articles-section:not(:has(.page-head)) .article h2 a{color:#f4f8fb}
.articles-section:not(:has(.page-head)) .article h3 a:hover,.articles-section:not(:has(.page-head)) .article h2 a:hover{color:#a8c8e2}
.articles-section:not(:has(.page-head)) .article p{color:rgba(238,245,251,.75)}
.articles-section:not(:has(.page-head)) .article .read{color:#a8c8e2}
.articles-section:not(:has(.page-head)) .article:hover{background:rgba(255,255,255,.05)}
.articles-section:not(:has(.page-head)) .articles-head .head-link{color:#a8c8e2;border-bottom-color:#a8c8e2}

/* 深蓝区：新闻列表 */
.news-section:not(:has(.page-head)) .news-item .date{color:#a8c8e2}
.news-section:not(:has(.page-head)) .news-item .title{color:#f4f8fb}
.news-section:not(:has(.page-head)) .news-item .arr{color:rgba(255,255,255,.45)}
.news-section:not(:has(.page-head)) .news-item:hover{background:linear-gradient(to right,rgba(255,255,255,.06),transparent 40%)}
.news-section:not(:has(.page-head)) .news-item:hover .arr{color:#a8c8e2}

/* —— /about/ 页：深海蓝整区 ——
   about 页把 .page-head 放进了深蓝 .care-note 内，需去掉 page-head 的浅色渐变底（白块），
   标题转浅色并不换行；正文为后台富文本（.about-body，可含 h2/h3/img/a）。 */
.about-page .page-head{background:none;padding:0 0 48px}
.about-page .section-title{color:#f4f8fb;max-width:none;white-space:nowrap;font-size:clamp(28px,6vw,60px)}
.about-body h2,.about-body h3{color:#f4f8fb;max-width:none;margin:40px 0 18px}
.about-body h2{font-size:clamp(24px,3.4vw,34px)}
.about-body h3{font-size:clamp(19px,2.6vw,26px)}
.about-body a{color:#a8c8e2}
.about-body img{max-width:100%;height:auto;border-radius:8px;margin:8px 0 20px}
/* 预约按钮在深蓝底上 accent 蓝会融为一体，反白处理（同 .care-note .stamp 的白底蓝字） */
.about-page .btn-primary{background:#fff;color:var(--accent)}
.about-page .btn-primary:hover{background:#e2ebf3}

/* —— 排版装饰（克制） —— */
.eyebrow{display:flex;align-items:center;gap:14px}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--accent);flex-shrink:0}
.care-note .eyebrow::before,.articles-section:not(:has(.page-head)) .eyebrow::before,.news-section:not(:has(.page-head)) .eyebrow::before{background:#a8c8e2}
.article .cat{display:inline-block;padding:5px 14px;margin-bottom:16px;border:none;border-radius:50px;background:#eef3f8;color:var(--accent)}

/* —— Hero 画框 —— */
.hero-art-frame{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:var(--shadow-card)}
.hero-art-frame svg,.hero-art-frame img{display:block;width:100%;height:auto}

/* —— 服务卡片（首页与 /services/ 列表页共用 .services） —— */
.services{border:none;gap:20px}
/* 首页服务板块：标题通栏（不换行）+ 9 项 3×3 网格；列表页保持原有间距 */
.services-section:not(.services-list-page) .services{margin-top:64px}
.service{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-card);padding:40px 32px}
.service:hover{box-shadow:var(--shadow-card-hover)}
.service .num{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;margin-bottom:18px;border-radius:50px;background:var(--accent);color:#fff;font-size:12px}

/* —— 按钮与表单 —— */
.btn-primary{border-radius:10px;box-shadow:0 12px 26px -12px rgba(20,50,76,.5)}
.btn-primary:hover{box-shadow:0 16px 32px -14px rgba(14,39,64,.55)}
.cta-link{border-radius:10px}
.booking-field input,.booking-field select,.booking-field textarea{border-radius:8px;transition:border-color 200ms ease,box-shadow 200ms ease}
.booking-field input:focus-visible,.booking-field select:focus-visible,.booking-field textarea:focus-visible{box-shadow:0 0 0 4px rgba(20,50,76,.1)}

/* —— 院长照画框 / 页脚 —— */
.director-portrait-img{border-radius:12px;box-shadow:var(--shadow-card)}
footer{background:var(--accent-deep);position:relative}
footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#2c5a82,#7fa8c9,#2c5a82)}

/* —— 窄屏收敛 —— */
@media (max-width:768px){
  .hero-art-frame{padding:18px}
  .services{gap:14px}
  .service{padding:30px 22px}
}

/* V6 补丁：新闻区「查看全部」链接在深蓝底上的对比度（原无专属样式，默认深色 invisible） */
.news-section .news-head .head-link{font-family:-apple-system,sans-serif;font-size:13px;color:#a8c8e2;letter-spacing:2px;border-bottom:1px solid #a8c8e2;padding-bottom:4px;justify-self:end;align-self:end;transition:opacity 200ms ease}
.news-section .news-head .head-link:hover{opacity:.75}

/* —— 服务卡 / 文章列表配图（后台可选上传 /uploads/ 图；无图不渲染图片位） —— */
.service-img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;margin:0 0 20px;border-radius:10px}
.article-thumb{display:block}
.article-thumb img{display:block;width:200px;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:10px}
.article:has(.article-thumb){grid-template-columns:200px 1fr auto}
@media (max-width:720px){
  .article:has(.article-thumb){grid-template-columns:1fr;gap:20px}
  .article-thumb img{width:100%}
}

/* —— 中段 CTA 条（首页服务板块后） —— */
.mid-cta{padding:56px 0;background:var(--bg-alt)}
.mid-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap}
.mid-cta-text{margin:0;font-size:17px;line-height:1.7;color:var(--ink)}
.mid-cta-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.mid-cta-tel{font-size:16px;font-weight:600;color:var(--accent);text-decoration:none;letter-spacing:1px}
.mid-cta-tel:hover{text-decoration:underline}
@media (max-width:720px){
  .mid-cta{padding:40px 0}
  .mid-cta-inner{flex-direction:column;align-items:flex-start}
}

/* —— 移动端吸底预约栏（桌面隐藏；#booking 可见时 JS 加 .sticky-cta-hidden 滑出） —— */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08);transition:transform .25s ease}
.sticky-cta-btn{flex:1;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none}
.sticky-cta-book{background:var(--accent);color:#fff}
.sticky-cta-tel{border:1px solid var(--accent);color:var(--accent);background:#fff}
.sticky-cta-wechat{border:1px solid var(--accent);color:var(--accent);background:#fff;cursor:pointer;font-family:inherit;padding:0}
.sticky-cta-hidden{transform:translateY(110%)}
@media (max-width:720px){
  .sticky-cta{display:flex}
  footer{padding-bottom:86px}
}

/* —— 微信二维码弹层（wechat-modal.js 开关；页脚/吸底栏 .js-wechat-open 触发） —— */
.wechat-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center}
.wechat-modal[hidden]{display:none}
.wechat-modal-mask{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.wechat-modal-card{position:relative;background:#fff;border-radius:16px;padding:24px 28px;text-align:center;width:min(300px,calc(100% - 64px));box-shadow:0 20px 60px rgba(0,0,0,.3)}
.wechat-modal-card img{width:220px;max-width:100%;height:auto;border-radius:8px}
.wechat-modal-card p{font-size:13px;line-height:1.8;color:var(--ink-soft);margin:14px 0 16px}
.wechat-modal-close{padding:9px 28px;border:none;border-radius:8px;background:var(--accent);color:#fff;font-size:14px;font-family:inherit;cursor:pointer}

/* ---- 联系我们页（/contact/）：卡片式联系信息 + 地图 ------------------------
   信息卡片浅色底（page-head 自带顶部留白）；地图区通栏 16:7 iframe。 */
.contact-page{padding:0}
.contact-page .page-head{padding-bottom:56px}
.contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-bottom:88px}
.contact-card{border:1px solid var(--line);border-radius:14px;padding:32px 28px;background:#fff;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.contact-card h2{font-size:13px;letter-spacing:3px;color:var(--ink-soft);font-weight:600;margin-bottom:18px}
.contact-main{font-size:20px;font-weight:600;color:var(--ink);line-height:1.4;font-style:normal;display:inline-block}
.contact-pending{font-size:15px;color:var(--ink-soft)}
a.contact-main{color:var(--accent)}
a.contact-main:hover{color:var(--accent-deep)}
.contact-sub{font-size:14px;color:var(--ink-soft);margin-top:12px;line-height:1.8}
.contact-wechat{display:flex;align-items:center;gap:16px}
.contact-wechat img{border:1px solid var(--line);border-radius:8px}
.contact-wechat .contact-sub{margin-top:0}
.contact-wechat-btn{margin-top:18px;font-family:inherit;font-size:13px;letter-spacing:2px;color:var(--accent);background:none;border:1px solid var(--accent);border-radius:50px;padding:8px 22px;cursor:pointer;transition:all 200ms ease}
.contact-wechat-btn:hover{background:var(--accent);color:#fff}
.contact-book-btn{margin-top:20px;min-height:48px;padding:0 28px;letter-spacing:2px}
.contact-map{border-top:1px solid var(--line);padding:72px 0 120px}
.contact-map-title{font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:1px;margin-bottom:20px}
.contact-map-addr{font-style:normal;font-size:16px;color:var(--ink-soft);margin-bottom:28px}
.contact-map-frame{display:block;width:100%;aspect-ratio:16/7;border:1px solid var(--line);border-radius:14px;background:var(--bg-alt)}
.contact-map-links{display:flex;gap:32px;margin-top:20px;font-family:-apple-system,sans-serif;font-size:14px}
.contact-map-links a{color:var(--accent);border-bottom:1px solid transparent}
.contact-map-links a:hover{border-bottom-color:var(--accent)}
@media (max-width:1100px){.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.contact-grid{grid-template-columns:1fr}.contact-map-frame{aspect-ratio:4/3}}

/* ---- 联系页 · 交通方案 ----------------------------------------------------
   左列公共交通（编号步骤卡），右列打车/自驾；小贴士通栏浅色带。 */
.contact-transit{border-top:1px solid var(--line);padding:72px 0 120px}
.contact-transit-title{font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:1px;margin-bottom:20px}
.contact-transit-lead{font-size:16px;color:var(--ink-soft);max-width:720px;margin-bottom:48px}
.transit-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:56px;margin-bottom:56px}
.transit-col h3{font-family:-apple-system,sans-serif;font-size:13px;letter-spacing:3px;color:var(--ink-soft);font-weight:600;margin-bottom:24px}
.transit-h3-gap{margin-top:40px}
.transit-route{border-left:2px solid var(--accent);padding:4px 0 4px 24px;margin-bottom:32px}
.transit-route h4{font-size:16px;font-weight:600;margin-bottom:14px;line-height:1.5}
.transit-steps{counter-reset:step;list-style:none;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.transit-steps li{counter-increment:step;position:relative;padding-left:36px;margin-bottom:10px;font-size:14px;line-height:1.8;color:var(--ink)}
.transit-steps li::before{content:counter(step);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:var(--bg-alt);color:var(--accent);font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center}
.transit-time{display:inline-block;margin-top:6px;font-family:-apple-system,sans-serif;font-size:13px;color:var(--accent);background:var(--bg-alt);border-radius:50px;padding:4px 16px}
.transit-facts{list-style:none;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.transit-facts li{position:relative;padding-left:18px;font-size:14px;line-height:1.9;color:var(--ink);margin-bottom:8px}
.transit-facts li::before{content:"";position:absolute;left:0;top:14px;width:8px;height:2px;background:var(--accent)}
.transit-facts strong{font-weight:600}
.transit-tips{background:var(--bg-alt);border-radius:14px;padding:36px 40px;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.transit-tips h3{font-size:15px;font-weight:600;letter-spacing:1px;margin-bottom:18px}
.transit-tips ul{list-style:none}
.transit-tips li{position:relative;padding-left:22px;font-size:14px;line-height:1.9;color:var(--ink-soft);margin-bottom:8px}
.transit-tips li::before{content:"";position:absolute;left:0;top:14px;width:10px;height:2px;background:var(--accent)}
.transit-tips a{color:var(--accent);border-bottom:1px solid transparent}
.transit-tips a:hover{border-bottom-color:var(--accent)}
@media (max-width:900px){.transit-grid{grid-template-columns:1fr;gap:48px}}
@media (max-width:600px){.transit-tips{padding:28px 24px}}
