/* ==========================================================================
   深圳市中海资本管理有限公司 — 重构静态站点样式
   纯 HTML/CSS/JS，响应式，视觉还原原站
   ========================================================================== */

:root {
  --brand: #c30d23;
  --brand-dark: #9e0b1c;
  --ink: #333333;
  --gray: #666666;
  --muted: #999999;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --hero-title: #7f858c;
  --header-h: 90px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.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;
}

/* ============================ Header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 56px; width: auto; }

.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-link {
  display: block;
  padding: 0 18px;
  line-height: var(--header-h);
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
}
.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-item.active > .nav-link { color: var(--brand); }

.main-nav .submenu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 140px;
  background: rgba(255,255,255,.98);
  border-top: 2px solid var(--brand);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden;
  transition: all .22s ease;
  padding: 6px 0;
}
.main-nav .nav-item:hover .submenu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.main-nav .submenu a {
  display: block; padding: 9px 20px;
  font-size: 14px; color: var(--gray);
  text-align: center; white-space: nowrap;
}
.main-nav .submenu a:hover { color: #fff; background: var(--brand); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; height: 2px; width: 24px;
  background: var(--ink); margin: 0 auto;
  transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  padding: 10px 0 40px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .m-item > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px; font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .m-sub { display: none; background: var(--bg-soft); }
.mobile-nav .m-item.open .m-sub { display: block; }
.mobile-nav .m-sub a {
  display: block; padding: 12px 40px; font-size: 14px;
  color: var(--gray); border-bottom: 1px solid #ececec;
}
.mobile-nav .m-item > a .caret {
  border: solid var(--muted); border-width: 0 2px 2px 0;
  display: inline-block; padding: 3px; transform: rotate(45deg);
  transition: transform .25s;
}
.mobile-nav .m-item.open > a .caret { transform: rotate(-135deg); }
body.nav-lock { overflow: hidden; }




/* ============================ Home hero slider ============================ */
.hero-slider { position: relative; overflow: hidden; background: #b30f1e; }
.hero-slider .slides { position: relative; }
.hero-slider .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s ease;
}
.hero-slider .slide.active { opacity: 1; position: relative; }
.hero-slider .slide:not(.active) { pointer-events: none; }
.hero-slider .slide img { width: 100%; height: auto; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 12px; z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0;
}
  .hero-dots button.active { background: #fff; }
  .hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .28); color: #fff; cursor: pointer;
    z-index: 3; transition: background .2s, opacity .2s; opacity: 0;
  }
  .hero-slider:hover .hero-arrow { opacity: 1; }
  .hero-arrow:hover { background: rgba(179, 15, 30, .85); }
  .hero-prev { left: 20px; }
  .hero-next { right: 20px; }
  @media (max-width: 768px) {
    .hero-arrow { width: 36px; height: 36px; opacity: 1; background: rgba(0, 0, 0, .3); }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }
    .hero-arrow svg { width: 20px; height: 20px; }
  }

/* 首页焦点图：PC 端固定高度 420px，图片宽度随高度自适应并居中 */
@media (min-width: 769px) {
    .hero-slider { height: 420px; }
    .hero-slider .slides { height: 100%; }
    .hero-slider .slide { height: 100%; display: flex; align-items: center; justify-content: center; }
    .hero-slider .slide img { width: auto; height: 420px; max-width: none; margin: 0 auto; object-fit: contain; }
}

/* ============================ Inner page hero ============================ */
.page-hero {
  position: relative; height: 250px; overflow: hidden;
  background: #dfe6ec center/cover no-repeat;
}
.page-hero .hero-text {
  position: absolute; inset: 0;
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px;
}
.page-hero .en {
  font-size: 46px; font-weight: 300; letter-spacing: 1px;
  color: var(--hero-title); line-height: 1;
}
.page-hero .cn { font-size: 22px; color: #9aa0a6; font-weight: 400; }

/* ============================ Breadcrumb bar ============================ */
.crumb-bar { border-bottom: 1px solid var(--line); background: #fff; }
.crumb-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.crumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.crumb .home-ico { color: var(--brand); font-size: 15px; }
.crumb .sep { color: #ccc; font-size: 11px; }
.crumb a:hover { color: var(--brand); }
.sub-tabs { display: flex; flex-wrap: wrap; gap: 22px; }
.sub-tabs a { color: var(--gray); font-size: 14px; position: relative; }
.sub-tabs a.active, .sub-tabs a:hover { color: var(--brand); }

/* ============================ Generic section ============================ */
.section { padding: 50px 0; }
.section-soft { background: var(--bg-soft); }

.block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.block-head .title { display: flex; align-items: baseline; gap: 10px; }
.block-head .title .bars {
  display: inline-block; width: 26px; height: 20px;
  background:
    linear-gradient(var(--brand),var(--brand)) 0 0/4px 100% no-repeat,
    linear-gradient(var(--brand),var(--brand)) 8px 0/4px 100% no-repeat,
    linear-gradient(var(--brand),var(--brand)) 16px 0/4px 100% no-repeat;
  transform: skewX(-12deg);
}
.block-head .title .cn { font-size: 20px; color: var(--ink); font-weight: 700; }
.block-head .title .en { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.block-head .more { font-size: 13px; color: #d09a3c; }
.block-head .more:hover { color: var(--brand); }

/* ============================ Home columns ============================ */
.home-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.col-block .card {
  background: var(--bg-soft);
  padding: 0 0 22px;
  height: 100%;
}
.col-block .card .thumb { overflow: hidden; }
.col-block .card .thumb img { width: 100%; height: 190px; object-fit: cover; transition: transform .5s ease; }
.col-block .card:hover .thumb img { transform: scale(1.05); }
.col-block .card .desc { padding: 18px 20px 0; color: var(--gray); font-size: 13px; line-height: 1.9; }
.col-block .card .desc.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.news-links li { border-bottom: 1px dashed #ddd; }
.news-links li:last-child { border-bottom: 0; }
.news-links a {
  display: block; padding: 13px 4px; color: var(--gray);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  position: relative; padding-left: 18px;
}
.news-links a::before { content: "»"; position: absolute; left: 0; color: var(--brand); }

/* ============================ Portfolio logo marquee ============================ */
.logo-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; width: max-content; gap: 16px; animation: logo-scroll 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track a {
flex: 0 0 auto; width: 188px; box-sizing: border-box;
border: 1px solid var(--line);
display: flex; align-items: center; justify-content: center;
height: 90px; padding: 12px; background: #fff;
transition: box-shadow .25s, transform .25s;
}
.logo-track a:hover { box-shadow: 0 6px 16px rgba(0,0,0,.1); transform: translateY(-3px); }
.logo-track img { max-height: 60px; width: auto; object-fit: contain; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ============================ Rich text (about / strategy) ============================ */
.rich-text p { margin-bottom: 16px; color: var(--gray); line-height: 2; text-align: justify; }
.rich-text img {display: inline-block;}
.rich-text .awards { margin-top: 8px; color: var(--gray); line-height: 2; }
.rich-text .awards .lead { color: var(--ink); font-weight: 700; margin-bottom: 6px; }

.strategy .grp { margin-bottom: 30px; }
.strategy h3 {
  font-size: 17px; color: var(--brand); font-weight: 700;
  margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--brand);
}
.strategy ul li, .strategy p { color: var(--gray); line-height: 2; margin-bottom: 8px; padding-left: 4px; }

/* ============================ Team ============================ */
  .member-list .member-row { display: none; }
  .member-list .member-row.is-active { display: flex; }
  .member-row {
  gap: 30px; align-items: stretch;
  border-bottom: 1px solid var(--line); padding: 30px 0;
  animation: memberFade .4s ease;
  }
  @keyframes memberFade { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.member-row .photo { flex: 0 0 360px; max-width: 45%; overflow: hidden; }
.member-row .photo img { width: 100%; height: 100%; object-fit: cover; }
.member-row .info { flex: 1; display: flex; flex-direction: column; }
.member-row .info h3 { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.member-row .info .bio {
  color: var(--gray); line-height: 1.9; flex: 1;
  border-top: 1px solid var(--line); padding-top: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.member-row .view {
  align-self: flex-end; margin-top: 20px;
  background: var(--bg-soft); color: var(--brand);
  width: 90px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
}
.member-row .view:hover { background: var(--brand); color: #fff; }

.team-arrows { display: flex; gap: 14px; margin-top: 30px; }
.team-arrows button {
  width: 54px; height: 46px; border: 0; cursor: pointer;
  background: #8b8b8b; color: #fff; font-size: 18px;
}
.team-arrows button:hover { background: var(--brand); }

.member-detail .head { text-align: left; margin-bottom: 20px; }
.member-detail .head h1 { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.member-detail .head .meta { color: var(--muted); font-size: 13px; }
.member-detail .body { color: var(--gray); line-height: 2; }
.member-detail .body p { margin-bottom: 14px; text-align: justify; }
.member-detail .body .lead { color: var(--ink); font-weight: 700; margin-top: 10px; }

/* ============================ Case grid ============================ */
.case-tabs {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; margin: 46px 0 60px;
}
.case-arrow {
  flex: none; width: 66px; height: 52px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: #a2a7ad; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.case-arrow:hover { color: var(--brand); border-color: var(--brand); }
.case-track {
  position: relative; flex: 1; max-width: 1040px; height: 14px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px;
}
.case-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--line);
}
  .case-tabs .tab {
  position: relative; z-index: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  }
  .case-empty {
  grid-column: 1 / -1; text-align: center; color: #8a8f96;
  padding: 70px 0; font-size: 16px;
  }
.case-tabs .tab .node {
  width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  background: #fff; border: 2px solid #c9ccd1; transition: background .2s, border-color .2s;
}
.case-tabs .tab .label {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 16px; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.case-tabs .tab .clock {
  display: none;
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; color: #a2a7ad;
}
.case-tabs .tab.active .node { background: var(--brand); border-color: var(--brand); }
.case-tabs .tab.active .label { color: var(--brand); }
.case-tabs .tab.active .clock { display: flex; }
@media (max-width: 768px) {
  .case-tabs { gap: 12px; margin: 30px 0 46px; }
  .case-arrow { width: 44px; height: 40px; font-size: 18px; }
  .case-tabs .tab .label { font-size: 12px; top: 22px; }
  .case-tabs .tab .clock { width: 26px; height: 26px; bottom: 22px; }
}

.case-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 26px 20px; }
.case-card { display: flex; flex-direction: column; }
.case-card .logo {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); height: 120px;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.case-card .logo img { max-height: 100px; height:100px; width: auto; object-fit: contain; transition: transform .4s ease; }
/* red overlay */
  .case-card .logo::before {
  content: ""; position: absolute; inset: 0; background: var(--brand);
  opacity: 0; transition: opacity .35s ease; z-index: 1;
  }
  /* centered eye icon image */
  .case-card .logo::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 54px; height: 36px; transform: translate(-50%,-50%) scale(.7);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
  background: no-repeat center/contain url("../images/yan_h.png");
  }
.case-card .logo:hover img { transform: scale(1.04); }
.case-card .logo:hover::before { opacity: 1; }
.case-card .logo:hover::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.case-card .cat { color: var(--muted); font-size: 12px; margin: 12px 0 8px; }
.case-card .desc {
  color: var(--gray); font-size: 13px; line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-card .more { color: var(--muted); font-size: 12px; margin-top: 14px; }
.case-card .more:hover { color: var(--brand); }

/* ============================ Pagination ============================ */
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 34px; height: 34px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--gray); font-size: 13px; background: #fff;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .txt { border: 0; color: var(--muted); }

/* ============================ News list ============================ */
.news-featured {
  display: flex; gap: 30px; padding-bottom: 30px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.news-featured .txt { flex: 1; }
.news-featured .date { color: #3a52a4; font-size: 20px; margin-bottom: 14px; }
.news-featured h3 { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
.news-featured p { color: var(--gray); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-featured .thumb { flex: 0 0 300px; max-width: 40%; }
.news-featured .thumb img { width: 100%; height: 180px; object-fit: cover; }

.news-item { display: flex; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.news-item .day {
  flex: 0 0 90px; background: var(--bg-soft); text-align: center; padding: 16px 0;
}
.news-item .day .d { font-size: 30px; color: var(--brand); line-height: 1; }
.news-item .day .m, .news-item .day .y { font-size: 12px; color: var(--muted); margin-top: 6px; }
.news-item .body { flex: 1; }
.news-item .body h3 { font-size: 16px; color: var(--ink); margin-bottom: 12px; font-weight: 400; }
.news-item:hover .body h3 { color: var(--brand); }
.news-item .body p { color: var(--gray); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================ News detail ============================ */
.article-head { display: flex; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-head .day { flex: 0 0 90px; background: var(--bg-soft); text-align: center; padding: 16px 0; }
.article-head .day .d { font-size: 30px; color: var(--brand); line-height: 1; }
.article-head .day .m { font-size: 12px; color: var(--muted); margin-top: 6px; }
.article-head .meta { flex: 1; }
.article-head .meta h1 { font-size: 20px; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.article-head .meta .info { color: var(--muted); font-size: 13px; }
.article-body { padding: 26px 0; color: var(--gray); line-height: 2; }
.article-body p { margin-bottom: 16px; text-align: justify; }
.article-body img { margin: 16px auto; }
.article-nav { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.article-nav a { color: var(--gray); font-size: 14px; }
.article-nav a:hover { color: var(--brand); }

.related { margin-top: 30px; border-top: 2px solid var(--brand); background: var(--bg-soft); padding: 20px 24px; }
.related h4 { font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.related .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.related .grid a { display: flex; gap: 14px; color: var(--gray); font-size: 13px; padding: 5px 0; }
.related .grid a:hover { color: var(--brand); }
.related .grid .rd { color: var(--muted); flex: 0 0 auto; }

/* ============================ Contact ============================ */
.panel-title { position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.panel-title h2 { font-size: 18px; color: var(--ink); font-weight: 700; }
.panel-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--line); }
.panel-title::before { content: ""; position: absolute; bottom: 0; left: 0; width: 60px; height: 2px; background: var(--brand); z-index: 1; }

.contact-info p { color: var(--gray); line-height: 2.2; font-size: 15px; }

/* ============================ Apply form ============================ */
.apply-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.apply-intro p { color: var(--gray); line-height: 2; }
.apply-intro a { color: #3a6fd0; }
.apply-form .field { display: flex; align-items: center; margin-bottom: 18px; }
.apply-form .field label { flex: 0 0 90px; color: var(--gray); font-size: 14px; }
.apply-form .field .control { flex: 1; display: flex; align-items: center; gap: 8px; }
.apply-form input[type=text], .apply-form input[type=email], .apply-form input[type=file] {
  flex: 1; height: 40px; border: 1px solid var(--line); padding: 0 12px;
  font-size: 14px; color: var(--ink); background: #fff; width: 100%;
}
.apply-form input:focus { outline: 0; border-color: var(--brand); }
.apply-form .req { color: var(--brand); margin-left: 6px; }
.apply-form .btns { display: flex; gap: 16px; padding-left: 90px; margin-top: 10px; }
.apply-form button {
  min-width: 96px; height: 40px; border: 0; cursor: pointer;
  background: var(--brand-dark); color: #fff; font-size: 15px; letter-spacing: 4px;
}
.apply-form button:hover { background: var(--brand); }
.apply-form button.ghost { background: #bdbdbd; }
.apply-form button.ghost:hover { background: #a5a5a5; }

/* ============================ Footer ============================ */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 10px; }
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 34px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0; color: var(--muted); }
.foot-links a { color: var(--gray); font-size: 14px; padding: 0 14px; border-right: 1px solid var(--line); }
.foot-links a:first-child { padding-left: 0; }
.foot-links a:last-child { border-right: 0; }
.foot-qr { display: flex; gap: 26px; }
.foot-qr .qr { display: flex; align-items: center; gap: 8px; }
.foot-qr .qr .label { writing-mode: vertical-rl; font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.foot-qr .qr img { width: 84px; height: 84px; }
.footer-bottom { background: var(--bg-soft); color: var(--muted); font-size: 13px; }
.footer-bottom .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom .beian { display: flex; align-items: center; gap: 6px; }
.footer-bottom .beian img { width: 18px; height: 18px; display: inline-block; }
.footer-bottom a:hover { color: var(--brand); }

/* ============================ Back to top ============================ */
.back-top {
  position: fixed; right: 24px; bottom: 40px; z-index: 60;
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; border-radius: 3px;
  opacity: 0; visibility: hidden; transition: opacity .3s, background .2s;
  font-size: 20px;
}
.back-top.show { opacity: .9; visibility: visible; }
.back-top:hover { background: var(--brand-dark); opacity: 1; }

/* ============================ Responsive ============================ */
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: repeat(4,1fr); }
  .logo-strip { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 992px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .logo img { height: 46px; }
  .home-cols { grid-template-columns: 1fr; gap: 36px; }
  .page-hero { height: 180px; }
  .page-hero .en { font-size: 32px; }
  .page-hero .cn { font-size: 18px; }
  .case-grid { grid-template-columns: repeat(3,1fr); }
  .apply-wrap { grid-template-columns: 1fr; gap: 30px; }
  .related .grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .logo-strip { grid-template-columns: repeat(3,1fr); }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .member-row { flex-direction: column; gap: 18px; }
  .member-row .photo { flex: none; max-width: 100%; }
  .news-featured { flex-direction: column-reverse; }
  .news-featured .thumb { flex: none; max-width: 100%; }
  .news-featured .thumb img { height: 220px; }
  .crumb-inner { flex-direction: column; align-items: flex-start; }
  .sub-tabs { gap: 16px; }
  .foot-links { justify-content: center; }
  .footer-main { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .logo-strip { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .page-hero .en { font-size: 24px; }
  .page-hero .hero-text { gap: 10px; flex-wrap: wrap; }
  .apply-form .field { flex-direction: column; align-items: stretch; gap: 6px; }
  .apply-form .field label { flex: none; }
  .apply-form .btns { padding-left: 0; justify-content: center; }
  .news-item .day { flex: 0 0 68px; }
  .foot-qr { gap: 16px; }
}

/* 新增团队内页 */
 .tv-detail { padding: 8px 0 24px; }
      .tv-card {
        display: flex;
        align-items: stretch;
        background: #f4f5f7;
      }
      .tv-card .tv-photo {
        flex: 0 0 38%;
        max-width: 38%;
      }
      .tv-card .tv-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .tv-card .tv-head {
        flex: 1;
        padding: 48px 56px;
      }
      .tv-title {
        margin: 0;
        padding-bottom: 28px;
        border-bottom: 1px solid #e2e4e8;
        font-size: 26px;
        font-weight: 700;
        color: #1a1a1a;
        line-height: 1.4;
      }
      .tv-back {
        display: inline-block;
        margin-top: 64px;
        color: #555;
        font-size: 16px;
        text-decoration: none;
        transition: color .2s ease;
      }
      .tv-back:hover { color: var(--brand, #b81c22); }
      .tv-body { margin-top: 40px; }
      .tv-body p {
        margin: 0 0 26px;
        color: #555;
        font-size: 16px;
        line-height: 2;
        text-align: justify;
      }
      .tv-pager {
        display: flex;
        gap: 48px;
        margin-top: 24px;
        color: #333;
        font-size: 14px;
        font-weight: 400;
      }
      @media (max-width: 768px) {
        .tv-card { flex-direction: column; }
        .tv-card .tv-photo { flex-basis: auto; max-width: 100%; }
        .tv-card .tv-head { padding: 28px 24px; }
        .tv-title { font-size: 22px; padding-bottom: 20px; }
        .tv-back { margin-top: 32px; }
      }