/* ========== 津禾心理咨询中心 样式 ========== */
:root {
  --red: #2b6cb0;
  --red-dark: #1e5596;
  --gold: #8fc1ec;
  --title: #2b2b2b;
  --text: #777777;
  --bg-soft: #eaf2fa;
  --bg-warm: #f3f8fd;
  --footer: #212121;
  --line: #ececec;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--title);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; display: block; }
.nav { display: flex; gap: 64px; }
.nav a {
  font-size: 18px;
  color: #333;
  padding: 6px 0;
  position: relative;
  transition: color .3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s;
}
.nav a.active, .nav a:hover { color: var(--red); }
.nav a.active::after, .nav a:hover::after { width: 100%; }

/* ---------- 手机端汉堡按钮 ---------- */
.nav-toggle { display: none; }

/* ---------- Hero 轮播 ---------- */
.hero {
  position: relative;
  height: 750px;
  overflow: hidden;
  background: #16324f;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 38, 66, .62) 0%, rgba(15, 38, 66, .28) 55%, rgba(15, 38, 66, .05) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 4px;
  color: #e8f2fc;
  margin-bottom: 22px;
}
.hero-tag::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  max-width: 480px;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-btn { padding: 15px 40px; font-size: 16px; border-radius: 4px; }
.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  transition: all .3s;
}
.btn-ghost:hover { background: #fff; color: var(--red); border-color: #fff; }

/* Hero 漂浮装饰 */
.hero-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .22;
  animation: floatY 6s ease-in-out infinite;
}
.b1 { width: 190px; height: 190px; top: 14%; left: 6%; background: radial-gradient(circle, #8fc1ec, transparent 70%); }
.b2 { width: 130px; height: 130px; bottom: 18%; right: 10%; background: radial-gradient(circle, #2b6cb0, transparent 70%); animation-delay: 2s; }
.b3 { width: 70px; height: 70px; top: 32%; right: 26%; background: radial-gradient(circle, #fff, transparent 70%); animation-delay: 4s; }
.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  animation: spinSlow 24s linear infinite;
}
.r1 { width: 300px; height: 300px; top: -100px; right: -80px; }
.r2 { width: 180px; height: 180px; bottom: -60px; left: 12%; animation-direction: reverse; }

/* 轮播箭头 / 指示点 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all .3s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .3s;
}
.hero-dots .dot.active { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- 板块标题 ---------- */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 14px;
  padding-bottom: 18px;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.section-sub { font-size: 14px; color: var(--text); letter-spacing: 1px; }

/* ---------- 快捷导航 5 项 ---------- */
.quick-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.quick-item {
  padding: 30px 16px;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.quick-item:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .1);
}
.quick-item img {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  transition: transform .35s;
}
.quick-item:hover img { transform: scale(1.12) rotate(-4deg); }
.quick-item .label { font-size: 16px; color: #333; transition: color .3s; }
.quick-item:hover .label { color: var(--red); }

/* ---------- 四大服务 ---------- */
.services { background: #fff; overflow: hidden; }
.services::before, .news::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 108, 176, .06), transparent 70%);
  top: -120px; right: -100px;
  pointer-events: none;
}
.service-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 16px;
  background: linear-gradient(to top, rgba(15, 38, 66, .85), rgba(15, 38, 66, 0));
  color: #fff;
  text-align: center;
  transition: background .35s ease;
}
.service-info span {
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.5;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
}
.service-card:hover img { transform: scale(1.08); }
.service-card:hover .service-info {
  background: linear-gradient(to top, rgba(43, 108, 176, .92), rgba(43, 108, 176, 0));
}
.service-card:hover .service-info span { letter-spacing: 2px; }
.btn-wrap { text-align: center; margin-top: 50px; }
.btn-red {
  display: inline-block;
  padding: 15px 46px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 108, 176, .3);
}

/* ---------- 在线挂号 ---------- */
.booking { background: var(--bg-soft); }
.booking-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}
.booking-types { margin-bottom: 28px; }
.booking-types .types-title { font-size: 15px; color: #333; margin-bottom: 16px; }
.booking-types label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}
.booking-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.form-field label {
  display: block;
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}
.form-field label .req { color: var(--red); }
.form-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  background: #fafafa;
  transition: border-color .3s, background .3s;
}
.form-field input:focus { border-color: var(--red); background: #fff; }
.btn-orange {
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.btn-orange:hover {
  background: #1e5596;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(43, 108, 176, .3);
}

/* ---------- 横向滚动板块（专家 / 荣誉） ---------- */
.slider { position: relative; }
.slider-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 26px 2px;
  margin: -26px 0;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--title);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: all .3s;
}
.slider-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.slider-arrow.prev { left: -14px; }
.slider-arrow.next { right: -14px; }

.doctor-card {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc((100% - 60px) / 3);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
.doctor-card img {
  width: 100%;
  aspect-ratio: 3 / 3;
  object-fit: cover;
}
.doctor-info { padding: 24px; }
.doctor-name { font-size: 18px; color: var(--title); margin-bottom: 12px; }
.doctor-desc { font-size: 14px; color: var(--text); line-height: 1.9; }
.doctor-role {
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  background: var(--bg-warm);
  border: 1px solid rgba(43, 108, 176, .15);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ---------- 荣誉证书 ---------- */
.honors { background: var(--bg-soft); }
.honor-card {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc((100% - 60px) / 3);
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.honor-card:hover { transform: translateY(-8px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.honor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
}
.honor-card .honor-name { font-size: 15px; color: #555; }

/* ---------- 关于我们 ---------- */
.about { background: #fff; }
.about-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
}
.about-main { position: relative; }
.about-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
}
.about-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(43, 108, 176, .3);
}
.about-side { position: relative; }
.about-side .about-room {
  width: 70%;
  margin-left: auto;
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}
.about-side .about-room img { width: 100%; height: 220px; object-fit: cover; }
.about-text h3 { font-size: 26px; color: var(--title); margin-bottom: 12px; }
.about-text .about-sub { font-size: 14px; color: var(--text); margin-bottom: 20px; }
.about-text p { font-size: 14px; color: var(--text); line-height: 2; margin-bottom: 28px; }

/* ---------- 新闻资讯 ---------- */
.news { background: var(--bg-warm); overflow: hidden; }
.news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }
.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s ease;
}
.news-card:hover img { transform: scale(1.06); }
.news-card > div { padding: 22px 22px 26px; }
.news-card .news-title {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color .3s;
}
.news-card:hover .news-title { color: var(--red); }
.news-card .news-summary {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer);
  color: #bbb;
  padding: 50px 0 30px;
}
.footer-logo { margin-bottom: 30px; }
.footer-logo img { height: 36px; width: auto; display: block; background: #fff; padding: 8px 14px; border-radius: 8px; }
.footer-nav {
  display: flex;
  gap: 60px;
  padding-bottom: 26px;
  border-bottom: 1px solid #3a3a3a;
  margin-bottom: 26px;
}
.footer-nav a { font-size: 15px; color: #bbb; transition: color .3s; }
.footer-nav a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  font-size: 14px;
  color: #999;
}

/* ---------- 入场动画（仅在脚本加载后启用） ---------- */
.js [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-animate].in-view { opacity: 1; transform: none; }

/* Hero 文案：默认可见，动画仅作入场增强，避免脚本时序问题导致文字消失 */
.hero-slide [data-animate] { opacity: 1; transform: none; }
.hero-slide.active [data-animate].play { animation: fadeUp .8s ease both; }
.hero-slide.active [data-animate].play:nth-child(2) { animation-delay: .12s; }
.hero-slide.active [data-animate].play:nth-child(3) { animation-delay: .24s; }
.hero-slide.active [data-animate].play:nth-child(4) { animation-delay: .36s; }

/* ---------- 关键帧 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
@keyframes spinSlow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}


/* ========== 内页横幅（全站内页共用） ========== */
.page-banner {
  background: linear-gradient(135deg, #16324f 0%, #2b5a8a 100%);
  padding: 70px 0;
  color: #fff;
  text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.page-banner .breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .7); letter-spacing: 1px; }
.page-banner .breadcrumb a { color: rgba(255, 255, 255, .7); }
.page-banner .breadcrumb a:hover { color: #fff; }

/* ========== 简介页 ========== */
.page-about .container { max-width: 1400px; }
.about-doctors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.idea-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 44px;
}
.idea-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.idea-card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }
.idea-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.idea-card h3 { font-size: 18px; color: var(--title); margin: 20px 20px 10px; }
.idea-card p { font-size: 14px; color: var(--text); line-height: 1.9; padding: 0 20px 22px; }
.idea-summary {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: var(--text);
  line-height: 2.2;
}
.intro-wrap { max-width: 1320px; margin: 0 auto; }
.intro-text { text-align: center; margin-bottom: 40px; }
.intro-text h3 {
  font-size: 30px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 14px;
}
.intro-text h3::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px auto 0;
}
.intro-text .about-sub {
  font-size: 15px;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-align: center;
  text-indent: 0;
}
.intro-text p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 2.15;
  margin: 0 auto 20px;
  text-align: justify;
  text-indent: 2em;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 44px;
}
.stat-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.stat-item:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.stat-num { font-size: 26px; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--text); }
.intro-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}
.intro-img img {
  width: 100%;
  /* height: 420px; */
  object-fit: cover;
  transition: transform .6s ease;
}
.intro-img:hover img { transform: scale(1.05); }

/* ========== 服务页 ========== */
.svc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }
.svc-card .svc-img { overflow: hidden; }
.svc-card .svc-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-card .svc-body { padding: 22px 22px 26px; }
.svc-card h3 {
  font-size: 19px;
  color: var(--title);
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}
.svc-card h3::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 4px; height: 16px;
  background: var(--red);
  border-radius: 2px;
}
.svc-card p { font-size: 14px; color: var(--text); line-height: 1.9; }
.case-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0, 0, 0, .12); }
.case-card .case-img { overflow: hidden; }
.case-card .case-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.case-card:hover .case-img img { transform: scale(1.08); }
.case-card .case-body { padding: 18px 20px 22px; }
.case-card h3 { font-size: 16px; color: var(--title); margin-bottom: 10px; line-height: 1.6; }
.case-card p { font-size: 13px; color: var(--text); line-height: 1.8; }
.section-soft { background: var(--bg-soft); }

/* ========== 联系页 ========== */
.contact-intro {
  max-width: 960px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 15px;
  color: var(--text);
  line-height: 2.2;
}
.contact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.contact-item:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0, 0, 0, .1); }
.contact-item .ci-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon img { width: 28px; height: 28px; }
.contact-item .ci-label { font-size: 14px; color: #999; margin-bottom: 8px; }
.contact-item .ci-value { font-size: 16px; color: var(--title); font-weight: 600; word-break: break-all; }
.map-box {
  position: relative;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)),
    repeating-linear-gradient(0deg, #e6eaee 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, #e6eaee 0 1px, transparent 1px 60px),
    #eef1f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.map-pin { text-align: center; }
.map-pin .pin {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(43, 108, 176, .3);
}
.map-pin .pin::after {
  content: "";
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}
.map-pin .map-title { font-size: 18px; color: var(--title); font-weight: 600; margin-bottom: 6px; }
.map-pin .map-addr { font-size: 14px; color: var(--text); }
.form-card {
  
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 44px 40px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: var(--title);
  background: #fafafa;
  outline: none;
  transition: border-color .3s, background .3s;
  font-family: inherit;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--red); background: #fff; }
.form-field textarea { height: 120px; resize: vertical; }
.form-full { margin-bottom: 28px; }
.form-submit { text-align: center; }

/* ========== 新闻列表页 ========== */
.news-date {
  font-size: 13px;
  color: var(--red);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.news-list-plain { display: flex; flex-direction: column; gap: 0; }
.plain-item {
  display: block;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.plain-item:hover { padding-left: 20px; }
.plain-item:last-child { border-bottom: none; }
.plain-item .plain-title {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color .3s;
}
.plain-item:hover .plain-title { color: var(--red); }
.plain-item .plain-summary {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 10px;
}
.plain-item .plain-date { font-size: 13px; color: #999; letter-spacing: 1px; }
.group-gap { margin-top: 60px; }

/* ========== 新闻详情页 ========== */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-title {
  font-size: 28px;
  color: var(--title);
  line-height: 1.5;
  margin-bottom: 18px;
}
.article-meta {
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.article-content p {
  font-size: 15px;
  color: var(--text);
  line-height: 2.2;
  margin-bottom: 18px;
  text-align: justify;
}
.article-content h3 {
  font-size: 18px;
  color: var(--title);
  font-weight: 700;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

/* ========== 详情页上一篇 / 下一篇 ========== */
.detail-pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.detail-pager a {
  flex: 1;
  min-width: 260px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  text-decoration: none;
  transition: color .3s;
}
.detail-pager a:hover { color: var(--red); }
.detail-pager .pager-tag {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 2px 10px;
  margin-right: 8px;
  letter-spacing: 1px;
}
.detail-pager .next { text-align: right; }

/* ========== 专家详情页 ========== */
.doc-wrap { max-width: 1100px; margin: 0 auto; }
.doc-head {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}
.doc-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-main .doc-name {
  font-size: 28px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 12px;
}
.doc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.doc-tags span {
  font-size: 13px;
  color: var(--red);
  background: var(--bg-warm);
  border: 1px solid rgba(43, 108, 176, .15);
  border-radius: 20px;
  padding: 5px 14px;
}
.doc-summary { font-size: 15px; color: var(--text); line-height: 2; margin-bottom: 26px; }
.doc-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.doc-meta .meta-item .meta-label { font-size: 13px; color: #999; margin-bottom: 6px; }
.doc-meta .meta-item .meta-value { font-size: 15px; color: var(--title); font-weight: 600; }
.doc-body { margin-top: 44px; }
.doc-body h3 {
  font-size: 19px;
  color: var(--title);
  font-weight: 700;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}
.doc-body h3:first-child { margin-top: 0; }
.doc-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 2.2;
  margin-bottom: 18px;
  text-align: justify;
}

/* ========== 实景栏目 / 详情 ========== */
.scene-grid { margin-top: 10px; }
.scene-wrap { max-width: 1000px; margin: 0 auto; }
.scene-hero {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .1);
}
.scene-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.scene-title {
  font-size: 28px;
  color: var(--title);
  line-height: 1.5;
  margin-bottom: 18px;
}
.scene-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 2.2;
  margin-bottom: 18px;
  text-align: justify;
}
.scene-body h3 {
  font-size: 18px;
  color: var(--title);
  font-weight: 700;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 42px; height: 42px; background: none; border: 0;
    cursor: pointer; padding: 8px;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--title); border-radius: 2px; transition: all .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .3s ease;
  }
  .nav.open { max-height: 420px; opacity: 1; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero { height: 520px; }
  .hero-title { font-size: 38px; }
  .quick-row { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .service-row { grid-template-columns: repeat(3, 1fr); }
  .news-row { grid-template-columns: repeat(2, 1fr); }
  .doctor-card { flex-basis: calc((100% - 30px) / 2); }
  .honor-card { flex-basis: calc((100% - 30px) / 2); }
  .about-row { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .btn-orange { grid-column: 1 / -1; }
  .about-doctors, .idea-row, .intro-stats { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-row, .case-row { grid-template-columns: repeat(2, 1fr); }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .doc-head { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .doc-photo { max-width: 360px; }
}

@media (max-width: 600px) {
  .header-inner { height: 72px; }
  .logo img { height: 40px; }
  .hero { height: 380px; }
  .hero-mask { background: linear-gradient(180deg, rgba(15, 38, 66, .78) 0%, rgba(15, 38, 66, .62) 100%); }
  .hero-title { font-size: 25px; }
  .hero-desc { font-size: 14px; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .quick-row { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 1fr; }
  .slider-track { gap: 16px; }
  .doctor-card { flex: 0 0 100%; }
  .honor-card { flex: 0 0 100%; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
  .booking-card { padding: 24px; }
  .booking-form { grid-template-columns: 1fr; }
  .about-main img { height: 280px; }
  .footer-nav { gap: 28px; flex-wrap: wrap; }
  .footer-contact { flex-direction: column; gap: 14px; }
  .about-doctors, .idea-row, .svc-row, .case-row, .contact-list, .doc-meta, .form-grid, .doctor-grid { grid-template-columns: 1fr; }
  .intro-img img { height: 240px; }
  .form-card { padding: 30px 22px; }
  .map-box { height: 280px; }
  .page-banner { padding: 50px 0; }
  .page-banner h1 { font-size: 26px; }
  .article-title, .scene-title { font-size: 22px; }
  .doc-main .doc-name { font-size: 22px; }
  .detail-pager { flex-direction: column; }
  .detail-pager .next { text-align: left; }
}


/* 分页样式 */

.nz-page-pagination{  
  text-align:center;  
  margin:30px 0 20px 0;
}
.nz-page-pagination a{ 
  border:#bbb solid 1px; 
  padding:0px 15px; 
  font-size:14px; 
  color:#666; 
  line-height: 36px; 
  display: inline-block; 
  border-radius: 5px;
  margin:0 1px;
}
.nz-page-pagination a:hover{ 
  color:white; 
  background-color:#1652A4; 
  border:#1652A4 solid 1px;
}
/* 当前激活页 */
.nz-page-pagination a.current{ 
  color:white; 
  background-color:#1652A4; 
  border:#1652A4 solid 1px;
}
              