/* 独立布局：杂志式 + 全端适配（含手机） */
/* 风格：暖米色 + 深棕 + 左对齐标题，区别于常见医疗站 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #3c3228;
  background: #f5f1eb;
  line-height: 1.65;
}

:root {
  --coffee: #2c2419;
  --coffee-light: #5c4a3a;
  --warm: #c4a77d;
  --warm-bg: #ebe5dc;
  --paper: #faf8f5;
  --card: #fff;
  --muted: #7a6f62;
}

/* ========== 顶部 ========== */
.top_bg {
  background: var(--coffee);
  height: 40px;
}
.top.wapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.top .biao span { font-size: 12px; color: rgba(255,255,255,0.75); }
.QQweixin ul { margin: 0; padding: 0; list-style: none; }
.QQweixin ul li { font-size: 13px; color: #fff; }
.QQweixin ul li span { color: var(--warm); font-weight: 600; }

/* ========== 导航（含汉堡） ========== */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--warm-bg);
}
.head.wapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo { margin: 0 !important; margin-left: 0 !important; }
.logo a img { max-height: 52px; width: auto; display: block; }

/* 汉堡按钮 - 仅小屏显示 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--coffee);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu { margin: 0 !important; }
.menu ul {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu ul li { width: auto !important; margin: 0 !important; }
.menu ul li span { display: flex !important; flex-direction: column !important; align-items: center !important; }
.menu ul li span a {
  border: none !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: var(--coffee) !important;
  border-radius: 6px;
}
.menu ul li span a:hover { color: var(--coffee-light) !important; background: var(--warm-bg) !important; }
.menu ul li b { font-size: 10px !important; color: var(--muted) !important; margin-top: 2px; font-weight: normal; }
.menu ul li dl {
  position: absolute;
  padding: 8px 0 !important;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  min-width: 160px;
  background: var(--card) !important;
  border: 1px solid var(--warm-bg);
}
.menu ul li dl dd { margin: 0 !important; }
.menu ul li dl dd a { padding: 10px 16px !important; border-radius: 0 !important; display: block !important; font-size: 13px !important; }
.menu ul li dl dd a:hover { background: var(--warm-bg) !important; color: var(--coffee) !important; }
.menu ul li:hover dl { display: block !important; }

/* ========== 轮播 ========== */
.banner_02 {
  overflow: hidden;
  margin: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  border-radius: 12px;
  margin-top: 20px;
}
.banner_02 #banner_02_con { display: block !important; }
.banner_02 #banner_02_con > div { border-radius: 12px; overflow: hidden; }

/* ========== 区块通用：左对齐标题 + 左边线 ========== */
.section-wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 0.35em;
  padding-left: 12px;
  border-left: 4px solid var(--warm);
}
.section-sub { font-size: 12px; color: var(--muted); margin-top: 0; }

/* 五大优势 - 横向滚动卡片（手机友好） */
.con01.wapper { padding: 32px 16px; max-width: 1100px; margin: 0 auto; }
.con01 ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.con01 ul li {
  flex: 0 0 150px;
  scroll-snap-align: start;
  margin: 0 !important;
  border: none !important;
  background: var(--card) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 12px !important;
  min-height: 100px;
}
.con01 ul li strong { font-size: 1.5rem !important; color: var(--warm) !important; margin: 0 0 4px 0 !important; }
.con01 ul li span { font-size: 13px !important; color: var(--muted) !important; margin: 0 !important; text-align: center; }

/* 疾病专栏 - 左对齐列表感 */
.con02_bg { background: var(--paper) !important; padding: 40px 16px !important; }
.con02.wapper { max-width: 1100px; margin: 0 auto !important; }
.con02 h2 { color: var(--coffee) !important; font-size: 1.35rem !important; font-weight: 700 !important; margin-bottom: 4px !important; padding-left: 12px; border-left: 4px solid var(--warm); }
.con02 p { color: var(--muted) !important; font-size: 12px !important; margin-top: 0; }
.con02 .xian { display: none !important; }
.con02 ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  padding-top: 24px !important;
  margin: 0;
}
.con02 ul li { width: auto !important; height: auto !important; margin: 0 !important; float: none !important; }
.con02 ul li a {
  background: var(--card) !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--warm-bg) !important;
  display: block;
}
.con02 ul li a span { margin: 0 !important; font-size: 14px !important; color: var(--coffee) !important; }
.con02 ul li a:hover { border-color: var(--warm) !important; background: var(--warm-bg) !important; }

/* 公司简介 */
.con03.wapper { padding: 40px 16px !important; max-width: 1100px; margin: 0 auto !important; }
.con03 h2 { color: var(--coffee) !important; font-size: 1.35rem !important; padding-left: 12px; border-left: 4px solid var(--warm); margin-bottom: 8px; }
.con03 p { color: var(--muted) !important; }
.con03 .xian { display: none !important; }
.jieshao { max-width: 100% !important; margin: 16px 0 28px !important; }
.jieshao span { font-size: 15px !important; color: var(--coffee-light) !important; line-height: 1.8 !important; }
.jieshaotu ul {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.jieshaotu ul li { width: 100% !important; height: auto !important; margin: 0 !important; }
.jieshaotu ul li .fj {
  width: 100% !important;
  height: 180px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
.jieshaotu ul li .fj img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.jieshaotu ul li .fj span { background: linear-gradient(transparent, rgba(44,36,25,0.85)) !important; font-size: 15px !important; }

.con04 { border-radius: 12px !important; margin: 24px 16px !important; max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; }

/* 我们的优势 */
.outside_5 { background: var(--card) !important; padding: 40px 16px !important; }
.outside_5 .title img { max-height: 64px; }
.outside_5 .tuopan { display: flex !important; justify-content: center !important; gap: 8px !important; flex-wrap: wrap !important; }
.outside_5 .pagitem { padding: 12px 20px !important; background: var(--warm-bg) !important; border-radius: 10px !important; cursor: pointer; }
.outside_5 .witem .tit { color: var(--coffee) !important; font-size: 1.1rem !important; }
.outside_5 .wenzi2 { max-width: 640px; margin: 0 auto; }

/* 我们的宝贝 / 案例 / 医生 - 统一卡片网格 */
.con05_bg, .con06_bg { background: var(--paper) !important; padding: 40px 16px !important; }
.con05.wapper, .con06.wapper { max-width: 1100px; margin: 0 auto !important; }
.con05 h2, .con06 h2 { color: var(--coffee) !important; font-size: 1.35rem !important; padding-left: 12px; border-left: 4px solid var(--warm); margin-bottom: 8px; }
.con05 span, .con06 span { display: block !important; margin-bottom: 20px !important; color: var(--muted) !important; font-size: 14px; }

.baobei2 ul, .baobei ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.baobei2 ul li, .baobei ul li { width: 100% !important; margin: 0 !important; }
.baobei2 ul li a, .baobei ul li a { display: block; }
.baobei2 ul li a img, .baobei ul li a img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
}
.baobei ul li a span { display: block !important; padding: 10px 0 !important; font-size: 14px !important; color: var(--coffee-light); }

.con07 { max-width: 1100px !important; margin: 0 auto !important; padding: 40px 16px !important; height: auto !important; }
.con07 h2 { color: var(--coffee) !important; font-size: 1.35rem !important; padding-left: 12px; border-left: 4px solid var(--warm); }
.con07 .jieshaotu ul {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.con07 .jieshaotu ul li { width: 100% !important; margin: 0 !important; height: auto !important; }
.con07 .jieshaotu ul li .fj { width: 100% !important; height: 160px !important; border-radius: 10px !important; overflow: hidden !important; }
.con07 .jieshaotu ul li .fj img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.con07 .jieshaotu ul li .fj span { font-size: 13px !important; }

/* 费用明细 - 深色块 */
.outside_price {
  background: var(--coffee) !important;
  padding: 40px 16px !important;
  min-height: auto !important;
}
.outside_price .price_layout { max-width: 900px; margin: 0 auto; display: flex !important; flex-wrap: wrap !important; gap: 24px !important; }
.outside_price .price_layout > h2, .outside_price .price_layout > b, .outside_price .price_layout > span { width: 100% !important; }
.outside_price h2 { color: #fff !important; font-size: 1.35rem !important; }
.outside_price b { color: rgba(255,255,255,0.7) !important; }
.outside_price .xian01 { display: none !important; }
.outside_price span { color: rgba(255,255,255,0.9) !important; }
.outside_price .left_content { float: none !important; flex: 1 !important; min-width: 0 !important; }
.outside_price .right_info { flex: 0 0 280px !important; }
.outside_price .pro_items {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin-top: 20px !important;
}
.outside_price .pro_items li { float: none !important; width: auto !important; }
.outside_price .pro_img { display: block !important; border-radius: 10px !important; overflow: hidden !important; border: none !important; }
.outside_price .pro_img img { width: 100% !important; height: 100px !important; object-fit: cover !important; }
.outside_price .left_content a { color: #fff !important; }
.outside_price .right_info { float: none !important; margin-top: 0 !important; background: rgba(255,255,255,0.1) !important; border-radius: 12px !important; padding: 20px !important; }
.outside_price .price_intro { color: rgba(255,255,255,0.9) !important; font-size: 14px; }

.con09_bg { background: var(--card) !important; padding: 40px 16px !important; }
.con09 .shiwu ul { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; margin: 0; padding: 0; }
.con09 .shiwu ul li .fj img { width: 100% !important; height: 140px !important; object-fit: cover !important; border-radius: 10px !important; margin-left: 0 !important; }

.con10_bg { background: var(--paper) !important; padding: 40px 16px !important; }
.con10 .jieshaotu ul { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; margin: 0; padding: 0; }
.con10 .jieshaotu ul li .fj { border-radius: 10px !important; overflow: hidden !important; }
.con10 .jieshaotu ul li .fj img { width: 100% !important; height: 120px !important; object-fit: cover !important; }

.con08_bg { border-radius: 12px !important; margin: 24px 16px !important; max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important; }

.foot_bg { background: var(--coffee) !important; padding: 32px 16px 16px !important; }
.foot_bg .footer { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.foot_bg .dibulogo a img { filter: brightness(0) invert(1); opacity: 0.9; max-height: 44px; }
.foot_bg .kuaisu h2, .foot_bg .gongsidizhi h2, .foot_bg .right01 h2 { color: #fff !important; font-size: 14px; }
.foot_bg .kuaisu a span, .foot_bg .gongsidizhi p span { color: rgba(255,255,255,0.75) !important; font-size: 13px; }
.foot_bg .right01 ul li { color: rgba(255,255,255,0.75) !important; }
.foot_bg .right01 ul li span { color: var(--warm) !important; }
.foot_bg .right01 b { color: rgba(255,255,255,0.6) !important; font-size: 13px; }
.foot_bg .right01 dl dt img { border-radius: 10px; }
.foot_bg > div:last-child { color: rgba(255,255,255,0.5) !important; font-size: 12px !important; margin-top: 24px !important; }

.wapper { max-width: 1100px; margin-left: auto; margin-right: auto; }
.clear { clear: both; }
.gengduo a img { max-height: 36px; }

/* ========== 手机端：汉堡菜单 + 单栏 + 底部 CTA ========== */
@media (max-width: 900px) {
  .jieshaotu ul { grid-template-columns: repeat(2, 1fr) !important; }
  .baobei2 ul, .baobei ul { grid-template-columns: repeat(2, 1fr) !important; }
  .con07 .jieshaotu ul { grid-template-columns: repeat(2, 1fr) !important; }
  .con09 .shiwu ul, .con10 .jieshaotu ul { grid-template-columns: repeat(2, 1fr) !important; }
  .outside_price .pro_items { grid-template-columns: repeat(2, 1fr) !important; }
  .outside_price .right_info { flex: 1 1 100% !important; }
  .foot_bg .footer { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex !important; }
  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
  }
  body.menu-open .menu-overlay { display: block; }
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--card);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 60px 20px 20px !important;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  body.menu-open .menu { transform: translateX(0); }
  .menu ul { flex-direction: column !important; align-items: stretch !important; gap: 0 !important; }
  .menu ul li span { align-items: flex-start !important; }
  .menu ul li span a { padding: 14px 0 !important; font-size: 15px !important; border-radius: 0; border-bottom: 1px solid var(--warm-bg); }
  .menu ul li b { margin-left: 0; }
  .menu ul li dl {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 16px !important;
    margin-bottom: 8px;
  }
  .menu ul li:hover dl { display: block !important; }

  .banner_02 { padding: 0 12px; margin-top: 12px; }
  .con01 ul { gap: 10px; padding-bottom: 12px; }
  .con01 ul li { flex: 0 0 130px; min-height: 90px; padding: 16px 10px !important; }
  .con01 ul li strong { font-size: 1.25rem !important; }
  .con02_bg, .con03.wapper, .con05_bg, .con06_bg, .outside_5, .con07, .con09_bg, .con10_bg { padding-left: 12px !important; padding-right: 12px !important; padding-top: 28px !important; padding-bottom: 28px !important; }
  .jieshaotu ul, .baobei2 ul, .baobei ul, .con07 .jieshaotu ul { grid-template-columns: 1fr !important; gap: 12px !important; }
  .con09 .shiwu ul, .con10 .jieshaotu ul { grid-template-columns: 1fr !important; }
  .con04, .con08_bg { margin-left: 12px !important; margin-right: 12px !important; }
  .outside_price { padding: 28px 12px !important; }
  .outside_price .pro_items { grid-template-columns: 1fr !important; }
}

/* 底部固定联系电话（仅手机） */
.phone-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 98;
  background: var(--coffee);
  color: #fff;
  padding: 14px 24px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.phone-fab span { color: var(--warm); }
@media (max-width: 768px) {
  .phone-fab { display: inline-block; }
  body { padding-bottom: 80px; }
}
