:root {
  --c-primary: #0F6E56;
  --c-primary-dark: #0A5240;
  --c-primary-light: #E1F5EE;
  --c-accent: #185FA5;
  --c-accent-light: #E6F1FB;
  --c-bg: #F7F9FA;
  --c-surface: #FFFFFF;
  --c-text: #1C2B28;
  --c-text-soft: #56716B;
  --c-border: #E3E9E8;
  --c-warning: #BA7517;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 40, 34, 0.06);
  --shadow-md: 0 6px 20px rgba(16, 40, 34, 0.08);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--c-primary-dark); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--c-text); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--c-primary); text-decoration: none; }
.nav-cta {
  background: var(--c-primary); color: #fff; padding: 9px 18px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--c-primary-dark); color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--c-primary); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.14) 0%, transparent 34%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; padding: 72px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 0h60v60' stroke='%23ffffff' stroke-width='0.6' fill='none' opacity='0.14'/%3E%3C/svg%3E");
  opacity: 0.16;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}
.hero-main { max-width: 640px; }
.hero h1 { font-size: 38px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: 0.96; max-width: 640px; margin-bottom: 28px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; cursor: pointer; border: 0;
}
.btn-primary { background: #fff; color: var(--c-primary-dark); }
.btn-primary:hover { background: #eef7f3; text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); text-decoration: none; }
.hero-stats { display: flex; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 30px; font-weight: 700; }
.hero-stats .stat .label { font-size: 14px; opacity: 0.9; }
.hero-visual { display: flex; justify-content: center; }
.storefront-card {
  width: 100%; max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.storefront-card img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.storefront-placeholder {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #fff; text-align: center; padding: 30px;
}
.storefront-placeholder svg { width: 58px; height: 58px; opacity: 0.9; }
.storefront-placeholder span { font-size: 17px; font-weight: 600; letter-spacing: 0.5px; }
.storefront-card figcaption {
  padding: 12px 16px; background: rgba(0,0,0,0.22); color: #fff;
  font-size: 14px; text-align: center; opacity: 0.95;
}
.storefront-banner { margin: 0 0 34px; }
.storefront-banner figcaption {
  margin-top: 10px; font-size: 14px; color: var(--c-text-soft); text-align: center;
}

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h1, .section-head h2 { font-size: 28px; font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.section-head p { color: var(--c-text-soft); font-size: 16px; }

.bg-surface { background: var(--c-surface); }

/* ===== Cards / Grid ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--c-primary-light);
  color: var(--c-primary); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--c-text-soft); font-size: 14.5px; }

/* ===== Lists / Features ===== */
.feature-list { list-style: none; }
.feature-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick { color: var(--c-primary); font-weight: 700; flex-shrink: 0; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: var(--c-text-soft); padding: 14px 0; }
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb span { margin: 0 6px; }

/* ===== Article ===== */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 24px; margin: 34px 0 14px; color: var(--c-primary-dark); }
.article-body h3 { font-size: 19px; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; color: #2b3a36; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-meta { color: var(--c-text-soft); font-size: 14px; margin-bottom: 20px; }
.article-card { display: block; color: inherit; }
.article-card:hover { text-decoration: none; }
.article-card .tag { display: inline-block; background: var(--c-accent-light); color: var(--c-accent); font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }

/* 文章卡片：封面图 */
.article-card { overflow: hidden; padding: 0; }
.article-card-cover { margin: 0; overflow: hidden; background: var(--c-primary-light); }
.article-card-cover img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .4s ease; }
.article-card:hover .article-card-cover img { transform: scale(1.03); }
.article-card-body { padding: 18px 20px 20px; }
.article-cat {
  display: inline-block; background: var(--c-primary-light); color: var(--c-primary);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.article-card h3 { font-size: 17.5px; line-height: 1.45; margin-bottom: 8px; }
.article-card .article-date { color: #8fa39e; font-size: 12.5px; margin-top: 10px; }

/* 专业筛选 */
.articles-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-chip {
  border: 1px solid var(--c-border); background: #fff; color: var(--c-text);
  font-size: 14px; font-family: inherit; padding: 8px 16px; border-radius: 22px; cursor: pointer;
  transition: all .18s ease;
}
.filter-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* 文章详情 */
.article-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; background: var(--c-primary-light); }
.article-hero img { width: 100%; display: block; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-size: 23px; margin: 32px 0 12px; color: var(--c-primary-dark); }
.article-content h3 { font-size: 19px; margin: 26px 0 10px; }
.article-content h4 { font-size: 17px; margin: 22px 0 8px; }
.article-content p { margin-bottom: 16px; color: #2b3a36; line-height: 1.9; }
.article-content ul { margin: 0 0 16px 22px; }
.article-content li { margin-bottom: 8px; line-height: 1.85; }
.article-content strong { color: var(--c-primary-dark); }
.article-figure { margin: 24px 0; }
.article-figure img { width: 100%; border-radius: var(--radius); display: block; }
.article-figure figcaption { font-size: 13px; color: var(--c-text-soft); text-align: center; margin-top: 10px; }
.article-related { margin-top: 44px; }
.article-related h3 { font-size: 18px; margin-bottom: 16px; color: var(--c-primary-dark); }
.article-foot-note {
  max-width: 760px; margin: 30px auto 0; background: var(--c-primary-light);
  border-left: 3px solid var(--c-primary); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 13.5px; color: #37544c; line-height: 1.8;
}

/* ===== Forms ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; background: #fff;
}
.form-control:focus { outline: 2px solid var(--c-primary-light); border-color: var(--c-primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit { background: var(--c-primary); color: #fff; width: 100%; padding: 14px; border: 0; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-submit:hover { background: var(--c-primary-dark); }

/* ===== Contact / Info ===== */
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.info-row .k { font-weight: 600; width: 90px; flex-shrink: 0; color: var(--c-primary-dark); }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.map-links a { background: var(--c-accent-light); color: var(--c-accent); padding: 8px 14px; border-radius: 20px; font-size: 14px; font-weight: 500; }
.map-links a:hover { background: #d3e6f8; text-decoration: none; }

/* ===== Guide list (地图指引) ===== */
.guide-list { padding-left: 18px; margin: 8px 0 4px; }
.guide-list li { margin: 9px 0; line-height: 1.7; color: var(--c-text-soft); }
.guide-list li strong { color: var(--c-text); }

/* ===== WeChat ===== */
.wechat-section { background: var(--c-surface); }
.wechat-card { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; justify-content: center; }
.wechat-qr { width: 180px; height: 180px; border-radius: var(--radius); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); object-fit: cover; }
.wechat-info { max-width: 420px; }
.wechat-info h3 { font-size: 22px; margin-bottom: 10px; }
.wechat-info p { color: var(--c-text-soft); margin-bottom: 14px; }
.wechat-id { display: inline-flex; align-items: center; gap: 10px; background: var(--c-primary-light); color: var(--c-primary-dark); padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 10px; }
.wechat-note { font-size: 13px; color: var(--c-text-soft); }

/* ===== Callout ===== */
.callout {
  background: var(--c-primary-light); border-left: 4px solid var(--c-primary);
  padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0;
  color: var(--c-primary-dark); font-size: 15px;
}

/* ===== FAQ ===== */
.faq-item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--c-text-soft); font-size: 15px; }

/* ===== Footer ===== */
.site-footer { background: #0c1b18; color: #c9d6d2; padding: 48px 0 24px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #9fb6b0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 30px; padding-top: 18px; font-size: 13px; color: #7e948f; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { order: -1; }
  .storefront-card { max-width: 340px; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* ===== 冯教授事迹页（2026-10-14 新增） ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.gallery img { width: 100%; border-radius: var(--radius); display: block; background: var(--c-primary-light); aspect-ratio: 3/2; object-fit: cover; }
.info-card { background: var(--c-primary-light); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 6px 18px; margin: 18px 0; }
@media (max-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
