/* ============================================================
   hz_head_branch.css — 分院公共样式（hz_head_branch.htm 引入）
   由模板内嵌 <style> 抽取，标准格式排版，便于手动维护
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC","Microsoft YaHei",sans-serif;
  color: #4a4238;
  background: #faf6ec;
  line-height: 1.75;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #333;
}

.hz-topbar {
  background: #4a4238;
  color: #d8cbb0;
  font-size: 13px;
  padding: 6px 0;
}

.hz-topbar .wrap {
  display: flex;
  justify-content: space-between;
}

.hz-topbar .tel {
  font-weight: bold;
  color: #c9a96a;
}

.hz-header {
  background: #fff;
  box-shadow: 0 1px 0 #e8dfc8,0 2px 12px rgba(140,120,80,.08);
}

.hz-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.hz-header .logo {
  font-size: 24px;
  font-weight: bold;
  color: #3a352e;
  letter-spacing: 1px;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.hz-header .logo small {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: #b3452e;
  letter-spacing: 1px;
}

.hz-header nav a {
  margin-left: 20px;
  font-size: 15px;
  color: #4a4238;
  padding: 6px 2px;
}

.hz-header nav a:hover {
  color: #b3452e;
  border-bottom: 2px solid #c9a96a;
}

.hz-header nav .nav-cta {
  background: transparent;
  border: 1.5px solid #b3452e;
  color: #b3452e!important;
  padding: 6px 16px;
  border-radius: 3px;
  font-weight: bold;
}

/* 当前栏目导航：朱砂文字 + 常显下划线 */
.hz-header nav a.on {
  color: #b3452e;
  border-bottom: 2px solid #b3452e;
}

.hz-header nav .nav-cta.on {
  background: #b3452e;
  color: #fff!important;
}

.hero {
  background: #faf6ec;
  color: #4a4238;
  padding: 66px 0;
  border-bottom: 1px solid #e5dcc4;
  position: relative;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
  color: #f7f1e3;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 5px;
}

.hero p {
  font-size: 15px;
  color: #e8dfc8;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  background: #c9a96a;
  border: 1.5px solid #c9a96a;
  color: #a1231a;
  padding: 11px 32px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  transition: .25s;
  text-shadow: none;
}

.btn:hover {
  background: #d8bd82;
  border-color: #d8bd82;
}

.btn.ghost {
  border-color: #c9a96a;
  color: #a8873f;
  margin-left: 12px;
  font-weight: normal;
}

.section {
  padding: 42px 0;
}

.section .tit {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 6px;
  color: #3a352e;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 3px;
}

.section .tit:before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #b3452e;
  margin-right: 14px;
  vertical-align: 1px;
}

.section .tit:after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #b3452e;
  margin-left: 14px;
  vertical-align: 1px;
}

.section .sub {
  text-align: center;
  color: #a89a80;
  margin-bottom: 30px;
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-4 {
  grid-template-columns: repeat(4,1fr);
}

.grid-3 {
  grid-template-columns: repeat(3,1fr);
}

.grid-2 {
  grid-template-columns: repeat(2,1fr);
}

.card {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-radius: 4px;
  overflow: hidden;
  transition: .25s;
}

.card:hover {
  box-shadow: 0 8px 22px rgba(140,120,80,.14);
  border-color: #c9a96a;
}

.card .bd {
  padding: 16px;
}

.card h3 {
  font-size: 16px;
  color: #3a352e;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .pic {
  height: 130px;
  background: linear-gradient(135deg,#f5efe0,#ede4cd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.tag {
  display: inline-block;
  background: #faf6ec;
  color: #a8873f;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  border: 1px solid #e5dcc4;
}

.doc {
  text-align: center;
}

.doc .avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg,#c9a96a,#a8873f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  border: 3px solid #ede4cd;
}

.doc .lv {
  color: #b3452e;
  font-size: 13px;
}

.hz-footer {
  background: #4a4238;
  color: #c9a96a;
  padding: 34px 0 18px;
  margin-top: 40px;
  font-size: 13px;
}

.hz-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 22px;
}

.hz-footer h4 {
  color: #e8dfc8;
  font-size: 15px;
  margin-bottom: 12px;
}

.hz-footer a {
  color: #c9a96a;
  display: block;
  margin-bottom: 8px;
}

.hz-footer .copy {
  text-align: center;
  border-top: 1px solid #5d5546;
  padding-top: 14px;
  color: #8f8268;
}

/* ===== 页脚版权行（v77）：备案号链接与正文同色，不改原有文字颜色 ===== */
.hz-footer .copy .copy-line {
  margin: 0;
  line-height: 1.9;
}

.hz-footer .copy a.icp {
  display: inline;
  margin: 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.hz-footer .copy a.icp:hover {
  color: inherit;
  border-bottom-color: currentColor;
}

.hz-footer p a.f-tel {
  display: inline;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.hz-footer p a.f-tel:hover {
  text-decoration: underline;
}


.bread {
  background: #f5efe0;
  padding: 11px 0;
  font-size: 13px;
  color: #a89a80;
  border-bottom: 1px solid #e5dcc4;
}

.bread a {
  color: #b3452e;
}

.list-wrap {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-radius: 4px;
  padding: 8px 26px 18px;
}

.list-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed #e5dcc4;
}

.list-item:last-child {
  border: none;
}

.list-item .thumb {
  width: 180px;
  height: 120px;
  border-radius: 6px;
  background: linear-gradient(135deg,#f5efe0,#ede4cd);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.list-item h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.list-item h2 a:hover {
  color: #b3452e;
}

.list-item p {
  font-size: 13px;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-item .meta {
  font-size: 12px;
  color: #bbb;
  margin-top: 8px;
}

.pages {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  list-style: none;
  margin: 0;
}

.pages li {
  display: inline-block;
  margin: 0 4px;
  vertical-align: middle;
}

.pages a,
.pages b {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e5dcc4;
  color: #666;
  text-decoration: none;
}

.pages li.active > a,
.pages li.active > span,
.pages b {
  background: #b3452e;
  color: #fff;
  border-color: #b3452e;
}

.article {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-radius: 4px;
  padding: 38px 44px;
}

.article h1 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 14px;
  color: #3a352e;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.article .ainfo {
  text-align: center;
  color: #b5a88e;
  font-size: 13px;
  border-bottom: 1px solid #e5dcc4;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.article .content {
  font-size: 15px;
  color: #3d3d3d;
}

.article .content p {
  margin-bottom: 14px;
}

.contact-box {
  background: #f5efe0;
  border: 1px solid #e5dcc4;
  border-radius: 6px;
  padding: 26px;
  margin-top: 24px;
}

@media(max-width:900px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2,1fr);
  }

  .hero h1 {
    font-size: 27px;
  }

  .hz-footer .cols {
    grid-template-columns: 1fr;
  }

  .article {
    padding: 22px;
  }

  .list-item .thumb {
    width: 110px;
    height: 80px;
  }

}

.hz-hero {
  background: #faf6ec;
  color: #4a4238;
  padding: 54px 20px 62px;
  border-bottom: 1px solid #e5dcc4;
  position: relative;
}

.hz-hero .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hz-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.45);
  color: #f0e6cc;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.hz-hero h1 {
  font-size: 38px;
  margin: 16px 0 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f7f1e3;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.hz-hero .slogan {
  font-size: 19px;
  color: #e8dfc8;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hz-hero .feat {
  font-size: 14px;
  color: #dccfb6;
  max-width: 780px;
  line-height: 1.9;
}

.hero-btns {
  margin-top: 26px;
}

.btn-yuyue {
  display: inline-block;
  background: #c9a96a;
  border: 1.5px solid #c9a96a;
  color: #a1231a;
  padding: 13px 38px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  margin-right: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  text-shadow: none;
}

.btn-yuyue:hover {
  background: #d8bd82;
  border-color: #d8bd82;
}

.btn-tel {
  display: inline-block;
  border: 1.5px solid #c9a96a;
  color: #c9a96a;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 16px;
  text-decoration: none;
}

.hz-stats {
  background: #f5efe0;
  border-bottom: 1px solid #e5dcc4;
}

.hz-stats .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 24px 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 110px;
}

.stat-num {
  font-size: 30px;
  font-weight: 700;
  color: #b3452e;
}

.stat-num span {
  font-size: 15px;
  color: #a89a80;
}

.stat-label {
  font-size: 13px;
  color: #8a7a5a;
  margin-top: 4px;
}

.hz-section {
  padding: 44px 20px;
}

.hz-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hz-title {
  text-align: center;
  margin-bottom: 10px;
}

.hz-title h2 {
  font-size: 27px;
  color: #3a352e;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 3px;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

.hz-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg,#b3452e,#c9a96a);
  border-radius: 2px;
}

.hz-sub {
  text-align: center;
  color: #a89a80;
  font-size: 14px;
  margin-bottom: 30px;
}

.lf-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

@media(max-width:900px) {
  .lf-grid {
    grid-template-columns: 1fr;
  }

}

.lf-card {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-top: 3px solid #c9a96a;
  border-radius: 6px;
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: .25s;
}

.lf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(140,120,80,.12);
  border-top-color: #b3452e;
}

.lf-card .ico {
  font-size: 30px;
  margin-bottom: 12px;
}

.lf-card h3 {
  font-size: 17px;
  color: #3a352e;
  margin-bottom: 10px;
  line-height: 1.5;
}

.lf-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beige-bg {
  background: #fdfaf2;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

@media(max-width:900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

}

.case-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(140,120,80,.06);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: .25s;
  border: 1px solid #e5dcc4;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(179,69,46,.14);
}

.case-tag {
  display: inline-block;
  background: #e5dcc4;
  color: #a8873f;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kn-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media(max-width:900px) {
  .kn-wrap {
    grid-template-columns: 1fr;
  }

}

.kn-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(140,120,80,.05);
  overflow: hidden;
  border: 1px solid #e5dcc4;
}

.kn-box h3 {
  background: #4a4238;
  color: #e5dcc4;
  font-size: 17px;
  padding: 13px 20px;
  letter-spacing: 2px;
}

.kn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid #faf3e0;
  text-decoration: none;
  color: inherit;
}

.kn-row:last-child {
  border-bottom: none;
}

.kn-row:hover {
  background: #fdfaf2;
}

.kn-row .t {
  font-size: 14.5px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kn-row .d {
  font-size: 12.5px;
  color: #bbb;
  white-space: nowrap;
  margin-left: 16px;
}

.more-link {
  display: block;
  text-align: center;
  margin-top: 24px;
}

.more-link a {
  display: inline-block;
  border: 1.5px solid #b3452e;
  color: #b3452e;
  padding: 9px 36px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  transition: .2s;
}

.more-link a:hover {
  background: #b3452e;
  color: #fff;
}

.hosp-card {
  background: linear-gradient(135deg,#4a4238,#a50000);
  border-radius: 14px;
  color: #fff;
  padding: 38px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  border: 2px solid #c9a96a;
}

@media(max-width:900px) {
  .hosp-card {
    grid-template-columns: 1fr;
  }

}

.hosp-card h2 {
  font-size: 23px;
  margin-bottom: 18px;
  color: #e5dcc4;
  letter-spacing: 1px;
}

.hosp-line {
  display: flex;
  margin-bottom: 13px;
  font-size: 14.5px;
  line-height: 1.7;
}

.hosp-line .ico {
  margin-right: 10px;
}

.hosp-line .lab {
  opacity: .72;
  white-space: nowrap;
  margin-right: 8px;
}

.hosp-side {
  background: rgba(201,169,106,.12);
  border: 1px solid rgba(201,169,106,.35);
  border-radius: 10px;
  padding: 24px;
}

.hosp-side h3 {
  font-size: 16px;
  color: #e5dcc4;
  margin-bottom: 14px;
}

.hosp-side .row {
  font-size: 13.5px;
  line-height: 2.1;
  color: rgba(255,255,255,.92);
}

.cta-final {
  background: linear-gradient(135deg,#c9a96a,#b8892e);
  border-radius: 14px;
  color: #fff;
  text-align: center;
  padding: 42px 20px;
  margin-top: 38px;
}

.cta-final h2 {
  font-size: 25px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.cta-final p {
  opacity: .95;
  margin-bottom: 22px;
  font-size: 15px;
}

.cta-final a {
  display: inline-block;
  background: #fff;
  color: #9a6d14;
  padding: 13px 44px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== 动效增强·纯CSS（零JS；只加动效，不改配色） ===== */
html {
  scroll-behavior: smooth;
}

/* ---- 加载入场动画（fadeUp）：页面打开时元素依次淡入上移 ---- */
@keyframes motionUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

.grid-3>*,
.grid-2>*,
.grid-4>*,
.lf-grid>*,
.case-grid>*,
.hz-stats>*,
.kn-row>*,
.list-item,
.faq-item,
.hosp-line {
  animation: motionUp .62s cubic-bezier(.22,.61,.36,1) both;
}

/* 阶梯延迟：同排元素依次出现 */
.grid-3>*:nth-child(1),
.grid-2>*:nth-child(1),
.grid-4>*:nth-child(1),
.lf-grid>*:nth-child(1),
.case-grid>*:nth-child(1),
.hz-stats>*:nth-child(1),
.kn-row>*:nth-child(1) {
  animation-delay: 0.0s;
}

.grid-3>*:nth-child(2),
.grid-2>*:nth-child(2),
.grid-4>*:nth-child(2),
.lf-grid>*:nth-child(2),
.case-grid>*:nth-child(2),
.hz-stats>*:nth-child(2),
.kn-row>*:nth-child(2) {
  animation-delay: 0.06s;
}

.grid-3>*:nth-child(3),
.grid-2>*:nth-child(3),
.grid-4>*:nth-child(3),
.lf-grid>*:nth-child(3),
.case-grid>*:nth-child(3),
.hz-stats>*:nth-child(3),
.kn-row>*:nth-child(3) {
  animation-delay: 0.12s;
}

.grid-3>*:nth-child(4),
.grid-2>*:nth-child(4),
.grid-4>*:nth-child(4),
.lf-grid>*:nth-child(4),
.case-grid>*:nth-child(4),
.hz-stats>*:nth-child(4),
.kn-row>*:nth-child(4) {
  animation-delay: 0.18s;
}

.grid-3>*:nth-child(5),
.grid-2>*:nth-child(5),
.grid-4>*:nth-child(5),
.lf-grid>*:nth-child(5),
.case-grid>*:nth-child(5),
.hz-stats>*:nth-child(5),
.kn-row>*:nth-child(5) {
  animation-delay: 0.24s;
}

.grid-3>*:nth-child(6),
.grid-2>*:nth-child(6),
.grid-4>*:nth-child(6),
.lf-grid>*:nth-child(6),
.case-grid>*:nth-child(6),
.hz-stats>*:nth-child(6),
.kn-row>*:nth-child(6) {
  animation-delay: 0.3s;
}

.grid-3>*:nth-child(7),
.grid-2>*:nth-child(7),
.grid-4>*:nth-child(7),
.lf-grid>*:nth-child(7),
.case-grid>*:nth-child(7),
.hz-stats>*:nth-child(7),
.kn-row>*:nth-child(7) {
  animation-delay: 0.36s;
}

.grid-3>*:nth-child(8),
.grid-2>*:nth-child(8),
.grid-4>*:nth-child(8),
.lf-grid>*:nth-child(8),
.case-grid>*:nth-child(8),
.hz-stats>*:nth-child(8),
.kn-row>*:nth-child(8) {
  animation-delay: 0.42s;
}

.grid-3>*:nth-child(9),
.grid-2>*:nth-child(9),
.grid-4>*:nth-child(9),
.lf-grid>*:nth-child(9),
.case-grid>*:nth-child(9),
.hz-stats>*:nth-child(9),
.kn-row>*:nth-child(9) {
  animation-delay: 0.48s;
}

.grid-3>*:nth-child(10),
.grid-2>*:nth-child(10),
.grid-4>*:nth-child(10),
.lf-grid>*:nth-child(10),
.case-grid>*:nth-child(10),
.hz-stats>*:nth-child(10),
.kn-row>*:nth-child(10) {
  animation-delay: 0.54s;
}

.grid-3>*:nth-child(11),
.grid-2>*:nth-child(11),
.grid-4>*:nth-child(11),
.lf-grid>*:nth-child(11),
.case-grid>*:nth-child(11),
.hz-stats>*:nth-child(11),
.kn-row>*:nth-child(11) {
  animation-delay: 0.6s;
}

.grid-3>*:nth-child(12),
.grid-2>*:nth-child(12),
.grid-4>*:nth-child(12),
.lf-grid>*:nth-child(12),
.case-grid>*:nth-child(12),
.hz-stats>*:nth-child(12),
.kn-row>*:nth-child(12) {
  animation-delay: 0.66s;
}

.grid-3>*:nth-child(13),
.grid-2>*:nth-child(13),
.grid-4>*:nth-child(13),
.lf-grid>*:nth-child(13),
.case-grid>*:nth-child(13),
.hz-stats>*:nth-child(13),
.kn-row>*:nth-child(13) {
  animation-delay: 0.72s;
}

.list-item:nth-child(2) {
  animation-delay: .06s;
}

.list-item:nth-child(3) {
  animation-delay: .12s;
}

.list-item:nth-child(4) {
  animation-delay: .18s;
}

.list-item:nth-child(5) {
  animation-delay: .24s;
}

.list-item:nth-child(6) {
  animation-delay: .30s;
}

.list-item:nth-child(7) {
  animation-delay: .36s;
}

.list-item:nth-child(8) {
  animation-delay: .42s;
}

.list-item:nth-child(9) {
  animation-delay: .48s;
}

.list-item:nth-child(10) {
  animation-delay: .54s;
}

.faq-item:nth-child(2) {
  animation-delay: .06s;
}

.faq-item:nth-child(3) {
  animation-delay: .12s;
}

.faq-item:nth-child(4) {
  animation-delay: .18s;
}

.faq-item:nth-child(5) {
  animation-delay: .24s;
}

/* ---- hero 区：标题/副文/按钮依次浮现 ---- */
.hero h1,
.hz-hero h1 {
  animation: motionUp .72s cubic-bezier(.22,.61,.36,1) both;
}

.hero .sub,
.hero p,
.hz-hero .sub,
.hz-hero p {
  animation: motionUp .72s .12s cubic-bezier(.22,.61,.36,1) both;
}

.hero .btn,
.hz-hero .btn {
  animation: motionUp .72s .24s cubic-bezier(.22,.61,.36,1) both;
}

/* ---- 滚动入场（JS IntersectionObserver 接管，全浏览器含 iPhone/微信） ----
   JS 给 <html> 加 .js-anim 后：目标元素初始隐藏，进入视口时加 .motion-in 浮现；
   JS 不可用/不支持 IntersectionObserver 时：不加 .js-anim，元素保持加载入场动画，绝不空白 */
.js-anim .grid-3>*,
.js-anim .grid-2>*,
.js-anim .grid-4>*,
.js-anim .lf-grid>*,
.js-anim .case-grid>*,
.js-anim .hz-stats>*,
.js-anim .kn-row>*,
.js-anim .list-item,
.js-anim .faq-item,
.js-anim .hosp-line,
.js-anim .section .tit,
.js-anim .section .sub,
.js-anim .hz-title,
.js-anim .hz-sub {
  animation: none !important;
  opacity: 0;
  transform: translateY(24px);
}

.js-anim .motion-in {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .62s ease,transform .62s cubic-bezier(.22,.61,.36,1);
}

/* ---- hover 缓动 ---- */
.card,
.lf-card,
.case-card,
.faq-item {
  transition: transform .38s cubic-bezier(.22,.61,.36,1),box-shadow .38s cubic-bezier(.22,.61,.36,1);
}

.card:hover,
.lf-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(140,120,80,.16);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(140,120,80,.10);
}

.btn,
.nav-cta,
.yy-submit,
.map-box a {
  transition: transform .3s ease,box-shadow .3s ease,filter .3s ease;
}

.btn:hover,
.nav-cta:hover,
.yy-submit:hover,
.map-box a:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: #c9a96a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.list-item {
  transition: background-color .3s ease;
}

.list-item:hover {
  background-color: #fdf8ec;
}

.list-item .thumb {
  transition: transform .45s ease;
  overflow: hidden;
}

.list-item:hover .thumb {
  transform: scale(1.05);
}

.stat-item,
.hz-stats .item {
  transition: transform .3s ease;
}

.stat-item:hover,
.hz-stats .item:hover {
  transform: translateY(-3px);
}

a {
  transition: color .25s ease;
}

/* ---- 弱动效偏好降级 ---- */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none!important;
    transition-duration: .001s!important;
  }

  .js-anim .grid-3>*,
  .js-anim .grid-2>*,
  .js-anim .grid-4>*,
  .js-anim .lf-grid>*,
  .js-anim .case-grid>*,
  .js-anim .hz-stats>*,
  .js-anim .kn-row>*,
  .js-anim .list-item,
  .js-anim .faq-item,
  .js-anim .hosp-line,
  .js-anim .section .tit,
  .js-anim .section .sub,
  .js-anim .hz-title,
  .js-anim .hz-sub {
    opacity: 1;
    transform: none;
  }

}

/* ===== v56 板块动效：专家团队 / 胡氏疗法 ===== */
.zj-grid>* {
  animation: motionUp .62s cubic-bezier(.22,.61,.36,1) both;
}

.zj-grid>*:nth-child(1) {
  animation-delay: 0s;
}

.zj-grid>*:nth-child(2) {
  animation-delay: .06s;
}

.zj-grid>*:nth-child(3) {
  animation-delay: .12s;
}

.zj-grid>*:nth-child(4) {
  animation-delay: .18s;
}

.zj-grid>*:nth-child(5) {
  animation-delay: .24s;
}

.zj-grid>*:nth-child(6) {
  animation-delay: .3s;
}

.zj-grid>*:nth-child(7) {
  animation-delay: .36s;
}

.zj-grid>*:nth-child(8) {
  animation-delay: .42s;
}

.js-anim .zj-grid>* {
  animation: none !important;
  opacity: 0;
  transform: translateY(24px);
}

.zj-card {
  transition: transform .38s cubic-bezier(.22,.61,.36,1),box-shadow .38s cubic-bezier(.22,.61,.36,1),border-color .38s ease;
}

.zj-grid .zj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(140,120,80,.18);
  border-color: #c9a96a;
}

.zj-card .zj-pic {
  transition: border-color .38s ease,box-shadow .38s ease;
}

.zj-grid .zj-card:hover .zj-pic {
  border-color: #c9a96a;
  box-shadow: 0 6px 18px rgba(169,140,90,.28);
}

.zj-pic img {
  transition: transform .45s ease;
}

.zj-grid .zj-card:hover .zj-pic img {
  transform: scale(1.08);
}

.lfshow-tit,
.lfshow-pic,
.lfshow-txt {
  animation: motionUp .62s cubic-bezier(.22,.61,.36,1) both;
}

.lfshow-pic {
  animation-delay: .1s;
}

.lfshow-txt {
  animation-delay: .18s;
}

.js-anim .lfshow-tit,
.js-anim .lfshow-pic,
.js-anim .lfshow-txt {
  animation: none !important;
  opacity: 0;
  transform: translateY(24px);
}

.lfshow-pic img {
  transition: transform .5s ease;
}

.lfshow-pic:hover img {
  transform: scale(1.04);
}

.lfshow-feats>* {
  transition: transform .3s ease;
}

.lfshow-feats>*:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion:reduce) {
  .js-anim .zj-grid>*,
  .js-anim .lfshow-tit,
  .js-anim .lfshow-pic,
  .js-anim .lfshow-txt {
    opacity: 1 !important;
    transform: none !important;
  }

}

/* ===== 视觉美化：中医红金质感 ===== */
.hero {
  background: #9a3a26 !important;
  border-bottom: 6px solid #c9a96a !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero h1 {
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 4px;
}

.hero p {
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero .btn {
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.hz-hero {
  background: #9a3a26 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

.hz-hero h1 {
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 2px;
}

.hz-hero .slogan {
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.hz-hero .feat {
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

/* 分院卡片统一医院配图，隐藏 emoji */
.card .pic {
  font-size: 0 !important;
  background: #e5dcc4 url('../assets/img/card-hospital.jpg') center/cover no-repeat !important;
  border-bottom: 3px solid #c9a96a;
}

/* 标题中医衬线风 */
.section .tit,
.hz-title h2,
.kn-box h3 {
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  letter-spacing: 2px;
}

.card h3,
.lf-card h3,
.case-card h3 {
  font-family: "Noto Serif SC","STSong","SimSun",serif;
}

/* 卡片质感 */
.card {
  border-color: #e0d4b8 !important;
  box-shadow: 0 2px 10px rgba(140,120,80,.06);
}

/* ===== 胡氏品牌特色：老字号中医馆 ===== */
/* 宣纸底纹 */
body {
  background: #f8f3e6 url('/assets/img/paper.jpg') repeat !important;
}

/* 主站 hero 古籍竖排 */
.hero .wrap {
  position: relative;
}

.hero-vert {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  font-size: 26px;
  letter-spacing: 12px;
  color: #e0d4b8;
  border-left: 1px solid rgba(224,212,184,.5);
  padding-left: 18px;
  height: 310px;
}

/* 传承时间轴 */
.hc-heritage {
  background: #fff !important;
  border-top: 1px solid #e0d4b8;
  border-bottom: 1px solid #e0d4b8;
}

.hc-tl {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 6px;
}

.hc-tl-item {
  position: relative;
  padding: 20px 14px 16px;
  background: #f8f3e6 url('/assets/img/paper.jpg') repeat;
  border: 1px solid #e0d4b8;
  border-radius: 6px;
  text-align: center;
}

.hc-tl-item::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #b3452e;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 4px #e5dcc4;
}

.hc-tl-item h4 {
  color: #9a3a26;
  font-family: "Noto Serif SC","STSong","SimSun",serif;
  font-size: 16px;
  letter-spacing: 3px;
  margin: 0 0 8px;
}

.hc-tl-item p {
  font-size: 12px;
  color: #7a6a55;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

/* 卡片顶部金色线 */
.card {
  border-top: 3px solid #c9a96a !important;
  border-radius: 0 0 6px 6px !important;
}

@media (max-width: 768px) {
  .hero-vert {
    display: none;
  }

  .hc-tl {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .hc-tl-item h4 {
    font-size: 14px;
  }

  .hc-tl-item p {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }

}

/* ===== 移动端排版适配（仅排版，配色全继承 PC 端） ===== */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  /* 防横向溢出：html+body 双写（iOS Safari 只写 body 不生效）；clip 优先，hidden 兜底 */
  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  body {
    font-size: 15px;
  }

  .wrap,
  .inner {
    padding: 0 14px !important;
    max-width: 100% !important;
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100% !important;
    height: auto;
  }

  a,
  p,
  h1,
  h2,
  h3,
  h4,
  div,
  span {
    overflow-wrap: break-word;
  }

  /* flex/grid 子项默认 min-width:auto 会被长内容撑破，归零 */
  .grid>*,
  .grid-2>*,
  .grid-3>*,
  .grid-4>*,
  .lf-grid>*,
  .case-grid>*,
  .hz-stats .inner>*,
  .hz-footer .cols>*,
  .hero-btns>* {
    min-width: 0;
    max-width: 100%;
  }

  .hero,
  .hz-hero,
  .section,
  .hz-section,
  .hz-topbar,
  .hz-header,
  .hz-stats,
  .hz-footer {
    max-width: 100vw;
    box-sizing: border-box;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  /* 顶栏：色不变，排版居中 */
  .hz-topbar {
    font-size: 11px;
    padding: 5px 0;
  }

  .hz-topbar .wrap {
    justify-content: center !important;
    gap: 10px;
  }

  /* 手机端顶部只保留电话：隐藏左侧“胡氏中医营养免疫疗法”宣传语 */
  .hz-topbar .wrap > span:first-child {
    display: none !important;
  }

  /* 头部：红底不变，纵向居中 + 导航横滑 */
  .hz-header .wrap {
    flex-direction: column !important;
    height: auto !important;
    padding: 12px 14px !important;
    gap: 10px;
  }

  .hz-header .logo {
    font-size: 20px;
    text-align: center;
  }

  .hz-header .logo small {
    font-size: 9px;
  }

  .hz-header nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hz-header nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .hz-header nav a {
    margin-left: 0 !important;
    margin-right: 14px;
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }

  .hz-header nav .nav-cta {
    padding: 6px 14px;
    font-size: 13px;
  }

  /* 主站 hero：PC 渐变与米色底边不动，只缩尺寸 */
  .hero {
    padding: 36px 18px !important;
    text-align: center;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero .btn {
    margin-top: 4px;
    font-size: 14px;
    padding: 10px 26px;
  }

  /* 区块标题：PC 的【】装饰与渐变线原样保留，只缩字号 */
  .section,
  .hz-section {
    padding: 26px 0 !important;
  }

  .section .tit {
    font-size: 19px;
  }

  .section .sub {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .hz-title h2 {
    font-size: 19px;
  }

  .hz-sub {
    font-size: 12px;
    margin-bottom: 16px;
  }

  /* 分院/疗法网格：2 列紧凑 */
  .grid {
    gap: 10px;
  }

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: repeat(2,1fr) !important;
  }

  .grid-3 > .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 55%;
  }

  .card .pic {
    height: 84px;
    font-size: 32px;
  }

  .card .bd {
    padding: 10px 12px 12px;
  }

  .card h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .card p {
    font-size: 11px;
    -webkit-line-clamp: 1;
  }

  /* 城市站 hero：PC 渐变不动 */
  .hz-hero {
    padding: 30px 16px 36px !important;
    text-align: center;
  }

  .hz-hero h1 {
    font-size: 21px;
    margin: 12px 0 8px;
  }

  .hz-hero .slogan {
    font-size: 14px;
  }

  .hz-hero .feat {
    font-size: 13px;
    text-align: justify;
    line-height: 1.85;
  }

  .hz-badge {
    font-size: 12px;
    padding: 4px 14px;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .btn-yuyue,
  .btn-tel {
    margin-right: 0 !important;
    display: block;
    font-size: 15px;
    padding: 12px 0;
    text-align: center;
  }

  /* 数据条：米色底不动，4 等分 */
  .hz-stats .inner {
    display: grid !important;
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
    padding: 16px 8px !important;
  }

  .stat-num {
    font-size: 19px;
  }

  .stat-num span {
    font-size: 11px;
  }

  .stat-label {
    font-size: 10px;
    margin-top: 2px;
  }

  /* 疗法/病例卡：单列，PC 卡面样式不动 */
  .lf-grid,
  .case-grid {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .lf-card,
  .case-card {
    padding: 18px 16px;
  }

  .lf-card h3,
  .case-card h3 {
    font-size: 15px;
  }

  .lf-card p,
  .case-card p {
    font-size: 13px;
  }

  .lf-card .ico {
    font-size: 26px;
  }

  .more-link {
    margin-top: 18px;
  }

  .more-link a {
    font-size: 13px;
    padding: 8px 30px;
  }

  /* 知识条目：保持 PC 横排（标题左、日期右），只缩间距字号 */
  .kn-box h3 {
    font-size: 15px;
    padding: 11px 14px;
  }

  .kn-row {
    padding: 11px 14px;
  }

  .kn-row .t {
    font-size: 13px;
  }

  .kn-row .d {
    font-size: 11px;
    margin-left: 10px;
    flex-shrink: 0;
  }

  /* 列表页：竖排，PC 虚线分隔与米色 thumb 不动 */
  .crumb,
  .breadcrumb {
    font-size: 12px;
    padding: 12px 14px 0;
  }

  .list-item {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 0 14px !important;
  }

  .list-item .thumb {
    width: 100% !important;
    height: 140px !important;
    border-radius: 0;
  }

  .list-item h2 {
    font-size: 15px;
    padding: 10px 2px 0;
  }

  .list-item p {
    font-size: 12px;
  }

  .list-item .meta {
    font-size: 11px;
  }

  /* 来院/地址行：防溢出 */
  .hosp-line {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .hosp-line .lab {
    white-space: normal !important;
  }

  .addr-line .lab {
    white-space: normal !important;
  }

  .faq-item {
    margin: 10px 14px;
  }

  /* 文章内容页 */
  .article-content,
  .content,
  .con {
    font-size: 15px;
    line-height: 1.9;
    padding: 0 14px;
  }

  /* 页脚：PC 深棕底金字不动，竖排居中 */
  .hz-footer {
    margin-top: 26px;
  }

  .hz-footer .cols {
    gap: 18px;
    text-align: center;
  }

  .hz-footer h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .hz-footer a {
    display: inline-block;
    margin: 0 7px 6px;
  }

}

/* ============================================================
   v74（2026-11-13）：分院首页「专家团队」网格 + 「康复病例」封面图
   说明：分院首页原先只引本文件，专家区只有动画没有布局与卡片样式，
        这里补齐；病例卡改为上图下文。
   ============================================================ */

/* ---- 专家团队 ---- */
.zj-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.zj-card {
  background: #fff;
  border: 1px solid #e5dcc4;
  border-radius: 10px;
  padding: 26px 16px 20px;
  text-align: center;
}

.zj-pic {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid #ede4cd;
  box-shadow: 0 3px 10px rgba(140,120,80,.10);
  background: linear-gradient(135deg,#f7f1e4,#e8d9bd);
}

.zj-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zj-name {
  font-size: 17px;
  font-weight: 700;
  color: #3a352e;
  margin-bottom: 9px;
  letter-spacing: 1px;
}

.zj-tag {
  display: inline-block;
  background: #f5efe0;
  color: #a8873f;
  font-size: 12px;
  padding: 4px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
  border: 1px solid #e0d4b8;
}

.zj-goodat {
  margin-top: 13px;
  font-size: 12.5px;
  color: #a89a80;
  line-height: 1.7;
  text-align: left;
}

@media(max-width:1000px) {
  .zj-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media(max-width:768px) {
  .zj-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .zj-card {
    padding: 20px 12px 16px;
  }

  .zj-pic {
    width: 100px;
    height: 100px;
  }
}

/* ---- 康复病例：上图下文 ---- */
.case-card {
  padding: 0;
  overflow: hidden;
}

.case-pic {
  height: 180px;
  background: linear-gradient(135deg,#f5efe0,#e6d9bd);
  overflow: hidden;
  position: relative;
}

.case-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s;
}

.case-card:hover .case-pic img {
  transform: scale(1.06);
}

.case-ph {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9a279;
  font-size: 15px;
  letter-spacing: 6px;
}

.case-bd {
  padding: 20px 22px 22px;
}

@media(max-width:760px) {
  .case-pic {
    height: 160px;
  }
}

/* ===== v76（2026-11-13）：康复病例栏目页病种选项卡 ===== */
/* v76：病种选项卡 —— 三格连体、整体居中，位于列表卡片之外 */
.anli-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 0 18px;
}

.anli-tab {
  position: relative;
  display: block;
  padding: 10px 32px;
  border: 1px solid #d9c9a3;
  background: #fff;
  color: #6b6153;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}

/* 相邻格重叠 1px，视觉上是一条线，三格连成整体 */
.anli-tab + .anli-tab {
  margin-left: -1px;
}

.anli-tab:first-child {
  border-radius: 4px 0 0 4px;
}

.anli-tab:last-child {
  border-radius: 0 4px 4px 0;
}

.anli-tab:hover {
  z-index: 1;
  background: #faf5e9;
  color: #a8873f;
}

/* 选中格抬高，四边金色盖住相邻的灰线 */
.anli-tab.on {
  z-index: 2;
  background: #a8873f;
  border-color: #a8873f;
  color: #fff;
}

.anli-kind {
  color: #a8873f;
}

@media (max-width: 600px) {
  .anli-tab {
    padding: 9px 16px;
    font-size: 13px;
  }
}

/* v76：病例标签改为链接 */
.case-tag {
  text-decoration: none;
}
.case-tag:hover {
  color: #8c6d2a;
  border-color: #d6c295;
}

/* v76：病例卡容器由 a 改为 div，图片与标题各自带链接（避免 a 嵌套 a） */
.case-card .case-pic { display: block; }
.case-card h3 a { color: inherit; text-decoration: none; }
.case-card:hover h3 a { color: #a8873f; }
