/* ============================================================
   昆明艾洁芸芽口腔 · 官方网站样式
   版式参考：优恩齿科（南京优恩口腔）
   主题色：艾洁芸芽 Logo 品牌色（深蓝青 #004080）+ 琥珀金点缀
   ============================================================ */
:root {
  --brand: #004080;
  --brand-dark: #003060;
  --brand-deep: #00264D;
  --brand-deeper: #001C3D;
  --brand-light: #2A6C9E;
  --brand-50: #EAF2F9;
  --brand-100: #D6E6F2;
  --sky: #7FA8C9;
  --amber: #865F1E;
  --amber-soft: #C8A768;
  --ink: #1D2B2A;
  --muted: #5B6B6A;
  --line: #E4ECEB;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F3;
  --shadow-sm: 0 2px 10px rgba(0, 42, 80, .06);
  --shadow: 0 14px 40px rgba(0, 42, 80, .10);
  --shadow-lg: 0 28px 70px rgba(0, 42, 80, .16);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 100%); color: #EAF2F9; }

/* ---------- shared headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--deep .eyebrow { color: var(--sky); }
.section--deep .eyebrow::before { background: var(--sky); }
.h-title {
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.25; font-weight: 800; letter-spacing: .5px; color: var(--brand-deep);
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}
.section--deep .h-title { color: #fff; }
.h-sub { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); max-width: 720px; }
.section--deep .h-sub { color: #BFD8EA; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .h-sub { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --pad: 14px 28px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad); border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .28s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px rgba(0,48,96,.25); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,48,96,.32); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.btn--outline:hover { background: var(--brand-50); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: .3s var(--ease);
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 9px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 150px; height: auto; aspect-ratio: 1000 / 130; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 22px); }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--brand-deep); position: relative; padding: 4px 0;
  transition: color .2s; white-space: nowrap;
}
/* 顶部透明状态（深色 Hero 之上）：导航与 LOGO 转为浅色，保证对比度 */
.site-header:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .nav-phone { color: #fff; }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--brand); transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brand-dark); font-size: 15px; white-space: nowrap; flex: none; }
.nav-phone svg { width: 18px; height: 18px; }
.nav-cta .btn { --pad: 12px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }
/* 移动端下拉菜单：桌面端默认隐藏，仅在窄屏 @media 内显示 */
.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 70px; overflow: hidden;
  background: linear-gradient(110deg, rgba(0,38,77,.94) 0%, rgba(0,64,128,.82) 42%, rgba(0,64,128,.38) 100%);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transition: opacity 1.8s ease-in-out; will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(110deg, rgba(0,38,77,.94) 0%, rgba(0,64,128,.82) 42%, rgba(0,64,128,.38) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 80% at 80% 20%, transparent 40%, rgba(0,38,77,.4));
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero-badge b { color: #FFD9A8; }
.hero h1 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.16; font-weight: 800; letter-spacing: 1px; font-family: "Songti SC", "STSong", "Noto Serif SC", serif; }
.hero h1 .accent { color: #9EC9E8; }
.hero p.lead { margin-top: 22px; font-size: clamp(16px, 1.9vw, 20px); color: #DCEAF4; max-width: 640px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  margin-top: 54px; display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 56px);
}
.hero-stats .stat b { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #fff; display: block; line-height: 1; }
.hero-stats .stat span { font-size: 13.5px; color: #BFD8EA; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 2px; text-align: center;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; margin: 0 auto 8px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* ============================================================
   PARTNER STRIP（资质公示条带）
   ============================================================ */
.partner {
  background: var(--brand-deep); color: #EAF2F9;
}
.partner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 26px 20px; }
.partner-text { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.partner-tag { background: #7A581B; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 1px; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.partner-text p { font-size: 15.5px; color: #CFE4F2; }
.partner-text p b { color: #fff; }
.partner a { color: #9EC9E8; font-weight: 700; white-space: nowrap; }
.partner a:hover { text-decoration: underline; }

/* ============================================================
   PARTNER MARQUEE（页尾机构牌匾与合作）
   ============================================================ */
.partner-marquee { background: var(--brand-deep); color: #EAF2F9; padding: 48px 0 34px; }
.partner-marquee h3 { text-align: center; color: #fff; font-size: 18px; letter-spacing: 1px; margin-bottom: 22px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 12px; padding-right: 12px; }
.marquee-group span {
  white-space: nowrap; font-size: 14px; color: #fff;
  border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.09);
  padding: 9px 18px; border-radius: 999px;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-marquee .brand-note { color: #7FA8C9; margin-top: 20px; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: 16px; }
.about-quote {
  margin-top: 26px; padding: 20px 24px; border-left: 4px solid var(--brand); background: var(--brand-50);
  border-radius: 0 14px 14px 0; color: var(--brand-deep); font-style: italic; font-weight: 600;
}
.about-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-features li { display: flex; gap: 11px; align-items: flex-start; font-weight: 600; color: var(--brand-deep); font-size: 15px; }
.about-features li svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; object-position: center; aspect-ratio: 4/3; }
.about-media .float-card {
  position: absolute; left: -26px; bottom: -26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; gap: 16px; align-items: center;
}
.about-media .float-card .num { font-size: 34px; font-weight: 800; color: var(--brand); line-height: 1; }
.about-media .float-card .lbl { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  transition: .35s var(--ease); position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-light)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); margin-bottom: 20px; }
.card .ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; color: var(--brand-deep); display: flex; align-items: center; gap: 8px; }
.card .tag { font-size: 11px; font-weight: 700; color: var(--amber); border: 1px solid var(--amber-soft); padding: 2px 8px; border-radius: 6px; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li { font-size: 14px; color: var(--brand-deep); padding-left: 20px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ============================================================
   BRANCHES（院区分布）
   ============================================================ */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.branch-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; transition: .3s var(--ease);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.branch-ico {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-dark);
  display: grid; place-items: center;
}
.branch-ico svg { width: 28px; height: 28px; }
.branch-card h4 { font-size: 17px; color: var(--brand-deep); }
.branch-card p { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.branch-card .branch-tel { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--brand); }

/* ============================================================
   ADVANTAGES (deep section)
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.adv {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 28px 26px; transition: .3s var(--ease);
}
.adv:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.adv .n { font-size: 14px; font-weight: 800; color: var(--sky); letter-spacing: 1px; }
.adv h4 { font-size: 18.5px; margin: 10px 0 10px; color: #fff; }
.adv p { font-size: 14.5px; color: #BFD8EA; }

/* ============================================================
   DOCTORS
   ============================================================ */
.lead-doc {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,44px);
  box-shadow: var(--shadow-sm); margin-top: 48px;
}
.lead-doc .photo {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.8;
  position: relative; background: #e8f0ef;
}
.lead-doc .photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.lead-doc .photo .ring {
  position: absolute; top: 16px; right: 16px; background: var(--amber); color: #fff;
  font-size: 12px; font-weight: 800; border-radius: 999px; padding: 8px 14px;
  box-shadow: 0 4px 12px rgba(134,95,30,.45);
}
.lead-doc .photo .nm {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 36px 18px 16px; font-size: 20px; font-weight: 800; color: #fff;
  background: linear-gradient(transparent, rgba(0,38,77,.85));
}
.lead-doc .photo .nm small { display: block; font-size: 11.5px; font-weight: 600; color: #BFD8EA; letter-spacing: 2px; margin-top: 3px; }
.lead-info h3 { font-size: 26px; color: var(--brand-deep); }
.lead-info .role { color: var(--brand); font-weight: 700; margin-top: 4px; }
.lead-info .quote { margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--brand-deep); border-left: 3px solid var(--brand); padding-left: 14px; }
.cred { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.cred span { font-size: 13px; font-weight: 600; background: var(--brand-50); color: var(--brand-dark); padding: 7px 14px; border-radius: 999px; }
.lead-info .skill { margin-top: 18px; color: var(--muted); font-size: 15px; }
.lead-doc + .lead-doc { margin-top: 26px; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.doc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: .3s var(--ease);
}
.doc:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.doc .doc-photo {
  width: 100%; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; margin-bottom: 18px;
  background: #e8f0ef;
}
.doc .doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.04); }
.doc h4 { font-size: 18px; color: var(--brand-deep); }
.doc .meta { font-size: 13px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.doc p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ============================================================
   EQUIPMENT
   ============================================================ */
.equip-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px,5vw,64px); align-items: center; }
.equip-list { display: grid; gap: 14px; }
.equip-item {
  display: flex; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; transition: .28s var(--ease);
}
.equip-item:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-100); transform: translateX(4px); }
.equip-item .badge { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-dark); display: grid; place-items: center; }
.equip-item .badge svg { width: 24px; height: 24px; }
.equip-item h4 { font-size: 16px; color: var(--brand-deep); }
.equip-item p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.equip-media { display: block; align-self: center; transform: translateY(12px); }
.equip-media img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 42%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ============================================================
   EQUIPMENT GALLERY（设备实拍展示板块）
   ============================================================ */
.equip-grid-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.eqg {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .3s var(--ease);
}
.eqg:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.eqg-img { aspect-ratio: 4/3; overflow: hidden; background: var(--brand-100); }
.eqg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.eqg:hover .eqg-img img { transform: scale(1.05); }
.eqg figcaption { padding: 16px 20px 18px; }
.eqg figcaption h4 { font-size: 16px; color: var(--brand-deep); }
.eqg figcaption p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 48px;
}
.gallery figure {
  margin: 0; border-radius: 16px; overflow: hidden;
  cursor: zoom-in; position: relative; box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease); display: block;
}
.gallery figure:hover img, .gallery figure:focus-visible img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 16px 12px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,38,77,.8)); opacity: 0; transition: .3s;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,30,28,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #DCEAF4; font-size: 14px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 24px; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 24px; right: 24px; }

/* ============================================================
   HONORS / BRANDS
   ============================================================ */
.honor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.honor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .3s var(--ease); }
.honor:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.honor .medal { width: 48px; height: 48px; color: var(--amber); margin-bottom: 14px; }
.honor h4 { font-size: 17px; color: var(--brand-deep); }
.honor p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.honor-grid--certs { grid-template-columns: repeat(2, 1fr); }
.honor--cert .cert-line { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--ink); word-break: break-all; }
.honor--cert .cert-line span { flex: none; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 2px 8px; border-radius: 6px; }
.cert-note { max-width: 880px; margin: 22px auto 0; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.brands { margin-top: 50px; }
.brands h3 { text-align: center; color: var(--brand-deep); font-size: 18px; margin-bottom: 22px; }
.brand-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-pills span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 22px;
  font-weight: 700; color: var(--brand-deep); font-size: 14.5px; transition: .25s var(--ease);
}
.brand-pills span:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.brand-note { max-width: 760px; margin: 18px auto 0; color: var(--muted); text-align: center; font-size: 13px; }

/* ============================================================
   PROCESS (disinfection)  deep section
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 52px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; position: relative; }
.step .sn { font-size: 30px; font-weight: 800; color: rgba(158,201,232,.5); line-height: 1; }
.step h4 { color: #fff; font-size: 16.5px; margin: 8px 0 8px; }
.step p { font-size: 13.5px; color: #BFD8EA; }

/* ============================================================
   LIGHT SECTION（浅色板块：六项保障 / 消毒灭菌）
   ============================================================ */
.section--light { background: linear-gradient(160deg, var(--bg-soft) 0%, #fff 100%); }
.section--light .eyebrow { color: var(--brand); }
.section--light .eyebrow::before { background: var(--brand); }
.section--light .h-title { color: var(--brand-deep); }
.section--light .h-sub { color: var(--muted); }

.section--light .adv {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; transition: .3s var(--ease);
}
.section--light .adv:hover { background: #fff; border-color: var(--brand-100); transform: translateY(-6px); box-shadow: var(--shadow); }
.section--light .adv .n { color: var(--brand); }
.section--light .adv h4 { color: var(--brand-deep); }
.section--light .adv p { color: var(--muted); }

.section--light .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; transition: .3s var(--ease);
}
.section--light .step:hover { border-color: var(--brand-100); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.section--light .step .sn { color: var(--brand-100); font-size: 30px; font-weight: 800; line-height: 1; }
.section--light .step h4 { color: var(--brand-deep); font-size: 16.5px; margin: 8px 0 8px; }
.section--light .step p { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   VISIT GUIDE / FAQ
   ============================================================ */
.visit-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 46px;
}
.visit-step {
  border-top: 3px solid var(--brand); background: #fff; padding: 26px 24px;
  box-shadow: var(--shadow-sm); border-radius: 0 0 var(--radius) var(--radius);
}
.visit-step > span { color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.visit-step h3 { color: var(--brand-deep); margin-top: 8px; font-size: 18px; }
.visit-step p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.notice {
  margin-top: 28px; border: 1px solid #D8E5F2; border-radius: var(--radius);
  padding: 22px 24px; background: var(--brand-50); color: var(--brand-deep);
}
.notice strong { display: block; margin-bottom: 4px; }
.notice p { color: var(--muted); font-size: 14px; }
.faq-wrap { max-width: 960px; }
.faq-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px;
}
.faq-tab {
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  cursor: pointer; transition: .25s var(--ease); font-family: inherit; white-space: nowrap;
}
.faq-tab:hover { border-color: var(--brand); color: var(--brand); }
.faq-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0,64,128,.22); }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-panel .faq-list { border-top: 0; }
.faq-list { margin-top: 42px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: #fff; }
.faq-list summary {
  list-style: none; cursor: pointer; color: var(--brand-deep); font-weight: 700;
  padding: 21px 56px 21px 20px; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 24px; font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 56px 22px 20px; color: var(--muted); font-size: 15px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,56px); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-sm); }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ci { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-dark); display: grid; place-items: center; }
.contact-row .ci svg { width: 22px; height: 22px; }
.contact-row h4 { font-size: 15px; color: var(--brand-deep); }
.contact-row p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.contact-row p b { color: var(--brand-dark); }
.branch-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.branch-tab {
  flex: 1 1 auto; min-width: 104px; font: inherit; font-size: 14px; font-weight: 700;
  color: var(--brand-dark); background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: .25s var(--ease);
}
.branch-tab:hover { border-color: var(--brand); color: var(--brand); }
.branch-tab.is-active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.branch-tab:focus-visible { outline: 3px solid rgba(0,64,128,.35); outline-offset: 2px; }
.branch-panels { margin-bottom: 4px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.branch-panel { display: none; }
.branch-panel.is-active { display: block; animation: branchIn .3s ease; }
@keyframes branchIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.branch-panel h4 { font-size: 17px; color: var(--brand-deep); }
.branch-addr { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.branch-meta { font-size: 13.5px; color: var(--brand); font-weight: 700; margin-top: 6px; }
.branch-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.branch-links a { font-size: 13px; font-weight: 700; color: var(--brand-dark); border: 1px solid rgba(0,64,128,.25); border-radius: 999px; padding: 7px 14px; }
.branch-links a:hover { background: var(--brand-50); border-color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .branch-panel.is-active { animation: none; } }
.transport-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.transport-tags span { font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; color: var(--muted); }
.map-card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px;
  position: relative; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0,64,128,.05) 0 18px, transparent 18px 38px),
    linear-gradient(160deg, #E4EFF7 0%, #D2E4F2 100%);
}
.map-inner { text-align: center; padding: 40px 28px; }
.map-pin { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); animation: pinFloat 3s ease-in-out infinite; }
.map-pin svg { width: 38px; height: 38px; }
@keyframes pinFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.map-inner h4 { font-size: 19px; color: var(--brand-deep); }
.map-inner p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.map-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.map-actions .btn { --pad: 12px 22px; font-size: 14px; }
.book-cta {
  margin-top: 26px; background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); text-align: center;
}
.book-cta h3 { font-size: 24px; }
.book-cta p { color: #DCEAF4; margin-top: 8px; }
.book-cta .phone-big { font-size: clamp(28px,4vw,40px); font-weight: 800; margin: 14px 0 20px; letter-spacing: 1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #001C3D; color: #9FBED8; padding: 60px 0 26px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand img { width: 200px; height: auto; aspect-ratio: 1000 / 130; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.foot-brand p { color: #7FA8C9; max-width: 300px; }
.site-footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a:hover { color: var(--sky); }
.foot-links li { margin-bottom: 10px; }
.foot-contact li { display: flex; align-items: flex-start; gap: 9px; }
.foot-contact li svg { flex: none; width: 15px; height: 15px; margin-top: 3px; opacity: .75; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #6B8FA8; font-size: 13px; }
.foot-icp { margin: 0; }
.foot-icp a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.foot-icp a:hover { color: var(--sky); border-bottom-color: currentColor; }
.medical-note { margin-top: 16px; color: #83A7C9; font-size: 12.5px; max-width: 960px; }
.mobile-actions { display: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 1; transform: none; }
.js .reveal.in { animation: revealIn .7s var(--ease) both; }
.js .reveal[data-d="1"].in { animation-delay: .08s; }
.js .reveal[data-d="2"].in { animation-delay: .16s; }
.js .reveal[data-d="3"].in { animation-delay: .24s; }
@keyframes revealIn { from { opacity: .25; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ============================================================
   NEWS（资讯页样式）
   ============================================================ */
.news-hero{
  background: linear-gradient(110deg, rgba(0,38,77,.92) 0%, rgba(0,64,128,.78) 50%, rgba(0,64,128,.42) 100%),
              url("../img/hero-clinic.jpg") center/cover no-repeat;
  padding: 140px 0 80px; color: #fff; text-align: center;
}
.news-hero .eyebrow { justify-content: center; color: #9EC9E8; }
.news-hero .eyebrow::before { background: #9EC9E8; }
.news-hero h1 { font-size: clamp(28px,4vw,48px); font-weight: 800; margin-top: 12px; font-family: "Songti SC","STSong","Noto Serif SC",serif; }
.news-hero p { color: #DCEAF4; margin-top: 14px; font-size: clamp(15px,1.6vw,18px); }

/* ── Category filter ── */
.cat-bar { background:#fff; border-bottom:1px solid #e8edec; position:sticky; top:64px; z-index:50; box-shadow:0 2px 8px rgba(0,0,0,.05); }
.cat-inner { display:flex; align-items:center; gap:8px; padding:14px 0; overflow-x:auto; scrollbar-width:none; }
.cat-inner::-webkit-scrollbar { display:none; }
.cat-btn { padding:8px 20px; border-radius:999px; font-size:14px; font-weight:600; cursor:pointer; border:1.5px solid #e5e7eb; background:#fff; color:#374151; transition:.22s; white-space:nowrap; font-family:inherit; }
.cat-btn:hover { border-color:#004080; color:#004080; }
.cat-btn.active { background:#004080; border-color:#004080; color:#fff; }

/* ── Article list ── */
.news-list-sec { padding:60px 0 80px; }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:0; }
.nc { background:#fff; border:1px solid #e8edec; border-radius:18px; overflow:hidden; transition:.3s cubic-bezier(.22,.61,.36,1); cursor:pointer; display:block; }
.nc:hover { transform:translateY(-8px); box-shadow:0 20px 50px rgba(0,42,80,.12); border-color:transparent; }
.nc-cover { height:200px; overflow:hidden; background:#e8f0ef; position:relative; flex-shrink:0; }
.nc-cover img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.nc:hover .nc-cover img { transform:scale(1.06); }
.nc-cover .nc-cat { position:absolute; top:14px; left:14px; background:rgba(0,48,96,.94); color:#fff; padding:4px 12px; border-radius:999px; font-size:12px; font-weight:700; }
.nc-cover-empty { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(150deg,#EAF2F9,#D6E6F2); font-size:42px; }
.nc-body { padding:20px 22px 24px; }
.nc-body h3 { font-size:17px; font-weight:700; color:#00264D; line-height:1.45; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical; overflow:hidden; }
.nc-body p { color:#6b7280; font-size:14px; margin-top:10px; line-height:1.65; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical; overflow:hidden; }
.nc-meta { display:flex; align-items:center; justify-content:space-between; margin-top:14px; font-size:13px; color:#9ca3af; }
.nc-meta span { display:flex; align-items:center; gap:5px; }
.nc-read { display:inline-flex; align-items:center; gap:6px; margin-top:16px; color:#004080; font-weight:700; font-size:14px; text-decoration:none; }
.nc-read:hover { color:#004080; }

/* ── Load more ── */
.load-more-wrap { text-align:center; margin-top:40px; }

/* ── Empty state ── */
.news-empty { text-align:center; padding:72px 20px; color:#9ca3af; }
.news-empty .ic { font-size:56px; margin-bottom:16px; }
.news-empty p { font-size:16px; }

/* ── Article detail ── */
.art-detail { padding:40px 0 80px; display:none; }
.art-back { display:inline-flex; align-items:center; gap:8px; color:#004080; font-weight:700; font-size:15px; text-decoration:none; cursor:pointer; margin-bottom:32px; }
.art-back:hover { color:#004080; }
.art-wrap { max-width:820px; margin:0 auto; }
.art-cover-img { width:100%; max-height:420px; object-fit:cover; border-radius:18px; margin-bottom:30px; display:block; }
.art-header { margin-bottom:28px; }
.art-cat-tag { display:inline-block; background:#EAF2F9; color:#004080; padding:5px 14px; border-radius:999px; font-size:13px; font-weight:700; margin-bottom:14px; }
.art-header h1 { font-size:clamp(24px,3vw,36px); color:#00264D; font-weight:800; line-height:1.3; }
.art-meta { display:flex; align-items:center; gap:20px; margin-top:14px; font-size:14px; color:#9ca3af; padding-bottom:20px; border-bottom:1px solid #e8edec; }
.art-divider { height:1px; background:#e8edec; margin:32px 0; }

/* Render Quill content */
.art-content { font-size:16px; line-height:1.85; color:#374151; }
.art-content h1, .art-content h2, .art-content h3 { color:#00264D; font-weight:700; margin:28px 0 14px; }
.art-content h1 { font-size:26px; } .art-content h2 { font-size:22px; } .art-content h3 { font-size:19px; }
.art-content p { margin:0 0 18px; }
.art-content ul, .art-content ol { margin:0 0 18px; padding-left:24px; }
.art-content li { margin-bottom:8px; }
.art-content a { color:#004080; font-weight:600; }
.art-content img { border-radius:14px; margin:8px 0 20px; }
.art-content table { width:100%; border-collapse:collapse; margin:8px 0 20px; font-size:14.5px; }
.art-content th, .art-content td { border:1px solid #e8edec; padding:10px 12px; text-align:left; }
.art-content th { background:#EAF2F9; color:#00264D; font-weight:700; }
.art-disclaimer { margin-top:32px; padding:16px 20px; background:#F6F7F3; border-left:3px solid #004080; border-radius:0 12px 12px 0; color:#6b7280; font-size:13.5px; }
.art-nav { display:flex; gap:24px; margin-top:28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .honor-grid, .team { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .visit-steps { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .equip-grid, .contact-grid, .lead-doc { grid-template-columns: 1fr; }
  .equip-media { padding-top: 0; }
  .equip-media img { aspect-ratio: 4/3; object-position: center 45%; }
  .lead-doc .photo { max-width: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    position: fixed; inset: 64px 0 auto 0; background: #fff; box-shadow: var(--shadow);
    display: flex; flex-direction: column; padding: 14px 20px 24px; gap: 4px;
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 99;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { padding: 13px 6px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--brand-deep); }
  .mobile-menu .btn { margin-top: 14px; justify-content: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cards, .adv-grid, .honor-grid, .team, .steps, .foot-grid, .equip-grid-lg, .branch-grid { grid-template-columns: 1fr; }
  .visit-steps { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .about-media .float-card { left: 0; right: 0; bottom: -20px; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .scroll-cue { display: none; }
  .partner .wrap { flex-direction: column; align-items: flex-start; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  body { padding-bottom: 58px; }
  .mobile-actions {
    position: fixed; display: grid; grid-template-columns: 1fr 1fr; inset: auto 0 0;
    height: 58px; z-index: 120; background: #fff; box-shadow: 0 -5px 18px rgba(0,42,80,.15);
  }
  .mobile-actions a { display: grid; place-items: center; font-weight: 800; color: var(--brand-deep); }
  .mobile-actions a:first-child { background: var(--brand-dark); color: #fff; }
  .news-grid { grid-template-columns: 1fr; }
  .news-list-sec { padding: 44px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   PRINT（打印 / 导出 PDF）
   ============================================================ */
@page {
  size: A4;
  margin: 12mm 10mm;
}
@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .mobile-menu, .mobile-actions, .lightbox, .scroll-cue, .nav-cta .btn { display: none !important; }
  .hero { min-height: auto; padding: 40px 0 30px; }
  .section { padding: 34px 0; }
  .cards, .adv-grid, .team, .honor-grid, .branch-grid, .equip-grid-lg { grid-template-columns: repeat(3, 1fr); }
  .steps, .visit-steps { grid-template-columns: repeat(4, 1fr); }
  .about-grid, .equip-grid, .contact-grid, .lead-doc { grid-template-columns: 1fr 1fr; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .eqg, .doc, .branch-card, .card, .honor, .adv, .step, .visit-step { break-inside: avoid; }
  .gallery figure, .eqg-img, .doc-photo, .about-media img { break-inside: avoid; }
}
