/* ================================================================
   康臣官网 — 内页公共样式 v2（与首页 v3 视觉体系一致）
   ================================================================ */

/* ---------- Design tokens ---------- */
:root {
  --consun-900: #005F72;
  --consun-800: #007387;
  --consun-700: #008AA4;
  --consun-600: #0098B5;
  --consun-500: #41A9BC;
  --consun-400: #5DBACE;
  --consun-300: #81CCD9;
  --consun-200: #B0F2F4;
  --consun-100: #D6F2F7;
  --consun-50:  #EDF9FB;
  --gold-500: #C9982E;
  --gold-400: #D4AD4E;
  --gold-300: #E0C273;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #FFFFFF;
  --font-display: 'Fraunces', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --font-body: 'DM Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  --max-width: 1240px;
  --radius: 12px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 32px rgba(0,95,114,0.10);
  --transition: 0.25s ease;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body); color: var(--slate-800);
  background: var(--slate-50); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   UTILITY NAV
   ============================================================ */
.utility-nav {
  background: #003F4D; color: var(--consun-200);
  font-size: 13px; letter-spacing: 0.03em; padding: 8px 0;
}
.utility-nav .container { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.utility-nav a { color: var(--consun-200); text-decoration: none; transition: color 0.2s; }
.utility-nav a:hover { color: var(--white); }
.utility-nav .lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 12px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px; font-size: 12px;
}

/* ============================================================
   MAIN NAV
   ============================================================ */
.main-nav {
  background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s;
}
.main-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav-logo { display: flex; align-items: center; text-decoration: none !important; flex-shrink: 0; border: none; outline: none; }
.nav-logo::after { display: none !important; }
.nav-logo img {
  height: 60px; width: auto; display: block;
  object-fit: contain; border: none;
}
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li { position: relative; }
.nav-links a {
  display: flex; align-items: center; gap: 4px;
  padding: 26px 14px; text-decoration: none;
  color: var(--slate-700); font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--consun-700); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--consun-700);
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links li.has-dropdown > a:hover::after { transform: scaleX(0); }
.nav-links .nav-arrow { font-size: 10px; margin-left: 2px; opacity: 0.7; transition: transform 0.2s; }
.nav-links li.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px; padding-top: 8px; opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s; pointer-events: none;
}
.nav-links li.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown-inner {
  background: var(--white); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--slate-200); padding: 8px 0; overflow: hidden;
}
.nav-dropdown a {
  display: block; padding: 10px 18px; font-size: 13px; color: var(--slate-700);
  text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover { background: var(--consun-50); color: var(--consun-700); }
.nav-dropdown a.is-active { background: var(--consun-50); color: var(--consun-800); font-weight: 600; }
.nav-dropdown.wide { min-width: 300px; }
.nav-dropdown.wide .nav-dropdown-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.nav-dropdown.wide a { white-space: normal; }
.nav-cta {
  margin-left: 8px; padding: 10px 18px !important;
  background: var(--consun-700); color: var(--white) !important;
  border-radius: 6px; font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--consun-800) !important; }
.nav-cta::after { display: none !important; }

/* Active section highlight in top nav */
.nav-links li.is-section-active > a { color: var(--consun-700); }
.nav-links li.is-section-active > a::after { transform: scaleX(1); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; min-width: 44px; min-height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--slate-700);
  margin: 3px 0; transition: 0.3s; border-radius: 1px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; overflow-y: auto;
  padding: 16px 0; border-top: 1px solid var(--slate-200);
}
.mobile-menu.open { display: block; }
.mobile-menu .mobile-nav-group { border-bottom: 1px solid var(--slate-100); }
.mobile-menu .mobile-nav-group-title { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .mobile-nav-group-title a {
  flex: 1; padding: 16px 32px; text-decoration: none; color: var(--slate-700);
  font-size: 17px; font-weight: 500; transition: background 0.2s, color 0.2s;
}
.mobile-menu .mobile-nav-group-title a:hover { background: var(--slate-50); color: var(--consun-700); }
.mobile-menu .mobile-nav-toggle {
  padding: 16px 20px; background: none; border: none; cursor: pointer;
  color: var(--slate-700); font-size: 12px; transition: transform 0.2s;
}
.mobile-menu .mobile-nav-group.open .mobile-nav-toggle { transform: rotate(180deg); }
.mobile-menu .mobile-nav-sublinks { display: none; background: var(--slate-50); }
.mobile-menu .mobile-nav-group.open .mobile-nav-sublinks { display: block; }
.mobile-menu .mobile-nav-sublinks a {
  display: block; padding: 12px 32px 12px 48px; font-size: 15px;
  color: var(--slate-700); text-decoration: none; border-bottom: none;
  transition: background 0.15s;
}
.mobile-menu .mobile-nav-sublinks a:hover { background: var(--consun-50); color: var(--consun-700); }
.mobile-menu .mobile-cta {
  display: block; margin: 20px 24px; padding: 16px;
  background: var(--consun-700); color: var(--white); text-align: center;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}

/* ============================================================
   PAGE HERO (INNER)
   ============================================================ */
.page-hero-inner {
  background: linear-gradient(135deg, #003F4D 0%, #00526A 35%, var(--consun-700) 100%);
  color: var(--white); padding: 52px 0 44px; position: relative; overflow: hidden;
}
.page-hero-inner::before {
  content: ''; position: absolute; inset: 0; opacity: 0.07;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(176,242,244,0.5), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(201,152,46,0.15), transparent 40%);
}
.page-hero-inner::after {
  content: ''; position: absolute; inset: 0; opacity: 0.025;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner .container { position: relative; z-index: 1; }
.page-hero-inner h1 {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 500; letter-spacing: -0.02em; margin-bottom: 0; line-height: 1.2;
}
.page-hero-inner .hero-subtitle {
  font-size: 16px; color: var(--consun-100); margin-top: 10px; font-weight: 300; max-width: 560px;
}
.breadcrumb {
  font-size: 13px; color: var(--consun-200); display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin-bottom: 16px;
}
.breadcrumb a { color: var(--consun-100); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span.sep { opacity: 0.5; }

/* ============================================================
   LAYOUT: sidebar + content
   ============================================================ */
.page-layout {
  display: grid; grid-template-columns: 250px 1fr; gap: 36px;
  padding: 40px 0 80px; align-items: start;
}

/* Sidebar */
.page-sidebar {
  position: sticky; top: 96px;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 20px 0; font-size: 14px; box-shadow: var(--shadow-card);
}
.page-sidebar-title {
  padding: 0 20px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--consun-600);
  border-bottom: 1px solid var(--slate-100); margin-bottom: 4px;
}
.page-sidebar a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px; color: var(--slate-600); text-decoration: none;
  border-left: 3px solid transparent; transition: all var(--transition); font-size: 14px;
}
.page-sidebar a:hover { background: var(--consun-50); color: var(--consun-800); border-left-color: var(--consun-200); }
.page-sidebar a.is-active {
  background: var(--consun-50); color: var(--consun-800); font-weight: 600;
  border-left-color: var(--consun-700);
}
.page-sidebar a.is-active::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--consun-700); flex-shrink: 0;
}

/* Article wrap */
.article-wrap {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 44px 48px 52px; min-height: 420px; box-shadow: var(--shadow-card);
}

/* ============================================================
   PROSE — rich text area
   ============================================================ */
.prose { font-size: 16px; color: var(--slate-700); line-height: 1.85; }
.prose > p { margin-bottom: 1.15em; }
.prose h2 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--slate-900); margin: 2.2rem 0 0.9rem; line-height: 1.3;
  padding-bottom: 10px; border-bottom: 1px solid var(--slate-100);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--slate-800);
  margin: 1.6rem 0 0.6rem;
}
.prose ul, .prose ol { margin: 0.75em 0 1.25em 1.25em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--consun-500); }
.prose strong { color: var(--slate-900); }
.prose .lead {
  font-size: 1.08rem; color: var(--slate-600); line-height: 1.8;
  border-left: 3px solid var(--consun-400); padding-left: 16px; margin-bottom: 1.5em;
}
.prose a { color: var(--consun-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--consun-900); }
.prose a.btn { text-decoration: none; }
.prose a.btn-consun { color: var(--white); }
.prose a.btn-consun:hover { color: var(--white); }
.prose img { border-radius: 8px; margin: 1.5rem 0; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { margin: 2rem 0; border-left: 2px solid var(--consun-200); padding-left: 0; }
.timeline-item {
  position: relative; padding: 0 0 2rem 2rem;
  transition: background var(--transition);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px;
  background: var(--consun-500); border-radius: 50%; border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--consun-200); transition: background var(--transition);
}
.timeline-item:hover::before { background: var(--consun-700); }
.timeline-year {
  font-family: var(--font-display); font-weight: 700; color: var(--consun-800);
  font-size: 16px; margin-bottom: 6px;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 1.5rem 0; }
.info-card {
  border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 24px;
  background: var(--white); transition: all var(--transition); position: relative; overflow: hidden;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--consun-500), var(--consun-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.info-card:hover { border-color: var(--consun-300); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.info-card:hover::before { transform: scaleX(1); }
.info-card h4 { font-size: 15px; font-weight: 600; color: var(--slate-900); margin-bottom: 8px; }
.info-card p { font-size: 13px; color: var(--slate-600); line-height: 1.6; }
.info-card .card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 14px; font-size: 20px;
  background: linear-gradient(135deg, var(--consun-50), var(--consun-100));
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 1.25rem; }
.product-mini {
  border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 24px;
  background: var(--white); transition: all var(--transition); position: relative; overflow: hidden;
}
.product-mini::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--consun-600), var(--consun-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.product-mini:hover { border-color: var(--consun-300); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-mini:hover::after { transform: scaleX(1); }
.product-mini h4 {
  font-family: var(--font-display); font-size: 18px; color: var(--slate-900);
  margin-bottom: 10px; line-height: 1.3;
}
.product-mini .product-tag {
  display: inline-flex; padding: 2px 10px; border-radius: 100px; font-size: 11px; font-weight: 600;
  background: var(--consun-50); color: var(--consun-700); margin-bottom: 10px;
}
.product-mini p { font-size: 14px; color: var(--slate-600); line-height: 1.6; }

/* ============================================================
   TABLES
   ============================================================ */
.data-table-wrap { overflow-x: auto; margin: 1.25rem 0; border-radius: 8px; border: 1px solid var(--slate-200); }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.data-table th, .data-table td {
  border-bottom: 1px solid var(--slate-100); padding: 14px 16px; text-align: left;
}
.data-table th {
  background: var(--slate-50); font-weight: 600; color: var(--slate-700);
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--consun-50); }

/* IR — Events & presentations (formerly commentary page) */
.ir-events-wrap {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.prose .ir-events-table th {
  background: var(--consun-800);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: none;
  padding: 14px 18px;
}
.prose .ir-events-table td {
  padding: 18px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--slate-200);
}
.prose .ir-events-table tbody tr:nth-child(even) td { background: var(--slate-50); }
.prose .ir-events-table tbody tr:nth-child(odd) td { background: var(--white); }
.prose .ir-events-table tbody tr:hover td { background: var(--consun-50); }
.prose .ir-events-table tbody tr:last-child td { border-bottom: none; }
.ir-events-date {
  white-space: nowrap;
  font-size: 14px;
  color: var(--slate-700);
  width: 1%;
  min-width: 132px;
}
.ir-event-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--slate-900);
  line-height: 1.45;
  margin: 0 0 10px;
}
.ir-event-assets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.prose .ir-event-asset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--consun-700);
  text-decoration: none;
}
.prose .ir-event-asset:hover { color: var(--consun-900); text-decoration: underline; }
.ir-event-ic {
  display: inline-flex;
  color: var(--consun-600);
  flex-shrink: 0;
}
.prose .ir-event-asset:hover .ir-event-ic { color: var(--consun-800); }

/* ============================================================
   NEWS / DOCUMENT LIST
   ============================================================ */
.news-list { list-style: none; margin: 1rem 0 0; }
.news-list li {
  border-bottom: 1px solid var(--slate-100); padding: 16px 0;
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  transition: padding-left var(--transition);
}
.news-list li:hover { padding-left: 8px; }
.news-list a { color: var(--slate-700); font-weight: 500; text-decoration: none; transition: color 0.2s; font-size: 15px; line-height: 1.5; }
.news-list a:hover { color: var(--consun-700); text-decoration: underline; }
.news-list .date { font-size: 13px; color: var(--slate-400); white-space: nowrap; min-width: 90px; text-align: right; }
.news-list .tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
  min-width: 48px; white-space: nowrap; text-align: center;
  background: var(--consun-50); color: var(--consun-700); border: 1px solid var(--consun-200);
}

.doc-list { list-style: none; margin: 1rem 0; }
.doc-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--slate-100); flex-wrap: wrap;
  transition: padding-left var(--transition);
}
.doc-list li:hover { padding-left: 8px; }
.doc-list a { color: var(--consun-700); font-weight: 500; text-decoration: none; }
.doc-list a:hover { text-decoration: underline; }
.doc-list .meta { font-size: 13px; color: var(--slate-400); }
.doc-list .badge-pdf {
  display: inline-flex; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
  background: #FEE2E2; color: #991B1B;
}

/* ============================================================
   CALLOUT
   ============================================================ */
.callout {
  margin: 1.5rem 0; padding: 18px 22px; border-radius: 8px;
  background: var(--consun-50); border-left: 4px solid var(--consun-400);
  font-size: 14px; color: var(--slate-700); line-height: 1.6;
}
.callout-gold {
  background: #FFFBEB; border-left-color: var(--gold-400);
}

/* ============================================================
   STATS ROW (for inner pages)
   ============================================================ */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 1.5rem 0;
}
.stat-mini {
  text-align: center; padding: 20px 12px; border: 1px solid var(--slate-200);
  border-radius: var(--radius); background: var(--white); transition: all var(--transition);
}
.stat-mini:hover { border-color: var(--consun-300); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat-mini .stat-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  color: var(--consun-700); line-height: 1.1;
}
.stat-mini .stat-label { font-size: 12px; color: var(--slate-500); margin-top: 6px; }

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 1.5rem 0; }
.team-card {
  text-align: center; padding: 28px 20px; border: 1px solid var(--slate-200);
  border-radius: var(--radius); background: var(--white); transition: all var(--transition);
}
.team-card:hover { border-color: var(--consun-300); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.team-card .avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--consun-100), var(--consun-50));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--consun-600);
}
.team-card h4 { font-size: 15px; font-weight: 600; color: var(--slate-900); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--slate-500); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn-consun { background: var(--consun-700); color: var(--white); }
.btn-consun:hover { background: var(--consun-800); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,95,114,0.2); }
.btn-outline-dark {
  background: transparent; color: var(--consun-700); border: 1.5px solid var(--slate-300);
}
.btn-outline-dark:hover { border-color: var(--consun-400); color: var(--consun-800); }
.btn-arrow { font-size: 18px; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   BACK TO TOP (optional progressive enhancement)
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px;
  border-radius: 50%; background: var(--consun-700); color: var(--white);
  display: none; align-items: center; justify-content: center;
  font-size: 20px; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all var(--transition); z-index: 50;
}
.back-to-top:hover { background: var(--consun-800); transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 60px 0 36px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; color: var(--slate-500); }
.footer-logo img { height: 52px; object-fit: contain; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--slate-500); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--consun-300); }
.footer-contact-item { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.footer-legal a { color: var(--slate-500); text-decoration: none; margin-right: 16px; }
.footer-legal a:hover { color: var(--slate-300); }
.footer-stock-badge { padding: 3px 10px; background: rgba(255,255,255,0.06); border-radius: 4px; font-weight: 600; color: var(--slate-400); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .utility-nav { display: none; }
  .nav-links { display: none !important; }
  .mobile-toggle { display: flex; }
  .main-nav .container { height: 64px; }
  .nav-logo img { height: 44px; }
  .mobile-menu { top: 64px; }
  .page-hero-inner { padding: 36px 0 28px; }
  .page-hero-inner h1 { font-size: 24px; }
  .article-wrap { padding: 24px 20px 32px; }
  .product-strip { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-list li { grid-template-columns: 1fr; gap: 6px; }
  .news-list .date { text-align: left; min-width: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 中文内页：商务排版 — 略放宽字距、标题略加重 */
html[lang="zh-CN"] .page-hero-inner h1,
html[lang="zh-CN"] .prose h2,
html[lang="zh-CN"] .timeline-year { letter-spacing: 0.02em; }
html[lang="zh-CN"] .page-hero-inner h1,
html[lang="zh-CN"] .prose h2 { font-weight: 600; }
