* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background: #0a0a0a;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: #c9a96e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 700;
  font-family: 'Noto Serif SC', serif;
}
.nav-logo-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: #c9a96e;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #c9a96e;
}
.nav-phone {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 1px;
}
.nav-phone span {
  color: #c9a96e;
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,20,30,0.85) 0%, rgba(20,30,45,0.6) 50%, rgba(15,20,30,0.75) 100%),
    linear-gradient(180deg, transparent 60%, rgba(10,10,10,1) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%231a2a3a"/><circle cx="200" cy="300" r="400" fill="%231e3045" opacity="0.5"/><circle cx="900" cy="500" r="300" fill="%23152535" opacity="0.4"/></svg>');
  background-size: cover;
  background-position: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 800px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #c9a96e;
  letter-spacing: 4px;
  font-weight: 400;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #c9a96e;
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 4px;
}
.hero-title .gold {
  color: #c9a96e;
}
.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
  cursor: pointer;
}
.hero-cta:hover {
  background: #c9a96e;
  color: #1a1a1a;
}
.hero-cta svg {
  width: 16px;
  height: 16px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 2px;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(201,169,110,0.6), transparent);
}

/* ===== STATS BAR ===== */
.stats {
  display: flex;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid #222;
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #1a1a1a; }
.stat-number {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: #c9a96e;
  margin-bottom: 6px;
}
.stat-number .unit {
  font-size: 16px;
  font-weight: 400;
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: #666;
  letter-spacing: 2px;
}

/* ===== ABOUT ===== */
.about {
  display: flex;
  min-height: 600px;
}
.about-image {
  flex: 1;
  position: relative;
  background:
    linear-gradient(135deg, rgba(20,30,45,0.3), rgba(20,30,45,0.6)),
    linear-gradient(45deg, #1a2a3a, #2a3a4a);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 14px;
  letter-spacing: 2px;
  overflow: hidden;
}
.about-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content {
  flex: 1;
  background: #0f0f0f;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-tag {
  font-size: 12px;
  color: #c9a96e;
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #c9a96e;
}
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.4;
  letter-spacing: 2px;
}
.about-text {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  margin-bottom: 32px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: gap 0.3s;
}
.about-link:hover { gap: 14px; }

/* ===== TIMELINE ===== */
.timeline {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #0a0a0a;
}
.timeline-track {
  position: relative;
  margin-top: 60px;
  padding-top: 40px;
}
.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #222;
}
.timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #c9a96e, rgba(201,169,110,0.1));
}
.timeline-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.timeline-item {
  position: relative;
  padding: 0 20px;
}
.timeline-dot {
  position: absolute;
  top: -47px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #0a0a0a;
  border: 2px solid #c9a96e;
  border-radius: 50%;
}
.timeline-year {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  color: #c9a96e;
  font-weight: 600;
  margin-bottom: 12px;
}
.timeline-event {
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.5;
}
.timeline-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #111;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.service-card {
  background: #0f0f0f;
  padding: 48px 36px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  background: #1a1a1a;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: #c9a96e;
  transition: height 0.3s;
}
.service-card:hover::before {
  height: 100%;
}
.service-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  color: rgba(201,169,110,0.15);
  font-weight: 700;
  margin-bottom: 20px;
}
.service-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.service-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ===== SPIRIT ===== */
.spirit {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #0a0a0a;
  text-align: center;
}
.spirit-items {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.spirit-item {
  flex: 1;
  padding: 40px 20px;
  border-right: 1px solid #222;
  transition: background 0.3s;
}
.spirit-item:last-child { border-right: none; }
.spirit-item:hover { background: rgba(201,169,110,0.05); }
.spirit-icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: #c9a96e;
  font-family: 'Noto Serif SC', serif;
  font-weight: 300;
}
.spirit-word {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 4px;
}
.spirit-detail {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

/* ===== TEAM ===== */
.team {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #111;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.team-member {
  position: relative;
  height: 340px;
  overflow: hidden;
  cursor: pointer;
  background: #181818;
}
.team-member-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}
.team-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
}
.team-member-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.team-member-title {
  font-size: 12px;
  color: #c9a96e;
  letter-spacing: 1px;
}
.team-member:hover .team-member-overlay {
  background: linear-gradient(180deg, rgba(201,169,110,0.1) 0%, rgba(0,0,0,0.95) 100%);
}

/* ===== NEWS ===== */
.news {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #0a0a0a;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
}
.news-item {
  display: flex;
  gap: 24px;
  padding: 30px;
  background: #111;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
}
.news-item:hover { background: #1a1a1a; }
.news-date {
  flex-shrink: 0;
  text-align: center;
  padding-right: 24px;
  border-right: 1px solid #222;
}
.news-date-day {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  color: #c9a96e;
  font-weight: 600;
  line-height: 1;
}
.news-date-month {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  letter-spacing: 1px;
}
.news-title {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 8px;
}
.news-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px clamp(24px, 5vw, 80px) 30px;
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.footer-brand {
  max-width: 360px;
}
.footer-brand-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.footer-brand-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  gap: 60px;
}
.footer-nav-group h4 {
  color: #c9a96e;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-nav-group a {
  display: block;
  color: #777;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-nav-group a:hover { color: #fff; }
.footer-contact-item {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}
.footer-contact-item span {
  color: #888;
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
}
.footer-map {
  display: none;
}

/* ===== 图文分栏（共享：about.html / career.html）===== */
.split-row {
  display: flex;
  min-height: 420px;
}
.split-row.reverse { flex-direction: row-reverse; }
.split-image {
  flex: 1;
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.split-row:hover .split-image img { transform: scale(1.04); }
.split-text {
  flex: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0f0f0f;
}
.split-row.reverse .split-text { background: #111; }

/* ===== 律师详情页共享样式 ===== */

/* Hero */
.profile-hero {
  display: flex;
  gap: 60px;
  padding: 160px 80px 80px;
  background: #0f0f0f;
  border-bottom: 1px solid #1a1a1a;
}
.profile-hero-photo {
  flex-shrink: 0;
  width: 300px;
}
.profile-hero-photo img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.profile-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 48px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 12px;
}
.profile-title {
  font-size: 14px;
  color: #c9a96e;
  letter-spacing: 3px;
  margin-bottom: 36px;
}
.profile-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}
.profile-contact-label {
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  letter-spacing: 2px;
  min-width: 36px;
}

/* 详情页 section layout（lxj/zxj/lwh 样式） */
.profile-section {
  padding: 80px 80px;
  max-width: 1200px;
}
.profile-section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 13px;
  color: #c9a96e;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-section-title::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: #c9a96e;
  opacity: 0.4;
}

/* 分隔线 */
.profile-divider {
  height: 1px;
  background: #1a1a1a;
  margin: 0 80px;
}

/* 专业领域 tags */
.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.field-tag {
  padding: 8px 18px;
  border: 1px solid rgba(201,169,110,0.3);
  color: rgba(201,169,110,0.85);
  font-size: 13px;
  letter-spacing: 0.5px;
  background: rgba(201,169,110,0.05);
  transition: border-color 0.3s, background 0.3s;
}
.field-tag:hover {
  border-color: #c9a96e;
  background: rgba(201,169,110,0.1);
}

/* 执业经历 */
.career-paras p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 2.2;
  margin-bottom: 20px;
}
.career-paras p:last-child { margin-bottom: 0; }

/* 代表业绩 timeline */
.achievement-list {
  display: flex;
  flex-direction: column;
}
.achievement-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  padding: 20px 0;
  border-bottom: 1px solid #1a1a1a;
  transition: padding-left 0.3s;
}
.achievement-row:hover { padding-left: 8px; }
.achievement-row:last-child { border-bottom: none; }
.achievement-year {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  color: #c9a96e;
  font-weight: 600;
  padding-top: 2px;
  line-height: 1.6;
}
.achievement-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  padding-top: 2px;
}
.achievement-desc span {
  display: block;
  margin-bottom: 6px;
}
.achievement-desc span:last-child { margin-bottom: 0; }

/* 研究成果列表 */
.research-list {
  list-style: none;
  padding: 0;
}
.research-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
}
.research-list li:last-child { border-bottom: none; }
.research-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9a96e;
}

/* 返回链接 */
.back-link-wrap {
  text-align: center;
  padding: 64px 0 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  padding-bottom: 4px;
  transition: gap 0.3s, border-color 0.3s;
}
.back-link:hover {
  gap: 14px;
  border-color: #c9a96e;
}

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 子页面通用样式 === */

/* 页面 Banner（子页面顶部） */
.page-banner {
  padding: 160px clamp(24px, 5vw, 80px) 80px;
  background: #0f0f0f;
  border-bottom: 1px solid #222;
}
.page-banner .section-tag { margin-bottom: 12px; }
.page-banner .section-title { margin-bottom: 0; }

/* 内容区通用 */
.content-section {
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  background: #0a0a0a;
}
.content-section.alt {
  background: #111;
}

/* 文章列表 */
.article-list { list-style: none; }
.article-list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  transition: padding-left 0.3s;
}
.article-list-item:hover { padding-left: 12px; }
.article-list-item .date {
  flex-shrink: 0;
  width: 80px;
  font-size: 13px;
  color: #555;
}
.article-list-item .title {
  font-size: 15px;
  color: #fff;
  line-height: 1.6;
}
.article-list-item .title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.article-list-item .title a:hover { color: #c9a96e; }

/* 文章详情页 */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}
.article-detail h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}
.article-detail .meta {
  font-size: 13px;
  color: #555;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #222;
}
.article-detail .body {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
}
.article-detail .body p { margin-bottom: 20px; }

/* Article body enhanced typography */
.article-detail .body h2,
.article-detail .body h3 {
  font-family: 'Noto Serif SC', serif;
  color: rgba(255,255,255,0.85);
  margin: 40px 0 16px;
  line-height: 1.5;
}
.article-detail .body h2 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
}
.article-detail .body h3 {
  font-size: 17px;
  font-weight: 500;
}
.article-detail .body blockquote {
  border-left: 3px solid #c9a96e;
  padding: 12px 20px;
  margin: 20px 0;
  background: rgba(201,169,110,0.05);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 2;
}
.article-detail .body .author-info {
  font-size: 14px;
  color: #c9a96e;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1a1a1a;
}
.article-detail .body .references {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222;
}
.article-detail .body .references p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* 子页面 Tab 导航 */
.sub-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #222;
  padding: 0 clamp(24px, 5vw, 80px);
  background: #0f0f0f;
}
.sub-tab {
  padding: 16px 24px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.sub-tab:hover { color: #fff; }
.sub-tab.active {
  color: #c9a96e;
  border-bottom-color: #c9a96e;
}

/* ===== 移动端菜单展开样式 ===== */
.mobile-nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  padding: 20px;
  gap: 16px;
  z-index: 99;
}
.mobile-nav-open a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ===== 触摸优化 ===== */
.hero-cta,
.about-link,
.sub-tab,
.wisdom-tab,
.nav-links a,
.footer-nav-group a,
.client-category,
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ===== 响应式：平板（≤1024px）===== */
@media (max-width: 1024px) {
  .nav { padding: 18px 32px; }
  .nav-links { gap: 20px; }
  .hero { min-height: 560px; }
  .timeline-items { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-member { height: 280px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { gap: 36px; }

  /* about.html */
  .split-text { padding: 48px 40px; }
  .narrow-section { padding: 60px 40px; }
  .divider { margin: 0 40px; }

  /* team.html */
  .team-hero-content { padding: 48px 40px; }
  .team-intro { padding: 60px 40px; }
  .lawyer-grid { padding: 0 40px 2px; grid-template-columns: repeat(2, 1fr); }
  .lawyer-photo-wrap { height: 360px; }

  /* career.html */
  .career-hero-content { padding: 48px 40px; }
  .culture-section { padding: 60px 40px; }

  /* wisdom.html */
  .wisdom-hero-content { padding: 48px 40px; }
  .wisdom-tabs { padding: 0 40px; }
  .wisdom-content { padding: 48px 40px 80px; }

  /* team profile pages */
  .profile-hero { padding: 140px 40px 60px; gap: 40px; }
  .profile-section { padding: 60px 40px; }
  .profile-divider { margin: 0 40px; }

  /* contact.html */
  .contact-hero-content { padding: 48px 40px; }
  .contact-info-panel { flex: 0 0 340px; padding: 48px 40px; }
  .visit-text { padding: 48px 40px; }
}

/* ===== 响应式：手机（≤768px）===== */
@media (max-width: 768px) {
  /* 导航 */
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .mobile-menu-btn { display: block !important; }

  /* 首页 Hero */
  .hero { min-height: 480px; }

  /* 统计栏 */
  .stats { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid #222; }

  /* 关于区 */
  .about { flex-direction: column; }
  .about-image { min-height: 280px; }

  /* 时间线 */
  .timeline-items { grid-template-columns: 1fr; gap: 30px; }

  /* 服务 */
  .services-grid { grid-template-columns: 1fr; }

  /* 精神 */
  .spirit-items { flex-direction: column; }
  .spirit-item { border-right: none; border-bottom: 1px solid #222; }

  /* 团队首页 */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-member { height: 240px; }

  /* 新闻 */
  .news-grid { grid-template-columns: 1fr; }
  .news-item { padding: 24px 16px; }

  /* 页面 Banner */
  .page-banner { padding-top: 120px; padding-bottom: 60px; }

  /* Tab 导航 */
  .sub-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Footer */
  .footer-main { flex-direction: column; gap: 30px; }
  .footer-nav { gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* about.html */
  .about-hero { min-height: 300px; }
  .about-hero-content { padding: 30px 24px; }
  .split-row, .split-row.reverse { flex-direction: column; }
  .split-image { min-height: 250px; }
  .split-text { padding: 40px 24px; }
  .narrow-section { padding: 48px 24px; }
  .honor-row { grid-template-columns: 70px 1fr; }
  .client-list ul { columns: 1; }
  .divider { margin: 0 24px; }

  /* team.html */
  .team-hero { min-height: 280px; }
  .team-hero-content { padding: 30px 24px; }
  .team-intro { padding: 50px 24px; }
  .lawyer-grid { grid-template-columns: 1fr; padding: 0 24px 2px; }
  .lawyer-photo-wrap { height: 320px; }
  .lawyer-link { opacity: 1; transform: translateY(0); }
  .team-photo-strip { grid-template-columns: 1fr; margin-top: 40px; }

  /* career.html */
  .career-hero { min-height: 300px; }
  .career-hero-content { padding: 30px 24px; }
  .culture-section { padding: 50px 24px; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card { padding: 24px; }
  .career-photo-strip { grid-template-columns: 1fr; }

  /* wisdom.html */
  .wisdom-hero { min-height: 280px; }
  .wisdom-hero-content { padding: 30px 24px; }
  .wisdom-hero-content h1 { font-size: 28px; }
  .wisdom-tabs { padding: 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wisdom-tab { padding: 16px 18px; font-size: 13px; }
  .wisdom-content { padding: 40px 24px 80px; }
  .wisdom-article-date { width: 60px; font-size: 13px; }
  .wisdom-article-title { font-size: 14px; }
  .wisdom-article-item:hover { padding-left: 10px; }

  /* 律师详情页 */
  .profile-hero {
    flex-direction: column;
    padding: 120px 24px 40px;
    gap: 30px;
  }
  .profile-hero-photo { width: 200px; }
  .profile-name { font-size: 36px; }
  .profile-section { padding: 56px 24px; }
  .profile-divider { margin: 0 24px; }
  .achievement-row { grid-template-columns: 64px 1fr; }
  .achievement-year { font-size: 17px; }

  /* contact.html */
  .contact-hero { min-height: 300px; }
  .contact-hero-content { padding: 30px 24px; }
  .contact-main { flex-direction: column; }
  .contact-info-panel {
    flex: none;
    padding: 48px 24px;
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
  }
  .contact-map-panel { min-height: 360px; }
  .visit-section { flex-direction: column-reverse; }
  .visit-image { min-height: 240px; }
  .visit-text { padding: 40px 24px; }
  .contact-photo-strip { grid-template-columns: 1fr; }
  .contact-photo-strip div { height: 200px; }

  /* about.html 数据区 */
  .about-stats-row { flex-direction: column; gap: 32px; }
  .about-stats-divider { display: none; }

  /* about.html 照片网格 */
  .photo-grid-3 { grid-template-columns: 1fr; }
  .photo-grid-3 > div { height: 180px; }

  /* 荣誉双列 → 单列 */
  .honor-grid-2col { grid-template-columns: 1fr; }

  /* team-tjh.html 特有 */
  .paper-list { grid-template-columns: 1fr; }
  .back-bar { padding: 36px 24px; }

  /* 滚动提示隐藏 */
  .scroll-hint { display: none; }
}

/* ===== 响应式：小屏手机（≤480px）===== */
@media (max-width: 480px) {
  .hero { min-height: 400px; }
  .stats { flex-direction: column; }
  .stat-item { flex: 1 1 100%; border-bottom: 1px solid #222; border-right: none; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member { height: 280px; }
  .values-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 12px; }
  .news-date { border-right: none; padding-right: 0; border-bottom: 1px solid #222; padding-bottom: 12px; }
  .service-card { padding: 36px 24px; }
  .lawyer-photo-wrap { height: 280px; }
  .profile-hero-photo { width: 160px; }
  .profile-name { font-size: 28px; }
  .spirit-item { padding: 28px 16px; }
}
