/* ============================================
   善嘉律师事务所 - 高端官网样式
   浅暖色调 + Banner轮播
   ============================================ */

/* === CSS Variables === */
:root {
  --bg-primary: #f8f6f3;
  --bg-secondary: #f0ece7;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #2d2d3e;
  --gold: #c9a96e;
  --gold-light: #d4b87c;
  --gold-dark: #b8944f;
  --text-primary: #2d2d2d;
  --text-secondary: #6b6b6b;
  --text-muted: #999999;
  --text-white: #ffffff;
  --border-subtle: #e5e0d8;
  --border-gold: rgba(201, 169, 110, 0.4);
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* === Loading Screen === */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 1s ease, visibility 1s ease;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
/* 装饰线条 */
.loading-deco-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  opacity: 0;
}
.loading-deco-line-top {
  top: -80px;
  animation: decoLineExpand 1.5s ease 0.3s forwards;
}
.loading-deco-line-bottom {
  bottom: -80px;
  animation: decoLineExpand 1.5s ease 0.5s forwards;
}
@keyframes decoLineExpand {
  0% { width: 0; opacity: 0; }
  50% { opacity: 0.6; }
  100% { width: 300px; opacity: 0.3; }
}
/* 文字区域（Logo 图已移除，标题为主视觉） */
.loading-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: textFadeIn 1s ease 0.8s forwards;
}
@keyframes textFadeIn {
  to { opacity: 1; }
}
.loading-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 14px;
  margin: 0;
  display: flex;
  gap: 8px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.loading-title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(46px) scale(0.94);
  animation: charReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.loading-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 10px;
  margin: 0;
}
.loading-divider {
  width: 90px;
  height: 1px;
  background: var(--gold);
  margin: 12px 0;
  opacity: 0;
  animation: dividerExpand 0.8s ease 1.2s forwards;
}
@keyframes dividerExpand {
  0% { width: 0; opacity: 0; }
  100% { width: 90px; opacity: 0.6; }
}
.loading-slogan {
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  color: var(--gold);
  letter-spacing: 6px;
  margin: 0;
  opacity: 0;
  animation: sloganFade 1s ease 1.4s forwards;
}
@keyframes sloganFade {
  to { opacity: 0.8; }
}
/* 进度指示器 */
.loading-progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: progressFadeIn 0.8s ease 1s forwards;
}
@keyframes progressFadeIn {
  to { opacity: 1; }
}
.loading-progress-track {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}
.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  border-radius: 1px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
}
.loading-progress-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 60px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-smooth);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.navbar.scrolled {
  height: 78px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease-smooth), opacity 0.3s ease;
}
.nav-logo-img:hover {
  opacity: 0.85;
}
.navbar.scrolled .nav-logo-img {
  height: 58px;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: auto;
  margin-right: 24px;
}
.nav-links > li {
  position: relative;
  flex: 0 0 auto;
}
.nav-links > li > a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 10px 7px;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.4s var(--transition-smooth);
  transform: translateX(-50%);
}
.nav-links > li > a:hover {
  color: var(--gold);
}
.nav-links > li > a:hover::after {
  width: 60%;
}

/* Dropdown arrow indicator */
.nav-item.has-dropdown > a::before {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid currentColor;
  opacity: 0.4;
  transition: all 0.3s ease;
}
.nav-item.has-dropdown > a {
  padding-right: 16px;
}
.nav-item.has-dropdown:hover > a::before {
  opacity: 0.8;
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 3px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  list-style: none;
}
.nav-item.has-dropdown:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li {
  list-style: none;
}
.dropdown li a {
  display: block;
  padding: 10px 22px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  transform: translateX(0);
}
.dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.dropdown li a:hover {
  color: var(--gold-dark);
  background: rgba(201, 169, 110, 0.05);
  transform: translateX(6px);
}
.dropdown li a:hover::before {
  width: 12px;
}

/* Mega dropdown for 专业领域 */
.mega-dropdown {
  min-width: 280px;
  max-height: 480px;
  overflow-y: auto;
}
.mega-dropdown::-webkit-scrollbar {
  width: 3px;
}
.mega-dropdown::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

/* === Language Toggle === */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
  margin-left: 8px;
  color: var(--gold);
}

.lang-toggle:hover {
  color: #a2814a;
}

.lang-toggle .lang-icon {
  display: flex;
  align-items: center;
}

.lang-toggle .lang-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  transition: transform 0.35s var(--ease-smooth);
}
.lang-toggle:hover .lang-icon svg {
  transform: rotate(24deg);
}

.lang-toggle .lang-text {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  transition: color 0.3s ease;
}
.lang-toggle .lang-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.lang-toggle:hover .lang-text::after {
  transform: scaleX(1);
}

/* === Mobile Nav Toggle === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Banner Carousel === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  overflow: hidden;
}

/* Banner slides */
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-bg {
  position: absolute;
  inset: -60px;
  background-size: cover;
  background-position: center;
  filter: brightness(1.1) saturate(1.03);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}
/* Each slide has its own overlay for different moods */
.hero-slide:nth-child(1) .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 28, 40, 0.12) 0%,
    rgba(28, 28, 40, 0.05) 40%,
    rgba(28, 28, 40, 0.42) 100%
  );
}
.hero-slide:nth-child(2) .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 28, 40, 0.18) 0%,
    rgba(28, 28, 40, 0.08) 40%,
    rgba(28, 28, 40, 0.45) 100%
  );
}
.hero-slide:nth-child(3) .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(28, 28, 40, 0.15) 0%,
    rgba(28, 28, 40, 0.05) 40%,
    rgba(28, 28, 40, 0.4) 100%
  );
}

/* Hero content layer */
.hero-content-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 26px));
  width: 90%;
  max-width: 900px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  padding: 58px 60px;
}
/* 聚光暗场：仅文案背后一块柔和暗晕，任何亮背景下文字都清晰 */
.hero-slide-content::before {
  content: '';
  position: absolute;
  inset: -20px -70px;
  background: radial-gradient(ellipse 62% 56% at 50% 50%, rgba(15, 17, 28, 0.5) 0%, rgba(15, 17, 28, 0.26) 55%, transparent 78%);
  z-index: -1;
}
.hero-slide-content.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
/* ===== 级联入场：左右飞入 ===== */
.hero-slide-content.active .hero-badge {
  animation: heroBadgeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
/* 标题两行：第一行左飞入，第二行右飞入 */
.hero-slide-content.active .hero-title {
  animation: heroFadeUp 0.01s linear 0s both;
}
.hero-slide-content.active .hero-title .line-l {
  display: inline-block;
  animation: heroFlyLeft 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-slide-content.active .hero-title .line-r {
  display: inline-block;
  animation: heroFlyRight 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.44s both;
}
.hero-slide-content.active .hero-title-divider {
  animation: heroDividerIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.66s both;
}
.hero-slide-content.active .hero-subtitle {
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both;
}
.hero-slide-content.active .hero-desc {
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.92s both;
}
/* CTA 与 badge 遥相呼应：左飞入 */
.hero-slide-content.active .hero-cta {
  animation: heroFlyLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.06s both;
}
@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFlyLeft {
  from { opacity: 0; transform: translateX(-120px) rotate(-2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes heroFlyRight {
  from { opacity: 0; transform: translateX(120px) rotate(2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes heroDividerIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(212, 184, 124, 0.65);
  padding: 8px 28px;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: #eadbb8;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-family: var(--font-body);
  background: rgba(20, 22, 34, 0.35);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px rgba(8, 10, 18, 0.4);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(8, 10, 18, 0.6), 0 12px 46px rgba(8, 10, 18, 0.38);
}
.hero-title .line-l,
.hero-title .line-r {
  white-space: nowrap;
}
.hero-title .gold {
  color: var(--gold-light);
}
.hero-title-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 28px auto;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #ffffff;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(8, 10, 18, 0.55);
}
.hero-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
  max-width: 580px;
  margin: 0 auto 40px;
  text-shadow: 0 1px 4px rgba(8, 10, 18, 0.5);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(212, 184, 124, 0.8);
  padding: 14px 42px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: #f0e3c2;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
  background: rgba(18, 20, 32, 0.42);
  text-shadow: 0 1px 3px rgba(8, 10, 18, 0.4);
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--bg-dark);
}
.hero-cta .arrow {
  transition: transform 0.3s ease;
}
.hero-cta:hover .arrow {
  transform: translateX(6px);
}

/* Banner Navigation Dots */
.hero-dots {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.4);
}
.hero-dot:hover {
  border-color: var(--gold-light);
}

/* Banner Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2rem;
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold);
  color: var(--gold-light);
}
.hero-arrow-prev {
  left: 40px;
}
.hero-arrow-next {
  right: 80px;
}

/* Slide Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 0.08s linear;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
}
.scroll-line {
  width: 1px;
  height: 45px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === Section Common === */
.section {
  padding: 96px 48px 110px;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 100px;
}
.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px auto;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 2;
}

/* === Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(130px) scale(0.97);
  transition: opacity 1.1s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fade left */
.reveal-left {
  opacity: 0;
  transform: translateX(-160px) rotate(-1.5deg);
  transition: opacity 1.1s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* Fade right */
.reveal-right {
  opacity: 0;
  transform: translateX(160px) rotate(1.5deg);
  transition: opacity 1.1s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Fade in only */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.4s var(--transition-smooth);
}
.reveal-fade.active {
  opacity: 1;
}

/* Drop in from above */
.reveal-drop {
  opacity: 0;
  transform: translateY(-110px) scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-drop.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.35s; }
.reveal-delay-3 { transition-delay: 0.55s; }
.reveal-delay-4 { transition-delay: 0.8s; }

/* === About Section === */
.about-section {
  background: var(--bg-white);
  overflow: hidden;
  padding: 96px 48px 110px;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/bg-ink-wash.jpeg') center/cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.about-section > * {
  position: relative;
  z-index: 1;
}
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.about-image-wrapper {
  position: relative;
}
.about-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.8s var(--ease-out);
}
.about-image-wrapper:hover .about-image {
  transform: scale(1.04);
}
.about-image-border {
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  border: 1px solid var(--border-gold);
  z-index: -1;
  border-radius: 2px;
}
.about-image-badge {
  position: absolute;
  left: -28px;
  bottom: 48px;
  background: var(--gold);
  color: #fff;
  padding: 18px 26px;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(201, 169, 110, 0.35);
  border-radius: 2px;
}
.about-image-badge .badge-year {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.about-image-badge .badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  opacity: 0.9;
  display: block;
}
.about-content {
  padding: 20px 0;
}
.about-motto {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 36px;
  position: relative;
  padding-left: 28px;
}
.about-motto::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 22px;
}
.about-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}
.about-btn:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.about-btn span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-btn:hover span {
  transform: translateX(6px);
}
.about-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 36px;
  max-width: 100%;
  /* 等比缩放：容器随列宽收窄，标签按比例缩小，永不低于可读底线 */
  container-type: inline-size;
}
.about-tag {
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
  letter-spacing: 0.12em;
  transition: all 0.4s ease;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex: 0 0 auto;
}
/* 容器查询：按容器宽度等比缩小标签字号与内边距（保持单行） */
@container (max-width: 620px) {
  .about-tag { font-size: 0.74rem; padding: 7px 15px; letter-spacing: 0.08em; }
}
@container (max-width: 540px) {
  .about-tag { font-size: 0.68rem; padding: 6px 12px; letter-spacing: 0.06em; }
  .about-tags { gap: 9px; }
}
@container (max-width: 460px) {
  .about-tag { font-size: 0.62rem; padding: 5px 10px; letter-spacing: 0.04em; }
  .about-tags { gap: 8px; }
}
.about-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* === Stats Section === */
.stats-section {
    position: relative;
    padding: 0;
    background: var(--bg-light);
    overflow: hidden;
}

.stats-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* 左侧图片区 */
.stats-left {
    position: relative;
    flex: 0 0 42%;
    overflow: hidden;
    min-height: 640px;
}

.stats-bg-image {
    position: absolute;
    inset: 0;
    background: url('/images/library-bg.jpeg') center/cover no-repeat;
    transform: scale(1.02);
    transition: transform 1.2s ease-out;
}

.stats-wrapper.active .stats-bg-image {
    transform: scale(1.08);
}
.stats-left:hover .stats-bg-image {
    transform: scale(1.14);
}

.stats-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 35, 0.5) 0%, rgba(20, 20, 35, 0.78) 100%);
}

.stats-left-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 60px;
    z-index: 2;
}

.stats-left-line {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 30px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, width 0.5s ease;
}
.stats-wrapper.active .stats-left-line {
    transform: scaleX(1);
}
.stats-left:hover .stats-left-line {
    width: 88px;
}

.stats-en-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--gold-light);
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease 0.65s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s;
}
.stats-wrapper.active .stats-en-title {
    opacity: 1;
    transform: translateY(0);
}

.stats-cn-title {
    position: relative;
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.18em;
    line-height: 1.2;
    margin-bottom: 26px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s ease 0.45s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
    background: linear-gradient(110deg, #fff 42%, var(--gold-light) 50%, #fff 58%);
    background-size: 240% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stats-wrapper.active .stats-cn-title {
    opacity: 1;
    transform: translateY(0);
}
.stats-left:hover .stats-cn-title {
    animation: title-shine 1.4s ease forwards;
}
@keyframes title-shine {
    0% { background-position: 130% 0; }
    100% { background-position: -30% 0; }
}

.stats-left-desc {
    font-size: 0.98rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    max-width: 400px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s ease 0.8s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
}
.stats-wrapper.active .stats-left-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 荣誉墙 */
.stats-honors {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 32px;
}
.stats-honors li {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.08em;
    font-family: var(--font-serif);
    padding: 4px 10px 4px 4px;
    margin: 0 -10px 0 -4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease, color 0.4s ease;
}
.stats-wrapper.active .stats-honors li:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.95s, 0.95s, 0s, 0s; }
.stats-wrapper.active .stats-honors li:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 1.1s, 1.1s, 0s, 0s; }
.stats-wrapper.active .stats-honors li:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 1.25s, 1.25s, 0s, 0s; }

.stats-honors li:hover {
    background: rgba(201, 169, 110, 0.14);
    color: #fff;
}
.stats-honors li:hover svg {
    color: var(--gold-light);
    transform: rotate(12deg) scale(1.18);
    stroke-width: 2.2;
}
.stats-honors li:hover span {
    color: var(--gold-light);
}
.stats-honors li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease, stroke-width 0.3s ease;
}
.stats-honors li span {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    margin-left: auto;
    padding-left: 16px;
    font-family: var(--font-sans);
    white-space: nowrap;
    transition: color 0.4s ease;
}
@media (max-width: 1650px) {
    .stats-honors li span { display: none; }
    .stats-honors li { gap: 10px; }
}

/* 右侧数据区：十字分割网格 */
.stats-right {
    position: relative;
    flex: 0 0 58%;
    display: flex;
    align-items: center;
    padding: 80px 100px;
    background: #fff;
    z-index: 1;
}
.stats-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/bg-golden-bokeh.jpeg') center/cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
}
.stats-right > * {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    border-top: 1px solid #ece6de;
    border-bottom: 1px solid #ece6de;
}

.stats-item {
    position: relative;
    text-align: center;
    padding: 68px 34px;
    overflow: hidden;
    cursor: pointer;
}
.stats-item:nth-child(-n+2) {
    border-bottom: 1px solid #ece6de;
}
.stats-item:nth-child(odd) {
    border-right: 1px solid #ece6de;
}

/* hover: 金色渐变自底部升起 */
.stats-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(201, 169, 110, 0.12) 0%, rgba(201, 169, 110, 0.02) 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}
.stats-item:hover::before {
    transform: scaleY(1);
}

/* hover: 四角金色角标向内收拢浮现 */
.corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}
.corner.tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; transform: translate(10px, 10px); }
.corner.tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; transform: translate(-10px, 10px); }
.corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; transform: translate(10px, -10px); }
.corner.br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; transform: translate(-10px, -10px); }
.stats-item:hover .corner {
    opacity: 1;
    transform: translate(0, 0);
}

.stats-item > *:not(.corner) {
    position: relative;
    z-index: 2;
}

.stats-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 5.4rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.55s ease;
}
.stats-item:hover .stats-number {
    transform: translateY(-10px) scale(1.06);
    text-shadow: 0 14px 36px rgba(201, 169, 110, 0.4);
}

.stats-unit {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-left: 8px;
}

/* hover: 中文标签金色下划线自中心展开 */
.stats-label {
    display: inline-block;
    position: relative;
    font-size: 1.12rem;
    color: var(--text-primary);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-weight: 500;
    padding-bottom: 10px;
    transition: color 0.4s ease;
}
.stats-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.stats-item:hover .stats-label::after {
    width: 40px;
}
.stats-item:hover .stats-label {
    color: var(--gold-dark);
}

/* hover: 英文标签变金、字距拉开 */
.stats-en-label {
    font-size: 0.66rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: color 0.45s ease;
}
.stats-item:hover .stats-en-label {
    color: var(--gold);
}

/* hover: 描述文字自下方滑入 */
.stats-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.8;
    letter-spacing: 0.04em;
    height: 44px;
    margin: 14px auto 0;
    max-width: 300px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.1s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.stats-item:hover .stats-detail {
    opacity: 1;
    transform: translateY(0);
}

/* === Practice Areas === */
.practice-section {
    position: relative;
    padding: 88px 0 96px;
    background: var(--bg-white);
    overflow: hidden;
}

.practice-header {
    position: relative;
    text-align: center;
    padding: 0 24px;
    margin-bottom: 52px;
}
.practice-header::before {
    content: 'PRACTICE';
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 8.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(201, 169, 110, 0.07);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.ph-en {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    letter-spacing: 0.45em;
    color: var(--gold);
    margin-bottom: 20px;
}

.ph-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.16em;
    line-height: 1.25;
    margin-bottom: 26px;
}

.ph-line {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 28px;
}

.ph-desc {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
}

/* ===== 不对称杂志式网格 ===== */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
    gap: 18px;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 48px;
}

.pc-card {
    position: relative;
    grid-column: span 1;
    padding: 24px 18px 26px;
    background: #fdfcfb;
    border: 1px solid #eee8de;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 入场：大幅上浮 + 微缩放，波次级联 */
    opacity: 0;
    transform: translateY(90px) scale(0.92);
    transition: opacity 0.9s ease, transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms);
}
.pc-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* hover 上浮（零抖动：仅 transform/颜色/阴影） */
.pc-card:hover {
    transform: translateY(-8px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease, border-color 0.4s ease, box-shadow 0.5s ease, background 0.45s ease;
    box-shadow: 0 24px 48px rgba(45, 45, 62, 0.1);
    border-color: rgba(201, 169, 110, 0.45);
    background: #fbf8f2;
}
.pc-card.active:hover { transform: translateY(-8px); }

/* 顶线金光展开 */
.pc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-card:hover::before { transform: scaleX(1); }

/* 右上角淡金晕染 */
.pc-card::after {
    content: '';
    position: absolute;
    top: -70px; right: -70px;
    width: 170px; height: 170px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.16) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}
.pc-card:hover::after { opacity: 1; }

.pc-card > * { position: relative; z-index: 1; }

/* 小卡图标 */
.pc-icon {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(201, 169, 110, 0.4);
    margin-bottom: 18px;
    transition: background 0.45s ease, color 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.5s ease;
}
.pc-card:hover .pc-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 22px rgba(201, 169, 110, 0.35);
}

/* 小卡序号（左上角） */
.pc-num {
    position: absolute;
    top: 14px; left: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #cfc2a8;
    line-height: 1;
    transition: -webkit-text-stroke-color 0.4s ease, color 0.4s ease;
}
.pc-card:hover .pc-num {
    -webkit-text-stroke-color: var(--gold);
    color: rgba(201, 169, 110, 0.9);
}

.pc-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    line-height: 1.6;
    transition: color 0.4s ease;
}
.pc-card:hover .pc-name { color: var(--gold-dark); }

/* 小卡 hover 箭头 */
.pc-arrow {
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    opacity: 0;
    transform: translateY(10px);
    margin-top: 12px;
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-card:hover .pc-arrow { opacity: 1; transform: translateY(0); }

/* ===== 大卡（重点领域，span 2）===== */
.pc-card.wide {
    grid-column: span 2;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    padding: 32px 30px 28px;
}
.pc-card.wide .pc-icon {
    width: 60px; height: 60px;
    margin-bottom: 22px;
}
.pc-card.wide .pc-num {
    top: 20px; right: 24px; left: auto;
    font-size: 2.2rem;
}
.pc-card.wide .pc-name {
    font-size: 1.22rem;
    margin-bottom: 10px;
}
.pc-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.95;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}
.pc-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-card.wide:hover .pc-more { opacity: 1; transform: translateY(0); }
.pc-more i {
    display: inline-block; font-style: normal;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pc-card.wide:hover .pc-more i { transform: translateX(5px); }

/* ===== 底部按钮 ===== */
.practice-footer {
    text-align: center;
    margin-top: 46px;
}
.pf-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 44px;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    color: var(--gold-dark);
    border: 1px solid rgba(201, 169, 110, 0.55);
    cursor: pointer;
    transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(201, 169, 110, 0.32);
}
.pf-btn i {
    display: inline-block; font-style: normal;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf-btn:hover i { transform: translateX(5px); }

.quote-section {
  position: relative;
  height: 62vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.quote-bg {
  position: absolute;
  inset: -100px;
  background-image: url('/images/library-bg.jpeg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 62, 0.72);
}
.quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 60px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5.5rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
  margin-bottom: -24px;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: 0.18em;
  color: var(--text-white);
  margin-bottom: 24px;
}
.quote-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.25em;
}

/* === News Section === */
.news-section {
  background: var(--bg-white);
  position: relative;
  padding: 96px 0 110px;
}
.news-section .section-header {
  margin-bottom: 52px;
}
.news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/bg-marble-light.jpeg') center/cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.news-section > * {
  position: relative;
  z-index: 1;
}
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 56px;
}
.news-tab {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.news-tab.active {
  color: var(--gold-dark);
  font-weight: 500;
}
.news-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--transition-smooth);
}
.news-tab.active::after {
  width: 100%;
}
.news-tab:hover {
  color: var(--text-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== 新闻卡片：全新交互 ===== */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  /* 入场级联：大幅上浮 + 微旋转 */
  opacity: 0;
  transform: translateY(110px) rotate(1.2deg) scale(0.96);
  transition: opacity 0.9s ease, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, background 0.45s ease, box-shadow 0.5s ease;
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s;
}
.news-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片整体：亮白 + 金边 + 底部金晕投影（不上浮，动作在内部） */
.news-card:hover {
  background: #fffefb;
  border-color: rgba(201, 169, 110, 0.55);
  box-shadow: 0 18px 40px rgba(201, 169, 110, 0.16), 0 4px 14px rgba(45, 45, 62, 0.06);
}

/* 图片区 */
.news-card-image {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
/* 图片 Ken Burns 式放大+上移 */
.news-card:hover .news-card-image img {
  transform: scale(1.1) translateY(-4px);
}

/* 图片顶部金线扫入 */
.news-card-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.news-card:hover .news-card-image::before {
  transform: scaleX(1);
}

/* 图片底部渐变遮罩 + 日期浮现 */
.news-card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 18px 12px;
  background: linear-gradient(to top, rgba(28, 28, 40, 0.78) 0%, rgba(28, 28, 40, 0.25) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.news-card:hover .news-card-overlay {
  opacity: 1;
}
.news-card-date {
  display: inline-block;
  font-size: 0.72rem;
  color: #f3e9d5;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, opacity 0.5s ease 0.08s;
}
.news-card:hover .news-card-date {
  transform: translateY(0);
  opacity: 1;
}

/* 内容区 */
.news-card-body {
  position: relative;
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-meta {
  margin-bottom: 12px;
}
.news-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
  padding: 2px 11px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.news-card:hover .news-card-tag {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* 标题：金色竖线展开 + 文字右移变金（竖线绝对定位，零抖动） */
.news-card-title {
  position: relative;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card:hover .news-card-title {
  color: var(--gold-dark);
  transform: translateX(10px);
}
.news-card:hover .news-card-title::before {
  transform: scaleY(1);
}
.news-card-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.4s ease;
  flex: 1;
}
.news-card:hover .news-card-excerpt {
  color: #7d7568;
}

/* 阅读全文：滑入 + 箭头右移 */
.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card:hover .news-card-more {
  opacity: 1;
  transform: translateY(0);
}
.news-card-more i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-card:hover .news-card-more i {
  transform: translateX(5px);
}
.news-more {
  text-align: center;
  margin-top: 50px;
}

/* === Culture Section === */
.culture-section {
  background: var(--bg-primary);
  position: relative;
  padding: 96px 48px 110px;
}
.culture-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/bg-ink-wash.jpeg') center/cover no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.culture-section > * {
  position: relative;
  z-index: 1;
}

/* Culture Horizontal Timeline */
.culture-timeline-h {
  position: relative;
  padding: 80px 0 40px;
}
.ct-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.ct-line svg {
  position: absolute;
  top: 163px;
  left: 5%;
  width: 90%;
  height: 60px;
}
.ct-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding: 0 2%;
}
.ct-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0 16px;
}
.ct-thumb {
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(45, 45, 62, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
}
.ct-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ct-node:hover .ct-thumb {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(45, 45, 62, 0.12);
  border-color: var(--gold);
}
.ct-node:hover .ct-thumb img {
  transform: scale(1.1);
}
.ct-dot {
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #c9a96e;
  border-radius: 50%;
  margin: 16px 0;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2), 0 2px 8px rgba(201, 169, 110, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ct-node:hover .ct-dot {
  transform: scale(1.3);
  background: #c9a96e;
  box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.3), 0 4px 16px rgba(201, 169, 110, 0.4);
}
.ct-info {
  text-align: center;
  max-width: 220px;
}
.ct-info h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.ct-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.image-modal.active {
  display: flex;
}
.modal-content {
  background: var(--bg-white);
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: modalFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-primary);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--gold);
  color: #fff;
  transform: rotate(90deg);
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 30px;
  text-align: center;
}
.modal-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.gallery-images {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 450px;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: var(--bg-primary);
}
.gallery-images img.active {
  opacity: 1;
}
.gallery-prev,
.gallery-next {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(45, 45, 62, 0.6);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gallery-prev:hover,
.gallery-next:hover {
  background: var(--gold);
  transform: scale(1.1);
}
.gallery-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.gallery-caption strong {
  display: block;
  font-size: 16px;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.gallery-caption p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-dots .dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* === Footer === */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 60px 0 0;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr auto;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 2;
  letter-spacing: 0.5px;
}

.footer-contact h4,
.footer-qr h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-contact ul li svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.footer-contact ul li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
  color: var(--gold);
}

.footer-qr {
  text-align: center;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
  border-radius: 8px;
  position: relative;
}

.qr-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
  box-sizing: border-box;
}

.footer-qr p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}
/* === Responsive === */
/* ===== 笔记本区间 1366-1536px 适配 ===== */
@media (max-width: 1536px) {
  /* 导航：12 项菜单收紧行距 */
  .navbar { padding: 0 48px; }
  .nav-logo-img { height: 60px; }
  .navbar.scrolled .nav-logo-img { height: 52px; }
  .nav-links { gap: 2px; margin-right: 10px; }
  .nav-links > li > a { font-size: 0.86rem; padding: 0 5px; }

  /* 区块水平基线 48 -> 40 */
  .section { padding: 88px 40px 100px; }
  .about-section,
  .culture-section { padding: 88px 40px 100px; }
  .practice-section { padding: 60px 0 72px; }
  .news-section { padding: 88px 0 100px; }

  /* 专业领域：6 列收紧 + 整体压高（笔记本一屏目标） */
  .practice-grid { gap: 12px; padding: 0 40px; }
  .pc-card { padding: 15px 12px 17px; }
  .pc-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .pc-name { font-size: 0.88rem; }
  .pc-num { font-size: 1rem; top: 10px; left: 11px; }
  .pc-card.wide { padding: 18px 20px; }
  .pc-card.wide .pc-icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .pc-card.wide .pc-name { font-size: 1.08rem; }
  .pc-card.wide .pc-num { font-size: 1.7rem; top: 14px; right: 18px; }
  .pc-card.wide .pc-desc { font-size: 0.74rem; margin-bottom: 10px; }
  .practice-header::before { font-size: 5.2rem; top: -26px; }
  .practice-header { margin-bottom: 30px; }
  .ph-en { margin-bottom: 12px; }
  .ph-title { font-size: 2.15rem; margin-bottom: 16px; }
  .ph-line { margin: 0 auto 16px; }
  .practice-footer { margin-top: 26px; }

  /* 资讯：4 列收紧 */
  .news-grid { gap: 18px; padding: 0 40px; }
  .news-card-image { height: 175px; }
  .news-card-title { font-size: 0.9rem; }
  .news-card-body { padding: 20px 18px 22px; }
  .news-tabs { margin-bottom: 48px; }

  /* 实力见证：整块压高（笔记本一屏目标） */
  .stats-left { min-height: 520px; }
  .stats-left-content { padding: 44px 46px; }
  .stats-cn-title { font-size: 2.7rem; margin-bottom: 20px; }
  .stats-left-line { margin-bottom: 22px; }
  .stats-left-desc { margin-bottom: 26px; }
  .stats-right { padding: 48px 56px; }
  .stats-item { padding: 40px 24px; }
  .stats-number { font-size: 3.6rem; margin-bottom: 10px; }
  .stats-unit { font-size: 1.7rem; }
  .stats-label { font-size: 0.98rem; margin-bottom: 8px; padding-bottom: 8px; }

  /* banner 文案 */
  .hero-slide-content { padding: 52px 54px; }
}

@media (max-width: 1280px) {
  /* 小笔记本：菜单极限压缩 + logo 控宽，保证单行 */
  .navbar { padding: 0 28px; }
  .nav-logo-img { height: 52px; }
  .navbar.scrolled .nav-logo-img { height: 46px; }
  .nav-links { gap: 1px; margin-right: 6px; }
  .nav-links > li > a { font-size: 0.8rem; padding: 0 4px; letter-spacing: 0; }
  .lang-toggle { margin-left: 6px; }
  .lang-toggle .lang-text { font-size: 11px; }
  .lang-toggle .lang-icon svg { width: 13px; height: 13px; }
}

@media (max-width: 1024px) {
  .navbar { padding: 0 30px; }
  .section { padding: 68px 18px 76px; }
  .nav-links { gap: 20px; }
  .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .news-section { padding: 68px 0 76px; }
  .news-section .section-header { margin-bottom: 40px; }
  .news-tabs { margin-bottom: 44px; gap: 34px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 0 32px; }
  .news-card-image { height: 200px; }
  .practice-section { padding: 68px 0 76px; }
  .ph-title { font-size: 2.2rem; }
  .practice-header { margin-bottom: 40px; }
  .practice-header::before { font-size: 5.5rem; top: -22px; }
  .practice-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 32px; }
  .pc-card.wide { padding: 28px 26px 24px; }
  .pc-card.wide .pc-name { font-size: 1.12rem; }
  .pc-card.wide .pc-desc { font-size: 0.75rem; margin-bottom: 14px; }
  .pc-card.wide .pc-icon { width: 54px; height: 54px; margin-bottom: 16px; }
  .pc-card.wide .pc-num { font-size: 1.8rem; }
  .practice-footer { margin-top: 38px; }
  .practice-list { padding: 0 36px; }
  .stats-section { padding: 0; }
  .stats-wrapper { flex-direction: column; }
  .stats-left { flex: none; min-height: 480px; }
  .stats-left-content { padding: 55px 45px; }
  .stats-cn-title { font-size: 3rem; }
  .stats-honors li span { display: none; }
  .stats-right { flex: none; padding: 50px 45px; }
  .stats-item { padding: 48px 18px; }
  .stats-number { font-size: 4rem; }
  .stats-unit { font-size: 2rem; }
  .stats-detail { display: none; }
  .about-image { height: 460px; }
  .about-image-badge { left: 16px; bottom: 24px; padding: 14px 20px; }
  .about-image-badge .badge-year { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer .container { padding: 0 30px; }
  .footer-qr { text-align: left; }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { right: 50px; }
  .hero-dots { right: 20px; }
  .ct-thumb { width: 100px; height: 75px; }
  .ct-info h4 { font-size: 14px; }
  .ct-info p { font-size: 12px; }
  .ct-node { padding: 0 8px; }
  .culture-timeline-h { padding: 60px 0 30px; }
}
@media (max-width: 768px) {
  .hero-slide-content { padding: 40px 18px; }
  .hero-slide-content::before { inset: -10px -30px; }
  .hero-title-divider { margin: 20px auto; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 40px; }
  .lang-toggle {
    margin-left: 0;
    margin-right: 8px;
    padding: 4px 2px;
  }
  .lang-toggle .lang-text { font-size: 11px; }
  .lang-toggle .lang-icon svg { width: 14px; height: 14px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 0;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .nav-links > li > a::after { display: none; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: rgba(248, 246, 243, 0.8);
    backdrop-filter: none;
    display: none;
    padding: 0;
    min-width: auto;
    max-height: none;
  }
  .nav-item.has-dropdown.open > .dropdown {
    display: block;
  }
  .dropdown li a {
    padding: 10px 40px;
    font-size: 0.85rem;
  }
  .dropdown li a::before { display: none; }
  .practice-section { padding: 56px 0 64px; }
  .ph-title { font-size: 1.9rem; }
  .practice-header::before { font-size: 3.2rem; top: -14px; }
  .ph-desc { font-size: 0.85rem; }
  .practice-header { margin-bottom: 40px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 18px; }
  .pc-card { padding: 22px 12px 24px; }
  .pc-icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .pc-name { font-size: 0.92rem; }
  .pc-num { font-size: 1rem; top: 10px; left: 12px; }
  .pc-card.wide { grid-column: span 2; padding: 24px 22px 22px; }
  .pc-card.wide .pc-name { font-size: 1.1rem; }
  .pc-card.wide .pc-num { font-size: 1.5rem; top: 16px; right: 18px; }
  .pc-card.wide .pc-desc { font-size: 0.72rem; margin-bottom: 14px; }
  .practice-footer { margin-top: 30px; }
  .pf-btn { padding: 12px 32px; font-size: 0.75rem; }
  .practice-list { padding: 0 20px; }
  .news-section { padding: 56px 0 64px; }
  .news-section .section-header { margin-bottom: 36px; }
  .news-tabs { margin-bottom: 36px; gap: 26px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 18px; }
  .news-card-image { height: 200px; }
  .news-card-title { font-size: 1.02rem; }
  .stats-section { padding: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-left { flex: none; min-height: 400px; }
  .stats-left-content { padding: 40px 25px; }
  .stats-cn-title { font-size: 2.4rem; }
  .stats-left-desc { font-size: 0.88rem; margin-bottom: 28px; }
  .stats-honors { gap: 12px; padding-top: 24px; }
  .stats-honors li { font-size: 0.84rem; }
  .stats-honors li svg { width: 16px; height: 16px; }
  .stats-right { flex: none; padding: 30px 18px; }
  .stats-item { padding: 32px 8px; }
  .stats-number { font-size: 2.9rem; }
  .stats-unit { font-size: 1.45rem; }
  .stats-label { font-size: 0.88rem; letter-spacing: 0.12em; }
  .stats-en-label { font-size: 0.56rem; letter-spacing: 0.22em; }
  .about-image { height: 340px; }
  .about-image-badge { padding: 12px 16px; left: 12px; bottom: 16px; }
  .about-image-badge .badge-year { font-size: 1.25rem; }
  .about-image-badge .badge-text { font-size: 0.62rem; letter-spacing: 0.2em; }
  .about-tags { gap: 8px; margin-top: 28px; flex-wrap: nowrap; }
  .about-tag { font-size: 0.68rem; padding: 6px 12px; }
  .culture-timeline-h { padding: 40px 0 20px; }
  .ct-line { display: none; }
  .ct-nodes { flex-direction: column; gap: 30px; align-items: center; }
  .ct-node { flex-direction: row; gap: 16px; padding: 0; text-align: left; }
  .ct-thumb { width: 100px; height: 75px; flex-shrink: 0; }
  .ct-dot { display: none; }
  .ct-info { text-align: left; max-width: none; }
  .footer { padding: 40px 24px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 30px;
  }
  .footer-brand { text-align: center; align-items: center; }
  .footer-contact h4::after { left: 50%; transform: translateX(-50%); }
  .footer-contact ul { max-width: 320px; margin: 0 auto; }
  .footer-qr { text-align: center; }
  .quote-text { font-size: 1.4rem; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 40px; }
  .hero-dots { right: 12px; }
}

@media (max-width: 480px) {
  .stats-number { font-size: 2.2rem; }
  .stats-unit { font-size: 1.15rem; }
  .stats-label { font-size: 0.8rem; }
  .stats-en-label { display: none; }
  .stats-item { padding: 24px 6px; }
  .stats-honors li { font-size: 0.78rem; }
}

/* === Keyframes === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
