:root {
  --orange: #FF7A59;
  --orange-dark: #F2643D;
  --green: #4ECDC4;
  --yellow: #FFD166;
  --ink: #2D3436;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --line: #ECECEC;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(45,52,54,0.06);
  --shadow-hover: 0 12px 32px rgba(255,122,89,0.18);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.logo-img img { height: 42px; width: auto; display: block; }
@media (max-width: 860px) {
  .logo-img img { height: 34px; }
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--orange); font-weight: 600; }
.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; }
.lang-toggle button { background: none; border: none; padding: 6px 12px; cursor: pointer; color: var(--muted); transition: all .2s; }
.lang-toggle button.active { background: var(--orange); color: #fff; }
.nav-cta { margin-left: 18px; padding: 9px 20px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 700; transition: transform .15s, box-shadow .2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ===== Hero ===== */
.hero { padding: 96px 0 72px; background: linear-gradient(160deg, #FFF4EF 0%, #EAFBF8 100%); text-align: center; }
.hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero p.sub { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .mock { margin: 48px auto 0; max-width: 880px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.hero .mock img { display: block; width: 100%; height: auto; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; border: none; transition: transform .15s, box-shadow .2s; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-hover); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.left { text-align: left; }
.section-head.left h2 { font-size: 30px; }
.section-head.left p { max-width: 100%; margin: 0; }
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto; }

/* ===== Grid & Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: #FFF4EF; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display:inline-block; margin-top:14px; color: var(--orange); font-weight:600; font-size:14px; }

/* ===== Split (text + visual) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .visual { background: linear-gradient(150deg, var(--yellow), var(--green)); border-radius: 24px; min-height: 280px; display:flex; align-items:center; justify-content:center; color:#fff; font-size: 20px; font-weight:700; text-align:center; padding: 24px; }
.visual.cool-blue { background: linear-gradient(150deg, #b8e6fe, #6db8d8); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 32px; }
.step { text-align: center; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color:#fff; font-size: 24px; font-weight:800; display:flex; align-items:center; justify-content:center; margin: 0 auto 16px; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ===== CTA band ===== */
.cta-band { background: var(--ink); color:#fff; border-radius: 24px; padding: 56px 40px; text-align:center; }
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: #cfd3d6; margin-bottom: 28px; }

/* ===== Footer ===== */
.site-footer { background: #2D3436; color: #cfd3d6; padding: 48px 0 32px; }
.site-footer a { color: #cfd3d6; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer .top { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 24px; }
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 12px; font-size: 13px; color: #9aa0a4; }
.site-footer .copy .meta { margin-top: 8px; font-size: 12px; color: #8b9196; line-height: 1.7; }

/* ===== Legal pages ===== */
.legal { padding: 72px 0; }
.legal .container { max-width: 840px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p { color: #444; margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; color: #444; }
.legal li { margin-bottom: 6px; }
.legal .contact-box { background: #f7f8fa; border: 1px solid #ececec; border-radius: 12px; padding: 20px 24px; margin-top: 12px; }
.legal .contact-box p { margin-bottom: 8px; color: #333; }
.legal .contact-box p:last-child { margin-bottom: 0; color: var(--muted); }

/* ===== i18n ===== */
body.lang-zh .en { display: none; }
body.lang-en .zh { display: none; }

/* ===== Timeline (About) ===== */
.timeline { position: relative; margin-top: 16px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #FFF4EF; }
.tl-item .yr { font-weight: 800; color: var(--orange); font-size: 16px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 14px; }

/* ===== Team / Honors ===== */
.team .avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(150deg, var(--yellow), var(--green)); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(255,122,89,0.18); }
.team .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 团队卡：头像 + 头衔同一行；正文支持 1~2 段（徐卡 1 段、闫卡拆 2 段自动落入 body1/body2） */
.team .card { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto auto; grid-template-areas: "avatar title" "body1 body1" "body2 body2"; column-gap: 18px; row-gap: 14px; align-items: center; padding: 26px 28px 28px; }
.team .card .avatar { grid-area: avatar; margin-bottom: 0; }
.team .card h3 { grid-area: title; margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; }
.team .card p:nth-of-type(1) { grid-area: body1; margin: 0; line-height: 1.78; font-size: 14.5px; }
.team .card p:nth-of-type(2) { grid-area: body2; margin: 0; line-height: 1.78; font-size: 14.5px; }
.honors { display: flex; flex-wrap: wrap; gap: 14px; }
.honor-badge { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; min-width: 160px; box-shadow: var(--shadow); }
.honor-badge .t { font-weight: 700; font-size: 15px; }
.honor-badge .d { color: var(--muted); font-size: 13px; margin-top: 4px; }
/* 团队下方：整体团队介绍大矩形框 = 介绍 + 4 个 ta + .team-note 的统一外壳。
   宽度 100% 跟随父级 .container，与上方 .team .grid-2 两张主创大白卡自然同宽对齐；
   样式（白底 + var(--radius) 圆角 + var(--shadow) 阴影 + 无边框）与上方 .team .card 完全一致。 */
.team-faculty { background: #fff; border-radius: var(--radius); max-width: 100%; margin: 40px auto 0; padding: 40px 44px 36px; box-shadow: var(--shadow); }
/* 介绍块：小标题 + 引入 + 三条跨学科 + 综合段 + slogan */
.team-faculty-intro h3 { text-align: center; margin: 0 0 18px; font-size: 20px; font-weight: 700; color: var(--ink); }
.team-faculty-intro > p { color: var(--muted); line-height: 1.85; font-size: 15px; max-width: 760px; margin: 0 auto 14px; text-align: center; }
.tf-lead { color: var(--ink) !important; font-weight: 600; font-size: 16px !important; margin-bottom: 16px !important; }
.tf-triple { list-style: none; padding: 0; margin: 18px auto 22px; max-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tf-triple li { background: #fff; border: 1px solid #FFE2D2; border-radius: 14px; padding: 18px 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.tf-triple li strong { display: block; color: var(--ink); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tf-triple li strong + span { display: inline; }
.tf-tagline { display: inline-block; margin: 22px auto 0 !important; padding: 10px 22px; background: #fff; border: 1px solid #FFD9C5; border-radius: 999px; color: var(--orange); font-weight: 700 !important; font-size: 15px !important; }
.team-faculty-intro .tf-tagline { display: table; }   /* 让 inline-block p 居中 */
.team-faculty-intro p { text-indent: 0; }
/* 头像 row：原方案 A 的弱卡样式已迁到 .team-faculty，这里只保留 flex 排列 */
.team-avatars { display: flex; justify-content: center; align-items: flex-start; gap: 56px; margin: 32px auto 8px; flex-wrap: wrap; max-width: 820px; }
.team-avatars .ta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.team-avatars .ta .avatar { width: 80px; height: 80px; font-size: 26px; margin-bottom: 0; box-shadow: 0 4px 12px rgba(255,122,89,0.20); }
.team-avatars .ta .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatars .ta span { font-size: 14px; color: var(--muted); text-align: center; max-width: 130px; line-height: 1.45; }
.team-avatars .ta span { font-size: 13px; color: var(--muted); text-align: center; max-width: 110px; line-height: 1.4; }
.team-note { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin: 18px auto 4px; color: var(--muted); font-size: 14.5px; text-align: center; max-width: 820px; line-height: 1.75; }
.tag { display: inline-block; background: #FFF4EF; color: var(--orange); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.tag.blue { background: #EAF6FE; color: #3E9BCF; }

/* ===== Contact ===== */
/* ===== Contact · 简洁版 ===== */
.hero-sm { padding: 72px 0 48px; }
.contact-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 100%; }
.info-block h3 { font-size: 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink); }
.info-block p { margin: 0 0 10px; color: var(--muted); line-height: 1.7; font-size: 15px; }
.info-block p a { color: var(--orange); text-decoration: none; font-weight: 600; }
.info-block p a:hover { text-decoration: underline; }
.info-block .strong { color: var(--ink); font-weight: 600; }

/* ===== 公众号二维码 ===== */
.qr-block { max-width: 100%; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 168px 1fr; gap: 28px; align-items: center; }
.qr-block .qr-img { width: 168px; height: 168px; border-radius: 14px; background: #fff; padding: 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.qr-block .qr-img img { display: block; width: 100%; height: 100%; }
.qr-block .qr-t { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.qr-block .qr-name { display: inline-block; margin-right: 8px; color: var(--orange); font-weight: 700; }
.qr-block .qr-desc { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }
.form-box { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-box label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
.form-box input, .form-box textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-family: inherit; transition: border-color .2s; }
.form-box input:focus, .form-box textarea:focus { outline: none; border-color: var(--orange); }
.form-box textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ===== Logo wall (Home) ===== */
.logo-wall { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-wall .item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 28px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow); }
.news-list { display: grid; gap: 16px; }
.news-item { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); display: flex; gap: 18px; align-items: baseline; }
.news-item .date { color: var(--orange); font-weight: 700; font-size: 14px; white-space: nowrap; }
.news-item h4 { font-size: 17px; margin-bottom: 4px; }
.news-item p { color: var(--muted); font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .site-header .container { height: auto; flex-wrap: wrap; padding: 12px 16px; }
  .nav { width: 100%; order: 3; overflow-x: auto; gap: 18px; padding: 8px 0; }
  .nav a { white-space: nowrap; font-size: 14px; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 32px; }
  .split, .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .contact-simple { grid-template-columns: 1fr; }
  .qr-block { grid-template-columns: 1fr; text-align: center; }
  .qr-block .qr-img { margin: 0 auto; }
  .section-head h2 { font-size: 26px; }
}
