/* 中科玛迪医疗科技官网 — 纯静态样式 */
/* 主色：深蓝 #1A5AA0，黑白灰 + 蓝色点缀 */

:root {
  --blue-900: #0B2545;
  --blue-800: #12325E;
  --primary: #1A5AA0;
  --primary-dark: #14497F;
  --ink: #1E2A38;
  --muted: #5B6B7C;
  --line: #DFE7F0;
  --bg-soft: #F4F8FB;
  --placeholder: #8A99A8;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(15, 43, 76, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 70px; display: flex; align-items: center; gap: 30px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  height: 40px;
  width: auto;
  display: block;
}
.brand-text strong { display: block; font-size: 16px; color: var(--blue-800); line-height: 1.25; }
.brand-text small { display: block; font-size: 9.5px; letter-spacing: .16em; color: var(--muted); }

.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a {
  font-size: 14px;
  color: #3D4C5C;
  text-decoration: none;
  padding: 24px 0 22px;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); border-color: var(--primary); }

.lang-link {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lang-link:hover { border-color: var(--primary); color: var(--primary); }

/* 移动端菜单：纯 CSS checkbox */
.menu-toggle { display: none; }
.menu-btn {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--blue-800);
  border-radius: 1px;
}
.menu-btn span { top: 17px; }
.menu-btn span::before { top: -6px; left: 0; right: 0; }
.menu-btn span::after { top: 6px; left: 0; right: 0; }

/* ---------- 首页 Banner ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--blue-900) url("../images/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 23, 44, .93) 20%, rgba(9, 32, 60, .62) 70%, rgba(9, 32, 60, .38));
}
.hero .container { position: relative; padding-top: 128px; padding-bottom: 122px; }

.hero-kicker {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 5px 15px;
  font-size: 12px;
  letter-spacing: .22em;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .88);
}
.hero h1 { font-size: 42px; font-weight: 600; line-height: 1.3; max-width: 680px; }
.hero .hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .82); max-width: 600px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #EAF1F8; }

/* ---------- 医院背书条 ---------- */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.trustbar strong { color: var(--blue-800); font-weight: 600; }

/* ---------- 通用区块 ---------- */
.section { padding: 86px 0; }
.section.soft { background: var(--bg-soft); }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--primary); }

.section-title { font-size: 27px; font-weight: 600; color: var(--blue-800); line-height: 1.4; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 660px; }
.section-head { margin-bottom: 44px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* 公司简介图片组 */
.img-stack { display: grid; gap: 14px; }
.img-stack .img-frame.main { height: 300px; }
.img-stack .img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.img-stack .img-row .img-frame { height: 168px; }

.text-block p { margin-bottom: 14px; color: #33475C; }
.text-block .more { display: inline-block; margin-top: 8px; font-size: 14px; text-decoration: none; font-weight: 500; }
.text-block .more:hover { text-decoration: underline; }

/* ---------- 卡片 ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: #B9CEE6; box-shadow: var(--shadow); transform: translateY(-3px); }

.card-num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--primary); }
.card h3 { font-size: 16.5px; font-weight: 600; color: var(--blue-800); margin: 12px 0 9px; }
.card p { font-size: 14px; color: var(--muted); }

/* ---------- 核心业务列表 ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 64px 300px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 27px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.svc:hover { background: var(--bg-soft); }
.svc-num { font-size: 15px; font-weight: 600; color: #B7C6D6; transition: color .2s; }
.svc:hover .svc-num { color: var(--primary); }
.svc h3 { font-size: 16.5px; font-weight: 600; color: var(--blue-800); }
.svc p { font-size: 14px; color: var(--muted); }

/* ---------- 案例 ---------- */
.case-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.case-panel h3 { font-size: 21px; font-weight: 600; color: var(--blue-800); margin-bottom: 14px; }
.case-panel .lead { color: #33475C; margin-bottom: 6px; }

.check-list { margin-top: 14px; }
.check-list li { position: relative; padding: 7px 0 7px 26px; font-size: 14.5px; color: #33475C; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 7px;
  color: var(--primary);
  font-weight: 700;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  font-size: 12.5px;
  color: var(--primary);
  background: #EAF1F8;
  border: 1px solid #D3E1F0;
  border-radius: 3px;
  padding: 4px 12px;
}

/* ---------- 引用/理念 ---------- */
.quote {
  border-left: 3px solid var(--primary);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 32px;
  font-size: 16px;
  color: var(--blue-800);
  line-height: 1.9;
}

/* ---------- 内页 Banner ---------- */
.page-banner { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 66px 0 60px; }
.page-banner h1 { font-size: 31px; font-weight: 600; color: var(--blue-800); }
.page-banner p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 公示文件 ---------- */
.doc {
  max-width: 830px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 62px 70px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15.5px;
  line-height: 1.9;
  color: #24313F;
}
.doc-head { text-align: center; border-bottom: 2px solid var(--blue-800); padding-bottom: 26px; margin-bottom: 34px; }
.doc-head .doc-company { font-size: 19px; font-weight: 700; color: var(--blue-800); letter-spacing: .04em; }
.doc-head .doc-sub { font-size: 12px; letter-spacing: .28em; color: var(--muted); margin-top: 6px; }
.doc h2 { font-size: 18px; text-align: center; margin-bottom: 8px; color: var(--blue-800); }
.doc .doc-date { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 32px; }
.doc p { margin-bottom: 16px; }
.doc ol { margin: 0 0 16px 22px; }
.doc ol li { margin-bottom: 6px; }
.doc .doc-note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px; font-size: 13.5px; color: var(--muted); margin-top: 30px; }
.doc .doc-note strong { color: var(--blue-800); }
.doc-sign { margin-top: 40px; }
.doc-sign .sig-line { margin-top: 54px; border-top: 1px solid #B9C6D4; display: inline-block; padding-top: 8px; min-width: 260px; }
.doc-sign .sig-role { font-size: 13px; color: var(--muted); }
.doc-outside { max-width: 830px; margin: 26px auto 0; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 21px 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-800);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item .plus {
  flex: none;
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: transform .25s, border-color .2s;
}
.faq-item .plus::before, .faq-item .plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  top: 50%; left: 50%;
}
.faq-item .plus::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-item .plus::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .plus { transform: rotate(45deg); border-color: var(--primary); }
.faq-item .answer { padding: 0 40px 24px 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-info {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-item { padding: 22px 32px; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-label { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.info-value { margin-top: 4px; color: var(--blue-800); font-weight: 500; font-size: 15px; }
.info-value .todo {
  color: var(--placeholder);
  font-weight: 400;
  font-size: 14px;
  border-bottom: 1px dashed #C2CDD8;
  padding: 0 18px;
}

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(115deg, #0E3057 0%, #1A5AA0 100%); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: 25px; font-weight: 600; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.cta-band .btn { margin-top: 26px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: #A8B8C9; font-size: 13.5px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 44px;
  padding: 58px 24px 44px;
}
.footer-brand { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-grid p { color: #8FA1B5; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #A8B8C9; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .todo { color: #7E90A3; border-bottom: 1px dashed rgba(255,255,255,.25); padding: 0 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 12.5px;
  color: #7E90A3;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 33px; }
  .cards3 { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .split, .case-panel { grid-template-columns: 1fr; gap: 34px; }
  .svc { grid-template-columns: 52px 1fr; }
  .svc p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .nav a { padding: 13px 24px; border-bottom: 1px solid var(--line); }
  .nav a.active { border-color: transparent; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .header-inner { gap: 14px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero .container { padding-top: 92px; padding-bottom: 88px; }
  .hero h1 { font-size: 27px; }
  .cards4 { grid-template-columns: 1fr; }
  .doc { padding: 40px 26px; }
  .brand-text small { display: none; }
  .img-stack .img-row { grid-template-columns: 1fr; }
  .img-stack .img-frame.main { height: 220px; }
}
