﻿/* ===== Premium skin for company site ===== */
:root {
  --ink: #1d1a16;
  --muted: #7d7569;
  --line: rgba(50, 40, 25, .10);
  --paper: #f6f3ec;
  --card: #fffefb;
  --accent: #1f6f63;
  --accent-2: #0f4d44;
  --shadow: 0 24px 60px rgba(50, 38, 20, .12);
}
html { scroll-behavior: smooth; }
body {
  background: var(--paper) !important;
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1200px, calc(100% - 48px)) !important; margin-inline: auto; }
.wrap.narrow { width: min(880px, calc(100% - 48px)) !important; }

/* nav */
.nav {
  position: fixed !important;
  top: 16px !important; left: 50% !important; transform: translateX(-50%) !important;
  width: min(1200px, calc(100% - 32px)) !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 16px !important;
  background: rgba(255,254,251,.72) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  box-shadow: 0 12px 34px rgba(40,30,15,.10) !important;
  z-index: 50 !important;
}
.nav-brand { font-weight: 800 !important; letter-spacing: .2px; }
.nav-logo {
  width: 34px !important; height: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  box-shadow: 0 6px 14px rgba(31,111,99,.25);
}
.nav-links a { border-radius: 999px !important; padding: 8px 13px !important; }
.nav-links a:hover { background: rgba(31,111,99,.08) !important; }
.nav-admin { border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 8px 13px !important; }

/* hero */
.hero { min-height: 94vh !important; display: flex; align-items: center; }
.hero-mask {
  background: linear-gradient(180deg, rgba(8,10,12,.12) 0%, rgba(8,10,12,.38) 60%, rgba(8,10,12,.62) 100%) !important;
}
.hero-inner { width: min(1200px, calc(100% - 48px)) !important; margin-inline: auto; padding-top: 90px; }
.hero-eyebrow {
  display: inline-flex; width: fit-content;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  letter-spacing: .32em !important; font-size: 11px !important;
}
.hero-title {
  font-size: clamp(48px, 7vw, 92px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.03em !important;
  font-weight: 850 !important;
  text-shadow: 0 10px 36px rgba(0,0,0,.25);
  margin-top: 18px !important;
}
.hero-slogan { font-size: clamp(16px, 1.6vw, 21px) !important; opacity: .92; max-width: 720px; }
.hero-actions { margin-top: 28px !important; gap: 10px !important; }
.btn-glass {
  border-radius: 999px !important;
  padding: 11px 17px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  background: rgba(255,255,255,.12) !important;
  backdrop-filter: blur(12px) !important;
  transition: .2s !important;
}
.btn-glass:hover { background: rgba(255,255,255,.22) !important; transform: translateY(-2px); }

/* sections */
.section { padding: 96px 0 !important; }
.section.alt { background: #efeae0 !important; }
.section-eyebrow { color: var(--accent) !important; letter-spacing: .28em !important; font-weight: 700; }
.section-title { font-size: clamp(30px, 3vw, 46px) !important; letter-spacing: -.02em; font-weight: 820 !important; }
.section-desc { color: var(--muted) !important; line-height: 1.9 !important; }
.feature-grid { gap: 16px !important; }
.feature-card, .feature-grid > * {
  border-radius: 20px !important;
  border: 1px solid var(--line) !important;
  background: var(--card) !important;
  box-shadow: 0 8px 26px rgba(50,38,20,.045);
}
.about-block { gap: 26px !important; }
.contact-card {
  border-radius: 22px !important;
  border: 1px solid var(--line) !important;
  background: var(--card) !important;
  box-shadow: var(--shadow);
}
.btn {
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
}
.btn:not(.ghost) { background: var(--accent) !important; border-color: var(--accent) !important; }
.footer { background: #15130f !important; color: #d8d1c4 !important; padding: 34px 0 !important; }
.footer a { color: #d8d1c4 !important; }

/* team */
.team-head {
  display: flex !important; align-items: flex-end; justify-content: space-between; gap: 24px;
  width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 34px !important;
}
.team-head-main p { max-width: 620px; }
.team-head .self-card-btn { flex: none; margin-bottom: 6px; }
.page-head { padding-top: 140px !important; }
.page-head h1 { font-size: clamp(40px, 5vw, 66px) !important; letter-spacing: -.03em; font-weight: 850 !important; }
#teamRoot { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 90px; }
.group { margin-top: 30px !important; }
.group-head { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.group-head h2 { font-size: 25px !important; font-weight: 800 !important; letter-spacing: -.02em; }
.group-head span { color: var(--muted); font-size: 12px; }
.member-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; margin-top: 18px !important; }
.member-grid.leaders { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.member-card {
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 28px rgba(50,38,20,.06);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(50,38,20,.14); }
.member-card .photo { width: 100% !important; height: 330px !important; object-fit: cover !important; display: block; }
.member-card h3 { margin: 16px 18px 2px !important; font-size: 19px !important; font-weight: 800 !important; }
.member-card .role { margin: 0 18px !important; color: var(--muted) !important; font-size: 12px; }
.member-card .dept { display: inline-block; margin: 10px 18px 18px !important; padding: 4px 9px; border-radius: 999px; background: #eef4f1; color: var(--accent); font-size: 10.5px; }
.leaders .member-card .photo { height: 420px !important; }

/* self card modal */
.me-mask { position: fixed; inset: 0; z-index: 1000; background: rgba(18,18,18,.55); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.me-card { width: min(620px, 96vw); max-height: 92vh; overflow: auto; background: #fffefb; border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35); position: relative; }
.me-close { position: absolute; right: 16px; top: 14px; border: 0; background: none; font-size: 20px; color: #9a9286; cursor: pointer; }
.me-eyebrow { color: var(--accent); letter-spacing: .25em; font-size: 10px; font-weight: 700; }
.me-card h2 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.02em; }
.me-lead { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 18px; }
.me-label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.me-label input, .me-label textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #e6dfd2; border-radius: 10px; background: #fff; font-size: 13px; color: var(--ink); font-family: inherit; }
.me-label input:focus, .me-label textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,111,99,.10); }
.me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.me-full { grid-column: 1 / -1; }
.me-primary { width: 100%; margin-top: 6px; background: var(--accent) !important; color: #fff !important; border: 0 !important; }
.me-primary:disabled { opacity: .6; }
.me-error { color: #b4442f; font-size: 11.5px; min-height: 18px; margin: 4px 0; }
.me-photo-row { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
.me-photo-preview { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: #f3efe6; display: flex; align-items: center; justify-content: center; color: #a49c8f; font-size: 11px; }
.me-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.me-file { font-size: 11px; color: var(--accent); cursor: pointer; border: 1px dashed #cfe0db; border-radius: 10px; padding: 9px 12px; }
.me-file input { display: none; }
.me-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.me-success { text-align: center; padding: 34px 10px; }
.me-success-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: #e9f2ef; color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.me-success p { color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .member-card .photo { height: 280px !important; }
  .leaders .member-card .photo { height: 340px !important; }
  .team-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap, .wrap.narrow, #teamRoot, .team-head { width: calc(100% - 28px) !important; }
  .member-grid, .member-grid.leaders { grid-template-columns: 1fr !important; }
  .member-card .photo, .leaders .member-card .photo { height: 300px !important; }
  .me-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0 !important; }
  .nav { top: 8px !important; width: calc(100% - 16px) !important; }
}

/* embedded mode */
body.embed .nav, body.embed .footer { display: none !important; }
body.embed .page-head { padding-top: 30px !important; }
body.embed #teamRoot { padding-bottom: 30px; }
body.embed .hero { min-height: auto !important; }
/* 首屏标题：桌面不换行，手机均衡换行，防止重叠 */
.hero-title {
  font-size: clamp(40px, 6.4vw, 88px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap;
  max-width: 100%;
  margin-bottom: 16px !important;
}
.hero-slogan {
  line-height: 1.55 !important;
  max-width: 760px;
}
@media (max-width: 760px) {
  .hero { min-height: 86vh !important; }
  .hero-inner { padding-top: 110px !important; padding-bottom: 50px !important; }
  .hero-title {
    font-size: clamp(26px, 8.2vw, 42px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: keep-all;
  }
  .hero-slogan { font-size: 15px !important; line-height: 1.65 !important; margin-bottom: 28px !important; }
  .hero-eyebrow { font-size: 10px !important; letter-spacing: .22em !important; }
  .hero-actions { gap: 8px !important; }
  .btn-glass { padding: 9px 12px !important; font-size: 12px !important; }
}
/* 金色 PNG LOGO：去掉绿色底 */
.nav-logo-img {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  padding: 0 !important;
  width: 34px !important;
  height: 34px !important;
}