﻿/* ============================================================
   澄迈返乡大学生志愿服务队 · 官方网站
   主题：澄迈蓝（蔚蓝 + 芒果黄）
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色：澄迈蓝（蔚蓝） */
  --sea: #73cce8;
  --sea-2: #9adcf0;
  --sea-3: #c0eaf7;
  --sea-600: #3fb1d6;
  --sea-700: #208fb8;
  --sea-800: #146e91;

  /* 点缀色：芒果黄 / 珊瑚 */
  --sun: #f2a93b;
  --sun-deep: #c9860a;
  --coral: #ef7a56;
  --coral-soft: #fbe6de;

  /* 中性色 */
  --ink: #14324d;
  --ink-2: #1e4a6b;
  --muted: #5a7a94;
  --line: #d7e5f2;
  --line-soft: #e6eef7;

  /* 背景 */
  --paper: #ffffff;
  --cloud: #eef8fc;
  --mist: #e1f2fa;
  --cream: #fbf4e6;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Hiragino Sans GB", -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(12, 56, 95, 0.05), 0 4px 14px rgba(12, 56, 95, 0.06);
  --shadow-md: 0 2px 6px rgba(12, 56, 95, 0.06), 0 14px 34px rgba(12, 56, 95, 0.10);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
a { color: var(--sea-700); text-decoration: none; }
a:hover { text-decoration: none; }

::selection { background: var(--sea); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(242, 169, 59, 0.85);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--sea-800); color: #fff; padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.62rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: inherit; font-size: 0.98rem; font-weight: 600;
  line-height: 1.2; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn svg { flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--sea-700); color: #fff; box-shadow: 0 6px 16px rgba(115, 204, 232, 0.28); }
.btn-primary:hover { background: var(--sea-800); color: #fff; }

.btn-sun { background: var(--sun); color: #146e91; box-shadow: 0 6px 16px rgba(242, 169, 59, 0.32); }
.btn-sun:hover { background: #f6b34f; color: #146e91; }

.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.btn-outline { border-color: var(--sea); color: var(--sea-700); background: transparent; }
.btn-outline:hover { background: var(--mist); }

.btn-light { background: #fff; color: var(--sea-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--sea-600); }

.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }

/* ---------- 徽标 / 标签 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.85rem; border-radius: 999px;
  font-size: 0.8rem; line-height: 1.5; white-space: nowrap;
}
.chip--soft { background: var(--mist); color: var(--sea-700); }
.chip--sun { background: var(--cream); color: #8a6100; }
.chip--ghost { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }

.badge-sample {
  display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px;
  background: #ffe4b3; color: #8a5a00;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
}

.demo-notice {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin: 1.4rem 0 0;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--sun-deep);
  background: var(--cream); color: #7c5a10;
  border-radius: 12px; font-size: 0.86rem;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 248, 252, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(115, 204, 232, 0.14);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 auto; object-fit: contain; }
.brand-text { min-width: 0; line-height: 1.25; }
.brand-name {
  display: block; font-size: 1.08rem; font-weight: 800; color: var(--sea-800);
  letter-spacing: 0.02em; white-space: nowrap;
}
.brand-slogan {
  display: block; font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.22em; font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 0.4rem; }
.nav-list { display: flex; align-items: center; gap: 0.2rem; }
.nav-link {
  display: inline-block; padding: 0.5rem 0.85rem;
  color: var(--ink-2); font-weight: 600; font-size: 0.98rem;
  border-radius: 10px; position: relative; transition: color 0.15s, background-color 0.15s;
}
.nav-link:hover { color: var(--sea-700); background: rgba(115, 204, 232, 0.07); }
.nav-link.is-active { color: var(--sea-700); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.18rem;
  height: 3px; border-radius: 3px; background: var(--sun);
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--sea-700); margin: 3px auto; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.6rem 1.25rem 1rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-link { padding: 0.7rem 0.6rem; font-size: 1rem; border-radius: 10px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: var(--mist); }
  .nav-cta { margin-top: 0.4rem; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(154, 220, 240, 0.55), transparent 60%),
    linear-gradient(125deg, var(--sea-800) 0%, var(--sea-600) 38%, var(--sea-2) 78%, var(--sea-3) 100%);
  color: #fff;
  padding: clamp(3.4rem, 7vw, 5.6rem) 0 clamp(2.6rem, 6vw, 4.4rem);
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 320px; height: 320px; left: -110px; bottom: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
}
.hero::after {
  width: 190px; height: 190px; right: 12%; top: 14%;
  background: radial-gradient(circle, rgba(242, 169, 59, 0.28), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.34rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 1.3rem;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.hero-title {
  margin: 0 0 1rem; font-size: clamp(1.95rem, 4.6vw, 3.05rem);
  font-weight: 800; line-height: 1.2; letter-spacing: 0.01em;
}
.hero-title .hl {
  background: linear-gradient(120deg, var(--sun) 0%, #ffd27a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead { margin: 0 0 1.7rem; max-width: 30em; color: rgba(255, 255, 255, 0.92); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.9rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-tags .hint { width: 100%; font-size: 0.76rem; color: rgba(255, 255, 255, 0.72); margin-bottom: -0.2rem; }

/* Hero 右侧插画卡片 */
.hero-art { display: none; }
.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: 0 24px 50px rgba(7, 48, 80, 0.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-card .ph { border-radius: calc(var(--radius-lg) - 8px); }
.hero-card-note {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 0.6rem 0.3rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.9);
}
.hero-card-note .who { font-weight: 700; }
.hero-card-note .mini { display: inline-flex; gap: 0.35rem; align-items: center; color: var(--sun); font-weight: 600; }

@media (min-width: 941px) {
  .hero-art { display: block; }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

/* 波浪分隔 */
.wave { display: block; line-height: 0; }
.wave svg { display: block; width: 100%; height: 60px; }
.wave--flat svg { height: 0; }
@media (min-width: 900px) { .wave svg { height: 84px; } }

/* ---------- 版块通用 ---------- */
.section { padding: clamp(3rem, 7vw, 5.4rem) 0; }
.section--cloud { background: var(--cloud); }
.section--cream { background: var(--cream); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--cloud) 100%); }

.sec-head { margin-bottom: 2.5rem; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sec-eyebrow {
  display: inline-block; margin-bottom: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--sea-600); text-transform: uppercase;
}
.sec-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--sun); vertical-align: middle; margin-right: 0.5rem; border-radius: 2px; }
.sec-title { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--ink); line-height: 1.25; }
.sec-sub { margin: 0; color: var(--muted); max-width: 56em; }
.sec-head--center .sec-sub { margin-inline: auto; }
.sec-more { color: var(--sea-700); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.sec-more svg { transition: transform 0.2s; }
.sec-more:hover svg { transform: translateX(4px); }

/* ---------- 精神 / 数据条 ---------- */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.value-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.7rem 1.3rem; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.value-ic {
  width: 62px; height: 62px; margin: 0 auto 0.9rem; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.value-ic--sea { background: linear-gradient(140deg, var(--sea-2), var(--sea-600)); }
.value-ic--sun { background: linear-gradient(140deg, #f6bb55, var(--sun-deep)); color: #fff; }
.value-ic--coral { background: linear-gradient(140deg, #f5906f, var(--coral)); }
.value-ic--deep { background: linear-gradient(140deg, var(--sea-3), var(--sea-700)); }
.value-word { font-size: 1.4rem; font-weight: 800; margin: 0 0 0.3rem; color: var(--ink); letter-spacing: 0.12em; }
.value-desc { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.6; }

@media (max-width: 940px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; } .value-desc { font-size: 0.82rem; } }

/* ---------- 占位图 ---------- */
.ph {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.55rem;
  background:
    radial-gradient(140% 90% at 85% 10%, rgba(115, 204, 232, 0.16), transparent 55%),
    linear-gradient(150deg, #e3eefb, #d0e4f7);
  color: var(--sea-700); text-align: center; overflow: hidden;
}
.ph-icon { width: 34px; height: 34px; opacity: 0.75; }
.ph-label { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; }
.ph-hint { font-size: 0.72rem; color: var(--muted); max-width: 80%; line-height: 1.4; }
.ph-169 { aspect-ratio: 16 / 9; }
.ph-43 { aspect-ratio: 4 / 3; }
.ph-11 { aspect-ratio: 1 / 1; }
.ph--soft { background: linear-gradient(150deg, #f2f7fd, #e2eef9); border: 1px dashed var(--line); }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.7rem; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.news-card .cover { border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.news-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.2rem 1.25rem; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.55rem; font-size: 0.78rem; color: var(--muted); }
.card-meta .cat {
  color: var(--sea-700); background: var(--mist); font-weight: 700;
  padding: 0.1rem 0.6rem; border-radius: 999px;
}
.card-title { margin: 0 0 0.5rem; font-size: 1.06rem; line-height: 1.5; font-weight: 700; }
.card-title a { color: var(--ink); transition: color 0.15s; }
.card-title a:hover { color: var(--sea-700); }
.card-excerpt { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; color: var(--sea-700); font-weight: 600; font-size: 0.9rem; }
.card-more svg { transition: transform 0.2s; }
.news-card:hover .card-more svg { transform: translateX(4px); }

/* 筛选条 */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.chip-filter {
  font-family: inherit; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 0.45rem 1.1rem; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
  transition: all 0.15s;
}
.chip-filter:hover { border-color: var(--sea-3); color: var(--sea-700); }
.chip-filter.is-active { background: var(--sea-700); color: #fff; border-color: var(--sea-700); box-shadow: 0 4px 12px rgba(115, 204, 232, 0.3); }

.empty-tip { color: var(--muted); text-align: center; padding: 2.5rem 0; }

/* ---------- 项目卡片 ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.7rem; }
.proj-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.proj-ic {
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.proj-card h3 { margin: 0 0 0.55rem; font-size: 1.18rem; color: var(--ink); }
.proj-card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.proj-detail { display: flex; flex-direction: column; gap: 0.4rem; margin: 0.4rem 0 1.1rem; font-size: 0.86rem; color: var(--ink-2); }
.proj-detail li { display: flex; gap: 0.5rem; align-items: flex-start; }
.proj-detail svg { flex: 0 0 auto; margin-top: 0.28rem; color: var(--sea); }
.proj-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }

/* ---------- 内页页眉 ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 340px at 92% -20%, rgba(242, 169, 59, 0.25), transparent 60%),
    linear-gradient(120deg, var(--sea-800), var(--sea-600) 55%, var(--sea-2));
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(2rem, 5vw, 3.2rem);
}
.page-hero .crumb { margin: 0 0 1.1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.page-hero .crumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .crumb a:hover { color: #fff; }
.page-title { margin: 0 0 0.7rem; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.25; }
.page-sub { margin: 0; max-width: 44em; color: rgba(255, 255, 255, 0.9); }

/* ---------- 双栏图文 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.prose { font-size: 1.02rem; }
.prose h3 { margin: 1.4em 0 0.5em; color: var(--ink); font-size: 1.22rem; }
.prose ul.tick { margin: 0.4rem 0 1rem; display: grid; gap: 0.5rem; }
.prose ul.tick li { display: flex; gap: 0.55rem; align-items: flex-start; }
.prose ul.tick svg { flex: 0 0 auto; margin-top: 0.3rem; color: var(--sea); }

/* 信息卡 / 定义列表 */
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.8rem; box-shadow: var(--shadow-sm); }
.info-card h3 { margin: 0 0 1rem; font-size: 1.05rem; color: var(--sea-700); }
.def-list { display: grid; gap: 0.8rem; font-size: 0.95rem; }
.def-list dt { font-weight: 700; color: var(--ink); }
.def-list dd { margin: 0.1rem 0 0; color: var(--muted); }
.def-list dd .val { color: var(--ink-2); }

/* ---------- 架构图 ---------- */
.org { text-align: center; }
.org-row { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 1.2rem; }
.org-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.9rem 1.8rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.org-card--lead { background: linear-gradient(140deg, var(--sea-600), var(--sea)); color: #fff; border: none; }
.org-card--sub { background: linear-gradient(140deg, var(--sun), #e89a26); color: #fff; border: none; }
.org-dep { background: var(--mist); border-color: var(--line); border-radius: 16px; padding: 1rem 1.2rem; width: 168px; }
.org-dep strong { display: block; color: var(--sea-700); margin-bottom: 0.2rem; }
.org-dep span { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.org-line { color: var(--sea); }
@media (max-width: 640px) { .org-row { gap: 0.8rem; } .org-dep { width: 100%; } }

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin: 0.4rem 0 0; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 1.9rem 2.1rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 0.42rem; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 4px solid var(--sea); box-sizing: border-box;
}
.tl-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: #8a6100; background: var(--cream); border-radius: 6px; padding: 0.08rem 0.55rem; margin-bottom: 0.3rem; }
.tl-item h4 { margin: 0 0 0.25rem; font-size: 1.04rem; color: var(--ink); }
.tl-item p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 46em; }

/* ---------- 画廊 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.g-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.g-item .ph { border-radius: 0; height: 100%; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.8rem 0.55rem;
  background: linear-gradient(transparent, rgba(7, 48, 80, 0.75));
  color: #fff; font-size: 0.8rem; text-align: center;
}

/* ---------- 号召横幅 ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; }
.cta-inner {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start;
  background:
    radial-gradient(520px 240px at 90% 0%, rgba(242, 169, 59, 0.3), transparent 60%),
    linear-gradient(120deg, var(--sea-800), var(--sea-600) 50%, var(--sea-2));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.5rem, 5vw, 3.4rem);
  box-shadow: var(--shadow-md);
}
.cta-inner::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 65%); }
.cta-eyebrow { color: var(--sun); font-weight: 700; letter-spacing: 0.16em; font-size: 0.8rem; }
.cta-title { margin: 0.2rem 0 0.5rem; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.cta-inner p { margin: 0 0 1.3rem; color: rgba(255, 255, 255, 0.9); max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- 加入页 / 表单 ---------- */
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .two-cols { grid-template-columns: 1fr; } }

.step-list { counter-reset: step; display: grid; gap: 1rem; }
.step-list li { counter-increment: step; display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(140deg, var(--sea-2), var(--sea-600)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem;
}
.step-list h4 { margin: 0.1rem 0 0.2rem; font-size: 1.05rem; color: var(--ink); }
.step-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.apply-form {
  display: grid; gap: 1rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
}
.apply-form .field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--ink-2); }
.apply-form .field label .req { color: var(--coral); }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; font-family: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px;
  background: #fbfdfd; transition: border-color 0.15s, box-shadow 0.15s;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: none; border-color: var(--sea-3); box-shadow: 0 0 0 3px rgba(115, 204, 232, 0.14); background: #fff;
}
.apply-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .apply-form .row-2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.78rem; color: var(--muted); }
.form-ok { display: none; padding: 0.9rem 1rem; border-radius: 12px; background: var(--mist); color: var(--sea-700); font-size: 0.92rem; }

/* 二维码 */
.qr-box { text-align: center; border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem; background: #fff; box-shadow: var(--shadow-sm); }
.qr-img {
  width: 128px; height: 128px; margin: 0 auto 0.7rem; border-radius: 10px;
  object-fit: contain; display: block; background: #fff;
  border: 1px solid var(--line-soft);
}
.qr-box p { margin: 0; font-size: 0.86rem; color: var(--ink-2); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; }
details.faq { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; padding: 0 1.3rem; box-shadow: var(--shadow-sm); }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; font-weight: 600; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev { color: var(--sea); transition: transform 0.2s; flex: 0 0 auto; }
details.faq[open] summary .chev { transform: rotate(180deg); }
details.faq .faq-body { padding: 0 0 1.1rem; color: var(--muted); font-size: 0.95rem; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 文章页 ---------- */
.article-wrap { max-width: 860px; margin-inline: auto; }
.article-head { text-align: center; margin: 0 auto 1.8rem; max-width: 760px; }
.article-head .cat-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.article-title { margin: 0 0 0.9rem; font-size: clamp(1.45rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.4; color: var(--ink); }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: 0.86rem; }
.article-cover { margin-bottom: 2rem; }
.article-cover .ph { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.article-body { font-size: 1.03rem; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { margin: 1.8em 0 0.6em; font-size: 1.4rem; color: var(--ink); line-height: 1.4; }
.article-body h3 { margin: 1.5em 0 0.5em; font-size: 1.16rem; color: var(--ink); }
.article-body blockquote {
  margin: 1.4em 0; padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 4px solid var(--sea-3); color: var(--ink-2); background: var(--cloud);
  border-radius: 0 12px 12px 0; font-size: 0.98rem;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.article-body li { margin-bottom: 0.35em; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.article-nav a { max-width: 46%; }
.article-nav .dir { display: block; font-size: 0.78rem; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--sea-800); color: #c3ddf2; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding: 3.4rem 0 2.4rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,0.06); }
.footer-brand strong { color: #fff; font-size: 1.02rem; line-height: 1.4; display: block; }
.footer-col p { font-size: 0.92rem; color: #a8c8e8; margin: 0 0 1.2rem; max-width: 30em; }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin: 0 0 0.9rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: #c3ddf2; font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.contact-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; margin-bottom: 0.7rem; }
.contact-list svg { flex: 0 0 auto; margin-top: 0.2rem; color: var(--sun); }
.contact-list .placeholder-ink { color: #f6d48a; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: #8fb6d8;
}
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- 首页轮播 ---------- */
.carousel { position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); }
.carousel-track { display: flex; transition: transform 0.45s ease; }
.carousel-slide { flex: 0 0 100%; }
.carousel-slide .ph { border-radius: 0; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.92); color: var(--sea-700);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: background 0.15s, transform 0.15s; z-index: 2;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: 0.6rem; }
.carousel-next { right: 0.6rem; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 0.7rem;
  display: flex; justify-content: center; gap: 0.45rem; z-index: 2;
}
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.carousel-dots button.is-active { background: #fff; transform: scale(1.3); }

/* ---------- 部门介绍页 ---------- */
.dept-tag { font-size: 0.72rem; font-weight: 600; color: var(--sea-700); background: var(--mist); padding: 0.08rem 0.5rem; border-radius: 999px; margin-left: 0.5rem; white-space: nowrap; }
.dept-body h4 { margin: 1rem 0 0.4rem; font-size: 0.95rem; color: var(--ink); }
.dept-body h4:first-child { margin-top: 0; }
.dept-body ul { margin: 0 0 0.4rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.dept-body ul li { list-style: disc; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.dept-body .dept-lead { margin: 0 0 0.4rem; }

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
